Corrail
12-12-2003, 03:32 AM
Hello!
I just tried out GLslang in ATI Catalyst 6.14.10.6404 drivers and found the following problems:
-) glCompileShaderARB will compile the following line without problems in a Vertex Shader:
gl_Position = gl_ModelViewProjectionMatrix * gl_Position ;
But if I want to link a Program Object (at which this Vertex Shader Object is attached to) my program crashes fully.
-) When I define a uniform sampler and use glGetActiveUniformsARB, this function doesn't return me a vaild name, a vaild size and a valid uniform type of that sampler uniform. But GL_OBJECT_ACTIVE_UNIFORMS tells me that these uniforms should be there.
-) There are no texture lockup functions in a vertex shader. But GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB returns me a number of 16.
Anyone have these problems too and is able to help me?
Thanks a lot
Corrail
I just tried out GLslang in ATI Catalyst 6.14.10.6404 drivers and found the following problems:
-) glCompileShaderARB will compile the following line without problems in a Vertex Shader:
gl_Position = gl_ModelViewProjectionMatrix * gl_Position ;
But if I want to link a Program Object (at which this Vertex Shader Object is attached to) my program crashes fully.
-) When I define a uniform sampler and use glGetActiveUniformsARB, this function doesn't return me a vaild name, a vaild size and a valid uniform type of that sampler uniform. But GL_OBJECT_ACTIVE_UNIFORMS tells me that these uniforms should be there.
-) There are no texture lockup functions in a vertex shader. But GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB returns me a number of 16.
Anyone have these problems too and is able to help me?
Thanks a lot
Corrail