Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2017-04-08 09:21:13 +0300
committerMike Erwin <significant.bit@gmail.com>2017-04-08 09:21:13 +0300
commitf60626e3a633ce8506cbc12310b42b60ade5f95e (patch)
tree576ba9d1d4de92054c325c0f4da324ddd241dd72 /source/blender/gpu/shaders/gpu_shader_geometry.glsl
parentd5883bb1ba6e4cfdd70bd3b8c0531a22c616b1be (diff)
OpenGL: drop support for EXT_geometry_shader4
See gpu_shader.c for the main changes. EXT_geometry_shader4 brought this feature to GL versions < 3.2, but now it's just cluttering up our code. Soon all platforms will be on version 3.3 so we won't even have to check support at runtime!
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_geometry.glsl')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_geometry.glsl6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_geometry.glsl b/source/blender/gpu/shaders/gpu_shader_geometry.glsl
index 545910d39ca..7586050b258 100644
--- a/source/blender/gpu/shaders/gpu_shader_geometry.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_geometry.glsl
@@ -4,10 +4,8 @@ uniform mat4 ProjectionMatrix;
uniform int PrimitiveIdBase;
uniform int osd_active_uv_offset;
-#if __VERSION__ >= 150
- layout(lines_adjacency) in;
- layout(triangle_strip, max_vertices = 4) out;
-#endif
+layout(lines_adjacency) in;
+layout(triangle_strip, max_vertices = 4) out;
in block {
VertexData v;