summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-08-18 18:35:57 +0200
committerMarek Olšák <[email protected]>2017-08-22 13:29:47 +0200
commita57f588fa9a376ee7421a612b86c9825a220775f (patch)
tree9f5c2a607d4b65e983e64a36de8ad90ad909d6f2 /src/gallium/drivers/radeon
parenta65afda768f64e2034e400cff5c0cc8dfef1c353 (diff)
radeonsi/gfx9: set 'not a query' for r600_gfx_write_event_eop correctly
0 is PIPE_QUERY_OCCLUSION_COUNTER, which is not what we want. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r--src/gallium/drivers/radeon/r600_pipe_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h
index c10cf18219e..813ea067f16 100644
--- a/src/gallium/drivers/radeon/r600_pipe_common.h
+++ b/src/gallium/drivers/radeon/r600_pipe_common.h
@@ -66,6 +66,8 @@ struct u_log_context;
/* special primitive types */
#define R600_PRIM_RECTANGLE_LIST PIPE_PRIM_MAX
+#define R600_NOT_QUERY 0xffffffff
+
/* Debug flags. */
/* logging and features */
#define DBG_TEX (1 << 0)