layers: Generate full vk_dispatch_table_helper
authorMark Young <marky@lunarg.com>
Mon, 1 Aug 2016 17:06:53 +0000 (11:06 -0600)
committerMark Young <marky@lunarg.com>
Mon, 1 Aug 2016 19:04:22 +0000 (13:04 -0600)
Generate the full vk_dispatch_table-helper file for all platforms
as part of the build process now.  This includes all WSI
extension entry-points for all build targets we support increasing
portablility of the header.

Change-Id: Ie83423e7ea169f7251c5369992a6144a97db1ddc

layers/CMakeLists.txt

index 06ad936..9d6705b 100644 (file)
@@ -104,7 +104,7 @@ else()
 endif()
 
 add_custom_command(OUTPUT vk_dispatch_table_helper.h
-    COMMAND ${PYTHON_CMD} ${PROJECT_SOURCE_DIR}/vk-generate.py ${DisplayServer} dispatch-table-ops layer > vk_dispatch_table_helper.h
+    COMMAND ${PYTHON_CMD} ${PROJECT_SOURCE_DIR}/vk-generate.py AllPlatforms dispatch-table-ops layer > vk_dispatch_table_helper.h
     DEPENDS ${PROJECT_SOURCE_DIR}/vk-generate.py ${PROJECT_SOURCE_DIR}/vulkan.py)
 
 run_vk_helper(gen_enum_string_helper vk_enum_string_helper.h)