mesa: Changes to 'gallium-0.1'

Brian Paul brianp at kemper.freedesktop.org
Sat Oct 27 01:23:04 UTC 2007


 src/mesa/main/config.h                    |    1 
 src/mesa/main/mtypes.h                    |    6 +
 src/mesa/pipe/failover/fo_context.h       |    1 
 src/mesa/pipe/failover/fo_state.c         |   14 +++
 src/mesa/pipe/i915simple/i915_context.h   |    1 
 src/mesa/pipe/i915simple/i915_state.c     |   10 ++
 src/mesa/pipe/p_context.h                 |    3 
 src/mesa/pipe/softpipe/sp_context.c       |    1 
 src/mesa/pipe/softpipe/sp_context.h       |    1 
 src/mesa/pipe/softpipe/sp_quad_fs.c       |    1 
 src/mesa/pipe/softpipe/sp_state.h         |    3 
 src/mesa/pipe/softpipe/sp_state_sampler.c |   14 +++
 src/mesa/pipe/tgsi/exec/tgsi_exec.c       |    5 +
 src/mesa/pipe/tgsi/exec/tgsi_exec.h       |    1 
 src/mesa/shader/prog_execute.c            |   16 ++--
 src/mesa/shader/prog_execute.h            |    2 
 src/mesa/shader/prog_instruction.c        |   11 ++
 src/mesa/shader/prog_instruction.h        |    5 +
 src/mesa/shader/prog_parameter.c          |    7 +
 src/mesa/shader/prog_parameter.h          |    2 
 src/mesa/shader/prog_print.c              |    7 +
 src/mesa/shader/program.c                 |    5 +
 src/mesa/shader/shader_api.c              |  113 +++++++++++++++++++-----------
 src/mesa/shader/slang/slang_codegen.c     |   15 +++
 src/mesa/shader/slang/slang_compile.c     |    6 +
 src/mesa/shader/slang/slang_emit.c        |    6 +
 src/mesa/shader/slang/slang_link.c        |   71 +++++++-----------
 src/mesa/shader/slang/slang_link.h        |    4 -
 src/mesa/shader/slang/slang_typeinfo.h    |    1 
 src/mesa/state_tracker/st_atom_sampler.c  |   33 ++++++++
 src/mesa/swrast/s_fragprog.c              |    2 
 31 files changed, 262 insertions(+), 106 deletions(-)

commit diffs at http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary

New commits:
commit 8fed2466e4056668a76a87cf935b5fbff8ae15ca
Author: Brian <brian.paul at tungstengraphics.com>
Date:   Fri Oct 26 19:19:09 2007 -0600

    Re-implement GLSL texture sampler variables.
    
    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.




More information about the mesa-commit mailing list