Searched refs:user_sgprs (Results 1 - 3 of 3) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_shaderlib_nir.c | 152 nir_ssa_def *user_sgprs = nir_load_user_data_amd(&b); in si_create_dcc_retile_cs() local 155 nir_ssa_def *src_dcc_offset = nir_channel(&b, user_sgprs, 0); in si_create_dcc_retile_cs() 158 unpack_2x16(&b, nir_channel(&b, user_sgprs, 1), &src_dcc_pitch, &src_dcc_height); in si_create_dcc_retile_cs() 159 unpack_2x16(&b, nir_channel(&b, user_sgprs, 2), &dst_dcc_pitch, &dst_dcc_height); in si_create_dcc_retile_cs() 200 nir_ssa_def *user_sgprs = nir_load_user_data_amd(&b); in gfx9_create_clear_dcc_msaa_cs() local 202 unpack_2x16(&b, nir_channel(&b, user_sgprs, 0), &dcc_pitch, &dcc_height); in gfx9_create_clear_dcc_msaa_cs() 203 unpack_2x16(&b, nir_channel(&b, user_sgprs, 1), &clear_value, &pipe_xor); in gfx9_create_clear_dcc_msaa_cs() 257 nir_ssa_def *user_sgprs = nir_load_user_data_amd(&b); in si_create_clear_buffer_rmw_cs() local 260 data = nir_iand(&b, data, nir_channel(&b, user_sgprs, 1)); in si_create_clear_buffer_rmw_cs() 262 data = nir_ior(&b, data, nir_channel(&b, user_sgprs, in si_create_clear_buffer_rmw_cs() [all...] |
H A 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() 164 if (align(user_sgprs, num_sgprs) + num_sgprs > 16) in si_create_compute_state_async() 167 user_sgprs = align(user_sgprs, num_sgprs); in si_create_compute_state_async() 169 sel->cs_images_sgpr_index = user_sgprs; in si_create_compute_state_async() [all...] |
H A D | si_shader.c | 299 unsigned user_sgprs = ctx->args.num_sgprs_used; in declare_vb_descriptor_input_sgprs() local 302 user_sgprs -= 8; in declare_vb_descriptor_input_sgprs() 303 assert(user_sgprs <= SI_SGPR_VS_VB_DESCRIPTOR_FIRST); in declare_vb_descriptor_input_sgprs() 306 for (unsigned i = user_sgprs; i < SI_SGPR_VS_VB_DESCRIPTOR_FIRST; i++) in declare_vb_descriptor_input_sgprs()
|
Completed in 6 milliseconds