glsl: Use ir_unop_f2u to convert floats to uints.
authorPaul Berry <stereotype441@gmail.com>
Wed, 13 Jun 2012 22:50:23 +0000 (15:50 -0700)
committerPaul Berry <stereotype441@gmail.com>
Fri, 15 Jun 2012 15:58:55 +0000 (08:58 -0700)
commit4d9c3cbce9e1ff45e5a90dda4de4934599b88037
tree9dfddcffbbbcdff2c365205788c54b5ddb74a6a7
parent9d57d483cbcced5051d0dd4d48bbe750b5c15592
glsl: Use ir_unop_f2u to convert floats to uints.

Fixes piglit tests
spec/glsl-1.30/execution/{vs,fs}-float-uint-conversion on i965.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_function.cpp