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:
12
lib/All/SPIRV-Reflect/tests/spec_constants/ssbo_array.glsl
Normal file
12
lib/All/SPIRV-Reflect/tests/spec_constants/ssbo_array.glsl
Normal file
@@ -0,0 +1,12 @@
|
||||
#version 450
|
||||
|
||||
layout(constant_id = 8) const int SIZE_A = 4;
|
||||
layout(constant_id = 5) const int SIZE_B = 3;
|
||||
layout(set = 0, binding = 0, std430) buffer SSBO {
|
||||
float a[SIZE_A];
|
||||
float b[SIZE_B];
|
||||
} ssbo;
|
||||
|
||||
void main() {
|
||||
ssbo.a[2] = ssbo.b[1];
|
||||
}
|
||||
Reference in New Issue
Block a user