On Fri, Mar 06, 2015 at 01:33:05AM -0800, Kenneth Graunke wrote:
> On Gen8+, AND/OR/XOR/NOT don't support the abs() source modifier, and
> negate changes meaning to bitwise-not (~, not -).  This isn't what NIR
> expects, so we should resolve the source modifers via a MOV.
> 
> +30 Piglits (fs-op-bit{and,or,xor}-not-abs-*).
> 
> Signed-off-by: Kenneth Graunke <[email protected]>
> ---
>  src/mesa/drivers/dri/i965/brw_fs.cpp     | 11 +++++++++++
>  src/mesa/drivers/dri/i965/brw_fs.h       |  1 +
>  src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 15 +++++++++++++++
>  3 files changed, 27 insertions(+)

Reviewed-by: Topi Pohjolainen <[email protected]>
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to