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:
36
lib/All/SPIRV-Reflect/tests/glsl/frag_array_input.glsl
Normal file
36
lib/All/SPIRV-Reflect/tests/glsl/frag_array_input.glsl
Normal file
@@ -0,0 +1,36 @@
|
||||
#version 450 core
|
||||
|
||||
struct structX
|
||||
{
|
||||
int x1_;
|
||||
int x2_;
|
||||
};
|
||||
|
||||
struct structY
|
||||
{
|
||||
int y1_;
|
||||
structX y2_[2];
|
||||
};
|
||||
|
||||
struct structZ
|
||||
{
|
||||
structX z_[2][2];
|
||||
};
|
||||
|
||||
layout(location = 0) flat in structY in_a;
|
||||
|
||||
layout(location = 5) flat in structX int_b[2];
|
||||
|
||||
layout(location = 10) in inC {
|
||||
structX c_[2];
|
||||
} in_c;
|
||||
|
||||
layout(location = 14) flat in structX int_d[2][2];
|
||||
|
||||
layout(location = 22) in inE {
|
||||
structZ e_[2];
|
||||
} in_e;
|
||||
|
||||
layout(location = 38) flat in int in_f[2][2];
|
||||
|
||||
void main() { }
|
||||
Reference in New Issue
Block a user