summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-19 07:05:24 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:32 +0200
commit4a22942f452dd1bba5e10d20217a0bfbf214dacb (patch)
treeb54e2cde969a5e44f08181745d5d4a3549f7e295 /src/shader_recompiler/backend/glasm/emit_glasm_instructions.h
parentglasm: Implement IADD.CC (diff)
downloadyuzu-4a22942f452dd1bba5e10d20217a0bfbf214dacb.tar
yuzu-4a22942f452dd1bba5e10d20217a0bfbf214dacb.tar.gz
yuzu-4a22942f452dd1bba5e10d20217a0bfbf214dacb.tar.bz2
yuzu-4a22942f452dd1bba5e10d20217a0bfbf214dacb.tar.lz
yuzu-4a22942f452dd1bba5e10d20217a0bfbf214dacb.tar.xz
yuzu-4a22942f452dd1bba5e10d20217a0bfbf214dacb.tar.zst
yuzu-4a22942f452dd1bba5e10d20217a0bfbf214dacb.zip
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm_instructions.h')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_instructions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h b/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h
index 8a707d924..119b166af 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h
+++ b/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h
@@ -541,8 +541,8 @@ void EmitImageGather(EmitContext& ctx, IR::Inst& inst, const IR::Value& index,
void EmitImageGatherDref(EmitContext& ctx, IR::Inst& inst, const IR::Value& index,
const IR::Value& coord, const IR::Value& offset, const IR::Value& offset2,
const IR::Value& dref);
-void EmitImageFetch(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, Register coord,
- Register offset, Register lod, Register ms);
+void EmitImageFetch(EmitContext& ctx, IR::Inst& inst, const IR::Value& index,
+ const IR::Value& coord, const IR::Value& offset, ScalarS32 lod, ScalarS32 ms);
void EmitImageQueryDimensions(EmitContext& ctx, IR::Inst& inst, const IR::Value& index,
ScalarF32 lod);
void EmitImageQueryLod(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, Register coord);