svga: fix sRGB rendering
authorBrian Paul <brianp@vmware.com>
Tue, 5 Feb 2013 19:20:39 +0000 (12:20 -0700)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Wed, 13 Feb 2013 20:48:37 +0000 (21:48 +0100)
commit2389fcc8025458e4872b83feb72727ab38f07f33
treed8e6f34e0e03bed0dd08e0ac76b3e78cfade3705
parentcef854dba71dc1af27b0e32cc026e9a54bc45473
svga: fix sRGB rendering

We weren't emitting the SVGA_RS_OUTPUTGAMMA state so sRGB rendering
didn't work properly.

Fixes piglit's framebuffer-srgb test.

Note: This is a candidate for the stable branches.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
(cherry picked from commit ff605091579a0dfbb6a6b3ea0e46d6fed28a278b)
src/gallium/drivers/svga/svga_state_rss.c