Home
last modified time | relevance | path

Searched refs:global_residents (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_context.c173 for (i = 0; i < nv50->global_residents.size / sizeof(struct pipe_resource *); in nv50_context_unreference_resources()
176 &nv50->global_residents, struct pipe_resource *, i); in nv50_context_unreference_resources()
179 util_dynarray_fini(&nv50->global_residents); in nv50_context_unreference_resources()
409 util_dynarray_init(&nv50->global_residents, NULL); in nv50_create()
Dnv50_state.c1429 if (nv50->global_residents.size <= (end * sizeof(struct pipe_resource *))) { in nv50_set_global_bindings()
1430 const unsigned old_size = nv50->global_residents.size; in nv50_set_global_bindings()
1431 if (util_dynarray_resize(&nv50->global_residents, struct pipe_resource *, end)) { in nv50_set_global_bindings()
1432 memset((uint8_t *)nv50->global_residents.data + old_size, 0, in nv50_set_global_bindings()
1433 nv50->global_residents.size - old_size); in nv50_set_global_bindings()
1442 &nv50->global_residents, struct pipe_resource *, start); in nv50_set_global_bindings()
1449 &nv50->global_residents, struct pipe_resource *, start); in nv50_set_global_bindings()
Dnv50_context.h231 struct util_dynarray global_residents; member
Dnv50_compute.c488 for (i = 0; i < nv50->global_residents.size / sizeof(struct pipe_resource *); in nv50_compute_validate_globals()
491 &nv50->global_residents, struct pipe_resource *, i); in nv50_compute_validate_globals()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_context.c230 for (i = 0; i < nvc0->global_residents.size / sizeof(struct pipe_resource *); in nvc0_context_unreference_resources()
233 &nvc0->global_residents, struct pipe_resource *, i); in nvc0_context_unreference_resources()
236 util_dynarray_fini(&nvc0->global_residents); in nvc0_context_unreference_resources()
536 util_dynarray_init(&nvc0->global_residents, NULL); in nvc0_create()
Dnvc0_state.c1422 if (nvc0->global_residents.size <= (end * sizeof(struct pipe_resource *))) { in nvc0_set_global_bindings()
1423 const unsigned old_size = nvc0->global_residents.size; in nvc0_set_global_bindings()
1424 if (util_dynarray_resize(&nvc0->global_residents, struct pipe_resource *, end)) { in nvc0_set_global_bindings()
1425 memset((uint8_t *)nvc0->global_residents.data + old_size, 0, in nvc0_set_global_bindings()
1426 nvc0->global_residents.size - old_size); in nvc0_set_global_bindings()
1435 &nvc0->global_residents, struct pipe_resource *, start); in nvc0_set_global_bindings()
1442 &nvc0->global_residents, struct pipe_resource *, start); in nvc0_set_global_bindings()
Dnvc0_compute.c306 for (i = 0; i < nvc0->global_residents.size / sizeof(struct pipe_resource *); in nvc0_compute_validate_globals()
309 &nvc0->global_residents, struct pipe_resource *, i); in nvc0_compute_validate_globals()
Dnvc0_context.h286 struct util_dynarray global_residents; member