diff options
| author | 2021-04-15 22:46:11 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:27 -0400 | |
| commit | 183855e396cc6918d36fbf3e38ea426e934b4e3e (patch) | |
| tree | a665794753520c09a1d34d8a086352894ec1cb72 /src/shader_recompiler/backend/spirv/emit_spirv.h | |
| parent | shader: Mark atomic instructions as writes (diff) | |
| download | yuzu-183855e396cc6918d36fbf3e38ea426e934b4e3e.tar.gz yuzu-183855e396cc6918d36fbf3e38ea426e934b4e3e.tar.xz yuzu-183855e396cc6918d36fbf3e38ea426e934b4e3e.zip | |
shader: Implement tessellation shaders, polygon mode and invocation id
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_spirv.h')
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.h b/src/shader_recompiler/backend/spirv/emit_spirv.h index 55b2edba0..8caf30f1b 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv.h +++ b/src/shader_recompiler/backend/spirv/emit_spirv.h | |||
| @@ -55,6 +55,8 @@ Id EmitGetAttribute(EmitContext& ctx, IR::Attribute attr, Id vertex); | |||
| 55 | void EmitSetAttribute(EmitContext& ctx, IR::Attribute attr, Id value, Id vertex); | 55 | void EmitSetAttribute(EmitContext& ctx, IR::Attribute attr, Id value, Id vertex); |
| 56 | Id EmitGetAttributeIndexed(EmitContext& ctx, Id offset, Id vertex); | 56 | Id EmitGetAttributeIndexed(EmitContext& ctx, Id offset, Id vertex); |
| 57 | void EmitSetAttributeIndexed(EmitContext& ctx, Id offset, Id value, Id vertex); | 57 | void EmitSetAttributeIndexed(EmitContext& ctx, Id offset, Id value, Id vertex); |
| 58 | Id EmitGetPatch(EmitContext& ctx, IR::Patch patch); | ||
| 59 | void EmitSetPatch(EmitContext& ctx, IR::Patch patch, Id value); | ||
| 58 | void EmitSetFragColor(EmitContext& ctx, u32 index, u32 component, Id value); | 60 | void EmitSetFragColor(EmitContext& ctx, u32 index, u32 component, Id value); |
| 59 | void EmitSetFragDepth(EmitContext& ctx, Id value); | 61 | void EmitSetFragDepth(EmitContext& ctx, Id value); |
| 60 | void EmitGetZFlag(EmitContext& ctx); | 62 | void EmitGetZFlag(EmitContext& ctx); |
| @@ -67,6 +69,7 @@ void EmitSetCFlag(EmitContext& ctx); | |||
| 67 | void EmitSetOFlag(EmitContext& ctx); | 69 | void EmitSetOFlag(EmitContext& ctx); |
| 68 | Id EmitWorkgroupId(EmitContext& ctx); | 70 | Id EmitWorkgroupId(EmitContext& ctx); |
| 69 | Id EmitLocalInvocationId(EmitContext& ctx); | 71 | Id EmitLocalInvocationId(EmitContext& ctx); |
| 72 | Id EmitInvocationId(EmitContext& ctx); | ||
| 70 | Id EmitIsHelperInvocation(EmitContext& ctx); | 73 | Id EmitIsHelperInvocation(EmitContext& ctx); |
| 71 | Id EmitLoadLocal(EmitContext& ctx, Id word_offset); | 74 | Id EmitLoadLocal(EmitContext& ctx, Id word_offset); |
| 72 | void EmitWriteLocal(EmitContext& ctx, Id word_offset, Id value); | 75 | void EmitWriteLocal(EmitContext& ctx, Id word_offset, Id value); |