st/mesa: fix opcode translation for ARB_shader_bit_encoding functions
authorMarek Olšák <marek.olsak@amd.com>
Tue, 30 Jul 2013 20:29:25 +0000 (22:29 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 30 Jul 2013 21:31:30 +0000 (23:31 +0200)
commit369c8291523682dda5df5a64aded89ff696370f2
treeba69b92455f18ea9bda501eef92c6b794c12c301
parent0f6a7cb00c86fbdb415b01450bb1ece8cfe1e31d
st/mesa: fix opcode translation for ARB_shader_bit_encoding functions

We treat the opcodes as MOVs, but we should at least change the type
of the expression, which later affects which TGSI opcode is chosen.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp