Dropped VKGUIDE, switching to "How to Vulkan in 2026" by SaschaWillems
This commit is contained in:
parent
49963f3425
commit
50c0e866cf
@ -57,7 +57,7 @@ function(addGlslShader SOURCE OUTPUT_DIR)
|
||||
COMMAND ${CMAKE_COMMAND} -E make_directory ${OUTPUT_DIR}
|
||||
COMMAND glslang::validator
|
||||
-V
|
||||
--target-env vulkan1.3 # Change if needed
|
||||
--target-env vulkan1.4 # Change if needed
|
||||
-o ${SPV_FILE}
|
||||
${SOURCE}
|
||||
DEPENDS ${SOURCE}
|
||||
@ -76,7 +76,7 @@ function(addSlangShader SOURCES ENTRY_POINTS OUTPUT_DIR)
|
||||
COMMAND ${SLANGC_EXECUTABLE}
|
||||
${SOURCES}
|
||||
-target spirv
|
||||
-profile spirv_1_4+spvRayQueryKHR # Change if needed
|
||||
-profile spirv_1_6+spvRayQueryKHR # Change if needed
|
||||
-emit-spirv-directly
|
||||
-fvk-use-entrypoint-name
|
||||
${ENTRY_POINTS}
|
||||
|
||||
@ -103,6 +103,10 @@ class Engine {
|
||||
std::vector<ComputeEffect> backgroundEffects;
|
||||
int currentBackgroundEffect{0}; // Already initialized
|
||||
|
||||
// Triangle Pipeline
|
||||
VkPipelineLayout _trianglePipelineLayout;
|
||||
VkPipeline _trianglePipeline;
|
||||
|
||||
|
||||
void init();
|
||||
|
||||
@ -125,6 +129,7 @@ class Engine {
|
||||
void initSyncStructures();
|
||||
void initDescriptors();
|
||||
void initPipelines();
|
||||
void initTrianglePipeline();
|
||||
void initBackgroundPipelines();
|
||||
void initImgui();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user