/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_storagebuf.c | 52 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()
|
D | st_atom_atomicbuf.c | 80 unsigned buffer_base = prog->info.num_ssbos; in st_bind_atomics()
|
D | st_draw_feedback.c | 264 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()
|
D | st_glsl_to_nir.cpp | 847 prog->info.num_ssbos = old_info.num_ssbos; in st_link_nir()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_fetch_shade_pipeline_llvm.c | 464 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 …]
|
D | draw_llvm.h | 271 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/ |
D | nir_lower_atomics_to_ssbo.c | 168 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()
|
D | nir_lower_amul.c | 117 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/ |
D | gl_nir_link_uniform_blocks.c | 227 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()
|
D | gl_nir_lower_buffers.c | 91 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()
|
D | serialize.cpp | 143 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()
|
D | linker_util.cpp | 219 total_shader_storage_blocks += sh->Program->info.num_ssbos; in link_util_check_uniform_resources()
|
D | gl_nir_linker.c | 645 total_shader_storage_blocks += sh->Program->info.num_ssbos; in check_image_resources()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_jit.h | 168 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member 341 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
|
D | lp_jit.c | 278 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/ |
D | ir3_image.c | 75 return create_immed(ctx->block, ctx->s->info.num_ssbos + image_idx); in ir3_image_to_ibo()
|
D | ir3_shader.h | 995 return v->shader->nir->info.num_ssbos + v->shader->nir->info.num_images; in ir3_shader_nibo()
|
/external/mesa3d/src/compiler/ |
D | shader_info.h | 134 uint8_t num_ssbos; member
|
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_image.c | 296 (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()
|
D | fd6_compute.c | 99 A6XX_SP_CS_CONFIG_NIBO(v->shader->nir->info.num_ssbos + in cs_program_emit()
|
/external/mesa3d/src/gallium/drivers/zink/ |
D | nir_lower_dynamic_bo_access.c | 101 last_idx = first_idx + b->shader->info.num_ssbos; in lower_dynamic_bo_access_instr()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_program.c | 869 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()
|
D | brw_wm_surface_state.c | 1359 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/ |
D | fd5_image.c | 208 emit_image_ssbo(ring, v->shader->nir->info.num_ssbos + index, &img, shader); in fd5_emit_images()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_resources.c | 98 if (sel->info.base.num_ubos == 1 && sel->info.base.num_ssbos == 0) { in load_ubo()
|