svga: fix sRGB rendering
authorBrian Paul <brianp@vmware.com>
Tue, 5 Feb 2013 19:20:39 +0000 (12:20 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 5 Feb 2013 19:34:55 +0000 (12:34 -0700)
commitff605091579a0dfbb6a6b3ea0e46d6fed28a278b
tree8d0c7bf15b6ec68fbd7f1ea318c3b37d13f0f4e6
parent8aaee4d64e362137fabfe536a686638a6cc882bc
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>
src/gallium/drivers/svga/svga_state_rss.c