shader: Fix memory barriers
This commit is contained in:
parent
c9e4609d87
commit
0a0818c025
8 changed files with 30 additions and 62 deletions
|
@ -144,8 +144,9 @@ public:
|
|||
[[nodiscard]] Value Select(const U1& condition, const Value& true_value,
|
||||
const Value& false_value);
|
||||
|
||||
[[nodiscard]] void Barrier();
|
||||
[[nodiscard]] void MemoryBarrier(MemoryScope scope);
|
||||
void Barrier();
|
||||
void WorkgroupMemoryBarrier();
|
||||
void DeviceMemoryBarrier();
|
||||
|
||||
template <typename Dest, typename Source>
|
||||
[[nodiscard]] Dest BitCast(const Source& value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue