mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
winsys/radeon: manage constant buffers by the cache bufmgr too
This commit is contained in:
parent
7db148d3a5
commit
533e228923
1 changed files with 2 additions and 1 deletions
|
|
@ -498,7 +498,8 @@ radeon_winsys_bo_create(struct radeon_winsys *rws,
|
|||
desc.usage = get_pb_usage_from_create_flags(domain);
|
||||
|
||||
/* Assign a buffer manager. */
|
||||
if (bind & (PIPE_BIND_VERTEX_BUFFER | PIPE_BIND_INDEX_BUFFER))
|
||||
if (bind & (PIPE_BIND_VERTEX_BUFFER | PIPE_BIND_INDEX_BUFFER |
|
||||
PIPE_BIND_CONSTANT_BUFFER))
|
||||
provider = ws->cman;
|
||||
else
|
||||
provider = ws->kman;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue