cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

hypercube
Journeyman III

Funny bug with OpenGL 4 and Catalyst 10.5

Vertex Control and Tessellation Shaders require a nonexistent extension

Hello,

I own a HD 5770 and just installed Catalyst 10.5 and I've been playing around with OpenGL 4.0 and Tessellation. Up to now, I was using 10.3 Beta Drivers with OpenGL 4.0 support. Now when I try to run my test program that worked under 10.3 Beta, I get the following error:

"Domain shader failed to compile with the following errors:

ERROR: 0:3: error(#61) Required extension isn't found, extension 'GL_EXT_tessellation_shader' is not supported

WARNING: 0:38: warining(#365) gl_PrimitiveID used from extension GL_ARB_tessellation_shader. [...]"

I get the warning serveral times, also for gl_TessCoord, and I have the same problem with Vertex Control Shaders. Everest also tells me that GL_EXT_tessellation_shader isn't supported anymore. To me, this problem looks like tessellation shaders still require this older name of the same extension which has been changed.

Am I making any obvious mistakes or is this really a bug? And does anyone have an idea how to fix this?

Thanks a lot in advance.

Hypercube.

0 Likes
11 Replies
nou
Exemplar

it was renamed to ARB.

another funny thing is that info log from compilation of shader say about hull and domain shader from DX.

and last thing log from program say only that vertex and fragment shader was sucesfully linked.

0 Likes

Same for me, vertex and fragment shader compile without any problems. Do you think this is a driver bug, respectively do you think I should report a bug?

0 Likes

well OpenGl spec do not say what should info log containt a thing.

but more importantly i have another issue.

http://img526.imageshack.us/img526/6154/tesx.png

you can see there is holes between triangles. i can observe same bug in unigine heaven benchmark in OpenGL mode.

0 Likes

I just downloaded Heaven Benchmark 2.1 and Tessellation works with OpenGL, but I also have holes within the tessellated objects, and they aren't there in Direct3D mode. Still, I wish anybody could tell me how they manage it to compile tessellation shaders under OpenGL.

0 Likes

well i create vertex, tess controll, evaluate and fragment shader. compile each one, attach to program and compile. thats all.

did you put at begining of your shaders #version 400

then it work.

0 Likes

I'm sorry, but I'm such a fool. I just forgot to change

#extension GL_EXT_tessellation_shader : require to

#extension GL_ARB_tessellation_shader : require

I'm sorry for the inconvenience I caused.

0 Likes

- yes, we are not support GL_EXT_tessellation_shader any more. GL_EXT_tessellation_shader isn't available in http://www.opengl.org/registry/ too.

- info log issue

we will fix it in soon.

- holes in  http://img526.imageshack.us/img526/6154/tesx.png

it is driver bug. it have been fixed in 8.741 and later.(catalyst_106 and later)

if it is urgent, you can try to change your shader, i guess replace build-in function texture with textureLod will fix your issue. 

0 Likes

Originally posted by: linqunzju - yes, we are not support GL_EXT_tessellation_shader any more. GL_EXT_tessellation_shader isn't available in http://www.opengl.org/registry/

 too.

 

- info log issue

 

we will fix it in soon.

 

- holes in  http://img526.imageshack.us/img526/6154/tesx.png

 

it is driver bug. it have been fixed in 8.741 and later.(catalyst_106 and later)

 

if it is urgent, you can try to change your shader, i guess replace build-in function texture with textureLod will fix your issue. 

 

I just installed the 10.6 driver (windows 7 x64) and the exact same tesselation issue is still present in the unigine heaven 2.1 benchmark when running OpenGL 4 with tesselation.

Any idea when this issue is going to be fixed?

0 Likes

i installed 10.6 on linux and i can say tht it is almost fixed. i can see only few pixels between tesselated triangles as it does not fit perfectly. but it is just few pixels.

0 Likes

I can't reproduce it on win7 32bit and 64bit with HD5850.

which graphic card did you use?  and could you paste a screenshot?

you can send mail to me directly.  my mail address  quentin.lin@amd.com

 

 

0 Likes

Originally posted by: linqunzju I can't reproduce it on win7 32bit and 64bit with HD5850.

 

which graphic card did you use?  and could you paste a screenshot?

 

you can send mail to me directly.  my mail address  quentin.lin@amd.com

 

 

 

 

 

Odd.. When trying to reproduce it it decides to work.... What i has where small holes in every vertex. I did reboot back then so i wonder why it just works now.

So, for now there is no problem under windows. Under linux on the other hand.. oh well.. run it yourself and you will see.

0 Likes