svga: convert dst format to linear when blending is enabled.
authorNeha Bhende <bhenden@vmware.com>
Thu, 4 May 2017 18:25:04 +0000 (11:25 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 5 Sep 2018 17:22:42 +0000 (11:22 -0600)
commit53091a0312edf38a87a4b7a6e88b52e1887750ca
tree72433bcea31c2dede023d62c636293ceed947276
parentdfab1289e84978f594972d3c47332f4bc803379d
svga: convert dst format to linear when blending is enabled.

When blending is enabled, framebuffer colorspace has to be linear.
Previously, we never hit this case because we were not supporting sRGB
drawable. Previous patch added that support.

Tested with mtt glretrace, viewperf, piglit, conform.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_pipe_blit.c