Dropped VKGUIDE, switching to "How to Vulkan in 2026" by SaschaWillems

This commit is contained in:
Alexandre 2026-07-26 22:30:40 +02:00
parent 49963f3425
commit 50c0e866cf
2 changed files with 7 additions and 2 deletions

View File

@ -57,7 +57,7 @@ function(addGlslShader SOURCE OUTPUT_DIR)
COMMAND ${CMAKE_COMMAND} -E make_directory ${OUTPUT_DIR} COMMAND ${CMAKE_COMMAND} -E make_directory ${OUTPUT_DIR}
COMMAND glslang::validator COMMAND glslang::validator
-V -V
--target-env vulkan1.3 # Change if needed --target-env vulkan1.4 # Change if needed
-o ${SPV_FILE} -o ${SPV_FILE}
${SOURCE} ${SOURCE}
DEPENDS ${SOURCE} DEPENDS ${SOURCE}
@ -76,7 +76,7 @@ function(addSlangShader SOURCES ENTRY_POINTS OUTPUT_DIR)
COMMAND ${SLANGC_EXECUTABLE} COMMAND ${SLANGC_EXECUTABLE}
${SOURCES} ${SOURCES}
-target spirv -target spirv
-profile spirv_1_4+spvRayQueryKHR # Change if needed -profile spirv_1_6+spvRayQueryKHR # Change if needed
-emit-spirv-directly -emit-spirv-directly
-fvk-use-entrypoint-name -fvk-use-entrypoint-name
${ENTRY_POINTS} ${ENTRY_POINTS}

View File

@ -103,6 +103,10 @@ class Engine {
std::vector<ComputeEffect> backgroundEffects; std::vector<ComputeEffect> backgroundEffects;
int currentBackgroundEffect{0}; // Already initialized int currentBackgroundEffect{0}; // Already initialized
// Triangle Pipeline
VkPipelineLayout _trianglePipelineLayout;
VkPipeline _trianglePipeline;
void init(); void init();
@ -125,6 +129,7 @@ class Engine {
void initSyncStructures(); void initSyncStructures();
void initDescriptors(); void initDescriptors();
void initPipelines(); void initPipelines();
void initTrianglePipeline();
void initBackgroundPipelines(); void initBackgroundPipelines();
void initImgui(); void initImgui();