diff options
| author | 2021-03-08 18:31:53 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:23 -0400 | |
| commit | ab463712474de5f99eec137a9c6233e55fe184f0 (patch) | |
| tree | 30d79ac64dd03d5cfafd07c0c42c2baadc82de98 /src/shader_recompiler/ir_opt/passes.h | |
| parent | shader: Implement R2P (diff) | |
| download | yuzu-ab463712474de5f99eec137a9c6233e55fe184f0.tar.gz yuzu-ab463712474de5f99eec137a9c6233e55fe184f0.tar.xz yuzu-ab463712474de5f99eec137a9c6233e55fe184f0.zip | |
shader: Initial support for textures and TEX
Diffstat (limited to '')
| -rw-r--r-- | src/shader_recompiler/ir_opt/passes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/ir_opt/passes.h b/src/shader_recompiler/ir_opt/passes.h index 38106308c..3b7e7306b 100644 --- a/src/shader_recompiler/ir_opt/passes.h +++ b/src/shader_recompiler/ir_opt/passes.h | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | #include <span> | 7 | #include <span> |
| 8 | 8 | ||
| 9 | #include "shader_recompiler/environment.h" | ||
| 9 | #include "shader_recompiler/frontend/ir/basic_block.h" | 10 | #include "shader_recompiler/frontend/ir/basic_block.h" |
| 10 | #include "shader_recompiler/frontend/ir/function.h" | 11 | #include "shader_recompiler/frontend/ir/function.h" |
| 11 | #include "shader_recompiler/frontend/ir/program.h" | 12 | #include "shader_recompiler/frontend/ir/program.h" |
| @@ -26,6 +27,7 @@ void GlobalMemoryToStorageBufferPass(IR::Program& program); | |||
| 26 | void IdentityRemovalPass(IR::Function& function); | 27 | void IdentityRemovalPass(IR::Function& function); |
| 27 | void LowerFp16ToFp32(IR::Program& program); | 28 | void LowerFp16ToFp32(IR::Program& program); |
| 28 | void SsaRewritePass(std::span<IR::Block* const> post_order_blocks); | 29 | void SsaRewritePass(std::span<IR::Block* const> post_order_blocks); |
| 30 | void TexturePass(Environment& env, IR::Program& program); | ||
| 29 | void VerificationPass(const IR::Function& function); | 31 | void VerificationPass(const IR::Function& function); |
| 30 | 32 | ||
| 31 | } // namespace Shader::Optimization | 33 | } // namespace Shader::Optimization |