glsl: move variables in to ir_variable::data, part II
[mesa.git] / src / mesa / drivers / dri / i965 / brw_fs_fp.cpp
index dbf201756a4a31ca741c5464f14f37e444d5bd5c..f8577c1f444700cfe5ed8f1bbb07e1ba8799eedf 100644 (file)
@@ -608,7 +608,7 @@ fs_visitor::setup_fp_regs()
          ir_variable *ir = new(mem_ctx) ir_variable(glsl_type::vec4_type,
                                                     "fp_input",
                                                     ir_var_shader_in);
-         ir->location = i;
+         ir->data.location = i;
 
          this->current_annotation = ralloc_asprintf(ctx, "interpolate input %d",
                                                     i);