Searched refs:user_sgprs (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shaderlib_nir.c | 69 nir_ssa_def *user_sgprs = nir_load_user_data_amd(&b); in si_create_dcc_retile_cs() local 72 nir_ssa_def *src_dcc_offset = nir_channel(&b, user_sgprs, 0); in si_create_dcc_retile_cs() 75 unpack_2x16(&b, nir_channel(&b, user_sgprs, 1), &src_dcc_pitch, &src_dcc_height); in si_create_dcc_retile_cs() 76 unpack_2x16(&b, nir_channel(&b, user_sgprs, 2), &dst_dcc_pitch, &dst_dcc_height); in si_create_dcc_retile_cs() 117 nir_ssa_def *user_sgprs = nir_load_user_data_amd(&b); in gfx9_create_clear_dcc_msaa_cs() local 119 unpack_2x16(&b, nir_channel(&b, user_sgprs, 0), &dcc_pitch, &dcc_height); in gfx9_create_clear_dcc_msaa_cs() 120 unpack_2x16(&b, nir_channel(&b, user_sgprs, 1), &clear_value, &pipe_xor); in gfx9_create_clear_dcc_msaa_cs()
|
D | si_compute.c | 138 unsigned user_sgprs = SI_NUM_RESOURCE_SGPRS + (sel->info.uses_grid_size ? 3 : 0) + in si_create_compute_state_async() local 144 for (unsigned i = 0; i < MIN2(3, sel->info.base.num_ssbos) && user_sgprs <= 12; i++) { in si_create_compute_state_async() 145 user_sgprs = align(user_sgprs, 4); in si_create_compute_state_async() 147 sel->cs_shaderbufs_sgpr_index = user_sgprs; in si_create_compute_state_async() 148 user_sgprs += 4; in si_create_compute_state_async() 159 if (align(user_sgprs, num_sgprs) + num_sgprs > 16) in si_create_compute_state_async() 162 user_sgprs = align(user_sgprs, num_sgprs); in si_create_compute_state_async() 164 sel->cs_images_sgpr_index = user_sgprs; in si_create_compute_state_async() 165 user_sgprs += num_sgprs; in si_create_compute_state_async() 168 sel->cs_images_num_sgprs = user_sgprs - sel->cs_images_sgpr_index; in si_create_compute_state_async() [all …]
|
D | si_shader.c | 282 unsigned user_sgprs = ctx->args.num_sgprs_used; in declare_vb_descriptor_input_sgprs() local 285 user_sgprs -= 8; in declare_vb_descriptor_input_sgprs() 286 assert(user_sgprs <= SI_SGPR_VS_VB_DESCRIPTOR_FIRST); in declare_vb_descriptor_input_sgprs() 289 for (unsigned i = user_sgprs; i < SI_SGPR_VS_VB_DESCRIPTOR_FIRST; i++) in declare_vb_descriptor_input_sgprs()
|