Assembly shaders

Started by bobjob, December 12, 2015, 21:18:14

Previous topic - Next topic

bobjob

I couldn't find the method for binding assembly shaders namely: ARBFragmentProgram.glBindProgramARB(...)

Is this method in a different location, or is their a way to access it another way?

Also I was wondering, is it possible to access Assembly shaders in openGL 3+?

Kai

The functions are in ARBVertexProgram. Both extensions double-define some common functions.
Whether that still works with OpenGL >= 3.2 core is a very interesting question!
The necessary use of vertex array objects (VAO) comes to my mind, and whether or not the necessary state is captured by a VAO. The ARB_vertex_program extension was not updated to mention the interaction with VAOs.
Guess, you just have to try it out. :)

bobjob