svga: Leave any_user_vertex_buffers flag alone.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 16 Mar 2011 15:46:21 +0000 (15:46 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 16 Mar 2011 15:46:21 +0000 (15:46 +0000)
It is pointless to change, now that we don't replace user vertex buffer
with uploaded copy, per commit 52e598d200108ab9cfc9c9d828bbebdc576e9703.

src/gallium/drivers/svga/svga_resource_buffer_upload.c
src/gallium/drivers/svga/svga_state_vdecl.c

index e1cff3219bd5e79795cded2cf45abdc0ffcfe272..e5fcec08d6e3525d71b78dff6c43a457024ba524 100644 (file)
@@ -686,6 +686,5 @@ svga_redefine_user_buffer(struct pipe_context *pipe,
 
    pipe_mutex_unlock(ss->swc_mutex);
 
-   svga->curr.any_user_vertex_buffers = TRUE;
    svga->dirty |= SVGA_NEW_VBUFFER | SVGA_NEW_VELEMENT;
 }
index d65c6f66c1ec713589cc021f3dac9d5c1e2d1e7a..7c393a1da8debabb777cd88fb94ad6722a69c096 100644 (file)
@@ -153,8 +153,6 @@ static int emit_hw_vdecl( struct svga_context *svga,
       ret = upload_user_buffers( svga );
       if (ret)
          return ret;
-
-      svga->curr.any_user_vertex_buffers = FALSE;
    }
 
    return emit_hw_vs_vdecl( svga, dirty );