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 :)
This commit is contained in:
Antonis Ryakiotakis 2015-08-20 16:23:33 +03:00
parent 3fd89df6e7
commit 10edaff5c1
Notes: blender-bot 2023-02-14 08:45:06 +01:00
Referenced by issue #45860, Material and matcap views are not showing correctly (GPU shader compilation error).
Referenced by issue #45864, Bad keying in NLA
1 changed files with 1 additions and 0 deletions

View File

@ -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;