summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-11-25 11:53:07 +1000
committerDave Airlie <airlied@redhat.com>2009-11-25 11:53:07 +1000
commitaf816ac752820255f245793b53a7cca5a4a49cd4 (patch)
tree9fde3f58230d8e65726e446c6770cbf3dd350120 /src/radeon.h
parent3d8dcbc29323a3c644100bec13aa93f024653bd3 (diff)
r600: fixup problems with EXA operation reset for multiple ops
To put multiple ops into one CS, you can't just discard the whole IB. This add supports for reset the CS cdw to the correct place after an op discards. Still doesn't enable the final accel bits.
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 745ee8e5..4ee37b51 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -710,6 +710,8 @@ struct radeon_accel_state {
uint32_t vb_size;
struct radeon_bo *vb_bo;
uint32_t vb_start_op;
+ /* where to discard IB from if we cancel operation */
+ uint32_t ib_reset_op;
// shader storage
ExaOffscreenArea *shaders;