glsl: Bitwise conversion operator support in the software renderers.
authorOlivier Galibert <galibert@pobox.com>
Tue, 8 May 2012 18:40:36 +0000 (20:40 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 7 Jun 2012 07:06:18 +0000 (00:06 -0700)
commite16b0a51be7866f3856b62b295df2bcf49e02384
tree6b5563014c5781ae0f3b0e8c0fdf8e1110768598
parentabe976755318fa9dd88a5c48289623ab7c12ce02
glsl: Bitwise conversion operator support in the software renderers.

TGSI doesn't need an opcode, since registers are untyped (but beware
once doubles come into the scene).  Mesa IR doesn't handle native
integers, so trying to handle them there is worthless, the case
entries are only added for warning reasons.

It was only tested with softpipe, since llvmpipe doesn't support glsl
1.3 yet.

Signed-off-by: Olivier Galibert <galibert@pobox.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/program/ir_to_mesa.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp