[Mesa-dev] [PATCH] nir: Fix per-component negation in prog_to_nir's SWZ handling.

Matt Turner mattst88 at gmail.com
Fri Apr 17 14:48:49 PDT 2015


On Fri, Apr 17, 2015 at 2:32 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> I missed the fact that the ARB_fragment_program SWZ instruction allows
> per-component negation.  To fix this, move Abs/Negate handling into both
> the simple case and the SWZ case's per-component loop.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90000
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---

Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the mesa-dev mailing list