diff options
| author | 2021-05-20 01:46:47 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:32 -0400 | |
| 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.gz yuzu-f79cbbf814b679f4302283852081faabec1316e8.tar.xz yuzu-f79cbbf814b679f4302283852081faabec1316e8.zip | |
glasm: Implement ImageGradient
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, | |||
| 548 | void EmitImageQueryDimensions(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, | 548 | void EmitImageQueryDimensions(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, |
| 549 | ScalarF32 lod); | 549 | ScalarF32 lod); |
| 550 | void EmitImageQueryLod(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, Register coord); | 550 | void EmitImageQueryLod(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, Register coord); |
| 551 | void EmitImageGradient(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, Register coord, | 551 | void EmitImageGradient(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, |
| 552 | Register derivates, Register offset, Register lod_clamp); | 552 | const IR::Value& coord, const IR::Value& derivatives, |
| 553 | const IR::Value& offset, const IR::Value& lod_clamp); | ||
| 553 | void EmitImageRead(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, Register coord); | 554 | void EmitImageRead(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, Register coord); |
| 554 | void EmitImageWrite(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, Register coord, | 555 | void EmitImageWrite(EmitContext& ctx, IR::Inst& inst, const IR::Value& index, Register coord, |
| 555 | Register color); | 556 | Register color); |