From db39ecc77da39d10d96be0318ef843b168cc0076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Wed, 14 Aug 2024 18:18:53 +0200 Subject: [PATCH] demos: do not generate twice the HelpersDispatchTable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The HelpersDispatchTable.* are already generated by the encoder lib. Signed-off-by: Stéphane Cerveau --- vk_video_encoder/demos/vk-video-enc/CMakeLists.txt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/vk_video_encoder/demos/vk-video-enc/CMakeLists.txt b/vk_video_encoder/demos/vk-video-enc/CMakeLists.txt index 0d2a987..28d708b 100644 --- a/vk_video_encoder/demos/vk-video-enc/CMakeLists.txt +++ b/vk_video_encoder/demos/vk-video-enc/CMakeLists.txt @@ -1,10 +1,3 @@ -macro(generate_dispatch_table out) - add_custom_command(OUTPUT ${out} - COMMAND ${PYTHON_EXECUTABLE} ${SCRIPTS_DIR}/generate-dispatch-table.py ${out} - DEPENDS ${SCRIPTS_DIR}/generate-dispatch-table.py - ) -endmacro() - macro(glsl_to_spirv src) add_custom_command(OUTPUT ${src}.h COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/glsl-to-spirv ${CMAKE_CURRENT_SOURCE_DIR}/${src} ${CMAKE_CURRENT_SOURCE_DIR}/${src}.h ${GLSLANG_VALIDATOR} @@ -21,9 +14,6 @@ macro(compile_cuda src) ) endmacro() -generate_dispatch_table(${VK_VIDEO_COMMON_LIBS_SOURCE_ROOT}/VkCodecUtils/HelpersDispatchTable.h) -generate_dispatch_table(${VK_VIDEO_COMMON_LIBS_SOURCE_ROOT}/VkCodecUtils/HelpersDispatchTable.cpp) - set(sources Main.cpp ${VK_VIDEO_ENCODER_LIBS_SOURCE_ROOT}/VkVideoEncoder/VkEncoderConfigH264.cpp