summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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};