i965/vec4: Implement b2f and b2i using negation.
authorMatt Turner <mattst88@gmail.com>
Fri, 9 Oct 2015 19:27:04 +0000 (12:27 -0700)
committerMatt Turner <mattst88@gmail.com>
Sun, 11 Oct 2015 23:19:52 +0000 (16:19 -0700)
commit4642d53a03122e6d3214ed12cb327898917eb84e
tree77dbbc7c56aaff42f73dab4486671dfe58cab02e
parent9fe458335ffd35366ef0f4b741aad0cdb3503783
i965/vec4: Implement b2f and b2i using negation.

Curro added this in commit 3ee2daf23d (before the vec4/NIR backend was
added) but it was missed in the new NIR backend. Add it there as well.

instructions in affected programs:     1857 -> 1810 (-2.53%)
helped:                                15

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp