Searched refs:atomic_buffers (Results 1 – 8 of 8) sorted by relevance
188 struct svga_shader_buffer *cbuf = &svga->curr.atomic_buffers[i]; in svga_set_hw_atomic_buffers()215 struct svga_shader_buffer *cbuf = &svga->curr.atomic_buffers[i]; in svga_set_hw_atomic_buffers()230 struct svga_shader_buffer *cbuf = &svga->curr.atomic_buffers[i]; in svga_set_hw_atomic_buffers()285 for (unsigned i = 0; i < ARRAY_SIZE(svga->state.hw_draw.atomic_buffers); i++) { in svga_init_shader_buffer_functions()286 svga->curr.atomic_buffers[i].resource = NULL; in svga_init_shader_buffer_functions()287 svga->curr.atomic_buffers[i].uav_index = -1; in svga_init_shader_buffer_functions()
520 struct svga_shader_buffer *cur_sbuf = &svga->curr.atomic_buffers[i]; in svga_create_uav_list()647 for (i = 0; i < ARRAY_SIZE(svga->curr.atomic_buffers); i++) { in svga_save_uav_state()648 struct svga_shader_buffer *cur_buf = &svga->curr.atomic_buffers[i]; in svga_save_uav_state()649 struct svga_shader_buffer *hw_buf = &svga->state.hw_draw.atomic_buffers[i]; in svga_save_uav_state()732 memcmp(svga->state.hw_draw.atomic_buffers, svga->curr.atomic_buffers, in need_to_set_uav()843 memcmp(svga->state.hw_draw.atomic_buffers, svga->curr.atomic_buffers, in need_to_set_cs_uav()
368 struct svga_shader_buffer atomic_buffers[SVGA_MAX_SHADER_BUFFERS]; member504 struct svga_shader_buffer atomic_buffers[SVGA_MAX_SHADER_BUFFERS]; member
531 const struct svga_shader_buffer *cur_buf = &svga->curr.atomic_buffers[0]; in svga_init_shader_key_common()533 for (unsigned i = 0; i < ARRAY_SIZE(svga->curr.atomic_buffers); in svga_init_shader_key_common()
604 svga->state.hw_draw.atomic_buffers, in svga_validate_shader_buffers()
313 unsigned atomic_buffers[MESA_SHADER_STAGES] = {0}; in gl_nir_link_check_atomic_counter_resources() local351 atomic_buffers[j]++; in gl_nir_link_check_atomic_counter_resources()363 if (atomic_buffers[i] > consts->Program[i].MaxAtomicBuffers) in gl_nir_link_check_atomic_counter_resources()
74 struct pipe_shader_buffer atomic_buffers[PIPE_MAX_HW_ATOMIC_BUFFERS]; member
115 if (vctx->atomic_buffers[i].buffer == res) { in virgl_rebind_resource()116 const struct pipe_shader_buffer *abo = &vctx->atomic_buffers[i]; in virgl_rebind_resource()310 res = virgl_resource(vctx->atomic_buffers[i].buffer); in virgl_attach_res_atomic_buffers()1248 pipe_resource_reference(&vctx->atomic_buffers[idx].buffer, in virgl_set_hw_atomic_buffers()1250 vctx->atomic_buffers[idx] = buffers[i]; in virgl_set_hw_atomic_buffers()1253 pipe_resource_reference(&vctx->atomic_buffers[idx].buffer, NULL); in virgl_set_hw_atomic_buffers()1490 pipe_resource_reference(&vctx->atomic_buffers[i].buffer, NULL); in virgl_context_destroy()