summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2009-08-11 19:32:52 +0200
committerJerome Glisse <jglisse@redhat.com>2009-08-11 19:32:52 +0200
commit04288fdb8b8c62fc2eb32fd467fdf05151ad121a (patch)
treeda072bc04851128d6e1bcdb35c44b394fc11ef27 /src/radeon.h
parent72daee2a18bfb809260d1bcbe80cc14afea3b0fa (diff)
radeon/r600: abstract vertex buffer for r600 & r700 hardware
Abstract vertex buffer, preliminary work before others change to bring cs support along IB support.
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/radeon.h b/src/radeon.h
index d5402b26..6b47a6a1 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -692,6 +692,10 @@ struct radeon_accel_state {
drmBufPtr ib;
int vb_index;
+ uint64_t vb_mc_addr;
+ int vb_total;
+ void *vb_ptr;
+ uint32_t vb_size;
// shader storage
ExaOffscreenArea *shaders;
@@ -721,8 +725,6 @@ struct radeon_accel_state {
uint64_t vs_mc_addr;
uint32_t ps_size;
uint64_t ps_mc_addr;
- uint32_t vb_size;
- uint64_t vb_mc_addr;
// UTS/DFS
drmBufPtr scratch;