summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar ameerj2021-07-04 20:48:54 -0400
committerGravatar ameerj2021-07-22 21:51:40 -0400
commit41c6cb70f909d7b223824f3879e0009521e9142f (patch)
tree2a7d07c5950b219b496a72e7e972b8007b6497c8 /src
parentshader: Ignore global memory ops on devices lacking int64 support (diff)
downloadyuzu-41c6cb70f909d7b223824f3879e0009521e9142f.tar.gz
yuzu-41c6cb70f909d7b223824f3879e0009521e9142f.tar.xz
yuzu-41c6cb70f909d7b223824f3879e0009521e9142f.zip
glsl: Fix tracking of info.uses_shadow_lod
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp8
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) {
505 case IR::Opcode::BoundImageQueryDimensions: 505 case IR::Opcode::BoundImageQueryDimensions:
506 case IR::Opcode::BoundImageQueryLod: 506 case IR::Opcode::BoundImageQueryLod:
507 case IR::Opcode::BoundImageGradient: 507 case IR::Opcode::BoundImageGradient:
508 case IR::Opcode::ImageSampleImplicitLod:
509 case IR::Opcode::ImageSampleExplicitLod:
510 case IR::Opcode::ImageSampleDrefImplicitLod:
511 case IR::Opcode::ImageSampleDrefExplicitLod:
512 case IR::Opcode::ImageGather: 508 case IR::Opcode::ImageGather:
513 case IR::Opcode::ImageGatherDref: 509 case IR::Opcode::ImageGatherDref:
514 case IR::Opcode::ImageFetch: 510 case IR::Opcode::ImageFetch:
@@ -520,6 +516,10 @@ void VisitUsages(Info& info, IR::Inst& inst) {
520 inst.GetAssociatedPseudoOperation(IR::Opcode::GetSparseFromOp) != nullptr; 516 inst.GetAssociatedPseudoOperation(IR::Opcode::GetSparseFromOp) != nullptr;
521 break; 517 break;
522 } 518 }
519 case IR::Opcode::ImageSampleImplicitLod:
520 case IR::Opcode::ImageSampleExplicitLod:
521 case IR::Opcode::ImageSampleDrefImplicitLod:
522 case IR::Opcode::ImageSampleDrefExplicitLod:
523 case IR::Opcode::ImageQueryLod: { 523 case IR::Opcode::ImageQueryLod: {
524 const auto flags{inst.Flags<IR::TextureInstInfo>()}; 524 const auto flags{inst.Flags<IR::TextureInstInfo>()};
525 const TextureType type{flags.type}; 525 const TextureType type{flags.type};