summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600.h
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-09-21 14:36:44 -0400
committerJerome Glisse <jglisse@redhat.com>2010-09-21 14:37:38 -0400
commit6048be89697fe27e30ef0f45594daba4e896362c (patch)
treebbec15d43210d8a3fa5ba3ce51c4e406023b4a15 /src/gallium/drivers/r600/r600.h
parentb5bb21562942dab7571ef748c3ca562a66f25b33 (diff)
r600g: directly allocate bo for user buffer
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600.h')
-rw-r--r--src/gallium/drivers/r600/r600.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600.h b/src/gallium/drivers/r600/r600.h
index a123eb62e0..8879efca79 100644
--- a/src/gallium/drivers/r600/r600.h
+++ b/src/gallium/drivers/r600/r600.h
@@ -192,6 +192,8 @@ struct r600_reloc {
};
#pragma pack()
+struct radeon_bo;
+
struct r600_context {
struct radeon *radeon;
unsigned ngroups;
@@ -203,7 +205,7 @@ struct r600_context {
unsigned nreloc;
unsigned creloc;
struct r600_reloc *reloc;
- struct radeon_ws_bo **bo;
+ struct radeon_bo **bo;
u32 *pm4;
};