[Mesa-dev] [PATCH] gallium: new, unified pipe_context::set_sampler_views() function

Roland Scheidegger sroland at vmware.com
Tue Oct 8 11:03:41 PDT 2013


Am 08.10.2013 02:23, schrieb Brian Paul:
> The new function replaces four old functions: set_fragment/vertex/
> geometry/compute_sampler_views().
> 
> Note: at this time, it's expected that the 'start' parameter will
> always be zero.
> 
> ---
> 
> This change touches quite a few files.  I've probably missed
> something in drivers or state trackers that I can't test.
> Please test if you're able.  Thanks.
> ---
>  src/gallium/auxiliary/cso_cache/cso_context.c     |   36 +++---------
>  src/gallium/auxiliary/draw/draw_pipe_aaline.c     |   37 ++++++------
>  src/gallium/auxiliary/draw/draw_pipe_pstipple.c   |   33 ++++++-----
>  src/gallium/auxiliary/util/u_blitter.c            |   12 ++--
>  src/gallium/auxiliary/vl/vl_compositor.c          |    4 +-
>  src/gallium/auxiliary/vl/vl_idct.c                |    6 +-
>  src/gallium/auxiliary/vl/vl_matrix_filter.c       |    3 +-
>  src/gallium/auxiliary/vl/vl_mc.c                  |    3 +-
>  src/gallium/auxiliary/vl/vl_median_filter.c       |    3 +-
>  src/gallium/auxiliary/vl/vl_mpeg12_decoder.c      |    4 +-
>  src/gallium/auxiliary/vl/vl_zscan.c               |    3 +-
>  src/gallium/docs/d3d11ddi.txt                     |    4 +-
>  src/gallium/docs/source/context.rst               |   14 ++---
>  src/gallium/drivers/freedreno/freedreno_texture.c |   22 +++++++-
>  src/gallium/drivers/galahad/glhd_context.c        |   57 ++-----------------
>  src/gallium/drivers/i915/i915_state.c             |   22 +++++++-
>  src/gallium/drivers/identity/id_context.c         |   47 ++--------------
>  src/gallium/drivers/ilo/ilo_state.c               |   27 +++++++--
>  src/gallium/drivers/llvmpipe/lp_state_sampler.c   |   30 +---------
>  src/gallium/drivers/noop/noop_state.c             |   13 ++---
>  src/gallium/drivers/nouveau/nv30/nv30_context.h   |    8 +++
>  src/gallium/drivers/nouveau/nv30/nv30_fragtex.c   |   24 +++++++-
>  src/gallium/drivers/nouveau/nv30/nv40_verttex.c   |    4 +-
>  src/gallium/drivers/nouveau/nv50/nv50_state.c     |   39 ++++++-------
>  src/gallium/drivers/nouveau/nvc0/nvc0_state.c     |   57 ++++++++-----------
>  src/gallium/drivers/r300/r300_state.c             |   13 +++--
>  src/gallium/drivers/r600/evergreen_compute.c      |    3 +-
>  src/gallium/drivers/r600/r600_pipe.h              |    5 ++
>  src/gallium/drivers/r600/r600_state_common.c      |   20 ++-----
>  src/gallium/drivers/radeonsi/si_state.c           |   30 ++++------
>  src/gallium/drivers/rbug/rbug_context.c           |   30 +---------
>  src/gallium/drivers/softpipe/sp_state_sampler.c   |   32 +----------
>  src/gallium/drivers/svga/svga_pipe_sampler.c      |   11 +---
>  src/gallium/drivers/trace/tr_context.c            |   62 ++-------------------
>  src/gallium/include/pipe/p_context.h              |   18 +-----
>  src/gallium/tests/graw/fs-test.c                  |    2 +-
>  src/gallium/tests/graw/gs-test.c                  |    2 +-
>  src/gallium/tests/graw/quad-sample.c              |    2 +-
>  src/gallium/tests/graw/quad-tex.c                 |    2 +-
>  src/gallium/tests/graw/tex-srgb.c                 |    4 +-
>  src/gallium/tests/graw/tex-swizzle.c              |    2 +-
>  src/gallium/tests/graw/vs-test.c                  |    2 +-
>  src/gallium/tests/trivial/compute.c               |    4 +-
>  src/gallium/tools/trace/dump_state.py             |   14 +----
>  44 files changed, 278 insertions(+), 492 deletions(-)


Looks good to me.

Roland


More information about the mesa-dev mailing list