Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_xfb.c68 nir_xfb_varyings_info *varyings_info = NULL; in gl_nir_link_assign_xfb_resources() local
75 xfb_info = nir_gather_xfb_info_with_varyings(sh->Program->nir, NULL, &varyings_info); in gl_nir_link_assign_xfb_resources()
95 prog->TransformFeedback.NumVarying = varyings_info->varying_count; in gl_nir_link_assign_xfb_resources()
97 malloc(sizeof(GLchar *) * varyings_info->varying_count); in gl_nir_link_assign_xfb_resources()
108 varyings_info->varying_count); in gl_nir_link_assign_xfb_resources()
109 linked_xfb->NumVarying = varyings_info->varying_count; in gl_nir_link_assign_xfb_resources()
113 (varyings_info->varying_count > 0) ? in gl_nir_link_assign_xfb_resources()
116 for (unsigned i = 0; i < varyings_info->varying_count; i++) { in gl_nir_link_assign_xfb_resources()
117 nir_xfb_varying_info *xfb_varying = &varyings_info->varyings[i]; in gl_nir_link_assign_xfb_resources()
/external/mesa3d/src/compiler/nir/
Dnir_gather_xfb_info.c204 nir_xfb_varyings_info *varyings_info = NULL; in nir_gather_xfb_info_with_varyings() local
217 varyings_info = *varyings_info_out; in nir_gather_xfb_info_with_varyings()
238 add_var_xfb_outputs(xfb, varyings_info, var, var->data.xfb.buffer, in nir_gather_xfb_info_with_varyings()
256 add_var_xfb_outputs(xfb, varyings_info, var, var->data.xfb.buffer + b, in nir_gather_xfb_info_with_varyings()
269 if (varyings_info != NULL) { in nir_gather_xfb_info_with_varyings()
270 qsort(varyings_info->varyings, varyings_info->varying_count, in nir_gather_xfb_info_with_varyings()
271 sizeof(varyings_info->varyings[0]), in nir_gather_xfb_info_with_varyings()
Dnir_xfb_info.h79 nir_xfb_varyings_info **varyings_info);