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,12 @@
|
||||
StructuredBuffer<float3> Input[16] : register(t0);
|
||||
RWStructuredBuffer<float3> Output : register(u1);
|
||||
|
||||
[numthreads(16, 16, 1)]
|
||||
void main(uint3 tid : SV_DispatchThreadID)
|
||||
{
|
||||
float3 value = (float3)0;
|
||||
for (int i = 0; i < 16; ++i) {
|
||||
value += Input[tid.x][i];
|
||||
}
|
||||
Output[tid.x] = value;
|
||||
}
|
||||
Reference in New Issue
Block a user