summaryrefslogtreecommitdiff
path: root/src/r600_reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/r600_reg.h')
-rw-r--r--src/r600_reg.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/r600_reg.h b/src/r600_reg.h
index dfe47039..9036e2a5 100644
--- a/src/r600_reg.h
+++ b/src/r600_reg.h
@@ -115,4 +115,18 @@ enum {
IT_SURFACE_BASE_UPDATE = 0x73,
} ;
+/* IT_WAIT_REG_MEM operation encoding */
+
+#define IT_WAIT_ALWAYS (0<<0)
+#define IT_WAIT_LT (1<<0)
+#define IT_WAIT_LE (2<<0)
+#define IT_WAIT_EQ (3<<0)
+#define IT_WAIT_NE (4<<0)
+#define IT_WAIT_GE (5<<0)
+#define IT_WAIT_GT (6<<0)
+#define IT_WAIT_REG (0<<4)
+#define IT_WAIT_MEM (1<<4)
+
+#define IT_WAIT_ADDR(x) ((x) >> 2)
+
#endif