This branch/patch combines the NegateBase and NegateAbs fields into 
one to make things a bit simpler.  I updated all the DRI drivers, but 
only tested i965.  Maybe someone else can sanity test R300/R500.

I'll probably merge this to master in a day or two.

-Brian

Brian Paul wrote:
> Module: Mesa
> Branch: register-negate
> Commit: 7db7ff878d3e5a6b345228e6eaee4797bb68b360
> URL:    
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=7db7ff878d3e5a6b345228e6eaee4797bb68b360
> 
> Author: Brian Paul <[email protected]>
> Date:   Tue Apr 14 22:14:30 2009 -0600
> 
> mesa: merge the prog_src_register::NegateBase and NegateAbs fields
> 
> 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.
> 
> ---
> 
>  src/mesa/drivers/dri/i915/i915_fragprog.c         |   10 ++--
>  src/mesa/drivers/dri/i965/brw_vs_constval.c       |    2 +-
>  src/mesa/drivers/dri/i965/brw_vs_emit.c           |    8 ++--
>  src/mesa/drivers/dri/i965/brw_wm_fp.c             |   13 +++---
>  src/mesa/drivers/dri/i965/brw_wm_glsl.c           |    6 +-
>  src/mesa/drivers/dri/i965/brw_wm_pass0.c          |    2 +-
>  src/mesa/drivers/dri/r200/r200_vertprog.c         |   34 +++++++-------
>  src/mesa/drivers/dri/r300/r300_fragprog.c         |    4 +-
>  src/mesa/drivers/dri/r300/r300_fragprog_swizzle.c |   17 ++++---
>  src/mesa/drivers/dri/r300/r300_vertprog.c         |   49 
> ++++++++-------------
>  src/mesa/drivers/dri/r300/r500_fragprog.c         |   19 ++++----
>  src/mesa/drivers/dri/r300/radeon_nqssadce.c       |    7 +--
>  src/mesa/drivers/dri/r300/radeon_program_alu.c    |   20 ++++-----
>  src/mesa/drivers/dri/r300/radeon_program_pair.c   |   11 ++---
>  src/mesa/main/ffvertex_prog.c                     |    3 +-
>  src/mesa/main/texenvprogram.c                     |    3 +-
>  src/mesa/shader/arbprogparse.c                    |    8 ++--
>  src/mesa/shader/nvfragparse.c                     |   33 ++++++++------
>  src/mesa/shader/nvvertparse.c                     |   10 ++--
>  src/mesa/shader/prog_execute.c                    |   27 +++--------
>  src/mesa/shader/prog_instruction.h                |   32 ++-----------
>  src/mesa/shader/prog_print.c                      |   20 ++++----
>  src/mesa/shader/programopt.c                      |    2 +-
>  src/mesa/shader/slang/slang_emit.c                |    2 +-
>  src/mesa/state_tracker/st_cb_bitmap.c             |    2 +-
>  src/mesa/state_tracker/st_mesa_to_tgsi.c          |   20 +++-----
>  26 files changed, 156 insertions(+), 208 deletions(-)
> 
> Diff:   
> http://cgit.freedesktop.org/mesa/mesa/diff/?id=7db7ff878d3e5a6b345228e6eaee4797bb68b360
> _______________________________________________
> mesa-commit mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/mesa-commit
> .
> 


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to