freedreno: handle null sampler
authorRob Clark <robclark@freedesktop.org>
Thu, 27 Mar 2014 18:47:48 +0000 (14:47 -0400)
committerRob Clark <robclark@freedesktop.org>
Sun, 30 Mar 2014 13:38:16 +0000 (09:38 -0400)
commit92141afd0eda8ac4c3940fdb5682d39a5726e36a
treec42ce5cd8ec35d44d17235131792cd9f90c57c4f
parent9b6b084eb7b10d006b44e3cd22585fc3e39e0c00
freedreno: handle null sampler

This is something that XA triggers.  In some cases it will only use
SAMP[1] (composite mask) but not SAMP[0] (composite src).

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