gallium: switch dedicated centroid field to interpolation location
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_scan.c
index 00fdcfb76e6d3d126e82d3bb1f2f5c9fae4c0860..563d2c55f60fd3347599040ce03b7f8380fa4d7c 100644 (file)
@@ -187,7 +187,7 @@ tgsi_scan_shader(const struct tgsi_token *tokens,
                   info->input_semantic_name[reg] = (ubyte) semName;
                   info->input_semantic_index[reg] = (ubyte) semIndex;
                   info->input_interpolate[reg] = (ubyte)fulldecl->Interp.Interpolate;
-                  info->input_centroid[reg] = (ubyte)fulldecl->Interp.Centroid;
+                  info->input_interpolate_loc[reg] = (ubyte)fulldecl->Interp.Location;
                   info->input_cylindrical_wrap[reg] = (ubyte)fulldecl->Interp.CylindricalWrap;
                   info->num_inputs++;