diff options
author | Liam <byteslice@airmail.cc> | 2022-03-17 18:30:21 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-03-17 18:30:21 +0100 |
commit | e228a40db807c20a2484169bd0a1447a081ea1ce (patch) | |
tree | cd69df019ebf505189e5ee897ae042f9bc131119 /src/shader_recompiler/backend/spirv/spirv_emit_context.h | |
parent | Address review comments (diff) | |
download | yuzu-e228a40db807c20a2484169bd0a1447a081ea1ce.tar yuzu-e228a40db807c20a2484169bd0a1447a081ea1ce.tar.gz yuzu-e228a40db807c20a2484169bd0a1447a081ea1ce.tar.bz2 yuzu-e228a40db807c20a2484169bd0a1447a081ea1ce.tar.lz yuzu-e228a40db807c20a2484169bd0a1447a081ea1ce.tar.xz yuzu-e228a40db807c20a2484169bd0a1447a081ea1ce.tar.zst yuzu-e228a40db807c20a2484169bd0a1447a081ea1ce.zip |
Diffstat (limited to 'src/shader_recompiler/backend/spirv/spirv_emit_context.h')
-rw-r--r-- | src/shader_recompiler/backend/spirv/spirv_emit_context.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/spirv_emit_context.h b/src/shader_recompiler/backend/spirv/spirv_emit_context.h index f87138f7e..906a1dc2c 100644 --- a/src/shader_recompiler/backend/spirv/spirv_emit_context.h +++ b/src/shader_recompiler/backend/spirv/spirv_emit_context.h @@ -294,6 +294,13 @@ public: std::vector<Id> interfaces; + Id load_const_func_u8{}; + Id load_const_func_u16{}; + Id load_const_func_u32{}; + Id load_const_func_f32{}; + Id load_const_func_u32x2{}; + Id load_const_func_u32x4{}; + private: void DefineCommonTypes(const Info& info); void DefineCommonConstants(); @@ -302,6 +309,7 @@ private: void DefineSharedMemory(const IR::Program& program); void DefineSharedMemoryFunctions(const IR::Program& program); void DefineConstantBuffers(const Info& info, u32& binding); + void DefineConstantBufferIndirectFunctions(const Info& info); void DefineStorageBuffers(const Info& info, u32& binding); void DefineTextureBuffers(const Info& info, u32& binding); void DefineImageBuffers(const Info& info, u32& binding); |