i965/gen8: Allow rendering to B8G8R8X8
authorNeil Roberts <neil@linux.intel.com>
Thu, 19 Nov 2015 13:02:59 +0000 (14:02 +0100)
committerNeil Roberts <neil@linux.intel.com>
Thu, 10 Dec 2015 11:03:49 +0000 (11:03 +0000)
commit9a31d9870b0c2113eefd1c2baf347ab8b288f6a6
tree94cd9afad37fbd5724a8299621f2b76fe1d4525f
parentd15133859424e73ed892ab05c2bdbb76157da517
i965/gen8: Allow rendering to B8G8R8X8

Since Gen8 this is allowed as a rendering target so we don't need to
override it to B8G8R8A8. This is helpful on Gen9+ where using this
override causes fast clears not to work.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com>
src/mesa/drivers/dri/i965/brw_surface_formats.c