From b47d5084127ce4104015212e06d333f161a6691f Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 16 Mar 2011 15:46:21 +0000 Subject: svga: Leave any_user_vertex_buffers flag alone. 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 | 1 - src/gallium/drivers/svga/svga_state_vdecl.c | 2 -- 2 files changed, 3 deletions(-) (limited to 'src/gallium') diff --git a/src/gallium/drivers/svga/svga_resource_buffer_upload.c b/src/gallium/drivers/svga/svga_resource_buffer_upload.c index e1cff3219bd..e5fcec08d6e 100644 --- a/src/gallium/drivers/svga/svga_resource_buffer_upload.c +++ b/src/gallium/drivers/svga/svga_resource_buffer_upload.c @@ -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; } diff --git a/src/gallium/drivers/svga/svga_state_vdecl.c b/src/gallium/drivers/svga/svga_state_vdecl.c index d65c6f66c1e..7c393a1da8d 100644 --- a/src/gallium/drivers/svga/svga_state_vdecl.c +++ b/src/gallium/drivers/svga/svga_state_vdecl.c @@ -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 ); -- cgit v1.2.3