From 498ae009d3a9bae5e670bdc9f33a26e5b9e7f267 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Wed, 15 Jul 2015 15:33:27 -0700 Subject: [PATCH] vk/glsl: Replace raw casts Needed for upcoming type-safety changes. --- src/vulkan/glsl_scraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \\ }) -- 2.30.2