From bce070eba418c8a79f6affcd885564babbf8c9d3 Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 5 Jan 2025 22:15:22 +1100 Subject: source level shader debugging --- glad_vk.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'glad_vk.h') diff --git a/glad_vk.h b/glad_vk.h index 0f25c4d..d4eed80 100644 --- a/glad_vk.h +++ b/glad_vk.h @@ -1,11 +1,11 @@ /** - * Loader generated by glad 2.0.8 on Mon Dec 23 05:21:50 2024 + * Loader generated by glad 2.0.8 on Sun Jan 5 09:10:11 2025 * * SPDX-License-Identifier: (WTFPL OR CC0-1.0) AND Apache-2.0 * * Generator: C/C++ * Specification: vk - * Extensions: 7 + * Extensions: 8 * * APIs: * - vulkan=1.0 @@ -19,10 +19,10 @@ * - ON_DEMAND = False * * Commandline: - * --api='vulkan=1.0' --extensions='VK_EXT_custom_border_color,VK_EXT_debug_utils,VK_KHR_get_physical_device_properties2,VK_KHR_surface,VK_KHR_swapchain,VK_KHR_win32_surface,VK_KHR_xlib_surface' c --header-only --loader + * --api='vulkan=1.0' --extensions='VK_EXT_custom_border_color,VK_EXT_debug_utils,VK_KHR_get_physical_device_properties2,VK_KHR_shader_non_semantic_info,VK_KHR_surface,VK_KHR_swapchain,VK_KHR_win32_surface,VK_KHR_xlib_surface' c --header-only --loader * * Online: - * http://glad.sh/#api=vulkan%3D1.0&extensions=VK_EXT_custom_border_color%2CVK_EXT_debug_utils%2CVK_KHR_get_physical_device_properties2%2CVK_KHR_surface%2CVK_KHR_swapchain%2CVK_KHR_win32_surface%2CVK_KHR_xlib_surface&generator=c&options=HEADER_ONLY%2CLOADER + * http://glad.sh/#api=vulkan%3D1.0&extensions=VK_EXT_custom_border_color%2CVK_EXT_debug_utils%2CVK_KHR_get_physical_device_properties2%2CVK_KHR_shader_non_semantic_info%2CVK_KHR_surface%2CVK_KHR_swapchain%2CVK_KHR_win32_surface%2CVK_KHR_xlib_surface&generator=c&options=HEADER_ONLY%2CLOADER * */ @@ -172,6 +172,8 @@ typedef void (*GLADpostcallback)(void *ret, const char *name, GLADapiproc apipro #define VK_FALSE 0 #define VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME "VK_KHR_get_physical_device_properties2" #define VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_SPEC_VERSION 2 +#define VK_KHR_SHADER_NON_SEMANTIC_INFO_EXTENSION_NAME "VK_KHR_shader_non_semantic_info" +#define VK_KHR_SHADER_NON_SEMANTIC_INFO_SPEC_VERSION 1 #define VK_KHR_SURFACE_EXTENSION_NAME "VK_KHR_surface" #define VK_KHR_SURFACE_SPEC_VERSION 25 #define VK_KHR_SWAPCHAIN_EXTENSION_NAME "VK_KHR_swapchain" @@ -2789,6 +2791,8 @@ GLAD_API_CALL int GLAD_VK_EXT_custom_border_color; GLAD_API_CALL int GLAD_VK_EXT_debug_utils; #define VK_KHR_get_physical_device_properties2 1 GLAD_API_CALL int GLAD_VK_KHR_get_physical_device_properties2; +#define VK_KHR_shader_non_semantic_info 1 +GLAD_API_CALL int GLAD_VK_KHR_shader_non_semantic_info; #define VK_KHR_surface 1 GLAD_API_CALL int GLAD_VK_KHR_surface; #define VK_KHR_swapchain 1 @@ -3402,6 +3406,7 @@ int GLAD_VK_VERSION_1_0 = 0; int GLAD_VK_EXT_custom_border_color = 0; int GLAD_VK_EXT_debug_utils = 0; int GLAD_VK_KHR_get_physical_device_properties2 = 0; +int GLAD_VK_KHR_shader_non_semantic_info = 0; int GLAD_VK_KHR_surface = 0; int GLAD_VK_KHR_swapchain = 0; #if defined(VK_USE_PLATFORM_WIN32_KHR) @@ -3935,6 +3940,7 @@ static int glad_vk_find_extensions_vulkan( VkPhysicalDevice physical_device) { GLAD_VK_EXT_custom_border_color = glad_vk_has_extension("VK_EXT_custom_border_color", extension_count, extensions); GLAD_VK_EXT_debug_utils = glad_vk_has_extension("VK_EXT_debug_utils", extension_count, extensions); GLAD_VK_KHR_get_physical_device_properties2 = glad_vk_has_extension("VK_KHR_get_physical_device_properties2", extension_count, extensions); + GLAD_VK_KHR_shader_non_semantic_info = glad_vk_has_extension("VK_KHR_shader_non_semantic_info", extension_count, extensions); GLAD_VK_KHR_surface = glad_vk_has_extension("VK_KHR_surface", extension_count, extensions); GLAD_VK_KHR_swapchain = glad_vk_has_extension("VK_KHR_swapchain", extension_count, extensions); #if defined(VK_USE_PLATFORM_WIN32_KHR) -- cgit v1.2.3-54-g00ecf