summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-07-15 15:33:27 -0700
committerChad Versace <[email protected]>2015-07-15 15:51:37 -0700
commit498ae009d3a9bae5e670bdc9f33a26e5b9e7f267 (patch)
tree2f111e56fc0231cebbeffe8258fc06ea4fe76814
parent6f140e8af1ecd157b09c2fb1239dca66dc9dc5c7 (diff)
vk/glsl: Replace raw casts
Needed for upcoming type-safety changes.
-rw-r--r--src/vulkan/glsl_scraper.py2
1 files changed, 1 insertions, 1 deletions
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; \\
})