diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-20 06:46:47 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:32 +0200 |
commit | f79cbbf814b679f4302283852081faabec1316e8 (patch) | |
tree | e63afacaf66bd649a6b1644b6105a6e283e62d6e /src/shader_recompiler/backend/glasm/emit_glasm_instructions.h | |
parent | glasm: Implement 64-bit shifts (diff) | |
download | yuzu-f79cbbf814b679f4302283852081faabec1316e8.tar yuzu-f79cbbf814b679f4302283852081faabec1316e8.tar.gz yuzu-f79cbbf814b679f4302283852081faabec1316e8.tar.bz2 yuzu-f79cbbf814b679f4302283852081faabec1316e8.tar.lz yuzu-f79cbbf814b679f4302283852081faabec1316e8.tar.xz yuzu-f79cbbf814b679f4302283852081faabec1316e8.tar.zst yuzu-f79cbbf814b679f4302283852081faabec1316e8.zip |
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm_instructions.h')
-rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm_instructions.h | 5 |
1 files changed, 3 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 94e545ad4..7ccba4c6f 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h +++ b/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h @@ -548,8 +548,9 @@ void EmitImageFetch(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, 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); -void EmitImageGradient(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, Register coord, - Register derivates, Register offset, Register lod_clamp); +void EmitImageGradient(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, + const IR::Value& coord, const IR::Value& derivatives, + const IR::Value& offset, const IR::Value& lod_clamp); void EmitImageRead(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, Register coord); void EmitImageWrite(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, Register coord, Register color); |