mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
vk/glsl_scraper: Use a fake GLSL version that glslang will accept
This commit is contained in:
parent
0e441cde71
commit
cb56372eeb
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue