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 52e598d200.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user