summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-06-20 05:30:04 +0200
committerMarek Olšák <[email protected]>2010-06-20 05:30:04 +0200
commite8f2adf8e3f381176703bf8bf4e927c8ce6bc891 (patch)
tree28f545f4976d155cad715a70454462f48cb77e40 /src/gallium/drivers/r300/r300_context.h
parentc85e53bebf325b00db175bc05886a9281e95b0cc (diff)
r300g: manually assign texture cache regions
This should fix corrupted texturing on r3xx-r4xx.
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 8e9742fe82f..224d5737753 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -174,6 +174,9 @@ struct r300_sampler_view {
/* Copy of r300_texture::texture_format_state with format-specific bits
* added. */
struct r300_texture_format_state format;
+
+ /* The texture cache region for this texture. */
+ uint32_t texcache_region;
};
struct r300_texture_fb_state {