Re: [Mesa-dev] [PATCH] i965: Fix clear code for ignoring colormask for XRGB formats on Gen9+.

2016-04-22 Thread Pohjolainen, Topi
On Thu, Apr 21, 2016 at 02:09:41PM -0700, Kenneth Graunke wrote: > On Thursday, April 21, 2016 10:00:57 AM PDT Iago Toral wrote: > > On Wed, 2016-04-20 at 18:38 -0700, Kenneth Graunke wrote: > > > In commit cda886a4851ab767fba40e8474d6fa8190347e4f, Neil made us stop > > > advertising RGBX formats

Re: [Mesa-dev] [PATCH] i965: Fix clear code for ignoring colormask for XRGB formats on Gen9+.

2016-04-22 Thread Pohjolainen, Topi
On Thu, Apr 21, 2016 at 10:00:57AM +0200, Iago Toral wrote: > On Wed, 2016-04-20 at 18:38 -0700, Kenneth Graunke wrote: > > In commit cda886a4851ab767fba40e8474d6fa8190347e4f, Neil made us stop > > advertising RGBX formats on Gen9+, as the hardware apparently no longer > > has working fast clear

Re: [Mesa-dev] [PATCH] i965: Fix clear code for ignoring colormask for XRGB formats on Gen9+.

2016-04-21 Thread Kenneth Graunke
On Thursday, April 21, 2016 10:00:57 AM PDT Iago Toral wrote: > On Wed, 2016-04-20 at 18:38 -0700, Kenneth Graunke wrote: > > In commit cda886a4851ab767fba40e8474d6fa8190347e4f, Neil made us stop > > advertising RGBX formats on Gen9+, as the hardware apparently no longer > > has working fast clear

Re: [Mesa-dev] [PATCH] i965: Fix clear code for ignoring colormask for XRGB formats on Gen9+.

2016-04-21 Thread Iago Toral
On Wed, 2016-04-20 at 18:38 -0700, Kenneth Graunke wrote: > In commit cda886a4851ab767fba40e8474d6fa8190347e4f, Neil made us stop > advertising RGBX formats on Gen9+, as the hardware apparently no longer > has working fast clear support for those formats. Instead, we just > fall back to RGBA

Re: [Mesa-dev] [PATCH] i965: Fix clear code for ignoring colormask for XRGB formats on Gen9+.

2016-04-20 Thread Ben Widawsky
On Wed, Apr 20, 2016 at 06:38:32PM -0700, Kenneth Graunke wrote: > In commit cda886a4851ab767fba40e8474d6fa8190347e4f, Neil made us stop > advertising RGBX formats on Gen9+, as the hardware apparently no longer > has working fast clear support for those formats. Instead, we just > fall back to

[Mesa-dev] [PATCH] i965: Fix clear code for ignoring colormask for XRGB formats on Gen9+.

2016-04-20 Thread Kenneth Graunke
In commit cda886a4851ab767fba40e8474d6fa8190347e4f, Neil made us stop advertising RGBX formats on Gen9+, as the hardware apparently no longer has working fast clear support for those formats. Instead, we just fall back to RGBA formats, and use SCS to override alpha to 1.0. This is fine, but had