nine: set CSO_NO_USER_VERTEX_BUFFERS for main cso context
this skips vbuf for radeonsi and saves some cpu Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Axel Davy <davyaxel0@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11884>
This commit is contained in:

committed by
Marge Bot

parent
d20b0c87bc
commit
201d46b894
@@ -263,7 +263,7 @@ NineDevice9_ctor( struct NineDevice9 *This,
|
||||
This->pipe_sw = This->screen_sw->context_create(This->screen_sw, NULL, 0);
|
||||
if (!This->pipe_sw) { return E_OUTOFMEMORY; }
|
||||
|
||||
This->context.cso = cso_create_context(This->context.pipe, 0);
|
||||
This->context.cso = cso_create_context(This->context.pipe, CSO_NO_USER_VERTEX_BUFFERS);
|
||||
if (!This->context.cso) { return E_OUTOFMEMORY; } /* also a guess */
|
||||
This->cso_sw = cso_create_context(This->pipe_sw, 0);
|
||||
if (!This->cso_sw) { return E_OUTOFMEMORY; }
|
||||
|
Reference in New Issue
Block a user