Re: [Mesa-dev] [PATCH 5/5] i965/gen9: Don't allow the RGBX formats for texturing/rendering

2016-01-12 Thread Anuj Phogat
On Mon, Nov 23, 2015 at 3:00 AM, Neil Roberts wrote: > Ben Widawsky writes: > >>> + /* The RGBX formats are not renderable. Normally these get mapped >>> +* internally to RGBA formats when rendering. However on Gen9+ when this >>> +* internal

Re: [Mesa-dev] [PATCH 5/5] i965/gen9: Don't allow the RGBX formats for texturing/rendering

2015-11-23 Thread Neil Roberts
Ben Widawsky writes: >> + /* The RGBX formats are not renderable. Normally these get mapped >> +* internally to RGBA formats when rendering. However on Gen9+ when this >> +* internal override is used fast clears don't work so they are disabled >> in >> +*

Re: [Mesa-dev] [PATCH 5/5] i965/gen9: Don't allow the RGBX formats for texturing/rendering

2015-11-19 Thread Ben Widawsky
On Thu, Nov 19, 2015 at 04:25:21PM +0100, Neil Roberts wrote: > The RGBX surface formats aren't renderable so we internally remap them > to RGBA when rendering. They are retained as RGBX when used as > textures. However since the previous patch fast clears are disabled > for surfaces that use a

[Mesa-dev] [PATCH 5/5] i965/gen9: Don't allow the RGBX formats for texturing/rendering

2015-11-19 Thread Neil Roberts
The RGBX surface formats aren't renderable so we internally remap them to RGBA when rendering. They are retained as RGBX when used as textures. However since the previous patch fast clears are disabled for surfaces that use a different format for rendering than for texturing. To avoid this