[Mesa-dev] [PATCH 0/4] gallium clean-up (unsigned to enum pipe_shader_type)
Kai Wasserbäch
kai at dev.carbon-project.org
Sat Aug 27 10:08:22 UTC 2016
Hey everybody,
here is the complete series to switch from "unsigned shader" to
"enum pipe_shader_type" in the functions defined in p_context.h.
Please review and – if this series gets accepted – commit it for me, since I
do not have access for that.
Patch 1 already carries the R-b by Samuel.
All patches survived a compile run and 3D is still working on my
radeonsi-powered ASIC. ;-)
Cheers,
Kai
P.S.: By the way: there some other functions like get_shader_param, which also
could use this treatment. Not sure if I get around to this soon.
Kai Wasserbäch (4):
gallium: Use enum pipe_shader_type in bind_sampler_states() (v2)
gallium: Use enum pipe_shader_type in set_sampler_views()
gallium: Use enum pipe_shader_type in set_shader_buffers()
gallium: Use enum pipe_shader_type in set_shader_images()
src/gallium/auxiliary/cso_cache/cso_context.c | 12 +++++++-----
src/gallium/auxiliary/cso_cache/cso_context.h | 10 ++++++----
src/gallium/auxiliary/draw/draw_context.c | 4 ++--
src/gallium/auxiliary/draw/draw_context.h | 4 ++--
src/gallium/auxiliary/draw/draw_pipe_aaline.c | 12 ++++++++----
src/gallium/auxiliary/draw/draw_pipe_pstipple.c | 16 +++++++++-------
src/gallium/drivers/ddebug/dd_context.c | 9 ++++++---
src/gallium/drivers/freedreno/a2xx/fd2_texture.c | 2 +-
src/gallium/drivers/freedreno/a3xx/fd3_texture.c | 2 +-
src/gallium/drivers/freedreno/a4xx/fd4_texture.c | 4 ++--
src/gallium/drivers/freedreno/freedreno_texture.c | 4 ++--
src/gallium/drivers/freedreno/freedreno_texture.h | 3 ++-
src/gallium/drivers/i915/i915_state.c | 5 +++--
src/gallium/drivers/ilo/ilo_state.c | 10 +++++++---
src/gallium/drivers/llvmpipe/lp_state_sampler.c | 4 ++--
src/gallium/drivers/noop/noop_state.c | 6 ++++--
src/gallium/drivers/nouveau/nv30/nv30_fragtex.c | 2 +-
src/gallium/drivers/nouveau/nv30/nv30_texture.c | 5 ++++-
src/gallium/drivers/nouveau/nv50/nv50_state.c | 7 +++++--
src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 18 ++++++++++++------
src/gallium/drivers/r300/r300_state.c | 5 +++--
src/gallium/drivers/r600/r600_state_common.c | 5 +++--
src/gallium/drivers/radeonsi/si_descriptors.c | 16 ++++++++++------
src/gallium/drivers/rbug/rbug_context.c | 5 +++--
src/gallium/drivers/softpipe/sp_state.h | 2 +-
src/gallium/drivers/softpipe/sp_state_image.c | 4 ++--
src/gallium/drivers/softpipe/sp_state_sampler.c | 4 ++--
src/gallium/drivers/svga/svga_pipe_sampler.c | 4 ++--
src/gallium/drivers/swr/swr_state.cpp | 4 ++--
src/gallium/drivers/trace/tr_context.c | 8 ++++----
src/gallium/drivers/vc4/vc4_state.c | 7 ++++---
src/gallium/drivers/virgl/virgl_context.c | 5 +++--
src/gallium/include/pipe/p_context.h | 14 +++++++++-----
src/mesa/state_tracker/st_atom_atomicbuf.c | 2 +-
src/mesa/state_tracker/st_atom_constbuf.c | 2 +-
src/mesa/state_tracker/st_atom_image.c | 2 +-
src/mesa/state_tracker/st_atom_sampler.c | 2 +-
src/mesa/state_tracker/st_atom_storagebuf.c | 2 +-
src/mesa/state_tracker/st_atom_texture.c | 2 +-
src/mesa/state_tracker/st_context.h | 2 +-
src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 +-
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 6 +++---
42 files changed, 145 insertions(+), 99 deletions(-)
--
2.9.3
More information about the mesa-dev
mailing list