diff options
| author | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-18 23:37:25 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-18 23:37:25 -0600 |
| commit | 8b0fb98a11ed64028f0945412de1d388f3d09321 (patch) | |
| tree | 543d8187c62e50719690d35ed0505718fa7a4c74 /src/shader_recompiler/backend/spirv/emit_spirv_instructions.h | |
| parent | 8615509c4054f497fbd6ed9a7adee5a998597905 (diff) | |
| parent | 462ea921e3bd1288671139353a883053aeeb9a79 (diff) | |
Merge pull request #13026 from liamwhite/scale-this-mf
shader_recompiler: fix non-const offset for arrayed image types
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); |
