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:
@@ -0,0 +1,22 @@
|
||||
struct Bar1 {
|
||||
uint4 a;
|
||||
uint b[4];
|
||||
uint c;
|
||||
};
|
||||
|
||||
struct Bar2 {
|
||||
uint4 d;
|
||||
uint e[4];
|
||||
uint f;
|
||||
};
|
||||
|
||||
[[vk::binding(0, 0)]]
|
||||
RWStructuredBuffer<Bar1> foo1;
|
||||
|
||||
[[vk::binding(0, 1)]]
|
||||
RWStructuredBuffer<Bar2> foo2;
|
||||
|
||||
[shader("compute")]
|
||||
void main() {
|
||||
foo1[0].b = foo2[0].e;
|
||||
}
|
||||
Reference in New Issue
Block a user