summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2015-09-21 15:55:01 -0700
committerIan Romanick <ian.d.romanick@intel.com>2015-09-29 14:33:56 -0700
commita1640911a67ea95b9f41b83b88837f4e355b172b (patch)
tree93ea11e1a855d621bc4f0a37144f995723283676
parent2d0f91c9ece66eba4a9c8548732b03904554849c (diff)
polygon-offset: Remove a layer of tabs
I think this was a holdover from having originated in glean. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Thanked-by: Kristian Høgsberg <krh@bitplanet.net>
-rw-r--r--tests/spec/gl-1.4/polygon-offset.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/spec/gl-1.4/polygon-offset.c b/tests/spec/gl-1.4/polygon-offset.c
index 1f55cd61f..7fa801c98 100644
--- a/tests/spec/gl-1.4/polygon-offset.c
+++ b/tests/spec/gl-1.4/polygon-offset.c
@@ -442,14 +442,14 @@ check_slope_offset(const struct angle_axis *aa, GLdouble *ideal_mrd_near)
offset = fmax(base_depth - offset_depth, 0.0);
if (offset < mmin || offset > mmax) {
if (offset < mmin)
- printf("\tDepth-slope related offset was too small");
+ printf("Depth-slope related offset was too small");
else
- printf("\tDepth-slope related offset was too large");
+ printf("Depth-slope related offset was too large");
printf("; first failure at:\n");
- printf("\t\tAngle = %f degrees, axis = (%f, %f, %f)\n",
+ printf("\tAngle = %f degrees, axis = (%f, %f, %f)\n",
aa->angle, aa->axis[0], aa->axis[1], aa->axis[2]);
- printf("\t\tFailing offset was %.16f\n", offset);
- printf("\t\tAllowable range is (%f, %f)\n", mmin, mmax);
+ printf("\tFailing offset was %.16f\n", offset);
+ printf("\tAllowable range is (%f, %f)\n", mmin, mmax);
return false;
}
@@ -460,14 +460,14 @@ check_slope_offset(const struct angle_axis *aa, GLdouble *ideal_mrd_near)
offset = fmax(base_depth - offset_depth, 0.0);
if (offset < 2.0 * mmin || offset > 2.0 * mmax) {
if (offset < 2.0 * mmin)
- printf("\tDepth-slope related offset was too small");
+ printf("Depth-slope related offset was too small");
else
- printf("\tDepth-slope related offset was too large");
+ printf("Depth-slope related offset was too large");
printf("; first failure at:\n");
- printf("\t\tAngle = %f degrees, axis = (%f, %f, %f)\n",
+ printf("\tAngle = %f degrees, axis = (%f, %f, %f)\n",
aa->angle, aa->axis[0], aa->axis[1], aa->axis[2]);
- printf("\t\tFailing offset was %.16f\n", offset);
- printf("\t\tAllowable range is (%f, %f)\n", 2.0 * mmin,
+ printf("\tFailing offset was %.16f\n", offset);
+ printf("\tAllowable range is (%f, %f)\n", 2.0 * mmin,
2.0 * mmax);
return false;
}
@@ -579,23 +579,23 @@ piglit_display(void)
/* Print the results */
if (!big_enough_mrd) {
- printf("\tActual MRD is too small ");
+ printf("Actual MRD is too small ");
printf("(may cause incorrect results)\n");
}
if (!small_enough_mrd) {
- printf("\tActual MRD is too large ");
+ printf("Actual MRD is too large ");
printf("(may waste depth-buffer range)\n\n");
}
glGetIntegerv(GL_DEPTH_BITS, &dbits);
- printf("\tIdeal MRD at near plane is ");
+ printf("Ideal MRD at near plane is ");
log_mrd(ideal_mrd_near, dbits);
- printf("\tActual MRD at near plane is ");
+ printf("Actual MRD at near plane is ");
log_mrd(actual_mrd_near, dbits);
- printf("\tIdeal MRD at infinity is ");
+ printf("Ideal MRD at infinity is ");
log_mrd(ideal_mrd_far, dbits);
- printf("\tActual MRD at infinity is ");
+ printf("Actual MRD at infinity is ");
log_mrd(actual_mrd_far, dbits);
printf("\n");