Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-01-28 | Make GL_ARB_draw_buffers mandatory | Ian Romanick | |
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2009-01-14 | Treat image units and coordinate units differently. | Ian Romanick | |
Previously MaxTextureUnits was used to validate both texture image units and texture coordinate units in fragment programs. Instead, use MaxTextureCoordUnits for texture coordinate units and MaxTextureImageUnits for texture image units. Fixes bugzilla #19468. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> | |||
2008-10-06 | mesa: set FRAG_BIT_FOGC bit in InputsUsed if FogOption!=GL_NONE | Brian Paul | |
2008-09-18 | mesa: prefix a bunch of #include lines with "main/". | Brian Paul | |
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code... | |||
2008-07-09 | mesa: fix state.clip[n].plane parsing bug (bug 16611) | Brian Paul | |
2008-06-12 | glsl: implement variable array indexes | Zack Rusin | |
2008-05-16 | init SamplersUsed bits in _mesa_parse_arb_fragment_program | Brian Paul | |
2008-03-27 | consolidate some parsing functions that were pretty much identical for ↵ | Brian | |
vertex/fragment programs | |||
2008-03-27 | when negating scalar src args, use NEGATE_XYZW, not NEGATE_X | Brian | |
This makes things easier on the back-end when generating GPU code. cherry-picked from gallium-0.1 | |||
2008-03-27 | Set param_var->param_binding_type = PROGRAM_CONSTANT | Brian | |
cherry-picked from gallium-0.1 | |||
2008-03-17 | only set InputsRead bit if input is really used | Markus Amsler | |
2008-02-27 | mesa: set input read only on success | Markus Amsler | |
2008-02-20 | raise GL_INVALID_OPERATION if glProgramString compilation fails | Brian | |
2008-01-15 | Fix the compile of disabled DEBUG_PARSING code. | Eric Anholt | |
2007-12-11 | make sure state token values are fully initialized | Roland Scheidegger | |
2007-09-13 | added program_error2() function for better error reporting | Brian | |
2007-09-13 | Fix state.texgen parsing error (bug 12313). | Brian | |
Replace *(*inst++) with *(*inst)++ in a few places. | |||
2007-07-04 | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | |
of -I flags. | |||
2007-06-07 | Add support for GL_ARB_fragment_program_shadow. | Ian Romanick | |
2007-06-05 | Updates for array texture shadow targets. | Ian Romanick | |
2007-05-16 | Initial implementation of MESA_texture_array | Ian Romanick | |
Shadow sampling from texture arrays is still not implemented. Everything else should be there, though. | |||
2007-03-09 | Merge branch 'origin' into glsl-compiler-1 | Brian | |
Conflicts: src/mesa/main/context.c | |||
2007-03-04 | Propogate UsesKill information. | Keith Whitwell | |
2007-02-23 | fix fog breakage | Brian | |
2007-02-23 | replace GLint with gl_state_index | Brian | |
2007-02-22 | updated debug code | Brian | |
2007-02-22 | Undo some STATE_POINT/FOG changes. Max length of state token array is now 5. | Brian | |
2007-02-22 | Merge branch 'origin' into glsl-compiler-1 | Brian | |
Conflicts: src/mesa/main/state.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/programopt.c src/mesa/shader/slang/slang_execute.c src/mesa/sources src/mesa/swrast/s_arbshader.c src/mesa/swrast/s_context.c src/mesa/swrast/s_span.c src/mesa/swrast/s_zoom.c src/mesa/tnl/t_context.c src/mesa/tnl/t_save_api.c src/mesa/tnl/t_vb_arbprogram.c src/mesa/tnl/t_vp_build.c src/mesa/tnl/t_vtx_eval.c | |||
2007-02-21 | more minor changes to STATE_ indexing | Brian | |
2007-02-21 | adjustments to STATE_ token layout/format so token[1] is always the array index | Brian | |
2007-02-09 | optimize generated vertex programs a bit | Roland Scheidegger | |
Use new internal state to avoid per-vertex normalization of static spot direction vector. Use internal state for simpler per-vertex fog computations (MAD instead of SUB/MUL for linear fog, EX2 instead of POW for EXP/EXP2 fog). Simplify point size calc (2 MADs instead of MOV, MUL, MUL, DP3), and while there fix it up (RSQ instead of RCP). All untested... | |||
2007-02-01 | silence uninitialized var warning | Brian | |
2007-01-09 | clean up a bunch of program parameter stuff | Brian | |
2007-01-09 | Moved NumTexInstructions, NumTexIndirections, etc. into gl_program since | Brian | |
they can now apply to vertex programs. | |||
2007-01-04 | move TexturesUsed[] into gl_program since vertex programs/shaders can use ↵ | Brian | |
textures nowadays | |||
2006-12-14 | Updated includes. | Brian | |
2006-12-14 | Replace __extension__ with LONGSTRING. | Brian | |
2006-11-15 | Add a size parameter to _mesa_add_unnamed_constant() and | Brian Paul | |
_mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now... | |||
2006-11-15 | #define LONGSTRING __extension__ in imports.h and use it to silence gcc | Brian Paul | |
warnings about long string literals. | |||
2006-10-29 | Change _mesa_init_instruction() to initialize an array of instructions. | Brian Paul | |
2006-10-29 | Program instructions are initialized before parsing so no need to set | Brian Paul | |
Abs, NegateAbs, CondMask and CondSwizzle fields to defaults here. CondMask was getting mis-set. Removing the incorrect assignment improves fragment program speed by 15%. | |||
2006-09-06 | for VERTEX_ATTRIB_WEIGHT, use break, not return | Brian Paul | |
2006-09-05 | Hack for Warcraft (bug 8060): allow 'vertex.weight' to be referenced in | Brian Paul | |
vertex program, even though it's not really supported. Results will be undefined, but Warcraft doesn't actually use the attribute. | |||
2006-09-05 | fix typo in enable_parser_extensions(): s/point_parameters/vertex_blend/ | Brian Paul | |
2006-09-05 | Consolidate common case of _mesa_set_program_error() followed by _mesa_error() | Brian Paul | |
in new program_error() function. Add const qualifiers in many places. Reorder some debug code to prevent referencing free'd memory. | |||
2006-08-30 | Check that we don't try to reference more than one target of a texture unit. | Brian Paul | |
For example, referencing both "texture[0], 2D" and "texture[0], CUBE" in one program is an error. | |||
2006-08-30 | fix initialization of native resource usage of vertex/fragment programs | Roland Scheidegger | |
2006-08-25 | use _mesa_alloc_instructions() | Brian Paul | |
2006-08-24 | update MAX_INSTRUCTIONS limit | Brian Paul | |
2006-08-24 | use _mesa_realloc_instructions() | Brian Paul | |