summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_info.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2013-05-04 18:06:39 +0800
committerChia-I Wu <olvaffe@gmail.com>2013-05-08 11:03:49 +0800
commit75a48a53d80706b3e6d1309c81be5c1585a92302 (patch)
treec3d95db0c172c3b837dcfa68ebc6ce642f077f8d /src/gallium/auxiliary/tgsi/tgsi_info.c
parent1f970816b1a6d3cf63a0a2a1092fbb485024b37a (diff)
downloadexternal_mesa3d-75a48a53d80706b3e6d1309c81be5c1585a92302.zip
external_mesa3d-75a48a53d80706b3e6d1309c81be5c1585a92302.tar.gz
external_mesa3d-75a48a53d80706b3e6d1309c81be5c1585a92302.tar.bz2
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>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_info.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_info.c b/src/gallium/auxiliary/tgsi/tgsi_info.c
index 90bb497..99b1c66 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_info.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_info.c
@@ -276,6 +276,7 @@ tgsi_opcode_infer_type( uint opcode )
case TGSI_OPCODE_MOV:
case TGSI_OPCODE_UCMP:
return TGSI_TYPE_UNTYPED;
+ case TGSI_OPCODE_NOT:
case TGSI_OPCODE_SHL:
case TGSI_OPCODE_AND:
case TGSI_OPCODE_OR: