vc4: Add some optimization of FADD(FSUB(0, x)).

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 9 October 2014 04:01 UTC

This is a common production of st_glsl_to_tgsi, which uses negate flags on source arguments to handle subtraction.

00a9aeb vc4: Add some optimization of FADD(FSUB(0, x)).
src/gallium/drivers/vc4/vc4_opt_algebraic.c | 31 +++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Upstream: cgit.freedesktop.org


  • Share