summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2016-12-02 19:17:52 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-12-14 19:03:12 +0000
commit3b956bdbcc86418404e7e861521d14ce83c8543e (patch)
tree8e9f129f28d15714cf969244db964a5428023791
parent2da119dfe9ce8684d56745e43fda224a0dad3465 (diff)
downloadexternal_mesa3d-3b956bdbcc86418404e7e861521d14ce83c8543e.zip
external_mesa3d-3b956bdbcc86418404e7e861521d14ce83c8543e.tar.gz
external_mesa3d-3b956bdbcc86418404e7e861521d14ce83c8543e.tar.bz2
tgsi: fix the src type of TGSI_OPCODE_MEMBAR
It's a literal integer. The next commit will need this. Cc: 13.0 <mesa-stable@lists.freedesktop.org> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> (cherry picked from commit 16ba04d6deea4f89cbaec00a001d5c2ac841692b)
-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 18e1bc8..37549aa 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: