From cb56372eeb3d2db7fe983d95fa8934add08af182 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 21 May 2015 11:40:24 -0700 Subject: [PATCH] vk/glsl_scraper: Use a fake GLSL version that glslang will accept --- 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 23e9b0bde1c..2bb70ba72b7 100644 --- 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() -- 2.30.2