summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-02-08 03:17:24 +0100
committerMarek Olšák <maraeo@gmail.com>2010-02-14 18:44:33 +0100
commitc608e19328758842d77dc4da3c8109fe0feb8e86 (patch)
treeffb26db374a260689d6ba6bf5996eaf89ae2497a /src/gallium/drivers/r300/r300_context.h
parentf7db96cd8f7977f4ad3591dab92c3c09f7cbc35a (diff)
r300g: add macrotiling support to texture setup
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index ba64b3eb72..ac2b08b41c 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -207,6 +207,9 @@ struct r300_texture {
/* Size of one zslice or face based on the texture target */
unsigned layer_size[PIPE_MAX_TEXTURE_LEVELS];
+ /* Whether the mipmap level is macrotiled. */
+ enum r300_buffer_tiling mip_macrotile[PIPE_MAX_TEXTURE_LEVELS];
+
/**
* If non-zero, override the natural texture layout with
* a custom stride (in bytes).