diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-05 02:48:54 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:40 +0200 |
commit | 41c6cb70f909d7b223824f3879e0009521e9142f (patch) | |
tree | 2a7d07c5950b219b496a72e7e972b8007b6497c8 /src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp | |
parent | shader: Ignore global memory ops on devices lacking int64 support (diff) | |
download | yuzu-41c6cb70f909d7b223824f3879e0009521e9142f.tar yuzu-41c6cb70f909d7b223824f3879e0009521e9142f.tar.gz yuzu-41c6cb70f909d7b223824f3879e0009521e9142f.tar.bz2 yuzu-41c6cb70f909d7b223824f3879e0009521e9142f.tar.lz yuzu-41c6cb70f909d7b223824f3879e0009521e9142f.tar.xz yuzu-41c6cb70f909d7b223824f3879e0009521e9142f.tar.zst yuzu-41c6cb70f909d7b223824f3879e0009521e9142f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp index 5e32ac784..5ead930f1 100644 --- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp +++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp @@ -505,10 +505,6 @@ void VisitUsages(Info& info, IR::Inst& inst) { case IR::Opcode::BoundImageQueryDimensions: case IR::Opcode::BoundImageQueryLod: case IR::Opcode::BoundImageGradient: - case IR::Opcode::ImageSampleImplicitLod: - case IR::Opcode::ImageSampleExplicitLod: - case IR::Opcode::ImageSampleDrefImplicitLod: - case IR::Opcode::ImageSampleDrefExplicitLod: case IR::Opcode::ImageGather: case IR::Opcode::ImageGatherDref: case IR::Opcode::ImageFetch: @@ -520,6 +516,10 @@ void VisitUsages(Info& info, IR::Inst& inst) { inst.GetAssociatedPseudoOperation(IR::Opcode::GetSparseFromOp) != nullptr; break; } + case IR::Opcode::ImageSampleImplicitLod: + case IR::Opcode::ImageSampleExplicitLod: + case IR::Opcode::ImageSampleDrefImplicitLod: + case IR::Opcode::ImageSampleDrefExplicitLod: case IR::Opcode::ImageQueryLod: { const auto flags{inst.Flags<IR::TextureInstInfo>()}; const TextureType type{flags.type}; |