tgsi: fix operand type of TGSI_OPCODE_NOT
authorChia-I Wu <olvaffe@gmail.com>
Sat, 4 May 2013 10:06:39 +0000 (18:06 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 8 May 2013 03:03:49 +0000 (11:03 +0800)
commit75a48a53d80706b3e6d1309c81be5c1585a92302
treec3d95db0c172c3b837dcfa68ebc6ce642f077f8d
parent1f970816b1a6d3cf63a0a2a1092fbb485024b37a
tgsi: fix operand type of TGSI_OPCODE_NOT

It should be TGSI_TYPE_UNSIGNED, not TGSI_TYPE_FLOAT.

Fixed also gallivm not_emit_cpu() to use uint build context.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Acked-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c
src/gallium/auxiliary/tgsi/tgsi_info.c