i965: Enable tiled mem_copy with sRGB-formatted resources
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 11 Feb 2016 00:53:57 +0000 (16:53 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Wed, 24 Feb 2016 22:40:34 +0000 (14:40 -0800)
commit3eb476fa143f0c14d3e811ee6301ce7beb4e44f1
tree26100e384e96aa96cef209890a60751208857c6d
parentc95d5c5f6fbfe4a96276e67ed279562b33432fb5
i965: Enable tiled mem_copy with sRGB-formatted resources

RGBA8 and BGRA8 unorm formats are compatible with the various
mem_copy functions. Their sRGB counterparts are also compatible
because they're also color-renderable (of importance when the
specified resource is a readbuffer) and they share the same
physical layout.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/intel_tiled_memcpy.c