vc4: Optimize SF(ITOF(x)) -> SF(x).
authorEric Anholt <eric@anholt.net>
Thu, 9 Oct 2014 07:36:03 +0000 (09:36 +0200)
committerEric Anholt <eric@anholt.net>
Thu, 9 Oct 2014 09:01:18 +0000 (11:01 +0200)
commit5a1352289862a9bd695a15009c69cad54727c66b
treeedcd9f90d64fec4b1a3a67b7829a7e5fed9ae912
parent00a9aebfe064ec252a95e0f3a38f4f6c967dadc4
vc4: Optimize SF(ITOF(x)) -> SF(x).

This is a common production of st_glsl_to_tgsi, because CMP takes a float
argument.
src/gallium/drivers/vc4/vc4_opt_algebraic.c