i965/cnl: Don't resolve single sampled color rb in case of sRGB formats
authorAnuj Phogat <anuj.phogat@gmail.com>
Thu, 27 Apr 2017 17:35:05 +0000 (10:35 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 9 Jun 2017 23:02:59 +0000 (16:02 -0700)
commitb76659997ebb08e69430bfd5eafbe2af5d494a8f
treef85b4044e1f7a35354c7ff93e1bbd9b75598745a
parent640f5d39570daee08ad56a445fa4cd6c97ca50c8
i965/cnl: Don't resolve single sampled color rb in case of sRGB formats

As sRGB now supports lossless compression, we also need to stop resolving
single sampled color render buffers for sRGB formats in Gen 10.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c