Re-org and clean-up of vertx/fragment program limits (instructions,
temporaries, parameters, etc). glGetProgramivARB() now returns all the right things. Updated i915 and r300 code to initialize program native limits and current program's native instruction/temporary/etc counts.
This commit is contained in:
@@ -869,7 +869,7 @@ StateVars = [
|
||||
|
||||
# GL_ARB_vertex_program
|
||||
( "GL_MAX_VERTEX_ATTRIBS_ARB", GLint,
|
||||
["ctx->Const.MaxVertexProgramAttribs"], "", "ARB_vertex_program" ),
|
||||
["ctx->Const.VertexProgram.MaxAttribs"], "", "ARB_vertex_program" ),
|
||||
|
||||
# GL_ARB_fragment_program
|
||||
( "GL_FRAGMENT_PROGRAM_ARB", GLboolean,
|
||||
|
Reference in New Issue
Block a user