diff options
author | Hans-Kristian Arntzen <hans-kristian.arntzen@arm.com> | 2018-04-11 16:02:02 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <hans-kristian.arntzen@arm.com> | 2018-04-11 16:57:41 +0300 |
commit | c266429be9b882f1553fcf8c0810e3782b394f97 (patch) | |
tree | 6f854fc0d44a04d8b57c7bcc52dcda07a91be86f /spirv_hlsl.hpp | |
parent | 146ea76f52e214c12c3fdb1bb81c527e3b724543 (diff) |
Partially implement subgroup ops for HLSL SM 6.0.
Lots of stuff that needs tons of emulation, which I'm not going to
bother with.
Diffstat (limited to 'spirv_hlsl.hpp')
-rw-r--r-- | spirv_hlsl.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spirv_hlsl.hpp b/spirv_hlsl.hpp index 80682f7f..8a539a4c 100644 --- a/spirv_hlsl.hpp +++ b/spirv_hlsl.hpp @@ -157,6 +157,7 @@ private: void write_access_chain(const SPIRAccessChain &chain, uint32_t value); void emit_store(const Instruction &instruction); void emit_atomic(const uint32_t *ops, uint32_t length, spv::Op op); + void emit_subgroup_op(const Instruction &i) override; void emit_struct_member(const SPIRType &type, uint32_t member_type_id, uint32_t index, const std::string &qualifier, uint32_t base_offset = 0) override; |