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:
13
lib/All/SPIRV-Reflect/tests/hlsl/pushconstant.hlsl
Normal file
13
lib/All/SPIRV-Reflect/tests/hlsl/pushconstant.hlsl
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
struct Constants_t {
|
||||
float3 Scale;
|
||||
float Time;
|
||||
float2 UvOffsets;
|
||||
};
|
||||
|
||||
[[vk::push_constant]] Constants_t g_PushConstants;
|
||||
|
||||
float4 main(float4 pos : POSITION) : SV_Position
|
||||
{
|
||||
return float4(g_PushConstants.Time, 0, 0, 0);
|
||||
}
|
||||
Reference in New Issue
Block a user