Mesa (master): gallium: rename ZS stencil type to UINT (v2)

Dave Airlie airlied at kemper.freedesktop.org
Tue Oct 11 08:14:16 PDT 2011


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Sun Sep 11 09:45:10 2011 +0100

gallium: rename ZS stencil type to UINT (v2)

these are never USCALED, always UINT in reality.

taken from some work by Christoph Bumiller

v2: fixup formatting of table + tabs

Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/gallium/auxiliary/postprocess/pp_init.c        |    4 +-
 src/gallium/auxiliary/util/u_format.c              |    8 +-
 src/gallium/auxiliary/util/u_format.csv            |   17 +++---
 src/gallium/auxiliary/util/u_format.h              |   16 +++---
 src/gallium/auxiliary/util/u_format_table.py       |   12 ++--
 src/gallium/auxiliary/util/u_format_tests.c        |   26 ++++----
 src/gallium/auxiliary/util/u_format_zs.c           |   64 ++++++++++----------
 src/gallium/auxiliary/util/u_format_zs.h           |   52 ++++++++--------
 src/gallium/auxiliary/util/u_pack_color.h          |   32 +++++-----
 src/gallium/auxiliary/util/u_surface.c             |    8 +-
 src/gallium/auxiliary/util/u_tile.c                |   36 ++++++------
 src/gallium/drivers/cell/ppu/cell_gen_fragment.c   |   12 ++--
 src/gallium/drivers/cell/ppu/cell_screen.c         |    2 +-
 src/gallium/drivers/cell/spu/spu_command.c         |    4 +-
 src/gallium/drivers/cell/spu/spu_per_fragment_op.c |    4 +-
 src/gallium/drivers/i915/i915_clear.c              |    4 +-
 src/gallium/drivers/i915/i915_screen.c             |    4 +-
 src/gallium/drivers/i915/i915_state_sampler.c      |    4 +-
 src/gallium/drivers/i915/i915_state_static.c       |    2 +-
 src/gallium/drivers/i915/i915_surface.c            |    2 +-
 src/gallium/drivers/i965/brw_misc_state.c          |    2 +-
 src/gallium/drivers/i965/brw_pipe_clear.c          |    4 +-
 src/gallium/drivers/i965/brw_resource_texture.c    |    2 +-
 src/gallium/drivers/i965/brw_screen.c              |    4 +-
 src/gallium/drivers/llvmpipe/lp_bld_depth.c        |    4 +-
 src/gallium/drivers/nv50/nv50_formats.c            |    6 +-
 src/gallium/drivers/nv50/nv50_miptree.c            |    6 +-
 src/gallium/drivers/nv50/nv50_surface.c            |   12 ++--
 src/gallium/drivers/nvc0/nvc0_formats.c            |    6 +-
 src/gallium/drivers/nvc0/nvc0_miptree.c            |    6 +-
 src/gallium/drivers/nvc0/nvc0_surface.c            |   12 ++--
 src/gallium/drivers/nvfx/nvfx_fragtex.c            |    2 +-
 src/gallium/drivers/nvfx/nvfx_screen.c             |    2 +-
 src/gallium/drivers/nvfx/nvfx_state_fb.c           |    2 +-
 src/gallium/drivers/r300/r300_blit.c               |    2 +-
 src/gallium/drivers/r300/r300_state_derived.c      |    2 +-
 src/gallium/drivers/r300/r300_texture.c            |    6 +-
 src/gallium/drivers/r600/evergreen_state.c         |   20 +++---
 src/gallium/drivers/r600/r600_state.c              |   20 +++---
 src/gallium/drivers/r600/r600_texture.c            |   24 ++++----
 src/gallium/drivers/softpipe/sp_quad_depth_test.c  |   22 ++++----
 src/gallium/drivers/svga/svga_format.c             |    2 +-
 src/gallium/drivers/svga/svga_pipe_clear.c         |    2 +-
 src/gallium/drivers/svga/svga_pipe_misc.c          |    4 +-
 src/gallium/drivers/svga/svga_state_framebuffer.c  |    4 +-
 src/gallium/include/pipe/p_format.h                |   14 ++--
 .../d3d1x/d3d1xstutil/src/dxgi_enums.cpp           |   14 ++--
 src/gallium/state_trackers/dri/common/dri_screen.c |    8 +-
 src/gallium/state_trackers/egl/common/egl_g3d.c    |    2 +-
 src/gallium/state_trackers/glx/xlib/xm_api.c       |    4 +-
 src/gallium/state_trackers/vega/vg_context.c       |    4 +-
 src/gallium/state_trackers/wgl/stw_pixelformat.c   |    4 +-
 src/gallium/state_trackers/xa/xa_tracker.c         |    4 +-
 src/gallium/state_trackers/xorg/xorg_dri2.c        |    4 +-
 src/gallium/tests/unit/u_format_test.c             |   24 ++++----
 src/mesa/state_tracker/st_cb_drawpixels.c          |   40 ++++++------
 src/mesa/state_tracker/st_cb_eglimage.c            |    2 +-
 src/mesa/state_tracker/st_cb_fbo.c                 |    6 +-
 src/mesa/state_tracker/st_cb_readpixels.c          |   14 ++--
 src/mesa/state_tracker/st_extensions.c             |   10 ++--
 src/mesa/state_tracker/st_format.c                 |   34 +++++-----
 61 files changed, 340 insertions(+), 339 deletions(-)

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


More information about the mesa-commit mailing list