summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_parameter.h
Commit message (Collapse)AuthorAgeFilesLines
* prog_parameter: Document the fact that Size may be > 4Nicolai Hähnle2009-10-031-1/+7
| | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* Add new _mesa_new_parameter_list_sized to pre-allocate a parameter listIan Romanick2009-07-201-0/+3
|
* mesa: gl_register_file enum typedefBrian Paul2009-03-071-4/+4
|
* mesa: rename program parameter flags to match other Mesa conventionsBrian Paul2008-11-241-4/+4
|
* mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolationBrian Paul2008-11-241-1/+4
| | | | Plus, update the print/debug code.
* mesa: add Flags field to gl_program_parameterBrian Paul2008-11-241-8/+16
| | | | Only one flag defined so far: PROG_PARAM_CENTROID_BIT
* mesa: track initialization status of uniform variables. Plus, asst clean-ups.Brian Paul2008-11-101-1/+3
|
* mesa: glsl: grab latest fixes from gallium-0.1 branchBrian Paul2008-08-251-1/+6
| | | | | | | Includes: 1. Fixes failed asserting about bad swizzles in src reg emit. 2. Tracks uniform var usage. 3. Emit exp() in terms of EXP2 instruction.
* mesa: assorted glsl uniform/attribute fixesBrian Paul2008-07-291-1/+1
| | | | | | Fix incorrect uniform/attribute size query results. Add missing error checking for glUniform, glUniformMatrix params Fix an array size/allocation error.
* fix incorrect sampler numbering/indexing.Brian Paul2008-05-201-1/+1
| | | | All samplers indexes were zero.
* Updated GLSL uniform/sampler handling from gallium-0.1 branchBrian Paul2008-05-141-1/+1
| | | | | | | | | | Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch
* added _mesa_combine_parameter_lists()Brian Paul2008-05-141-0/+10
| | | | cherry-picked from gallium-0.1
* Start fixing some issues with uniform variables and their types.Brian2007-04-181-3/+4
|
* Fix some bugs related to querying active uniforms.Brian2007-04-181-0/+4
|
* Replace _mesa_parameter_longest_name() with _mesa_longest_parameter_name().Brian2007-04-181-1/+3
| | | | | | 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.
* replace GLint with gl_state_indexBrian2007-02-231-2/+2
|
* fix g++ warnings/errorsBrian2007-01-231-2/+2
|
* clean up a bunch of program parameter stuffBrian2007-01-091-7/+9
|
* Implement vertex attribute binding.Brian2007-01-091-0/+4
| | | | | Users can set explicit binding with glBindAttribLocation(), otherwise the linker will allocate generic attribute slots.
* added _mesa_add_sampler()Brian2007-01-051-5/+10
|
* Uniform matrix support.Brian2006-12-201-1/+1
| | | | | | | 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.
* Overhaul of GLSL API functions, dispatching, etc.Brian2006-12-191-1/+3
|
* Split the program.[ch] files into several new files.Brian2006-12-141-0/+123