projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e441cd
)
vk/glsl_scraper: Use a fake GLSL version that glslang will accept
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 21 May 2015 18:40:24 +0000
(11:40 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 21 May 2015 19:21:02 +0000
(12:21 -0700)
src/vulkan/glsl_scraper.py
patch
|
blob
|
history
diff --git
a/src/vulkan/glsl_scraper.py
b/src/vulkan/glsl_scraper.py
index 23e9b0bde1cdcf3e47b7240534b84ba174575769..2bb70ba72b7fc1b2930915f55f6728c1d72c4c07 100644
(file)
--- a/
src/vulkan/glsl_scraper.py
+++ b/
src/vulkan/glsl_scraper.py
@@
-54,7
+54,7
@@
class Shader:
spirv_fname = self.ext + '.spv'
glsl_file = open(glsl_fname, 'w')
- glsl_file.write('#version
330
\n')
+ glsl_file.write('#version
420 core
\n')
glsl_file.write(self.glsl_source())
glsl_file.close()