summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/g3dvl
diff options
context:
space:
mode:
authorYounes Manton <younes.m@gmail.com>2008-12-05 02:26:47 -0500
committerYounes Manton <younes.m@gmail.com>2009-01-10 13:52:05 -0500
commitebd38dd0d63151d6ee89f98af3450b3b9c4fa1f4 (patch)
treeaa808387d37f01ae497e0fc303db3743a8ecb12f /src/gallium/state_trackers/g3dvl
parent34c0281879b589dc42d134a10349eac66c7b2f0d (diff)
g3dvl: Flag textures holding incoming data as dynamic.
Diffstat (limited to 'src/gallium/state_trackers/g3dvl')
-rw-r--r--src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c b/src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c
index 650528ed8f..1583673c5d 100644
--- a/src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c
+++ b/src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c
@@ -1069,7 +1069,7 @@ static int vlInit
template.depth[0] = 1;
template.compressed = 0;
pf_get_block(template.format, &template.block);
- template.tex_usage = PIPE_TEXTURE_USAGE_SAMPLER;
+ template.tex_usage = PIPE_TEXTURE_USAGE_SAMPLER | PIPE_TEXTURE_USAGE_DYNAMIC;
for (i = 0; i < NUM_BUF_SETS; ++i)
mc->textures[i][0] = pipe->screen->texture_create(pipe->screen, &template);