/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_variable_initializers.c | 146 const unsigned shared_size, in nir_zero_initialize_shared_memory() argument 149 assert(shared_size > 0); in nir_zero_initialize_shared_memory() 165 assert(shared_size % chunk_size == 0); in nir_zero_initialize_shared_memory() 179 nir_push_if(&b, nir_uge(&b, offset, nir_imm_int(&b, shared_size))); in nir_zero_initialize_shared_memory()
|
D | nir_lower_task_shader.c | 132 .task_count_shared_addr = ALIGN(shader->info.shared_size, 4), in nir_lower_nv_task_count() 135 shader->info.shared_size += 4; in nir_lower_nv_task_count() 410 .payload_shared_addr = ALIGN(shader->info.shared_size, 16), in nir_lower_task_shader() 415 shader->info.shared_size = in nir_lower_task_shader()
|
D | nir_print.c | 1715 fprintf(fp, "shared-size: %u\n", shader->info.shared_size); in nir_print_shader_annotated() 1727 fprintf(fp, "shared: %u\n", shader->info.shared_size); in nir_print_shader_annotated()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_compute.c | 72 uint32_t shared_size = MAX2(((int)v->cs.req_local_mem - 1) / 1024, 1); in cs_program_emit() local 74 OUT_RING(ring, A6XX_SP_CS_UNKNOWN_A9B1_SHARED_SIZE(shared_size) | in cs_program_emit() 79 OUT_RING(ring, A6XX_HLSQ_CS_UNKNOWN_B9D0_SHARED_SIZE(shared_size) | in cs_program_emit()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection_setup.cpp | 281 DIV_ROUND_UP(nir->info.shared_size, ctx->program->dev.lds_encoding_granule); in setup_vs_variables() 297 DIV_ROUND_UP(nir->info.shared_size, ctx->program->dev.lds_encoding_granule); in setup_gs_variables() 325 DIV_ROUND_UP(nir->info.shared_size, ctx->program->dev.lds_encoding_granule); in setup_tes_variables() 337 DIV_ROUND_UP(nir->info.shared_size, ctx->program->dev.lds_encoding_granule); in setup_ms_variables() 351 DIV_ROUND_UP(nir->info.shared_size, ctx->program->dev.lds_encoding_granule); in setup_variables()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_shader.c | 791 if (nir->info.zero_initialize_shared_memory && nir->info.shared_size > 0) { in tu_shader_create() 798 const unsigned shared_size = ALIGN(nir->info.shared_size, chunk_size); in tu_shader_create() local 799 NIR_PASS_V(nir, nir_zero_initialize_shared_memory, shared_size, chunk_size); in tu_shader_create()
|
/third_party/mesa3d/src/microsoft/clc/ |
D | clc_compiler.c | 1141 nir->info.shared_size = align(nir->info.shared_size, alignment); in clc_spirv_to_dxil() 1142 metadata->args[i].localptr.sharedmem_offset = nir->info.shared_size; in clc_spirv_to_dxil() 1143 nir->info.shared_size += size; in clc_spirv_to_dxil() 1146 metadata->local_mem_size = nir->info.shared_size; in clc_spirv_to_dxil()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_job.h | 117 unsigned shared_size; member
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | v3d_nir_lower_robust_buffer_access.c | 98 nir_imm_int(b, c->s->info.shared_size & 0xfffffffc); in lower_shared()
|
D | vir.c | 840 prog_data->shared_size = c->s->info.shared_size; in v3d_cs_set_prog_data()
|
/third_party/mesa3d/src/compiler/ |
D | shader_info.h | 222 unsigned shared_size; member
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_compute.c | 244 sel->info.base.shared_size = cso->req_local_mem; in si_create_compute_state() 530 lds_blocks += align(program->sel.info.base.shared_size, 256) >> 8; in si_switch_compute_shader() 532 lds_blocks += align(program->sel.info.base.shared_size, 512) >> 9; in si_switch_compute_shader() 681 dispatch.group_segment_size = util_cpu_to_le32(program->sel.info.base.shared_size); in si_setup_user_sgprs_co_v2()
|
D | si_shader_llvm.c | 406 unsigned lds_size = sel->info.base.shared_size; in si_llvm_declare_compute_memory() 921 if (ctx->shader->selector->info.base.shared_size) in si_llvm_translate_nir()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_jit.h | 454 uint32_t shared_size; member
|
D | lp_jit.c | 492 LP_CHECK_MEMBER_OFFSET(struct lp_jit_cs_context, shared_size, in lp_jit_create_cs_types()
|
D | lp_state_cs.c | 500 shader->req_local_mem += ((struct nir_shader *)shader->base.ir.nir)->info.shared_size; in llvmpipe_create_compute_state() 504 shader->req_local_mem += ((struct nir_shader *)shader->base.ir.nir)->info.shared_size; in llvmpipe_create_compute_state()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_shader.c | 304 info->wls_size = s->info.shared_size; in GENX()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_pipeline.c | 774 nir->info.shared_size > 0) { in anv_pipeline_lower_nir() 780 const unsigned shared_size = ALIGN(nir->info.shared_size, chunk_size); in anv_pipeline_lower_nir() local 781 assert(shared_size <= in anv_pipeline_lower_nir() 782 intel_calculate_slm_size(compiler->devinfo->ver, nir->info.shared_size)); in anv_pipeline_lower_nir() 785 shared_size, chunk_size); in anv_pipeline_lower_nir()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_kernel.c | 399 nir->info.shared_size = 0; in brw_kernel_from_spirv()
|
D | brw_mesh.cpp | 207 prog_data->base.base.total_shared = nir->info.shared_size; in brw_compile_task() 696 prog_data->base.base.total_shared = nir->info.shared_size; in brw_compile_mesh()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_nir.cpp | 733 if (prog->nir->info.shared_size > ctx->Const.MaxComputeSharedMemorySize) { in st_link_nir() 735 prog->nir->info.shared_size, in st_link_nir()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_shader.c | 1025 if (nir->info.zero_initialize_shared_memory && nir->info.shared_size > 0) { in radv_shader_spirv_to_nir() 1027 const unsigned shared_size = ALIGN(nir->info.shared_size, chunk_size); in radv_shader_spirv_to_nir() local 1028 NIR_PASS(_, nir, nir_zero_initialize_shared_memory, shared_size, chunk_size); in radv_shader_spirv_to_nir() 1344 ngg_stage->info.ngg_info.esgs_ring_size = nir->info.shared_size; in radv_lower_ngg()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_shader.h | 574 unsigned shared_size; member
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_ngg.c | 1546 shader->info.shared_size = state.total_lds_bytes; in ac_nir_lower_ngg_nogs() 2053 shader->info.shared_size = total_lds_bytes; in ac_nir_lower_ngg_gs() 3019 … ms_calculate_output_layout(shader->info.shared_size, per_vertex_outputs, per_primitive_outputs, in ac_nir_lower_ngg_ms() 3022 shader->info.shared_size = layout.lds.total_size; in ac_nir_lower_ngg_ms()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3dx_draw.c | 1442 if (v3d->prog.compute->prog_data.compute->shared_size) { in v3d_launch_grid() 1445 v3d->prog.compute->prog_data.compute->shared_size * in v3d_launch_grid()
|