Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c540 struct user_sgpr_info { struct
571 struct user_sgpr_info *user_sgpr_info) in allocate_user_sgprs() argument
573 memset(user_sgpr_info, 0, sizeof(struct user_sgpr_info)); in allocate_user_sgprs()
581 user_sgpr_info->need_ring_offsets = true; in allocate_user_sgprs()
585 user_sgpr_info->need_ring_offsets = true; in allocate_user_sgprs()
588 if (ctx->options->supports_spill || user_sgpr_info->need_ring_offsets) { in allocate_user_sgprs()
589 user_sgpr_info->sgpr_count += 2; in allocate_user_sgprs()
596 user_sgpr_info->sgpr_count += 3; in allocate_user_sgprs()
599 user_sgpr_info->sgpr_count += ctx->shader_info->info.ps.needs_sample_positions; in allocate_user_sgprs()
603 user_sgpr_info->sgpr_count += ctx->shader_info->info.vs.has_vertex_buffers ? 2 : 0; in allocate_user_sgprs()
[all …]