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:
authorAntony Riakiotakis <kalast@gmail.com>2015-08-20 16:23:33 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-08-20 16:23:33 +0300
commit10edaff5c1a18ca7e91743b3244a6007363b592c (patch)
tree16ef3f25594b23de3e38d50be7b63c5109f35cb6 /intern/opensubdiv
parent3fd89df6e7f3cecb108bb604100218e1bea85c63 (diff)
Fix ATI part of T45708, crash when enabling opensubdiv.
In fact exit was getting called because we had an error in shader compilation: Uniform buffer objects are in fact required. Since it looks like original intent was to write the shader against older GLSL version, I will be adding an extension here instead of a version. Thanks to Anshu Arya for letting me borrow his machine through VPN to do the debugging :)
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r--intern/opensubdiv/gpu_shader_opensubd_display.glsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/opensubdiv/gpu_shader_opensubd_display.glsl b/intern/opensubdiv/gpu_shader_opensubd_display.glsl
index 7fddcf26ce4..ffc8e3dcaa4 100644
--- a/intern/opensubdiv/gpu_shader_opensubd_display.glsl
+++ b/intern/opensubdiv/gpu_shader_opensubd_display.glsl
@@ -28,6 +28,7 @@
#extension GL_EXT_geometry_shader4 : enable
#extension GL_ARB_gpu_shader5 : enable
#extension GL_ARB_explicit_attrib_location : require
+#extension GL_ARB_uniform_buffer_object : require
struct VertexData {
vec4 position;