Only output explicit extension directives in preprocessing.

Preprocessing output shouldn't contain extensions enabled as
dependencies.
This commit is contained in:
Lei Zhang
2015-07-16 18:34:55 -04:00
parent 222457054e
commit 1d2996db68
6 changed files with 11 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
#version 310 es
#extension GL_OES_texture_3D : enable
#extension GL_EXT_geometry_shader : enable
#extension GL_EXT_frag_depth : disable
#extension GL_EXT_gpu_shader5 : require
#extension GL_EXT_shader_texture_image_samples : warn