From: Christian König Date: Mon, 10 Jan 2011 21:19:14 +0000 (+0100) Subject: [g3dvl] static usage for intermediate buffer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b725bbebae19890ceaaa31c1d7fb7f155ac3b6ef;p=mesa.git [g3dvl] static usage for intermediate buffer --- diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c b/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c index 922bff73717..3b94e104b44 100644 --- a/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c +++ b/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c @@ -888,7 +888,7 @@ vl_mpeg12_mc_init_buffer(struct vl_mpeg12_mc_renderer *renderer, struct vl_mpeg1 template.width0 = renderer->buffer_width; template.height0 = renderer->buffer_height; template.depth0 = 1; - template.usage = PIPE_USAGE_DYNAMIC; + template.usage = PIPE_USAGE_STATIC; template.bind = PIPE_BIND_SAMPLER_VIEW; template.flags = 0;