st/mesa: use new float comparison opcodes if native integers are supported
authorRoland Scheidegger <sroland@vmware.com>
Wed, 14 Aug 2013 23:05:03 +0000 (01:05 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 15 Aug 2013 15:30:07 +0000 (17:30 +0200)
commit7ae9cc71f097af5ae1f83f77f75de2198849faca
treef8cc5399f74f5fa462214c530dc1ec96a7786d36
parent4ea191fb2dcd5f1825c3433cf02f14da870b4cb5
st/mesa: use new float comparison opcodes if native integers are supported

Should get rid of some float-to-int conversions (with negation).
No piglit regressions (with llvmpipe).

v2: fix bogus formatting spotted by Brian.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp