summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-08-04 00:15:54 +0200
committerMarek Olšák <[email protected]>2011-08-16 09:15:10 +0200
commit685b8345a8ff69460f0c62c678493527b59b18a9 (patch)
tree0987eb4e3142d97f55e0cfa19648fc1db6a8033a /src/gallium/drivers
parent1acaf09778323ed6a2b0a0de5acb7731622a82bc (diff)
r600g: remove struct r600_reloc
That is really private to winsys/radeon. Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/r600.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/gallium/drivers/r600/r600.h b/src/gallium/drivers/r600/r600.h
index 3ac60bce611..0562b6da31e 100644
--- a/src/gallium/drivers/r600/r600.h
+++ b/src/gallium/drivers/r600/r600.h
@@ -191,18 +191,6 @@ struct r600_range {
};
/*
- * relocation
- */
-#pragma pack(1)
-struct r600_reloc {
- uint32_t handle;
- uint32_t read_domain;
- uint32_t write_domain;
- uint32_t flags;
-};
-#pragma pack()
-
-/*
* query
*/
struct r600_query {
@@ -240,6 +228,7 @@ struct r600_query {
struct r600_context {
struct radeon *radeon;
struct radeon_winsys_cs *cs;
+
struct r600_range *range;
unsigned nblocks;
struct r600_block **blocks;
@@ -253,7 +242,7 @@ struct r600_context {
unsigned init_dwords;
unsigned creloc;
- struct r600_reloc *reloc;
+ unsigned *reloc;
struct radeon_bo **bo;
u32 *pm4;