tgsi: (trivial) fix handling msaa resources on TXF
authorRoland Scheidegger <sroland@vmware.com>
Wed, 27 Aug 2014 22:41:05 +0000 (00:41 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 29 Aug 2014 23:17:47 +0000 (01:17 +0200)
commit032fe4ed233e5cc2c2da9f453087745ff4ee1277
treeae2bdda316733c76f740ce6e70b74c5a90f55a08
parent99105454b000c5c665dca1d4767450ac668a43e7
tgsi: (trivial) fix handling msaa resources on TXF

Just handle as ordinary 2d / 2d array resources. Prevents an assertion failure
with softpipe and piglit glsl-resource-not-bound 2DMS/2DMSArray tests.
While here also fix TXD shadowCube similarly, which fixes the crash with piglit
tex-miplevel-selection textureGrad CubeShadow (the test will still fail due to
softpipe being broken).

This fixes https://bugs.freedesktop.org/show_bug.cgi?id=80011

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c