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:
Tom Ray
2026-03-14 20:24:17 +01:00
parent 7c352bc280
commit 6695d46bcd
672 changed files with 238656 additions and 1821 deletions

View File

@@ -0,0 +1,32 @@
#!/bin/sh
echo -e "#ifndef SAMPLE_SPV_H" > sample_spv.h
echo -e "#define SAMPLE_SPV_H" >> sample_spv.h
echo -e "" >> sample_spv.h
echo -e "/* Source from sample.hlsl" >> sample_spv.h
echo -e "" >> sample_spv.h
cat sample.hlsl >> sample_spv.h
echo -e "\n" >> sample_spv.h
echo -e "*/" >> sample_spv.h
echo -e "" >> sample_spv.h
echo -e "// Imported from file 'sample.spv'" >> sample_spv.h
echo -e "const uint32_t k_sample_spv[] = {" >> sample_spv.h
glslc.exe -fshader-stage=frag -fentry-point=main -mfmt=num -o - sample.hlsl >> sample_spv.h
echo -e "};" >> sample_spv.h
echo -e "" >> sample_spv.h
echo -e "/* SPIRV Disassembly" >> sample_spv.h
echo -e "" >> sample_spv.h
spirv-dis --raw-id sample.spv >> sample_spv.h
echo -e "" >> sample_spv.h
echo -e "*/" >> sample_spv.h
echo -e "" >> sample_spv.h
echo -e "#endif // SAMPLE_SPV_H" >> sample_spv.h
dos2unix sample_spv.h
rm -f tmp_sample_spv_h