projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f140e8
)
vk/glsl: Replace raw casts
author
Chad Versace
<chad.versace@intel.com>
Wed, 15 Jul 2015 22:33:27 +0000
(15:33 -0700)
committer
Chad Versace
<chad.versace@intel.com>
Wed, 15 Jul 2015 22:51:37 +0000
(15:51 -0700)
Needed for upcoming type-safety changes.
src/vulkan/glsl_scraper.py
patch
|
blob
|
history
diff --git
a/src/vulkan/glsl_scraper.py
b/src/vulkan/glsl_scraper.py
index 918c156027ab4dfac65fac09cf77eee11ff8ab02..d15147127626ecb258ae5aa3e8334cd28567aa7b 100644
(file)
--- 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; \\
})