gallium: add and use PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS
authorMarek Olšák <maraeo@gmail.com>
Tue, 27 Sep 2011 20:22:06 +0000 (22:22 +0200)
committerMarek Olšák <maraeo@gmail.com>
Fri, 30 Sep 2011 21:19:52 +0000 (23:19 +0200)
commitf5bfe54a34d9c8cd5de2b096d0e8486fe0d990a7
tree5c61a58b22bd018661f8b4f12e5974bf07b18c20
parent557c3febdfd88ba1a41d3e8e0221e447d491c343
gallium: add and use PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS

This removes:
- PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS
- PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS
in favor of the that new per-shader cap.

Reviewed-by: Brian Paul <brianp@vmware.com>
15 files changed:
src/gallium/auxiliary/tgsi/tgsi_exec.h
src/gallium/drivers/cell/ppu/cell_screen.c
src/gallium/drivers/i915/i915_screen.c
src/gallium/drivers/i965/brw_screen.c
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/nv50/nv50_screen.c
src/gallium/drivers/nvc0/nvc0_screen.c
src/gallium/drivers/nvfx/nvfx_screen.c
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/softpipe/sp_screen.c
src/gallium/drivers/svga/svga_screen.c
src/gallium/include/pipe/p_defines.h
src/gallium/state_trackers/d3d1x/gd3d11/d3d11_screen.h
src/mesa/state_tracker/st_extensions.c