nv30: disable rendering to 3D textures
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 1 Jan 2019 20:06:34 +0000 (15:06 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 1 Jan 2019 20:11:14 +0000 (15:11 -0500)
commit8f98ff362c1e967b2997682f0b1b694a6b1bed98
treef59885990b0741893669b6d1636330e2e7ab28b5
parent8c93ef5de98a90a93434d351c769f3c06f206397
nv30: disable rendering to 3D textures

There's no way to tell the 3D engine about swizzling on such textures.
While rendering to NPOT ones may be possible, there's no great way to
expose that in gallium, nor would there be any practical benefit.

Fixes the non-compressed-format "copyteximage 3D" failures. Something
odd going on with the compressed formats.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv30/nv30_screen.c