Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/common/
Dac_binary.h68 unsigned num_sgprs; member
Dac_binary.c243 conf->num_sgprs = MAX2(conf->num_sgprs, (G_00B028_SGPRS(value) + 1) * 8); in ac_shader_binary_read_config()
Dac_nir_to_llvm.h62 uint8_t num_sgprs; member
Dac_nir_to_llvm.c353 …c void set_userdata_location(struct ac_userdata_info *ud_info, uint8_t sgpr_idx, uint8_t num_sgprs) in set_userdata_location() argument
356 ud_info->num_sgprs = num_sgprs; in set_userdata_location()
362 int idx, uint8_t sgpr_idx, uint8_t num_sgprs) in set_userdata_location_shader() argument
364 set_userdata_location(&ctx->shader_info->user_sgprs_locs.shader_data[idx], sgpr_idx, num_sgprs); in set_userdata_location_shader()
368 …t_userdata_location_indirect(struct ac_userdata_info *ud_info, uint8_t sgpr_idx, uint8_t num_sgprs,
372 ud_info->num_sgprs = num_sgprs;
4662 config->num_sgprs = MAX2(config->num_sgprs, in ac_compile_llvm_module()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c6054 conf->num_sgprs = MAX2(conf->num_sgprs, (G_00B028_SGPRS(value) + 1) * 8); in si_shader_binary_read_config()
6278 if (conf->num_sgprs) { in si_shader_dump_stats()
6280 max_simd_waves = MIN2(max_simd_waves, 800 / conf->num_sgprs); in si_shader_dump_stats()
6282 max_simd_waves = MIN2(max_simd_waves, 512 / conf->num_sgprs); in si_shader_dump_stats()
6313 conf->num_sgprs, conf->num_vgprs, in si_shader_dump_stats()
6324 conf->num_sgprs, conf->num_vgprs, code_size, in si_shader_dump_stats()
7234 const unsigned num_sgprs = SI_GS_NUM_USER_SGPR + 2; in si_build_gs_prolog_function() local
7242 for (unsigned i = 0; i < num_sgprs; ++i) { in si_build_gs_prolog_function()
7248 params[num_sgprs + i] = ctx->i32; in si_build_gs_prolog_function()
7249 returns[num_sgprs + i] = ctx->f32; in si_build_gs_prolog_function()
[all …]
Dsi_shader.h464 unsigned num_sgprs; member
Dsi_state_shaders.c365 S_00B528_SGPRS((shader->config.num_sgprs - 1) / 8) | in si_shader_ls()
389 S_00B428_SGPRS((shader->config.num_sgprs - 1) / 8) | in si_shader_hs()
430 S_00B328_SGPRS((shader->config.num_sgprs - 1) / 8) | in si_shader_es()
518 S_00B228_SGPRS((shader->config.num_sgprs - 1) / 8) | in si_shader_gs()
603 S_00B128_SGPRS((shader->config.num_sgprs - 1) / 8) | in si_shader_vs()
814 S_00B028_SGPRS((shader->config.num_sgprs - 1) / 8) | in si_shader_ps()
Dsi_compute.c82 out_config->num_sgprs = code_object->wavefront_sgpr_count; in code_object_to_config()
142 S_00B848_SGPRS((shader->config.num_sgprs - 1) / 8) | in si_create_compute_state()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c301 if (conf->num_sgprs) { in radv_dump_pipeline_stats()
303 max_simd_waves = MIN2(max_simd_waves, 800 / conf->num_sgprs); in radv_dump_pipeline_stats()
305 max_simd_waves = MIN2(max_simd_waves, 512 / conf->num_sgprs); in radv_dump_pipeline_stats()
335 conf->num_sgprs, conf->num_vgprs, in radv_dump_pipeline_stats()
388 S_00B848_SGPRS((variant->config.num_sgprs - 1) / 8) | in radv_fill_shader_variant()
Dradv_cmd_buffer.c366 assert(loc->num_sgprs == 2); in radv_emit_userdata_address()
1011 assert(desc_set_loc->num_sgprs == 2); in emit_stage_descriptor_set_userdata()
2219 assert(loc->num_sgprs == 3); in radv_CmdDispatch()