Home | History | Annotate | Download | only in glsl

Lines Matching refs:old_index

125 lower_clip_distance_visitor::create_indices(ir_rvalue *old_index,
129 void *ctx = ralloc_parent(old_index);
131 /* Make sure old_index is a signed int so that the bitwise "shift" and
134 if (old_index->type != glsl_type::int_type) {
135 assert (old_index->type == glsl_type::uint_type);
136 old_index = new(ctx) ir_expression(ir_unop_u2i, old_index);
139 ir_constant *old_index_constant = old_index->constant_expression_value();
149 /* Create a variable to hold the value of old_index (so that we
156 new(ctx) ir_dereference_variable(old_index_var), old_index));