summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/ir_opt/rescaling_pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/ir_opt/rescaling_pass.cpp')
-rw-r--r--src/shader_recompiler/ir_opt/rescaling_pass.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shader_recompiler/ir_opt/rescaling_pass.cpp b/src/shader_recompiler/ir_opt/rescaling_pass.cpp
index 86c8f0c69..2af12fc07 100644
--- a/src/shader_recompiler/ir_opt/rescaling_pass.cpp
+++ b/src/shader_recompiler/ir_opt/rescaling_pass.cpp
@@ -129,8 +129,7 @@ void PatchImageFetch(IR::Block& block, IR::Inst& inst) {
129void PatchImageRead(IR::Block& block, IR::Inst& inst) { 129void PatchImageRead(IR::Block& block, IR::Inst& inst) {
130 IR::IREmitter ir{block, IR::Block::InstructionList::s_iterator_to(inst)}; 130 IR::IREmitter ir{block, IR::Block::InstructionList::s_iterator_to(inst)};
131 const auto info{inst.Flags<IR::TextureInstInfo>()}; 131 const auto info{inst.Flags<IR::TextureInstInfo>()};
132 // TODO: Scale conditionally 132 const IR::U1 is_scaled{ir.IsImageScaled(ir.Imm32(info.descriptor_index))};
133 const IR::U1 is_scaled{IR::Value{true}};
134 ScaleIntegerCoord(ir, inst, is_scaled); 133 ScaleIntegerCoord(ir, inst, is_scaled);
135} 134}
136 135