summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-02-27 23:37:01 +0100
committerMarek Olšák <[email protected]>2010-02-28 00:46:35 +0100
commit279715e76e5385afaad2834191e8578cf3a5d233 (patch)
treef6a6f6201af8e0d22d42739b9e7047aeace99245 /src/gallium/drivers/r300/r300_context.c
parentfe6d3b9222ce184daab61ebb390a6af0b9889abf (diff)
r300g: atomize invalidation of texture caches
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r--src/gallium/drivers/r300/r300_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index 5fc3a308043..5f50b60eab7 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -128,6 +128,7 @@ static void r300_setup_atoms(struct r300_context* r300)
R300_INIT_ATOM(vertex_format_state, 26);
R300_INIT_ATOM(pvs_flush, 2);
R300_INIT_ATOM(vs_state, 1031);
+ R300_INIT_ATOM(texture_cache_inval, 2);
/* Some non-CSO atoms need explicit space to store the state locally. */
r300->blend_color_state.state = CALLOC_STRUCT(r300_blend_color_state);