Mesa (master): llvmpipe: pass mask into fragment shader

Jose Fonseca jrfonseca at kemper.freedesktop.org
Tue Jul 13 16:24:27 UTC 2010


Module: Mesa
Branch: master
Commit: d4b64167b56f780d0dea73193c345622888fbc16
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4b64167b56f780d0dea73193c345622888fbc16

Author: Keith Whitwell <keithw at vmware.com>
Date:   Thu Jun 17 21:19:09 2010 +0100

llvmpipe: pass mask into fragment shader

Move this code back out to C for now, will generate separately.

Shader now takes a mask parameter instead of C0/C1/C2/etc.

Shader does not currently use that parameter and rasterizes whole
pixel stamps always.

---

 src/gallium/drivers/llvmpipe/lp_jit.c           |   16 -
 src/gallium/drivers/llvmpipe/lp_jit.h           |   26 +-
 src/gallium/drivers/llvmpipe/lp_perf.c          |   39 +-
 src/gallium/drivers/llvmpipe/lp_perf.h          |    1 +
 src/gallium/drivers/llvmpipe/lp_rast.c          |  126 +++---
 src/gallium/drivers/llvmpipe/lp_rast.h          |   82 ++--
 src/gallium/drivers/llvmpipe/lp_rast_priv.h     |   63 ++-
 src/gallium/drivers/llvmpipe/lp_rast_tri.c      |  179 +------
 src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h  |  238 +++++++++
 src/gallium/drivers/llvmpipe/lp_setup.c         |   24 +-
 src/gallium/drivers/llvmpipe/lp_setup_context.h |    1 -
 src/gallium/drivers/llvmpipe/lp_setup_tri.c     |  609 ++++++++++++++---------
 src/gallium/drivers/llvmpipe/lp_state_fs.c      |  286 +++--------
 src/gallium/drivers/llvmpipe/lp_state_fs.h      |    1 -
 14 files changed, 901 insertions(+), 790 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=d4b64167b56f780d0dea73193c345622888fbc16



More information about the mesa-commit mailing list