Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c127 static void si_init_function_info(struct si_function_info *fninfo) in si_init_function_info() argument
129 fninfo->num_params = 0; in si_init_function_info()
130 fninfo->num_sgpr_params = 0; in si_init_function_info()
133 static unsigned add_arg_assign(struct si_function_info *fninfo, in add_arg_assign() argument
137 assert(regfile != ARG_SGPR || fninfo->num_sgpr_params == fninfo->num_params); in add_arg_assign()
139 unsigned idx = fninfo->num_params++; in add_arg_assign()
140 assert(idx < ARRAY_SIZE(fninfo->types)); in add_arg_assign()
143 fninfo->num_sgpr_params = fninfo->num_params; in add_arg_assign()
145 fninfo->types[idx] = type; in add_arg_assign()
146 fninfo->assign[idx] = assign; in add_arg_assign()
[all …]