diff options
Diffstat (limited to 'src/shader_recompiler/ir_opt/texture_pass.cpp')
| -rw-r--r-- | src/shader_recompiler/ir_opt/texture_pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/ir_opt/texture_pass.cpp b/src/shader_recompiler/ir_opt/texture_pass.cpp index 0726d4d21..e8be58357 100644 --- a/src/shader_recompiler/ir_opt/texture_pass.cpp +++ b/src/shader_recompiler/ir_opt/texture_pass.cpp | |||
| @@ -269,7 +269,7 @@ std::optional<ConstBufferAddr> TryGetConstBuffer(const IR::Inst* inst, Environme | |||
| 269 | } | 269 | } |
| 270 | std::optional lhs{Track(op1, env)}; | 270 | std::optional lhs{Track(op1, env)}; |
| 271 | if (lhs) { | 271 | if (lhs) { |
| 272 | lhs->shift_left = std::countr_zero(op2.U32()); | 272 | lhs->shift_left = static_cast<u32>(std::countr_zero(op2.U32())); |
| 273 | } | 273 | } |
| 274 | return lhs; | 274 | return lhs; |
| 275 | break; | 275 | break; |