From 75a48a53d80706b3e6d1309c81be5c1585a92302 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sat, 4 May 2013 18:06:39 +0800 Subject: 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 Acked-by: Roland Scheidegger --- src/gallium/auxiliary/tgsi/tgsi_info.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/auxiliary/tgsi/tgsi_info.c') 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: -- cgit v1.1