Add create comand_pool and command_buffers. Fix CMake file for TestGame

This commit is contained in:
Jiga228
2025-09-29 20:00:42 +07:00
parent 958e13c6f5
commit 47bb1541ef
3 changed files with 41 additions and 5 deletions
-2
View File
@@ -59,7 +59,6 @@ add_custom_command(
COMMAND $ENV{VULKAN_SDK}/Bin/glslc.exe
${CMAKE_CURRENT_SOURCE_DIR}/Shaders/vertex.vert
-o ${OUTPUT_PATH}/Shaders/vertex.spv
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/Shaders/vertex.vert
COMMENT "Building vertex shader"
)
@@ -69,6 +68,5 @@ add_custom_command(
COMMAND $ENV{VULKAN_SDK}/Bin/glslc.exe
${CMAKE_CURRENT_SOURCE_DIR}/Shaders/fragment.frag
-o ${OUTPUT_PATH}/Shaders/fragment.spv
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/Shaders/fragment.frag
COMMENT "Building fragment shader"
)