st/vdpau: don't return a device if the screen doesn't support NPOT
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 18 Jan 2014 02:41:38 +0000 (21:41 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 20 Jan 2014 01:01:48 +0000 (20:01 -0500)
commit00e4314f6d605e467b9a386cacab7eec48b9e429
treebdfcba2090e0d32e57ececf407c3eefebe99c1ea
parentad3c99e22a688b7c3f15894aabbedcc5cd89230b
st/vdpau: don't return a device if the screen doesn't support NPOT

NV3x cards don't support NPOT textures. Technically this restriction
could be worked around, but since it also doesn't expose any video
decoding hw, just turn it off entirely.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: 10.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/vdpau/device.c