summaryrefslogtreecommitdiffstats
path: root/src/amd/common
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-07-27 19:24:59 +0200
committerNicolai Hähnle <[email protected]>2017-08-02 09:48:53 +0200
commitdfc1502c841863b01481f5e88af658f699cca12e (patch)
tree275cc46f33717a833ca3b5f78d71bf1ab81876a1 /src/amd/common
parentaff93fd60e9167d1fbe63b4972451d2a5acda6e5 (diff)
radeonsi: fix streamout overflow predication on VI+
There is a firmware regression that causes failures. Work around it by using the compute shader for query_buffer_objects to summarize the query results. v2: rename to PREDICATION_OP_BOOL64 (consistent with sid.h) Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common')
-rw-r--r--src/amd/common/r600d_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/r600d_common.h b/src/amd/common/r600d_common.h
index 33744753368..0b61215f2bc 100644
--- a/src/amd/common/r600d_common.h
+++ b/src/amd/common/r600d_common.h
@@ -117,6 +117,7 @@
#define PREDICATION_OP_CLEAR 0x0
#define PREDICATION_OP_ZPASS 0x1
#define PREDICATION_OP_PRIMCOUNT 0x2
+#define PREDICATION_OP_BOOL64 0x3
#define PRED_OP(x) ((x) << 16)
#define PREDICATION_CONTINUE (1 << 31)
#define PREDICATION_HINT_WAIT (0 << 12)