Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-29 | mesa: add new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs | Brian Paul | |
Previously, the FOGC attribute contained the fragment fog coord, front/back- face flag and the gl_PointCoord.xy values. Now each of those things are separate fragment program attributes. This simplifies quite a few things in Mesa and gallium. Need to test i965 driver and fix up point coord handling in the gallium/draw module... | |||
2009-07-02 | mesa: ensure UsesFogFragCoord value is set for non-glsl shaders | Keith Whitwell | |
With recent changes to support frontfacing in glsl, it is necessary to ensure that the UsesFogFragCoord value is accurate in all shaders. We were previously not setting it for fixed-function and ARB_fs shaders. | |||
2009-05-08 | mesa: more complete fix for transform_invarient glitches | Keith Whitwell | |
Add a new flag mvp_with_dp4 in the context, and use that to switch both ffvertex.c and programopt.c vertex transformation code to either DP4 or MUL/MAD implementations. | |||
2009-04-14 | mesa: merge the prog_src_register::NegateBase and NegateAbs fields | Brian Paul | |
There's really no need for two negation fields. This came from the GL_NV_fragment_program extension. The new, unified Negate bitfield applies after the absolute value step. | |||
2009-03-07 | mesa: gl_register_file enum typedef | Brian Paul | |
2009-02-28 | mesa: rename, reorder FRAG_RESULT_x tokens | Brian Paul | |
s/FRAG_RESULT_DEPR/FRAG_RESULT_DEPTH/ s/FRAG_RESULT_COLR/FRAG_RESULT/COLOR/ Remove FRAG_RESULT_COLH (NV half-precision) output since we never used it. Next, we might merge the COLOR and DATA outputs (COLOR0, COLOR1, etc). | |||
2008-08-16 | mesa: import latest GLSL code from gallium-0.1 branch | Brian Paul | |
2008-06-12 | silly bug: it's PROGRAM_VARYING | Zack Rusin | |
2008-06-12 | glsl: make sure we replace all output reads with temporaries | Zack Rusin | |
test in if.glsl | |||
2008-05-14 | clean-up swizzle fields in fog code, fix NegateBase | Brian Paul | |
cherry-picked from gallium-0.1 | |||
2008-05-14 | added _mesa_combine_parameter_lists() | Brian Paul | |
cherry-picked from gallium-0.1 | |||
2007-04-16 | need to clamp MAD for linear fog | Brian | |
2007-03-22 | use _mesa_copy_instructions() | Brian | |
2007-03-21 | merge from master | Brian | |
2007-03-18 | Use _mesa_copy_instructions rather than memcpy in _mesa_insert_mvp_code. | Oliver McFadden | |
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-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 | adjustments to STATE_ token layout/format so token[1] is always the array index | Brian | |
2007-02-09 | optimize per-pixel fog program | Roland Scheidegger | |
use the same internal state as for vertex fog. From the old implemenentation, this changes a SUB+MUL into a MAD for linear fog, and saves a MUL for EXP/EXP2, plus saves a (constant) parameter. While here, fix the broken (forgotten) swizzling. (untested) | |||
2007-01-09 | added _mesa_count_texture_indirections(), _mesa_count_texture_instructions() | Brian | |
2006-12-14 | remove some unneeded includes | Brian | |
2006-12-14 | Updated includes. | Brian | |
2006-12-13 | Checkpoint of work for new GLSL compiler back-end. Lots of assorted changes. | 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-10-29 | fix wrong inequality | Brian Paul | |
2006-10-29 | Change _mesa_init_instruction() to initialize an array of instructions. | Brian Paul | |
2006-10-28 | Implement _mesa_append_fog_code() for fragment program fog options. | Brian Paul | |
2006-08-25 | Rename _mesa_append_modelview_code() to _mesa_insert_mvp_code(). | Brian Paul | |
The four DP4 instructions are now inserted at the top of the program instead of appended to tail. | |||
2006-08-24 | Functions for vertex/fragment program transformations, optimizations, etc. | Brian Paul | |