From: Marek Olšák Date: Fri, 2 Dec 2016 18:17:52 +0000 (+0100) Subject: tgsi: fix the src type of TGSI_OPCODE_MEMBAR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=16ba04d6deea4f89cbaec00a001d5c2ac841692b;p=mesa.git tgsi: fix the src type of TGSI_OPCODE_MEMBAR It's a literal integer. The next commit will need this. Cc: 13.0 Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_info.c b/src/gallium/auxiliary/tgsi/tgsi_info.c index 18e1bc83e48..37549aae78f 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_info.c +++ b/src/gallium/auxiliary/tgsi/tgsi_info.c @@ -485,6 +485,7 @@ tgsi_opcode_infer_src_type( uint opcode ) case TGSI_OPCODE_UMUL_HI: case TGSI_OPCODE_UP2H: case TGSI_OPCODE_U2I64: + case TGSI_OPCODE_MEMBAR: return TGSI_TYPE_UNSIGNED; case TGSI_OPCODE_IMUL_HI: case TGSI_OPCODE_I2F: