summaryrefslogtreecommitdiff
path: root/src/mesa/main/uniforms.h
AgeCommit message (Collapse)Author
2010-10-28mesa: add glGetUniformuiv(), plug in uint glUniform funcsBrian Paul
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-09-28mesa: Move the list of builtin uniform info from ir_to_mesa to shared code.Eric Anholt
I'm still not pleased with how builtin uniforms are handled, but as long as we're relying on the prog_statevar stuff this seems about as good as it'll get.
2010-08-24glsl: Set up uniform initializers by walking the shaders after linking.Eric Anholt
Previously, uniform initializers were handled by ir_to_mesa as it made its Parameters list. However, uniform values are global to all shaders, and the value set in one Parameters list wasn't propagated to the other gl_program->Parameters lists. By going back through the general Mesa uniform handling, we make sure that all gl_programs get updated values, and also successfully separate uniform initializer handling from ir_to_mesa gl_program generation. Fixes: glsl-uniform-initializer-5.
2010-07-29mesa: Add missing header and forward declarations to uniforms.h.Vinson Lee
2010-06-10mesa: move uniforms.c to main/Brian Paul