nvc0: don't make 1d staging textures linear
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 1 Sep 2014 04:43:06 +0000 (00:43 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 1 Sep 2014 22:38:02 +0000 (18:38 -0400)
commit115d9a5525e74573ced9209063a1d4a551e6eaa4
tree02812808177fe56820c6c8c81ee9c4bcfc278b14
parent362cd26960aff2e997584064443dcc0418516ae6
nvc0: don't make 1d staging textures linear

Experimentally, the sampler doesn't appear to like these, neither as
buffer nor as rect textures. So remove 1D from the list of texture types
to make linear when used for staging.

This fixes the OSD in mplayer for VDPAU.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c