Home | History | Annotate | Download | only in glsl

Lines Matching defs:discard

29  * Case 1: The "then" branch contains a conditional discard:
34 * discard cond2;
50 * discard temp;
52 * Case 2: The "else" branch contains a conditional discard:
59 * discard cond2;
73 * discard temp;
75 * Case 3: Both branches contain a conditional discard:
80 * discard cond2;
84 * discard cond3;
100 * discard temp;
191 ir_discard *discard = then_discard != NULL ? then_discard : else_discard;
192 discard->condition = new(mem_ctx) ir_dereference_variable(temp);
193 ir->insert_after(discard);