summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/spirv/emit_spirv.h
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-04-13 05:32:21 -0300
committerGravatar ameerj2021-07-22 21:51:27 -0400
commitfa75b9b0626c8e118e27207dd1e82e2f415fc0bc (patch)
tree29738f645876c19fd561a39b8f9d62799bf92ef9 /src/shader_recompiler/backend/spirv/emit_spirv.h
parentshader: Fix fixed pipeline point size on geometry shaders (diff)
downloadyuzu-fa75b9b0626c8e118e27207dd1e82e2f415fc0bc.tar.gz
yuzu-fa75b9b0626c8e118e27207dd1e82e2f415fc0bc.tar.xz
yuzu-fa75b9b0626c8e118e27207dd1e82e2f415fc0bc.zip
spirv: Rework storage buffers and shader memory
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_spirv.h')
-rw-r--r--src/shader_recompiler/backend/spirv/emit_spirv.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.h b/src/shader_recompiler/backend/spirv/emit_spirv.h
index c0e1b8833..55b2edba0 100644
--- a/src/shader_recompiler/backend/spirv/emit_spirv.h
+++ b/src/shader_recompiler/backend/spirv/emit_spirv.h
@@ -89,17 +89,21 @@ void EmitWriteGlobalS16(EmitContext& ctx);
89void EmitWriteGlobal32(EmitContext& ctx); 89void EmitWriteGlobal32(EmitContext& ctx);
90void EmitWriteGlobal64(EmitContext& ctx); 90void EmitWriteGlobal64(EmitContext& ctx);
91void EmitWriteGlobal128(EmitContext& ctx); 91void EmitWriteGlobal128(EmitContext& ctx);
92void EmitLoadStorageU8(EmitContext& ctx); 92Id EmitLoadStorageU8(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset);
93void EmitLoadStorageS8(EmitContext& ctx); 93Id EmitLoadStorageS8(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset);
94void EmitLoadStorageU16(EmitContext& ctx); 94Id EmitLoadStorageU16(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset);
95void EmitLoadStorageS16(EmitContext& ctx); 95Id EmitLoadStorageS16(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset);
96Id EmitLoadStorage32(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); 96Id EmitLoadStorage32(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset);
97Id EmitLoadStorage64(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); 97Id EmitLoadStorage64(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset);
98Id EmitLoadStorage128(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset); 98Id EmitLoadStorage128(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset);
99void EmitWriteStorageU8(EmitContext& ctx); 99void EmitWriteStorageU8(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset,
100void EmitWriteStorageS8(EmitContext& ctx); 100 Id value);
101void EmitWriteStorageU16(EmitContext& ctx); 101void EmitWriteStorageS8(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset,
102void EmitWriteStorageS16(EmitContext& ctx); 102 Id value);
103void EmitWriteStorageU16(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset,
104 Id value);
105void EmitWriteStorageS16(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset,
106 Id value);
103void EmitWriteStorage32(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset, 107void EmitWriteStorage32(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset,
104 Id value); 108 Id value);
105void EmitWriteStorage64(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset, 109void EmitWriteStorage64(EmitContext& ctx, const IR::Value& binding, const IR::Value& offset,