parent
c7c7982ebe
commit
b5c8fd4fcf
4 changed files with 72 additions and 1 deletions
11
Test/spv.atomicStoreInt64.comp
Normal file
11
Test/spv.atomicStoreInt64.comp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#version 450
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int64 : enable
|
||||
#extension GL_EXT_shader_atomic_int64 : enable
|
||||
#extension GL_KHR_memory_scope_semantics : enable
|
||||
|
||||
layout(set = 0, binding = 0) buffer ssbo { uint64_t y; };
|
||||
layout(set = 0, binding = 1) uniform ubo { uint64_t z; };
|
||||
|
||||
void main() {
|
||||
atomicStore(y, z, gl_ScopeDevice, gl_StorageSemanticsBuffer, gl_SemanticsRelaxed);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue