AlexeyAR5
08-11-2011, 07:22 AM
Hi, everybody.
I have recently installed 280.26 drivers on my nVidia GeForce GTX 295. As http://developer.nvidia.com/content/nvidia-opengl-42-drivers-windows-and-linux-now-available states, ARB_shading_language_packing should be supported on my GL 3.3 class hardware despite it is a 4.2 feature. But after I try to compile a simple GLSL fragment shader like this:
#version 420 compatibility
void main()
{
vec2 v;
packHalf2x16(v.xy);
gl_FragColor = vec4(1, 1, 1, 1);
}
I receive a warning that I was supposed to receive (so it's ok):
warning C7568: #version 420 not fully supported on current GPU target profile
and an error:
error C1008: undefined variable "packHalf2x16"
I tried to enable GL_ARB_shading_language_packing extension:
#extension GL_ARB_shading_language_packing : enable
but after I receive a warning: "extension non supported".
So, is there any way I can use 2half packing & unpacking using GLSL on a 3.3 OpenGL generation graphics card?
Thanks in advance,
Alexey
I have recently installed 280.26 drivers on my nVidia GeForce GTX 295. As http://developer.nvidia.com/content/nvidia-opengl-42-drivers-windows-and-linux-now-available states, ARB_shading_language_packing should be supported on my GL 3.3 class hardware despite it is a 4.2 feature. But after I try to compile a simple GLSL fragment shader like this:
#version 420 compatibility
void main()
{
vec2 v;
packHalf2x16(v.xy);
gl_FragColor = vec4(1, 1, 1, 1);
}
I receive a warning that I was supposed to receive (so it's ok):
warning C7568: #version 420 not fully supported on current GPU target profile
and an error:
error C1008: undefined variable "packHalf2x16"
I tried to enable GL_ARB_shading_language_packing extension:
#extension GL_ARB_shading_language_packing : enable
but after I receive a warning: "extension non supported".
So, is there any way I can use 2half packing & unpacking using GLSL on a 3.3 OpenGL generation graphics card?
Thanks in advance,
Alexey