From: Chad Versace Date: Wed, 15 Jul 2015 22:33:27 +0000 (-0700) Subject: vk/glsl: Replace raw casts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=498ae009d3a9bae5e670bdc9f33a26e5b9e7f267;p=mesa.git vk/glsl: Replace raw casts Needed for upcoming type-safety changes. --- diff --git a/src/vulkan/glsl_scraper.py b/src/vulkan/glsl_scraper.py index 918c156027a..d1514712762 100644 --- a/src/vulkan/glsl_scraper.py +++ b/src/vulkan/glsl_scraper.py @@ -264,7 +264,7 @@ with open_file(outfname, 'w') as outfile: .codeSize = sizeof(_ANV_GLSL_SRC_VAR(__LINE__)), \\ .pCode = _ANV_GLSL_SRC_VAR(__LINE__), \\ }; \\ - vkCreateShaderModule((VkDevice) device, \\ + vkCreateShaderModule(anv_device_to_handle(device), \\ &__shader_create_info, &__module); \\ __module; \\ })