Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_xfb_varying.c78 get_deref(nir_builder *b, const char *name, nir_variable *toplevel_var, in get_deref() argument
114 if (toplevel_var == NULL) { in get_deref()
118 *deref = nir_build_deref_var(b, toplevel_var); in get_deref()
119 *type = toplevel_var->type; in get_deref()
154 nir_variable *toplevel_var) in gl_nir_lower_xfb_varying() argument
164 if (!get_deref(&b, old_var_name, toplevel_var, &deref, &type)) in gl_nir_lower_xfb_varying()
Dgl_nir_link_varyings.c318 = xfb_decl->matched_candidate->toplevel_var->data.location * 4 in xfb_decl_assign_location()
319 + xfb_decl->matched_candidate->toplevel_var->data.location_frac in xfb_decl_assign_location()
410 xfb_decl->stream_id = xfb_decl->matched_candidate->toplevel_var->data.stream; in xfb_decl_assign_location()
414 xfb_decl->buffer = xfb_decl->matched_candidate->toplevel_var->data.xfb.buffer; in xfb_decl_assign_location()
415 xfb_decl->offset = xfb_decl->matched_candidate->toplevel_var->data.offset + in xfb_decl_assign_location()
428 if (varying_has_user_specified_location(xfb_decl->matched_candidate->toplevel_var)) { in xfb_decl_get_num_outputs()
443 return xfb_decl->matched_candidate->toplevel_var->data.assigned; in xfb_decl_is_varying_written()
588 if (varying_has_user_specified_location(xfb_decl->matched_candidate->toplevel_var)) { in xfb_decl_store()
1727 nir_variable *toplevel_var; member
1806 candidate->toplevel_var = state->toplevel_var; in tfeedback_candidate_generator()
[all …]
Dgl_nir_link_varyings.h73 nir_variable *toplevel_var; member
Dgl_nir_linker.h79 nir_variable *toplevel_var);