Home
last modified time | relevance | path

Searched refs:num_ssbos (Results 1 – 25 of 46) sorted by relevance

12

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_storagebuf.c52 for (i = 0; i < prog->info.num_ssbos; i++) { in st_bind_ssbos()
79 prog->info.num_ssbos, buffers, in st_bind_ssbos()
83 int num_ssbos = prog->info.num_ssbos; in st_bind_ssbos() local
85 num_ssbos += st->last_used_atomic_bindings[shader_type]; in st_bind_ssbos()
86 if (st->last_num_ssbos[shader_type] > num_ssbos) { in st_bind_ssbos()
89 num_ssbos, in st_bind_ssbos()
90 st->last_num_ssbos[shader_type] - num_ssbos, in st_bind_ssbos()
92 st->last_num_ssbos[shader_type] = num_ssbos; in st_bind_ssbos()
Dst_atom_atomicbuf.c80 unsigned buffer_base = prog->info.num_ssbos; in st_bind_atomics()
Dst_draw_feedback.c264 for (unsigned i = 0; i < prog->info.num_ssbos; i++) { in st_feedback_draw_vbo()
473 for (unsigned i = 0; i < prog->info.num_ssbos; i++) { in st_feedback_draw_vbo()
Dst_glsl_to_nir.cpp847 prog->info.num_ssbos = old_info.num_ssbos; in st_link_nir()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch_shade_pipeline_llvm.c464 int num_ssbos = draw->pt.user.vs_ssbos_size[i]; in llvm_middle_end_bind_parameters() local
466 llvm->jit_context.num_vs_ssbos[i] = num_ssbos; in llvm_middle_end_bind_parameters()
467 if (num_ssbos == 0) { in llvm_middle_end_bind_parameters()
481 int num_ssbos = draw->pt.user.gs_ssbos_size[i]; in llvm_middle_end_bind_parameters() local
483 llvm->gs_jit_context.num_ssbos[i] = num_ssbos; in llvm_middle_end_bind_parameters()
484 if (num_ssbos == 0) { in llvm_middle_end_bind_parameters()
498 int num_ssbos = draw->pt.user.tcs_ssbos_size[i]; in llvm_middle_end_bind_parameters() local
500 llvm->tcs_jit_context.num_ssbos[i] = num_ssbos; in llvm_middle_end_bind_parameters()
501 if (num_ssbos == 0) { in llvm_middle_end_bind_parameters()
515 int num_ssbos = draw->pt.user.tes_ssbos_size[i]; in llvm_middle_end_bind_parameters() local
[all …]
Ddraw_llvm.h271 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
345 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
393 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
/external/mesa3d/src/compiler/nir/
Dnir_lower_atomics_to_ssbo.c168 unsigned ssbo_offset = shader->info.num_ssbos; in nir_lower_atomics_to_ssbo()
220 shader->info.num_ssbos = MAX2(shader->info.num_ssbos, in nir_lower_atomics_to_ssbo()
Dnir_lower_amul.c117 assert(idx < state->shader->info.num_ssbos); in large_ssbo()
238 NIR_VLA_FILL(bool, large_ssbos, shader->info.num_ssbos, 0); in nir_lower_amul()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_blocks.c227 prog->_LinkedShaders[i]->Program->info.num_ssbos; in nir_interstage_cross_validate_uniform_blocks()
248 sh_num_blocks = prog->_LinkedShaders[i]->Program->info.num_ssbos; in nir_interstage_cross_validate_uniform_blocks()
636 linked->Program->nir->info.num_ssbos = num_ssbo_blocks; in gl_nir_link_uniform_blocks()
637 linked->Program->info.num_ssbos = num_ssbo_blocks; in gl_nir_link_uniform_blocks()
Dgl_nir_lower_buffers.c91 num_blocks = linked_shader->Program->info.num_ssbos; in get_block_array_index()
136 num_blocks = linked_shader->Program->info.num_ssbos; in get_block_index_offset()
Dserialize.cpp143 blob_write_uint32(metadata, glprog->info.num_ssbos); in write_buffer_blocks()
151 for (unsigned j = 0; j < glprog->info.num_ssbos; j++) { in write_buffer_blocks()
219 glprog->info.num_ssbos = blob_read_uint32(metadata); in read_buffer_blocks()
224 rzalloc_array(glprog, gl_uniform_block *, glprog->info.num_ssbos); in read_buffer_blocks()
231 for (unsigned j = 0; j < glprog->info.num_ssbos; j++) { in read_buffer_blocks()
Dlinker_util.cpp219 total_shader_storage_blocks += sh->Program->info.num_ssbos; in link_util_check_uniform_resources()
Dgl_nir_linker.c645 total_shader_storage_blocks += sh->Program->info.num_ssbos; in check_image_resources()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_jit.h168 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
341 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
Dlp_jit.c278 LP_CHECK_MEMBER_OFFSET(struct lp_jit_context, num_ssbos, in lp_jit_create_types()
408 LP_CHECK_MEMBER_OFFSET(struct lp_jit_cs_context, num_ssbos, in lp_jit_create_cs_types()
/external/mesa3d/src/freedreno/ir3/
Dir3_image.c75 return create_immed(ctx->block, ctx->s->info.num_ssbos + image_idx); in ir3_image_to_ibo()
Dir3_shader.h995 return v->shader->nir->info.num_ssbos + v->shader->nir->info.num_images; in ir3_shader_nibo()
/external/mesa3d/src/compiler/
Dshader_info.h134 uint8_t num_ssbos; member
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_image.c296 (v->shader->nir->info.num_ssbos + in fd6_build_ibo_state()
302 for (unsigned i = 0; i < v->shader->nir->info.num_ssbos; i++) { in fd6_build_ibo_state()
Dfd6_compute.c99 A6XX_SP_CS_CONFIG_NIBO(v->shader->nir->info.num_ssbos + in cs_program_emit()
/external/mesa3d/src/gallium/drivers/zink/
Dnir_lower_dynamic_bo_access.c101 last_idx = first_idx + b->shader->info.num_ssbos; in lower_dynamic_bo_access_instr()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program.c869 if (prog->info.num_ssbos || prog->info.num_abos) { in brw_assign_common_binding_table_offsets()
871 assert(prog->info.num_ssbos <= BRW_MAX_SSBO); in brw_assign_common_binding_table_offsets()
873 next_binding_table_offset += prog->info.num_abos + prog->info.num_ssbos; in brw_assign_common_binding_table_offsets()
Dbrw_wm_surface_state.c1359 prog->info.num_ssbos == 0 && in brw_upload_ubo_surfaces()
1376 if (prog->info.num_ssbos || prog->info.num_abos) { in brw_upload_ubo_surfaces()
1380 uint32_t *abo_surf_offsets = ssbo_surf_offsets + prog->info.num_ssbos; in brw_upload_ubo_surfaces()
1389 for (int i = 0; i < prog->info.num_ssbos; i++) { in brw_upload_ubo_surfaces()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_image.c208 emit_image_ssbo(ring, v->shader->nir->info.num_ssbos + index, &img, shader); in fd5_emit_images()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c98 if (sel->info.base.num_ubos == 1 && sel->info.base.num_ssbos == 0) { in load_ubo()

12