mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 15:00:36 +01:00
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:
parent
d20b0c87bc
commit
201d46b894
1 changed files with 1 additions and 1 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue