diff options
author | Younes Manton <[email protected]> | 2008-12-05 02:26:47 -0500 |
---|---|---|
committer | Younes Manton <[email protected]> | 2009-01-10 13:52:05 -0500 |
commit | ebd38dd0d63151d6ee89f98af3450b3b9c4fa1f4 (patch) | |
tree | aa808387d37f01ae497e0fc303db3743a8ecb12f /src/gallium/state_trackers/g3dvl | |
parent | 34c0281879b589dc42d134a10349eac66c7b2f0d (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.c | 2 |
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 650528ed8fa..1583673c5d8 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); |