Re: [Mesa-dev] [PATCH] util/u_format: add _is_alpha()

2014-09-12 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Fri, Sep 12, 2014 at 2:47 PM, Rob Clark wrote: > From: Rob Clark > > Because of render-to-alpha (000x) shenanigans, freedreno needs to do > some special handling when rendering to alpha-only formats. And I > noticed that while we had _is_luminance(), _is_inte

[Mesa-dev] [PATCH] util/u_format: add _is_alpha()

2014-09-12 Thread Rob Clark
From: Rob Clark Because of render-to-alpha (000x) shenanigans, freedreno needs to do some special handling when rendering to alpha-only formats. And I noticed that while we had _is_luminance(), _is_intensity(), etc, an _is_alpha() helper was missing. So fix that. Signed-off-by: Rob Clark ---