Home
last modified time | relevance | path

Searched refs:num_vgprs (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_shader.c383 variant->rsrc1 = S_00B848_VGPRS((variant->config.num_vgprs - 1) / 4) | in radv_fill_shader_variant()
644 if (conf->num_vgprs) in generate_shader_stats()
645 max_simd_waves = MIN2(max_simd_waves, 256 / conf->num_vgprs); in generate_shader_stats()
670 conf->num_sgprs, conf->num_vgprs, in generate_shader_stats()
740 statistics.resourceUsage.numUsedVgprs = conf->num_vgprs; in radv_GetShaderInfoAMD()
Dradv_pipeline.c120 (256 / pipeline->shaders[i]->config.num_vgprs)); in radv_pipeline_scratch_init()
/external/mesa3d/src/amd/common/
Dac_binary.h70 unsigned num_vgprs; member
Dac_binary.c253 conf->num_vgprs = MAX2(conf->num_vgprs, (G_00B028_VGPRS(value) + 1) * 4); in ac_shader_binary_read_config()
Dac_nir_to_llvm.c7091 config->num_vgprs = MAX2(config->num_vgprs, shader_info->num_input_vgprs); in ac_compile_llvm_module()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c5174 conf->num_vgprs = MAX2(conf->num_vgprs, (G_00B028_VGPRS(value) + 1) * 4); in si_shader_binary_read_config()
5433 if (conf->num_vgprs) in si_shader_dump_stats()
5434 max_simd_waves = MIN2(max_simd_waves, 256 / conf->num_vgprs); in si_shader_dump_stats()
5461 conf->num_sgprs, conf->num_vgprs, in si_shader_dump_stats()
5472 conf->num_sgprs, conf->num_vgprs, code_size, in si_shader_dump_stats()
6332 unsigned num_sgprs, num_vgprs; in si_build_gs_prolog_function() local
6342 num_vgprs = 5; /* ES inputs are not needed by GS */ in si_build_gs_prolog_function()
6345 num_vgprs = 8; in si_build_gs_prolog_function()
6353 for (unsigned i = 0; i < num_vgprs; ++i) { in si_build_gs_prolog_function()
6359 si_create_function(ctx, "gs_prolog", returns, num_sgprs + num_vgprs, in si_build_gs_prolog_function()
[all …]
Dsi_shader.h555 unsigned num_vgprs; member
Dsi_state_shaders.c467 shader->config.rsrc1 = S_00B528_VGPRS((shader->config.num_vgprs - 1) / 4) | in si_shader_ls()
514 S_00B428_VGPRS((shader->config.num_vgprs - 1) / 4) | in si_shader_hs()
560 S_00B328_VGPRS((shader->config.num_vgprs - 1) / 4) | in si_shader_es()
759 S_00B228_VGPRS((shader->config.num_vgprs - 1) / 4) | in si_shader_gs()
791 S_00B228_VGPRS((shader->config.num_vgprs - 1) / 4) | in si_shader_gs()
901 S_00B128_VGPRS((shader->config.num_vgprs - 1) / 4) | in si_shader_vs()
1082 S_00B028_VGPRS((shader->config.num_vgprs - 1) / 4) | in si_shader_ps()
Dsi_compute.c75 out_config->num_vgprs = code_object->workitem_vgpr_count; in code_object_to_config()
125 S_00B848_VGPRS((shader->config.num_vgprs - 1) / 4) | in si_create_compute_state_async()