Add create comand_pool and command_buffers. Fix CMake file for TestGame
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user