summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_sq.h
diff options
context:
space:
mode:
authorGlenn Kennard <[email protected]>2015-02-24 15:59:16 +0100
committerMarek Olšák <[email protected]>2015-02-24 21:21:04 +0100
commitd80701df8af4a5d74c4f4eb09a4b3cef6970104b (patch)
tree7c8eec19f14608872e5c22f75c648ee901a6a4f1 /src/gallium/drivers/r600/r600_sq.h
parentdd70e786747f7e4800f4bba245373c5ffa3baeee (diff)
r600g: Implement GL_ARB_draw_indirect for EG/CM
Requires Evergreen/Cayman and radeon kernel module 2.41.0 or newer. Expected piglit fails due to hardware limitations: * arb_draw_indirect-draw-arrays-prim-restart Restarts not applied for DrawArrays commands * arb_draw_indirect-vertexid Base vertex offset is not included in vertex id Marek: bump vgt_state num_dw by 3 (= space needed for one register write) Signed-off-by: Glenn Kennard <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_sq.h')
-rw-r--r--src/gallium/drivers/r600/r600_sq.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_sq.h b/src/gallium/drivers/r600/r600_sq.h
index 587f88deb9e..1545cf1b521 100644
--- a/src/gallium/drivers/r600/r600_sq.h
+++ b/src/gallium/drivers/r600/r600_sq.h
@@ -481,4 +481,8 @@
#define INDEX_MODE_AR_W 3
#define INDEX_MODE_LOOP 4
+#define SQ_VTX_FETCH_VERTEX_DATA 0
+#define SQ_VTX_FETCH_INSTANCE_DATA 1
+#define SQ_VTX_FETCH_NO_INDEX_OFFSET 2
+
#endif