From: Younes Manton Date: Fri, 5 Dec 2008 07:26:47 +0000 (-0500) Subject: g3dvl: Flag textures holding incoming data as dynamic. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ebd38dd0d63151d6ee89f98af3450b3b9c4fa1f4;p=mesa.git g3dvl: Flag textures holding incoming data as dynamic. --- 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);