Opengl GLSL Compute Shader
General and Desktop
6
Posts
3
Posters
4.7k
Views
1
Watching
-
You should rely on bare OpenGL calls to create such shader types. Qt's support of recent OpenGL has strong ES profile ties.
You might also need to create your context yourself to make sure that the proper Core/Compatibility profile is used, and that your extension is available. I recommend using the "GLEw library":http://glew.sourceforge.net/ to deal with all that OpenGL initialization. -
Thanks rcari, so there is no easy possibility to use compute shader like using other shader by now...
Do you know when it will be available ? Maybe its already done in subversion ?edit: Perhaps it is not so difficult to add it to qt source ? If I follow the original code for fragment, vertex and geometry shader...
-