gallium: make all checks for PIPE_TEXTURE_2D check for PIPE_TEXTURE_RECT too
authorLuca Barbieri <luca@luca-barbieri.com>
Wed, 18 Aug 2010 15:28:08 +0000 (17:28 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Fri, 20 Aug 2010 10:04:00 +0000 (12:04 +0200)
commitae0ef6f69f351cacdc7eaa9b21097a7c1b414e44
treedfc35d5587cb1d6977474eb3b86e5316adfae3f0
parent72b3e3fee37413fefe205fa03a111a0180ed19c1
gallium: make all checks for PIPE_TEXTURE_2D check for PIPE_TEXTURE_RECT too

Searched for them with:
git grep -E '[!=]=.*PIPE_TEXTURE_2D|PIPE_TEXTURE_2D.*[!=]=|case.*PIPE_TEXTURE_2D'

Behavior hasn't been changed.
25 files changed:
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_blitter.c
src/gallium/auxiliary/util/u_gen_mipmap.c
src/gallium/auxiliary/util/u_surfaces.h
src/gallium/drivers/i915/i915_resource_texture.c
src/gallium/drivers/i965/brw_resource_texture.c
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/nv50/nv50_miptree.c
src/gallium/drivers/nv50/nv50_tex.c
src/gallium/drivers/nvfx/nv30_fragtex.c
src/gallium/drivers/nvfx/nv40_fragtex.c
src/gallium/drivers/nvfx/nvfx_miptree.c
src/gallium/drivers/r300/r300_hyperz.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/drivers/r300/r300_texture_desc.c
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_texture.c
src/gallium/drivers/softpipe/sp_screen.c
src/gallium/drivers/softpipe/sp_tex_sample.c
src/gallium/drivers/svga/svga_resource_texture.c
src/gallium/drivers/svga/svga_tgsi_emit.h
src/gallium/tests/python/tests/texture_blit.py
src/mesa/state_tracker/st_cb_bitmap.c