glsl: move variables in to ir_variable::data, part I
This patch moves following bitfields in to the data structure: used, assigned, how_declared, mode, interpolation, origin_upper_left, pixel_center_integer Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
@@ -159,7 +159,7 @@ void ir_print_visitor::visit(ir_variable *ir)
|
||||
STATIC_ASSERT(ARRAY_SIZE(interp) == INTERP_QUALIFIER_COUNT);
|
||||
|
||||
printf("(%s%s%s%s%s) ",
|
||||
cent, samp, inv, mode[ir->mode], interp[ir->interpolation]);
|
||||
cent, samp, inv, mode[ir->data.mode], interp[ir->data.interpolation]);
|
||||
|
||||
print_type(ir->type);
|
||||
printf(" %s)", unique_name(ir));
|
||||
|
Reference in New Issue
Block a user