svga: add function svga_linear_to_srgb()
authorNeha Bhende <bhenden@vmware.com>
Thu, 27 Apr 2017 17:37:02 +0000 (10:37 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 29 Apr 2017 03:03:06 +0000 (21:03 -0600)
commit1b415a5b2833c1642176601653021d4bbe895b35
treedd0d44027638d70f8a298a3a28a47914b692a2c1
parent6e06e281c6ee342276d087ed4ee4a442626e433a
svga: add function svga_linear_to_srgb()

This function will return compatible svga srgb format for corresponding
linear format

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