diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-18 21:18:19 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-18 21:18:19 -0500 |
| commit | 97c8b494444acecea8f49199d435c060628b5623 (patch) | |
| tree | a9693f3d9a8e20a38a2e61694919b71e05e09bc0 /src/shader_recompiler/backend/spirv/emit_spirv_instructions.h | |
| parent | 3092855d5ae1724ccef4d267e74b79b7790814f0 (diff) | |
| parent | 2044a289f8781199c745a040056b56543fd7ed0e (diff) | |
Merge pull request #12644 from liamwhite/vkspec-image-offset
shader_recompiler: fix Offset operand usage for non-OpImage*Gather
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_spirv_instructions.h')
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv_instructions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h b/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h index 7d34575c8..5c01b1012 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h +++ b/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h @@ -543,7 +543,7 @@ Id EmitImageQueryDimensions(EmitContext& ctx, IR::Inst* inst, const IR::Value& i const IR::Value& skip_mips); Id EmitImageQueryLod(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, Id coords); Id EmitImageGradient(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, Id coords, - Id derivatives, Id offset, Id lod_clamp); + Id derivatives, const IR::Value& offset, Id lod_clamp); Id EmitImageRead(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, Id coords); void EmitImageWrite(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, Id coords, Id color); Id EmitIsTextureScaled(EmitContext& ctx, const IR::Value& index); |
