Rework API graphique Vulkan - EnTT pour ECS + Chargement modèle 3D assimp + SDL3 pour events input et fenetre + mesh texture camera transform ok + attention tous les assets nouveaus ne sont pas commités et il y a du code test en dur dans scene addentity + restructuration globale
This commit is contained in:
17
lib/All/SPIRV-Reflect/tests/variable_access/atomics_0.glsl
Normal file
17
lib/All/SPIRV-Reflect/tests/variable_access/atomics_0.glsl
Normal file
@@ -0,0 +1,17 @@
|
||||
#version 460
|
||||
#extension GL_KHR_memory_scope_semantics : enable
|
||||
|
||||
layout(set=0, binding=0) buffer SSBO {
|
||||
uint a;
|
||||
uint b; // UNUSED
|
||||
uint c;
|
||||
uint d;
|
||||
uint e; // UNUSED
|
||||
uint f;
|
||||
};
|
||||
|
||||
void main() {
|
||||
uint x = atomicLoad(a, gl_ScopeDevice, gl_StorageSemanticsBuffer, gl_SemanticsRelaxed);
|
||||
atomicStore(c, 0u, gl_ScopeDevice, gl_StorageSemanticsBuffer, gl_SemanticsRelaxed);
|
||||
atomicExchange(d, f);
|
||||
}
|
||||
Reference in New Issue
Block a user