Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp84 unsigned input_to_index[VERT_ATTRIB_MAX] = {0}; in st_nir_assign_vs_in_locations() local
89 input_to_index[attr] = num_inputs; in st_nir_assign_vs_in_locations()
96 input_to_index[attr] = ~0; in st_nir_assign_vs_in_locations()
101 input_to_index[VERT_ATTRIB_EDGEFLAG] = num_inputs; in st_nir_assign_vs_in_locations()
106 assert(attr < ARRAY_SIZE(input_to_index)); in st_nir_assign_vs_in_locations()
108 if (input_to_index[attr] != ~0u) { in st_nir_assign_vs_in_locations()
109 var->data.driver_location = input_to_index[attr]; in st_nir_assign_vs_in_locations()
Dst_program.c391 ubyte input_to_index[VERT_ATTRIB_MAX] = {0}; in st_translate_vertex_program() local
406 input_to_index[attr] = stvp->num_inputs; in st_translate_vertex_program()
418 input_to_index[VERT_ATTRIB_EDGEFLAG] = stvp->num_inputs; in st_translate_vertex_program()
497 input_to_index, in st_translate_vertex_program()
520 input_to_index, in st_translate_vertex_program()