summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_parameter.c
AgeCommit message (Collapse)Author
2007-12-11make sure state token values are fully initializedRoland Scheidegger
2007-04-18comments, assertionsBrian
2007-04-18new commentsBrian
2007-04-18Start fixing some issues with uniform variables and their types.Brian
2007-04-18Fix some bugs related to querying active uniforms.Brian
2007-04-18Replace _mesa_parameter_longest_name() with _mesa_longest_parameter_name().Brian
The later takes a type parameter so we can match uniforms or attributes/inputs. Used by the GL_ACTIVE_ATTRIBUTE_MAX_LENGTH and GL_ACTIVE_UNIFORM_MAX_LENGTH queries. Fixes problem reported by Brad King in VTK.
2007-03-26In _mesa_lookup_parameter_constant() make sure we return a full, 4-component ↵Brian
swizzle.
2007-03-22In _mesa_add_unnamed_constant() and _mesa_lookup_parameter_constant() allow ↵Brian
swizzleOut==NULL. There are times when we don't want to allow swizzling when searching for or adding vector constants. Passing NULL for swizzleOut disables swizzling. This fixes a constant/swizzle bug in link_uniform_vars().
2007-03-13remove bogus assertionBrian
2007-02-23replace GLint with gl_state_indexBrian
2007-02-22Undo some STATE_POINT/FOG changes. Max length of state token array is now 5.Brian
2007-02-09always init param vars to silence valgrind warningsBrian
2007-02-08do full swizzled matching in _mesa_lookup_parameter_constant()Brian
2007-01-23fix g++ warnings/errorsBrian
2007-01-18_mesa_add_unnamed_constant() now tries to re-use constants already inBrian
the parameter list.
2007-01-10fix size bug in _mesa_add_attribute()Brian
2007-01-10simplify _mesa_add_state_reference()Brian
2007-01-09get rid of STATE_USER_ATTRIB/STATE_AUTO_ATTRIBBrian
2007-01-09clean up a bunch of program parameter stuffBrian
2007-01-09Implement vertex attribute binding.Brian
Users can set explicit binding with glBindAttribLocation(), otherwise the linker will allocate generic attribute slots.
2007-01-05added _mesa_add_sampler()Brian
2006-12-20Uniform matrix support.Brian
Implement _mesa_uniform_matrix() Support for program parameters/uniforms with more than 4 elements. Store 4x4 matrices in column-major order in registers. Update mat mul built-in functions accordingly.
2006-12-19Overhaul of GLSL API functions, dispatching, etc.Brian
2006-12-14remove unneded includesBrian
2006-12-14Split the program.[ch] files into several new files.Brian