summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-06-02 06:45:00 +0200
committerMarek Olšák <maraeo@gmail.com>2010-06-02 07:01:08 +0200
commitb6b76cbb20b3d9467011231069e23972b98afa49 (patch)
tree42a99cd9d4c12f6ee49004102a6a1272be08a327 /src/gallium/drivers/r300/r300_context.h
parentbb45a15168e6c6678776fea5d8d0085454089260 (diff)
r300g: store the GEM domain in buffer and texture structs
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index e047307e10..48ec52d26c 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -272,6 +272,8 @@ struct r300_texture {
/* Parent class */
struct u_resource b;
+ enum r300_buffer_domain domain;
+
/* Offsets into the buffer. */
unsigned offset[R300_MAX_TEXTURE_LEVELS];