/third_party/mesa3d/src/amd/common/ |
D | ac_binary.c | 55 conf->num_vgprs = MAX2(conf->num_vgprs, (G_00B028_VGPRS(value) + 1) * 8); in ac_parse_shader_binary_config() 57 conf->num_vgprs = MAX2(conf->num_vgprs, (G_00B028_VGPRS(value) + 1) * 4); in ac_parse_shader_binary_config() 136 conf->num_vgprs = align(conf->num_vgprs, wave_size == 32 ? 16 : 8); in ac_parse_shader_binary_config()
|
D | ac_binary.h | 39 unsigned num_vgprs; member
|
D | ac_rtld.c | 532 config->num_vgprs = MAX2(config->num_vgprs, c.num_vgprs); in ac_rtld_read_config()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader.c | 564 unsigned num_user_sgprs, num_vgprs; in si_init_shader_args() local 588 num_vgprs = ngg_cull_shader ? 9 : 5; in si_init_shader_args() 593 for (i = 0; i < num_vgprs; i++) in si_init_shader_args() 995 if (conf->num_vgprs) { in si_calculate_max_simd_waves() 999 max_simd_waves = MIN2(max_simd_waves, max_vgprs / conf->num_vgprs); in si_calculate_max_simd_waves() 1022 conf->num_sgprs, conf->num_vgprs, si_get_shader_binary_size(screen, shader), in si_shader_dump_stats_for_shader_db() 1053 conf->num_sgprs, conf->num_vgprs, conf->spilled_sgprs, conf->spilled_vgprs, in si_shader_dump_stats() 1492 if (shader->config.num_sgprs > max_sgprs || shader->config.num_vgprs > max_vgprs) { in si_compile_shader() 1496 shader->config.num_sgprs, shader->config.num_vgprs, max_sgprs, max_vgprs); in si_compile_shader() 2058 shader->config.num_vgprs = MAX2(shader->config.num_vgprs, shader->info.num_input_vgprs); in si_create_shader_variant() [all …]
|
D | si_shader_llvm_gs.c | 554 unsigned num_sgprs, num_vgprs; in si_llvm_build_gs_prolog() local 564 num_vgprs = 5; /* ES inputs are not needed by GS */ in si_llvm_build_gs_prolog() 567 num_vgprs = 8; in si_llvm_build_gs_prolog() 575 for (unsigned i = 0; i < num_vgprs; ++i) { in si_llvm_build_gs_prolog() 581 si_llvm_create_func(ctx, "gs_prolog", returns, num_sgprs + num_vgprs, 0); in si_llvm_build_gs_prolog() 592 for (unsigned i = 0; i < num_vgprs; i++) { in si_llvm_build_gs_prolog()
|
D | si_shader_llvm.c | 534 unsigned num_sgprs, num_vgprs; in si_build_wrapper_function() local 550 num_vgprs = 0; in si_build_wrapper_function() 559 assert(num_vgprs == 0); in si_build_wrapper_function() 562 num_vgprs += ac_get_type_size(LLVMTypeOf(param)) / 4; in si_build_wrapper_function() 567 while (gprs < num_sgprs + num_vgprs) { in si_build_wrapper_function() 597 assert(gprs + size <= num_sgprs + num_vgprs && in si_build_wrapper_function()
|
D | si_state_shaders.c | 542 shader->config.rsrc1 = S_00B528_VGPRS((shader->config.num_vgprs - 1) / 4) | in si_shader_ls() 589 S_00B428_VGPRS((shader->config.num_vgprs - 1) / (sscreen->ge_wave_size == 32 ? 8 : 4)) | in si_shader_hs() 658 S_00B328_VGPRS((shader->config.num_vgprs - 1) / 4) | in si_shader_es() 923 uint32_t rsrc1 = S_00B228_VGPRS((shader->config.num_vgprs - 1) / 4) | S_00B228_DX10_CLAMP(1) | in si_shader_gs() 970 S_00B228_VGPRS((shader->config.num_vgprs - 1) / 4) | in si_shader_gs() 1220 S_00B228_VGPRS((shader->config.num_vgprs - 1) / (wave_size == 32 ? 8 : 4)) | in gfx10_shader_ngg() 1514 S_00B128_VGPRS((shader->config.num_vgprs - 1) / (sscreen->ge_wave_size == 32 ? 8 : 4)) | in si_shader_vs() 1734 S_00B028_VGPRS((shader->config.num_vgprs - 1) / (sscreen->ps_wave_size == 32 ? 8 : 4)) | in si_shader_ps()
|
D | si_compute.c | 100 out_config->num_vgprs = code_object->workitem_vgpr_count; in code_object_to_config() 195 shader->config.rsrc1 = S_00B848_VGPRS((shader->config.num_vgprs - 1) / in si_create_compute_state_async()
|
D | gfx10_shader_ngg.c | 1270 unsigned num_vgprs = uses_tes_prim_id ? 4 : 3; in gfx10_emit_ngg_culling_epilogue() local 1271 for (unsigned i = 0; i < num_vgprs; i++) { in gfx10_emit_ngg_culling_epilogue() 1275 if (num_vgprs == 3) in gfx10_emit_ngg_culling_epilogue()
|
D | si_sqtt.c | 1012 record->shader_data[gl_shader_stage].vgpr_count = shader->config.num_vgprs; in si_sqtt_add_code_object()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_interface.cpp | 304 prolog_binary->num_vgprs = config.num_vgprs; in aco_compile_vs_prolog()
|
D | aco_validate.cpp | 878 op.physReg().reg_b + op.bytes() > (256 + program->config->num_vgprs) * 4) || in validate_ra() 907 def.physReg().reg_b + def.bytes() > (256 + program->config->num_vgprs) * 4) || in validate_ra()
|
D | aco_instruction_selection.cpp | 11983 unsigned num_vgprs = attributes_start.reg() - 256; in select_vs_prolog() local 11984 num_vgprs += key->num_attributes * 4; in select_vs_prolog() 11986 num_vgprs++; /* make space for nontrivial_tmp_vgpr1 */ in select_vs_prolog() 12143 program->config->num_vgprs = get_vgpr_alloc(program, num_vgprs); in select_vs_prolog()
|
D | aco_register_allocation.cpp | 2875 program->config->num_vgprs = get_vgpr_alloc(program, ctx.max_used_vgpr + 1); in register_allocation()
|
D | aco_lower_to_hw_instr.cpp | 853 unsigned shared_vgpr_reg_0 = align(program->config->num_vgprs, 4) + 256; in emit_gfx10_wave64_bpermute()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_shader.c | 1335 unsigned num_vgprs = MAX2(config_in->num_vgprs, num_input_vgprs); in radv_postprocess_config() local 1346 config_out->num_vgprs = num_vgprs; in radv_postprocess_config() 1367 config_out->rsrc1 = S_00B848_VGPRS((num_vgprs - 1) / (info->wave_size == 32 ? 8 : 4)) | in radv_postprocess_config() 1935 prolog->rsrc1 = S_00B848_VGPRS((bin->num_vgprs - 1) / (wave_size == 32 ? 8 : 4)) | 2107 if (conf->num_vgprs) { 2109 unsigned vgprs = align(conf->num_vgprs, wave_size == 32 ? 8 : 4); 2222 statistics.resourceUsage.numUsedVgprs = conf->num_vgprs;
|
D | radv_shader.h | 429 uint8_t num_vgprs; member
|
D | radv_pipeline.c | 6010 s->value.u64 = shader->config.num_vgprs; in radv_GetPipelineExecutableStatisticsKHR()
|
/third_party/mesa3d/src/amd/vulkan/layers/ |
D | radv_sqtt_layer.c | 884 record->shader_data[i].vgpr_count = shader->config.num_vgprs; in radv_add_code_object()
|
/third_party/mesa3d/docs/relnotes/ |
D | 20.2.0.rst | 3300 - ac: align num_vgprs for gfx10.3
|