gallium: use a default texture in update_textures(), update_samplers() when needed
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 14 Aug 2008 21:38:09 +0000 (15:38 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 14 Aug 2008 21:44:28 +0000 (15:44 -0600)
commit8f6d9e12be0be086ca2aab0b56dff8d2181addd9
tree5f9b28a792eed3a01d00d1577617c97c40095bfd
parent6c46b49d12b33b04546bee137f75ca7649e9a4ef
gallium: use a default texture in update_textures(), update_samplers() when needed

The default texture is used when the current fragment shader has texture
sample instructions but the user has not provided/bound a texture.
src/mesa/state_tracker/st_atom_sampler.c
src/mesa/state_tracker/st_atom_texture.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_cb_texture.h
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_context.h