/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_storagebuf.c | 51 for (i = 0; i < prog->info.num_ssbos; i++) { in st_bind_ssbos() 78 prog->info.num_ssbos, buffers, in st_bind_ssbos() 82 int num_ssbos = prog->info.num_ssbos; in st_bind_ssbos() local 84 num_ssbos += st->last_used_atomic_bindings[shader_type]; in st_bind_ssbos() 85 if (st->last_num_ssbos[shader_type] > num_ssbos) { in st_bind_ssbos() 88 num_ssbos, in st_bind_ssbos() 89 st->last_num_ssbos[shader_type] - num_ssbos, in st_bind_ssbos() 91 st->last_num_ssbos[shader_type] = num_ssbos; in st_bind_ssbos()
|
D | st_atom_atomicbuf.c | 81 unsigned buffer_base = prog->info.num_ssbos; in st_bind_atomics()
|
D | st_draw_feedback.c | 276 for (unsigned i = 0; i < prog->info.num_ssbos; i++) { in st_feedback_draw_vbo() 495 for (unsigned i = 0; i < prog->info.num_ssbos; i++) { in st_feedback_draw_vbo()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_fetch_shade_pipeline_llvm.c | 456 int num_ssbos = draw->pt.user.vs_ssbos_size[i]; in llvm_middle_end_bind_parameters() local 458 llvm->jit_context.num_vs_ssbos[i] = num_ssbos; in llvm_middle_end_bind_parameters() 459 if (num_ssbos == 0) { in llvm_middle_end_bind_parameters() 473 int num_ssbos = draw->pt.user.gs_ssbos_size[i]; in llvm_middle_end_bind_parameters() local 475 llvm->gs_jit_context.num_ssbos[i] = num_ssbos; in llvm_middle_end_bind_parameters() 476 if (num_ssbos == 0) { in llvm_middle_end_bind_parameters() 490 int num_ssbos = draw->pt.user.tcs_ssbos_size[i]; in llvm_middle_end_bind_parameters() local 492 llvm->tcs_jit_context.num_ssbos[i] = num_ssbos; in llvm_middle_end_bind_parameters() 493 if (num_ssbos == 0) { in llvm_middle_end_bind_parameters() 507 int num_ssbos = draw->pt.user.tes_ssbos_size[i]; in llvm_middle_end_bind_parameters() local [all …]
|
D | draw_llvm.h | 279 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member 357 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member 411 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_root_signature.cpp | 152 if (key->stages[i].num_ssbos > 0) { in create_root_signature() 156 key->stages[i].num_ssbos, in create_root_signature() 169 key->stages[i].num_ssbos, in create_root_signature() 246 key->stages[i].num_ssbos = shader->nir->info.num_ssbos; in fill_key()
|
D | d3d12_compute_transforms.cpp | 97 b.shader->info.num_ssbos = 2; in get_indirect_draw_base_vertex_transform() 149 b.shader->info.num_ssbos = 2; in get_fake_so_buffer_copy_back() 182 b.shader->info.num_ssbos = 2; in get_fake_so_buffer_vertex_count() 209 b.shader->info.num_ssbos = 1; in get_draw_auto()
|
D | d3d12_root_signature.h | 37 unsigned num_ssbos; member
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_image.c | 70 return create_immed(ctx->block, ctx->s->info.num_ssbos + image_idx); in ir3_image_to_ibo() 73 if (ctx->s->info.num_ssbos) { in ir3_image_to_ibo() 76 create_immed(ctx->block, ctx->s->info.num_ssbos), 0); in ir3_image_to_ibo()
|
D | ir3_shader.c | 374 v->num_ssbos = info->num_ssbos; in alloc_variant() 375 v->num_ibos = info->num_ssbos + info->num_images; in alloc_variant()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_image.c | 164 for (unsigned i = 0; i < v->num_ssbos; i++) { in fd6_build_ibo_state() 169 for (unsigned i = v->num_ssbos; i < v->num_ibos; i++) { in fd6_build_ibo_state() 170 fd6_emit_image_descriptor(ctx, state, &imgso->si[i - v->num_ssbos], true); in fd6_build_ibo_state()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_atomics_to_ssbo.c | 194 unsigned ssbo_offset = shader->info.num_ssbos; in nir_lower_atomics_to_ssbo() 247 shader->info.num_ssbos = MAX2(shader->info.num_ssbos, in nir_lower_atomics_to_ssbo()
|
D | nir_lower_amul.c | 119 assert(idx < state->shader->info.num_ssbos); in large_ssbo() 244 NIR_VLA_FILL(bool, large_ssbos, shader->info.num_ssbos, 0); in nir_lower_amul()
|
/third_party/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() 639 linked->Program->nir->info.num_ssbos = num_ssbo_blocks; in gl_nir_link_uniform_blocks() 640 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() 137 num_blocks = linked_shader->Program->info.num_ssbos; in get_block_index_offset()
|
D | serialize.cpp | 144 blob_write_uint32(metadata, glprog->info.num_ssbos); in write_buffer_blocks() 152 for (unsigned j = 0; j < glprog->info.num_ssbos; j++) { in write_buffer_blocks() 221 glprog->info.num_ssbos = blob_read_uint32(metadata); in read_buffer_blocks() 226 rzalloc_array(glprog, gl_uniform_block *, glprog->info.num_ssbos); in read_buffer_blocks() 233 for (unsigned j = 0; j < glprog->info.num_ssbos; j++) { in read_buffer_blocks()
|
D | linker_util.cpp | 283 total_shader_storage_blocks += sh->Program->info.num_ssbos; in link_util_check_uniform_resources()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shaderlib_nir.c | 149 b.shader->info.num_ssbos = 1; in si_create_dcc_retile_cs() 197 b.shader->info.num_ssbos = 1; in gfx9_create_clear_dcc_msaa_cs() 245 b.shader->info.num_ssbos = 1; in si_create_clear_buffer_rmw_cs()
|
D | si_shader_llvm_resources.c | 99 if (sel->info.base.num_ubos == 1 && sel->info.base.num_ssbos == 0) { in load_ubo()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_jit.h | 173 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member 450 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
|
D | lp_jit.c | 285 LP_CHECK_MEMBER_OFFSET(struct lp_jit_context, num_ssbos, in lp_jit_create_types() 489 LP_CHECK_MEMBER_OFFSET(struct lp_jit_cs_context, num_ssbos, in lp_jit_create_cs_types()
|
/third_party/mesa3d/src/compiler/ |
D | shader_info.h | 156 uint8_t num_ssbos; member
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_image.c | 229 emit_image_ssbo(ring, v->num_ssbos + index, &img, in fd5_emit_images()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_image.c | 250 emit_image_ssbo(ring, v->num_ssbos + index, &img, shader); in fd4_emit_images()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_compiler.c | 2225 if (!shader->info.num_ssbos && !shader->info.num_ubos) in unbreak_bos() 2289 if (shader->info.num_ssbos && zs->ssbos_used) { in unbreak_bos() 2293 unsigned num_ssbos = shader->info.num_ssbos - first_ssbo; in unbreak_bos() local 2294 assert(num_ssbos); in unbreak_bos() 2301 … glsl_array_type(glsl_struct_type(fields, field_count, "struct", false), num_ssbos, 0), in unbreak_bos() 2339 zs->ssbos_used |= get_src_mask_ssbo(shader->info.num_ssbos, intrin->src[1]); in analyze_io() 2343 zs->ssbos_used |= get_src_mask_ssbo(shader->info.num_ssbos, intrin->src[0]); in analyze_io() 2362 zs->ssbos_used |= get_src_mask_ssbo(shader->info.num_ssbos, intrin->src[0]); in analyze_io()
|