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:
@@ -122,8 +122,8 @@ ir_array_reference_visitor::get_variable_entry(ir_variable *var)
|
||||
{
|
||||
assert(var);
|
||||
|
||||
if (var->mode != ir_var_auto &&
|
||||
var->mode != ir_var_temporary)
|
||||
if (var->data.mode != ir_var_auto &&
|
||||
var->data.mode != ir_var_temporary)
|
||||
return NULL;
|
||||
|
||||
if (!(var->type->is_array() || var->type->is_matrix()))
|
||||
|
||||
Reference in New Issue
Block a user