diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-19 03:18:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 03:18:19 +0100 |
commit | 97c8b494444acecea8f49199d435c060628b5623 (patch) | |
tree | a9693f3d9a8e20a38a2e61694919b71e05e09bc0 /src/shader_recompiler/backend/spirv/emit_spirv_instructions.h | |
parent | Merge pull request #12702 from german77/android-input (diff) | |
parent | shader_recompiler: fix Offset operand usage for non-OpImage*Gather (diff) | |
download | yuzu-97c8b494444acecea8f49199d435c060628b5623.tar yuzu-97c8b494444acecea8f49199d435c060628b5623.tar.gz yuzu-97c8b494444acecea8f49199d435c060628b5623.tar.bz2 yuzu-97c8b494444acecea8f49199d435c060628b5623.tar.lz yuzu-97c8b494444acecea8f49199d435c060628b5623.tar.xz yuzu-97c8b494444acecea8f49199d435c060628b5623.tar.zst yuzu-97c8b494444acecea8f49199d435c060628b5623.zip |
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); |