Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-01-06 | mesa: fix another "out of samplers" problem | Brian Paul | |
Now only the samplers that are actually used by texture() functions are saved in the uniform variable list. Before, we could run out of samplers if too many were declared while only some of them were actually used. (cherry picked from commit 1fad6ccb756ae33ca3115f59c99ca8abbeb0321e) Conflicts: src/mesa/shader/slang/slang_link.c | |||
2009-01-06 | mesa: remove old size=4 limit | Brian Paul | |
(cherry picked from commit 0da44c62cc91c60d392f6e57aa047473b67ffb9b) | |||
2009-01-06 | mesa: copy Flags in _mesa_clone_parameter_list() | Brian Paul | |
(cherry picked from commit 08b825a77179a9e7ed902c9c57387f127cd007bc) | |||
2009-01-06 | mesa: add Flags field to gl_program_parameter | Brian Paul | |
Only one flag defined so far: PROG_PARAM_CENTROID_BIT (cherry picked from commit 0f228d7ab3b7c03328df369b8db50c469ac5dcd6) | |||
2009-01-06 | mesa: track initialization status of uniform variables. Plus, asst clean-ups. | Brian Paul | |
(cherry picked from commit 2d76a0d77af7be9539f89cba37ce84338c1cdda4) | |||
2008-09-05 | mesa: _mesa_program_state_string() returns char *, not const char *. | Michal Krol | |
2008-08-19 | mesa: glsl: add usage tracking for uniform vars | Brian Paul | |
Unused uniforms are no longer included in the active uniforms list. | |||
2008-07-24 | mesa: 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-21 | mesa: assorted glsl uniform/attribute fixes | Brian Paul | |
Fix incorrect uniform/attribute size query results. Add missing error checking for glUniform, glUniformMatrix params Fix an array size/allocation error. | |||
2008-07-18 | mesa: glsl: various writemask/swizzle improvements and clean-ups | Brian Paul | |
2008-07-15 | mesa: Silence compiler warnings on Windows. | Michal Krol | |
2008-06-12 | shaders: fix allocation of arrays of parameters | Zack Rusin | |
2008-05-20 | copy StateFlags in _mesa_clone_parameter_list() | Brian Paul | |
cherry-picked from master (b539b6132141b0f583076355ad158852667b79cd) | |||
2008-05-20 | fix incorrect sampler numbering/indexing. | Brian Paul | |
All samplers indexes were zero. cherry-picked from master (b6fb0940c226373ac235a5d327d3fcfd742bc6b9) | |||
2008-05-14 | mesa: use CALLOC_STRUCT() | Brian Paul | |
2008-03-27 | Fix the compile of disabled DEBUG_PARSING code. | Brian | |
cherry-picked from master | |||
2007-10-30 | added _mesa_combine_parameter_lists() | Brian | |
2007-10-26 | Re-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-18 | comments, assertions | Brian | |
2007-04-18 | new comments | Brian | |
2007-04-18 | Start fixing some issues with uniform variables and their types. | Brian | |
2007-04-18 | Fix some bugs related to querying active uniforms. | Brian | |
2007-04-18 | Replace _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-26 | In _mesa_lookup_parameter_constant() make sure we return a full, 4-component ↵ | Brian | |
swizzle. | |||
2007-03-22 | In _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-13 | remove bogus assertion | Brian | |
2007-02-23 | replace GLint with gl_state_index | Brian | |
2007-02-22 | Undo some STATE_POINT/FOG changes. Max length of state token array is now 5. | Brian | |
2007-02-09 | always init param vars to silence valgrind warnings | Brian | |
2007-02-08 | do full swizzled matching in _mesa_lookup_parameter_constant() | Brian | |
2007-01-23 | fix g++ warnings/errors | Brian | |
2007-01-18 | _mesa_add_unnamed_constant() now tries to re-use constants already in | Brian | |
the parameter list. | |||
2007-01-10 | fix size bug in _mesa_add_attribute() | Brian | |
2007-01-10 | simplify _mesa_add_state_reference() | Brian | |
2007-01-09 | get rid of STATE_USER_ATTRIB/STATE_AUTO_ATTRIB | Brian | |
2007-01-09 | clean up a bunch of program parameter stuff | Brian | |
2007-01-09 | Implement vertex attribute binding. | Brian | |
Users can set explicit binding with glBindAttribLocation(), otherwise the linker will allocate generic attribute slots. | |||
2007-01-05 | added _mesa_add_sampler() | Brian | |
2006-12-20 | Uniform 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-19 | Overhaul of GLSL API functions, dispatching, etc. | Brian | |
2006-12-14 | remove unneded includes | Brian | |
2006-12-14 | Split the program.[ch] files into several new files. | Brian | |