Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_uav.c511 unsigned num_atomic_buffers = svga->curr.num_atomic_buffers; in svga_create_uav_list() local
514 "%s: num_atomic_buffers=%d\n", __FUNCTION__, num_atomic_buffers); in svga_create_uav_list()
516 if (num_atomic_buffers) { in svga_create_uav_list()
517 num_atomic_buffers = MIN2(num_atomic_buffers, num_free_uavs-*num_uavs); in svga_create_uav_list()
519 for (unsigned i = 0; i < num_atomic_buffers; i++) { in svga_create_uav_list()
655 svga->state.hw_draw.num_atomic_buffers = svga->curr.num_atomic_buffers; in svga_save_uav_state()
730 unsigned num_atomic_buffers = svga->curr.num_atomic_buffers; in need_to_set_uav() local
731 if ((num_atomic_buffers != svga->state.hw_draw.num_atomic_buffers) || in need_to_set_uav()
733 num_atomic_buffers * sizeof(struct svga_shader_buffer))) in need_to_set_uav()
841 unsigned num_atomic_buffers = svga->curr.num_atomic_buffers; in need_to_set_cs_uav() local
[all …]
Dsvga_shader_buffer.c210 svga->curr.num_atomic_buffers = MAX2(svga->curr.num_atomic_buffers, in svga_set_hw_atomic_buffers()
220 if ((start + num) >= svga->curr.num_atomic_buffers) in svga_set_hw_atomic_buffers()
221 svga->curr.num_atomic_buffers = start; in svga_set_hw_atomic_buffers()
226 __FUNCTION__, svga->curr.num_atomic_buffers, in svga_set_hw_atomic_buffers()
289 svga->state.hw_draw.num_atomic_buffers = 0; in svga_init_shader_buffer_functions()
Dsvga_context.h367 unsigned num_atomic_buffers; member
503 unsigned num_atomic_buffers; member
Dsvga_draw.c603 svga->state.hw_draw.num_atomic_buffers, in svga_validate_shader_buffers()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_atomics.c199 unsigned num_atomic_buffers[MESA_SHADER_STAGES] = {0}; in gl_nir_link_assign_atomic_counter_resources() local
253 num_atomic_buffers[stage]++; in gl_nir_link_assign_atomic_counter_resources()
267 num_atomic_buffers[stage] <= 0) in gl_nir_link_assign_atomic_counter_resources()
271 gl_prog->info.num_abos = num_atomic_buffers[stage]; in gl_nir_link_assign_atomic_counter_resources()
275 num_atomic_buffers[stage]); in gl_nir_link_assign_atomic_counter_resources()
277 gl_prog->nir->info.num_abos = num_atomic_buffers[stage]; in gl_nir_link_assign_atomic_counter_resources()