Searched refs:vert_index (Results 1 - 1 of 1) sorted by relevance
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_draw_hw_select.c | 263 nir_variable *vert_index = in clip_with_plane() local 264 nir_local_variable_create(b->impl, glsl_int_type(), "vert_index"); in clip_with_plane() 265 nir_store_var(b, vert_index, nir_imm_int(b, 0), 1); in clip_with_plane() 281 * assert(vert_index <= idx), array is sure to not grow here in clip_with_plane() 282 * but need to save vert[idx] when vert_index==idx in clip_with_plane() 290 nir_ssa_def *index = nir_load_var(b, vert_index); in clip_with_plane() 293 nir_store_var(b, vert_index, nir_iadd_imm(b, index, 1), 1); in clip_with_plane() 303 * vert_index > idx: +-+ case, grow array, current vertex in 'saved', in clip_with_plane() 305 * vert_index <= idx: --+ case, will replace last - with inserted vertex, in clip_with_plane() 309 nir_ssa_def *index = nir_load_var(b, vert_index); in clip_with_plane() [all...] |
Completed in 2 milliseconds