freedreno: fix for null textures
authorRob Clark <robclark@freedesktop.org>
Mon, 9 Jun 2014 17:34:07 +0000 (13:34 -0400)
committerRob Clark <robclark@freedesktop.org>
Fri, 13 Jun 2014 19:20:34 +0000 (15:20 -0400)
commit6aeeb706d218be030b39e431e53ec07edb974564
treec49419217048779913bf4230937eb1a6fd2769fd
parent2ea8e2fccfc298e799b47ab172ce0356a7afcd60
freedreno: fix for null textures

Some apps seem to give us a null sampler/view for texture slots which
come before the last used texture slot.  In particular 0ad triggers
this.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_emit.c
src/gallium/drivers/freedreno/freedreno_texture.c