freedreno: don't try to shadow layered textures
authorRob Clark <robdclark@gmail.com>
Fri, 7 Oct 2016 15:59:28 +0000 (11:59 -0400)
committerRob Clark <robdclark@gmail.com>
Fri, 7 Oct 2016 19:50:46 +0000 (15:50 -0400)
commit3ebfc44b4231cfa131e17076b10140fcd70ccd8c
tree1ac1fc9f44e0f1ac65f08ece385e7dfb1cf05f08
parentf88f025e8c22047e4e07d3f8653b637924e7313e
freedreno: don't try to shadow layered textures

We will only hit this with multi-planar YUV external images, so we would
probably never hit this code path in the first place.  But if we did, it
wouldn't do the right thing so just bail.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_resource.c