From e73201de5910da88b5e42ca61423dde8abadb0c2 Mon Sep 17 00:00:00 2001 From: Elie Tournier Date: Tue, 26 Feb 2019 21:08:46 +0000 Subject: [PATCH] tgsi: fix the src type of TGSI_OPCODE_MEMBAR From Mesa 16ba04d6deea4f89cbaec00a001d5c2ac841692b Signed-off-by: Elie Tournier Signed-off-by: Dave Airlie --- src/gallium/auxiliary/tgsi/tgsi_info.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/tgsi/tgsi_info.c b/src/gallium/auxiliary/tgsi/tgsi_info.c index 3fce789..3a969ee 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_info.c +++ b/src/gallium/auxiliary/tgsi/tgsi_info.c @@ -498,6 +498,7 @@ tgsi_opcode_infer_src_type( uint opcode ) case TGSI_OPCODE_UMUL_HI: case TGSI_OPCODE_UMSB: case TGSI_OPCODE_U2I64: + case TGSI_OPCODE_MEMBAR: return TGSI_TYPE_UNSIGNED; case TGSI_OPCODE_IMUL_HI: case TGSI_OPCODE_I2F: