Home
last modified time | relevance | path

Searched refs:global_buffers (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute.c337 program->global_buffers = realloc( in si_set_global_binding()
338 program->global_buffers, program->max_global_buffers * sizeof(program->global_buffers[0])); in si_set_global_binding()
339 if (!program->global_buffers) { in si_set_global_binding()
344 memset(&program->global_buffers[old_max], 0, in si_set_global_binding()
345 (program->max_global_buffers - old_max) * sizeof(program->global_buffers[0])); in si_set_global_binding()
350 pipe_resource_reference(&program->global_buffers[first + i], NULL); in si_set_global_binding()
358 pipe_resource_reference(&program->global_buffers[first + i], resources[i]); in si_set_global_binding()
975 struct si_resource *buffer = si_resource(program->global_buffers[i]); in si_launch_grid()
1035 pipe_resource_reference(&program->global_buffers[i], NULL); in si_destroy_compute()
1036 FREE(program->global_buffers); in si_destroy_compute()
Dsi_compute.h40 struct pipe_resource **global_buffers; member
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_cs.h119 struct pipe_resource **global_buffers; member
Dlp_state_cs.c557 pipe_resource_reference(&shader->global_buffers[i], NULL); in llvmpipe_delete_compute_state()
558 FREE(shader->global_buffers); in llvmpipe_delete_compute_state()
1418 cs->global_buffers = realloc(cs->global_buffers, in llvmpipe_set_global_binding()
1419 cs->max_global_buffers * sizeof(cs->global_buffers[0])); in llvmpipe_set_global_binding()
1420 if (!cs->global_buffers) { in llvmpipe_set_global_binding()
1424 …memset(&cs->global_buffers[old_max], 0, (cs->max_global_buffers - old_max) * sizeof(cs->global_buf… in llvmpipe_set_global_binding()
1429 pipe_resource_reference(&cs->global_buffers[first + i], NULL); in llvmpipe_set_global_binding()
1436 pipe_resource_reference(&cs->global_buffers[first + i], resources[i]); in llvmpipe_set_global_binding()
Dlp_context.h186 struct pipe_resource **global_buffers; member