Searched refs:max_sgprs (Results 1 – 2 of 2) sorted by relevance
1936 unsigned max_sgprs = sscreen->info.num_physical_sgprs_per_simd; in si_compile_shader() local1944 max_sgprs = MIN2(max_sgprs / waves_per_simd, max_sgprs_per_wave); in si_compile_shader()1946 if (shader->config.num_sgprs > max_sgprs || shader->config.num_vgprs > max_vgprs) { in si_compile_shader()1950 shader->config.num_sgprs, shader->config.num_vgprs, max_sgprs, max_vgprs); in si_compile_shader()
2472 unsigned max_sgprs = 1; in apply_sgprs() local2474 max_sgprs = 2; in apply_sgprs()2476 max_sgprs--; in apply_sgprs()2504 if (new_sgpr && num_sgprs >= max_sgprs) in apply_sgprs()