nv50: enable texture compression
authorTobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Sat, 3 Jan 2015 00:00:08 +0000 (01:00 +0100)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 5 Jan 2015 05:34:33 +0000 (00:34 -0500)
commit1f8c0be27e1aa09e39d3016b6aae96c3ac228e17
treecc7b8ec45f55561f660abfdec5b714be0a0dee1f
parente452cfb149a5ae17a2d3315396f4ab001c20bb68
nv50: enable texture compression

Compression seems to be supported for only some formats. Enable it for
those. Previously this was disabled for everything despite the code
looking like it was actually enabled.

Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_miptree.c
src/gallium/drivers/nouveau/nv50/nv50_screen.c