[g3dvl] static usage for intermediate buffer
authorChristian König <deathsimple@vodafone.de>
Mon, 10 Jan 2011 21:19:14 +0000 (22:19 +0100)
committerChristian König <deathsimple@vodafone.de>
Mon, 10 Jan 2011 21:19:14 +0000 (22:19 +0100)
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c

index 922bff73717782eb55ecb5c19a7c35bdcf01a250..3b94e104b44081fb1b2075e1445227655a44172c 100644 (file)
@@ -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;