Home
last modified time | relevance | path

Searched refs:num_sgprs (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_shader.c384 S_00B848_SGPRS((variant->config.num_sgprs - 1) / 8) | in radv_fill_shader_variant()
641 if (conf->num_sgprs) in generate_shader_stats()
642 max_simd_waves = MIN2(max_simd_waves, get_total_sgprs(device) / conf->num_sgprs); in generate_shader_stats()
670 conf->num_sgprs, conf->num_vgprs, in generate_shader_stats()
741 statistics.resourceUsage.numUsedSgprs = conf->num_sgprs; in radv_GetShaderInfoAMD()
Dradv_cmd_buffer.c585 assert(loc->num_sgprs == 2); in radv_emit_userdata_address()
613 assert(loc->num_sgprs == 1); in radv_update_multisample_state()
876 assert(loc->num_sgprs == 4); in radv_emit_tess_shaders()
889 assert(loc->num_sgprs == 1); in radv_emit_tess_shaders()
899 assert(loc->num_sgprs == 1); in radv_emit_tess_shaders()
1675 assert(desc_set_loc->num_sgprs == 2); in emit_stage_descriptor_set_userdata()
3732 assert(loc->num_sgprs == 3); in radv_emit_dispatch_packets()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c5173 conf->num_sgprs = MAX2(conf->num_sgprs, (G_00B028_SGPRS(value) + 1) * 8); in si_shader_binary_read_config()
5426 if (conf->num_sgprs) { in si_shader_dump_stats()
5428 max_simd_waves = MIN2(max_simd_waves, 800 / conf->num_sgprs); in si_shader_dump_stats()
5430 max_simd_waves = MIN2(max_simd_waves, 512 / conf->num_sgprs); 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
6341 num_sgprs = 8 + GFX9_GS_NUM_USER_SGPR; in si_build_gs_prolog_function()
6344 num_sgprs = GFX6_GS_NUM_USER_SGPR + 2; in si_build_gs_prolog_function()
6348 for (unsigned i = 0; i < num_sgprs; ++i) { in si_build_gs_prolog_function()
[all …]
Dsi_shader.h554 unsigned num_sgprs; member
Dsi_state_shaders.c468 S_00B528_SGPRS((shader->config.num_sgprs - 1) / 8) | in si_shader_ls()
515 S_00B428_SGPRS((shader->config.num_sgprs - 1) / 8) | in si_shader_hs()
561 S_00B328_SGPRS((shader->config.num_sgprs - 1) / 8) | in si_shader_es()
760 S_00B228_SGPRS((shader->config.num_sgprs - 1) / 8) | in si_shader_gs()
792 S_00B228_SGPRS((shader->config.num_sgprs - 1) / 8) | in si_shader_gs()
902 S_00B128_SGPRS((shader->config.num_sgprs - 1) / 8) | in si_shader_vs()
1083 S_00B028_SGPRS((shader->config.num_sgprs - 1) / 8) | in si_shader_ps()
Dsi_compute.c74 out_config->num_sgprs = code_object->wavefront_sgpr_count; in code_object_to_config()
126 S_00B848_SGPRS((shader->config.num_sgprs - 1) / 8) | in si_create_compute_state_async()
/external/mesa3d/src/amd/common/
Dac_binary.h69 unsigned num_sgprs; member
Dac_binary.c252 conf->num_sgprs = MAX2(conf->num_sgprs, (G_00B028_SGPRS(value) + 1) * 8); in ac_shader_binary_read_config()
Dac_nir_to_llvm.h93 uint8_t num_sgprs; member
Dac_nir_to_llvm.c508 set_loc(struct ac_userdata_info *ud_info, uint8_t *sgpr_idx, uint8_t num_sgprs, in set_loc() argument
512 ud_info->num_sgprs = num_sgprs; in set_loc()
515 *sgpr_idx += num_sgprs; in set_loc()
520 uint8_t num_sgprs) in set_loc_shader() argument
526 set_loc(ud_info, sgpr_idx, num_sgprs, 0); in set_loc_shader()
7094 config->num_sgprs = MAX2(config->num_sgprs, in ac_compile_llvm_module()