Searched refs:idx_var (Results 1 – 1 of 1) sorted by relevance
129 nir_variable *idx_var = in build_view_index() local132 idx_var->data.location = VARYING_SLOT_VIEW_INDEX; in build_view_index()134 idx_var->data.interpolation = INTERP_MODE_FLAT; in build_view_index()137 nir_deref_var *deref = nir_deref_var_create(b->shader, idx_var); in build_view_index()146 state->view_index = nir_load_var(b, idx_var); in build_view_index()