summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_info.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-12-02 19:17:52 +0100
committerMarek Olšák <[email protected]>2016-12-07 19:40:29 +0100
commit16ba04d6deea4f89cbaec00a001d5c2ac841692b (patch)
treee2ee2cfe9adeeed8207e4f4a34bb3fcf0b2c69c0 /src/gallium/auxiliary/tgsi/tgsi_info.c
parent16f49c16c79a67f174b92672d546f909425f7fc3 (diff)
tgsi: fix the src type of TGSI_OPCODE_MEMBAR
It's a literal integer. The next commit will need this. Cc: 13.0 <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
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 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: