iris: Don't bother considering if the underlying surface is a cube
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 30 Nov 2018 07:03:20 +0000 (23:03 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:10 +0000 (10:26 -0800)
commit585c95f8cc064e81cedd4522297c95bab25b2f01
treed642d131f785e791839ddbc5f916311723c92e50
parent773adeb9e908d19799c9ff22000f50c5ab818c56
iris: Don't bother considering if the underlying surface is a cube

Dave fixed it to consider whether the sampler view is a cube.
With that, there's no point (possibly harm) in looking if the original
resource was a cube...if it's an array view, we don't want to treat it
as a cube anymore...
src/gallium/drivers/iris/iris_state.c