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:
parent
c1d3080ee8
commit
33ee2c67c0
46 changed files with 313 additions and 312 deletions
|
|
@ -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()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue