Home
last modified time | relevance | path

Searched refs:num_user_sgprs (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c526 unsigned num_user_sgprs = si_get_num_vs_user_sgprs(shader, GFX9_TCS_NUM_USER_SGPR); in si_shader_hs() local
528 shader->config.rsrc2 = S_00B42C_USER_SGPR(num_user_sgprs) | in si_shader_hs()
532 shader->config.rsrc2 |= S_00B42C_USER_SGPR_MSB_GFX10(num_user_sgprs >> 5); in si_shader_hs()
534 shader->config.rsrc2 |= S_00B42C_USER_SGPR_MSB_GFX9(num_user_sgprs >> 5); in si_shader_hs()
588 unsigned num_user_sgprs; in si_shader_es() local
604 num_user_sgprs = si_get_num_vs_user_sgprs(shader, SI_VS_NUM_USER_SGPR); in si_shader_es()
607 num_user_sgprs = SI_TES_NUM_USER_SGPR; in si_shader_es()
621 S_00B32C_USER_SGPR(num_user_sgprs) | S_00B32C_OC_LDS_EN(oc_lds_en) | in si_shader_es()
854 unsigned num_user_sgprs; in si_shader_gs() local
856 num_user_sgprs = si_get_num_vs_user_sgprs(shader, GFX9_VSGS_NUM_USER_SGPR); in si_shader_gs()
[all …]
Dsi_shader.c549 unsigned num_user_sgprs, num_vgprs; in si_create_function() local
555 num_user_sgprs = GFX9_VSGS_NUM_USER_SGPR + ngg_cull_shader; in si_create_function()
558 assert(num_user_sgprs <= 8 + SI_SGPR_VS_VB_DESCRIPTOR_FIRST); in si_create_function()
559 num_user_sgprs = in si_create_function()
563 num_user_sgprs = GFX9_TESGS_NUM_USER_SGPR; in si_create_function()
574 for (i = 0; i < 8 + num_user_sgprs; i++) in si_create_function()
/external/mesa3d/src/amd/vulkan/
Dradv_shader.h257 unsigned num_user_sgprs; member
Dradv_shader.c894 config_out->rsrc2 = S_00B12C_USER_SGPR(info->num_user_sgprs) | in radv_postprocess_config()
919 config_out->rsrc2 |= S_00B22C_USER_SGPR_MSB_GFX10(info->num_user_sgprs >> 5); in radv_postprocess_config()
922 config_out->rsrc2 |= S_00B22C_USER_SGPR_MSB_GFX9(info->num_user_sgprs >> 5); in radv_postprocess_config()
Dradv_shader_args.c765 args->shader_info->num_user_sgprs = user_sgpr_idx; in radv_declare_shader_args()