Lines Matching defs:loop
123 nir_loop *loop;
133 state->loop = nir_push_loop(b);
140 nir_pop_loop(b, state->loop);
146 if (!state->loop)
172 * then we need to run the resulting logic in a loop, using the loop counter to
173 * replace gl_InvocationID. This loop can be terminated when a barrier is hit. If
174 * gl_InvocationID is used again after the barrier, then another loop needs to begin.
203 * will run sequentially. Then a loop is inserted so load_invocation_id will load the
204 * loop counter. This loop continues until a barrier is reached, when the loop
233 /* Now replace those invocation ID loads with loads of a local variable that's used as a loop counter */
249 if (!state.loop) {
260 * inside a switch statement, in either sub-statement of an if statement, inside a do, for, or while loop,