diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-19 06:37:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 06:37:25 +0100 |
commit | 8b0fb98a11ed64028f0945412de1d388f3d09321 (patch) | |
tree | 543d8187c62e50719690d35ed0505718fa7a4c74 /src/shader_recompiler/backend/spirv/emit_spirv_instructions.h | |
parent | Merge pull request #13035 from liamwhite/vi2 (diff) | |
parent | shader_recompiler: fix non-const offset for arrayed image types (diff) | |
download | yuzu-8b0fb98a11ed64028f0945412de1d388f3d09321.tar yuzu-8b0fb98a11ed64028f0945412de1d388f3d09321.tar.gz yuzu-8b0fb98a11ed64028f0945412de1d388f3d09321.tar.bz2 yuzu-8b0fb98a11ed64028f0945412de1d388f3d09321.tar.lz yuzu-8b0fb98a11ed64028f0945412de1d388f3d09321.tar.xz yuzu-8b0fb98a11ed64028f0945412de1d388f3d09321.tar.zst yuzu-8b0fb98a11ed64028f0945412de1d388f3d09321.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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h b/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h index 08fcabd58..5c01b1012 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h +++ b/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h @@ -537,8 +537,8 @@ Id EmitImageGather(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, Id const IR::Value& offset, const IR::Value& offset2); Id EmitImageGatherDref(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, Id coords, const IR::Value& offset, const IR::Value& offset2, Id dref); -Id EmitImageFetch(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, Id coords, - const IR::Value& offset, Id lod, Id ms); +Id EmitImageFetch(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, Id coords, Id offset, + Id lod, Id ms); Id EmitImageQueryDimensions(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, Id lod, const IR::Value& skip_mips); Id EmitImageQueryLod(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, Id coords); |