summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_screen_buffer.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-07-16 12:53:40 +0200
committerMarek Olšák <maraeo@gmail.com>2010-07-16 21:13:21 +0200
commit3eb557778376bcbbc6f25da88ffbaa269607254c (patch)
treed31597229b8e95288d2aade0cb99159cf1552c92 /src/gallium/drivers/r300/r300_screen_buffer.h
parent80e07c41907cc0ac43d68aeb3abf9de8435e70fd (diff)
r300g: do not make copies of constant buffers, emit them directly
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen_buffer.h')
-rw-r--r--src/gallium/drivers/r300/r300_screen_buffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen_buffer.h b/src/gallium/drivers/r300/r300_screen_buffer.h
index 4f7c0ec87e..fdd5d875d9 100644
--- a/src/gallium/drivers/r300/r300_screen_buffer.h
+++ b/src/gallium/drivers/r300/r300_screen_buffer.h
@@ -55,6 +55,7 @@ struct r300_buffer
enum r300_buffer_domain domain;
void *user_buffer;
+ void *constant_buffer;
struct r300_buffer_range ranges[R300_BUFFER_MAX_RANGES];
unsigned num_ranges;
};