gallium: replace some ordinary assignments with pipe_reference_texture()
authorBrian <brian.paul@tungstengraphics.com>
Wed, 20 Feb 2008 22:09:27 +0000 (15:09 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 20 Feb 2008 22:09:44 +0000 (15:09 -0700)
commit25ea1901b44107a5bc5351487e18d52d75df8ffd
tree6b5255f7342a5fccabdbe0d3c845a0fbb12693af
parentfce61f341faf6a2e1a8497ab963985ddbffa8b0a
gallium: replace some ordinary assignments with pipe_reference_texture()

This fixes at least one instance of dereferencing an invalid texture pointer.
src/gallium/drivers/cell/ppu/cell_texture.c
src/gallium/drivers/i915simple/i915_state.c
src/gallium/drivers/i915simple/i915_texture.c
src/gallium/drivers/i965simple/brw_state.c
src/gallium/drivers/i965simple/brw_tex_layout.c
src/gallium/drivers/softpipe/sp_context.h
src/gallium/drivers/softpipe/sp_quad_fs.c
src/gallium/drivers/softpipe/sp_state_sampler.c
src/gallium/drivers/softpipe/sp_texture.c
src/mesa/state_tracker/st_texture.c