Searched refs:num_sgprs (Results 1 – 10 of 10) sorted by relevance
/external/mesa3d/src/amd/vulkan/ |
D | radv_shader.c | 384 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()
|
D | radv_cmd_buffer.c | 585 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/ |
D | si_shader.c | 5173 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 …]
|
D | si_shader.h | 554 unsigned num_sgprs; member
|
D | si_state_shaders.c | 468 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()
|
D | si_compute.c | 74 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/ |
D | ac_binary.h | 69 unsigned num_sgprs; member
|
D | ac_binary.c | 252 conf->num_sgprs = MAX2(conf->num_sgprs, (G_00B028_SGPRS(value) + 1) * 8); in ac_shader_binary_read_config()
|
D | ac_nir_to_llvm.h | 93 uint8_t num_sgprs; member
|
D | ac_nir_to_llvm.c | 508 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()
|