Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_uav.c376 unsigned num_shader_buffers = svga->curr.num_shader_buffers[shader]; in svga_create_uav_list() local
380 __FUNCTION__, shader, num_image_views, num_shader_buffers); in svga_create_uav_list()
444 if (num_shader_buffers) { in svga_create_uav_list()
445 num_shader_buffers = MIN2(num_shader_buffers, num_free_uavs-*num_uavs); in svga_create_uav_list()
446 for (unsigned i = 0; i < num_shader_buffers; i++) { in svga_create_uav_list()
640 svga->state.hw_draw.num_shader_buffers[shader] = in svga_save_uav_state()
641 svga->curr.num_shader_buffers[shader]; in svga_save_uav_state()
721 unsigned num_shader_buffers = svga->curr.num_shader_buffers[shader]; in need_to_set_uav() local
722 if ((num_shader_buffers != svga->state.hw_draw.num_shader_buffers[shader]) || in need_to_set_uav()
725 num_shader_buffers * sizeof(struct svga_shader_buffer))) in need_to_set_uav()
Dsvga_shader_buffer.c130 svga->curr.num_shader_buffers[shader] = in svga_set_shader_buffers()
131 MAX2(svga->curr.num_shader_buffers[shader], last_buffer + 1); in svga_set_shader_buffers()
140 if ((start + num) >= svga->curr.num_shader_buffers[shader]) in svga_set_shader_buffers()
141 svga->curr.num_shader_buffers[shader] = start; in svga_set_shader_buffers()
147 __FUNCTION__, svga->curr.num_shader_buffers[shader], in svga_set_shader_buffers()
276 memset(svga->state.hw_draw.num_shader_buffers, 0, in svga_init_shader_buffer_functions()
277 sizeof(svga->state.hw_draw.num_shader_buffers)); in svga_init_shader_buffer_functions()
Dsvga_context.h363 unsigned num_shader_buffers[PIPE_SHADER_TYPES]; member
499 unsigned num_shader_buffers[PIPE_SHADER_TYPES]; member
Dsvga_draw.c593 svga->state.hw_draw.num_shader_buffers[shader], in svga_validate_shader_buffers()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_internal.h49 unsigned num_shader_buffers; member
Dsi_shader_llvm_resources.c121 index = si_llvm_bound_index(ctx, index, ctx->num_shader_buffers); in load_ssbo()
Dsi_shader_llvm.c814 ctx->num_shader_buffers = info->base.num_ssbos; in si_llvm_translate_nir()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c146 int num_shader_buffers[PIPE_SHADER_TYPES]; member
380 0, state->num_shader_buffers[PIPE_SHADER_COMPUTE], in emit_compute_state()
509 0, state->num_shader_buffers[sh], in emit_state()
566 state->sb_dirty[MESA_SHADER_COMPUTE] |= state->num_shader_buffers[MESA_SHADER_COMPUTE] && in handle_compute_pipeline()
622 …state->sb_dirty[sh] |= state->num_shader_buffers[sh] && state->access[sh].buffers_written != pipel… in handle_graphics_pipeline()
1368 if (state->num_shader_buffers[p_stage] <= idx) in handle_descriptor()
1369 state->num_shader_buffers[p_stage] = idx + 1; in handle_descriptor()