summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-09-27 02:04:02 +0200
committerMarek Olšák <[email protected]>2011-09-29 01:09:58 +0200
commit7b42ed6eb508e2f0b89f66f3f985ef1d76a0ef91 (patch)
treebb4da846bc6b214daa78a754d1ea4a318d4c58ec /src/gallium/drivers/r300/r300_context.h
parentb2e6ca8ec759eadd355d678856a49facf53cbd43 (diff)
r300g: remove useless variables in some structures
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index 60cbe1a40f5..8c8c7ce129f 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -357,10 +357,6 @@ struct r300_texture_desc {
* derived from the texture properties. */
unsigned size_in_bytes;
- /* Total size of the buffer backing this texture, in bytes.
- * It must be >= size. */
- unsigned buffer_size_in_bytes;
-
/**
* If non-zero, override the natural texture layout with
* a custom stride (in bytes).
@@ -400,7 +396,6 @@ struct r300_resource
struct pb_buffer *buf;
struct radeon_winsys_cs_handle *cs_buf;
enum radeon_bo_domain domain;
- unsigned buf_size;
/* Constant buffers are in user memory. */
uint8_t *constant_buffer;