summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/p_defines.h')
-rw-r--r--src/mesa/pipe/p_defines.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_defines.h b/src/mesa/pipe/p_defines.h
index c1164c5c08..b3ee890576 100644
--- a/src/mesa/pipe/p_defines.h
+++ b/src/mesa/pipe/p_defines.h
@@ -299,4 +299,12 @@
#define PIPE_PRIM_POLYGON 9
+/**
+ * Query object types
+ */
+#define PIPE_QUERY_OCCLUSION_COUNTER 0
+#define PIPE_QUERY_PRIMITIVES_GENERATED 1
+#define PIPE_QUERY_PRIMITIVES_EMITTED 2
+#define PIPE_QUERY_TYPES 3
+
#endif