summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_parameter.h
AgeCommit message (Collapse)Author
2009-01-06mesa: rename program parameter flags to match other Mesa conventionsBrian Paul
(cherry picked from commit f490ec9797a396da9d182f1ad4393f1c5c2df440)
2009-01-06mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolationBrian Paul
Plus, update the print/debug code. (cherry picked from commit 777a5c4f2e7c6c6ec0227a239b1af6c6b86dfab2)
2009-01-06mesa: add Flags field to gl_program_parameterBrian Paul
Only one flag defined so far: PROG_PARAM_CENTROID_BIT (cherry picked from commit 0f228d7ab3b7c03328df369b8db50c469ac5dcd6)
2009-01-06mesa: track initialization status of uniform variables. Plus, asst clean-ups.Brian Paul
(cherry picked from commit 2d76a0d77af7be9539f89cba37ce84338c1cdda4)
2008-08-19mesa: glsl: add usage tracking for uniform varsBrian Paul
Unused uniforms are no longer included in the active uniforms list.
2008-07-24mesa: Prefix main includes with dir to avoid conflicts.José Fonseca
Some of the headers in src/mesa/main have pretty common names which easily conflict with third-party code, e.g. config.h
2008-07-21mesa: assorted glsl uniform/attribute fixesBrian Paul
Fix incorrect uniform/attribute size query results. Add missing error checking for glUniform, glUniformMatrix params Fix an array size/allocation error.
2008-05-20fix incorrect sampler numbering/indexing.Brian Paul
All samplers indexes were zero. cherry-picked from master (b6fb0940c226373ac235a5d327d3fcfd742bc6b9)
2007-10-30added _mesa_combine_parameter_lists()Brian
2007-10-26Re-implement GLSL texture sampler variables.Brian
GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime.
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-02-23replace GLint with gl_state_indexBrian
2007-01-23fix g++ warnings/errorsBrian
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-14Split the program.[ch] files into several new files.Brian