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:
@@ -224,7 +224,7 @@ link_set_uniform_initializers(struct gl_shader_program *prog)
|
||||
foreach_list(node, shader->ir) {
|
||||
ir_variable *const var = ((ir_instruction *) node)->as_variable();
|
||||
|
||||
if (!var || var->mode != ir_var_uniform)
|
||||
if (!var || var->data.mode != ir_var_uniform)
|
||||
continue;
|
||||
|
||||
if (!mem_ctx)
|
||||
|
||||
Reference in New Issue
Block a user