From 10edaff5c1a18ca7e91743b3244a6007363b592c Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Thu, 20 Aug 2015 16:23:33 +0300 Subject: 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 :) --- intern/opensubdiv/gpu_shader_opensubd_display.glsl | 1 + 1 file changed, 1 insertion(+) (limited to 'intern/opensubdiv') 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; -- cgit v1.2.3