[Piglit] [PATCH 1/4] arb_enhanced_layouts: fix up test comments
Timothy Arceri
timothy.arceri at collabora.com
Tue Dec 29 15:40:22 PST 2015
Remove line describing the test that is wrong and tidy up
alignment of spec quote.
Cc: Emil Velikov <emil.l.velikov at gmail.com>
---
.../explicit-offsets/ssbo-offset-multiple-of-base-member-align.vert | 6 ++----
.../explicit-offsets/ubo-offset-multiple-of-base-member-align.vert | 6 ++----
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/tests/spec/arb_enhanced_layouts/compiler/explicit-offsets/ssbo-offset-multiple-of-base-member-align.vert b/tests/spec/arb_enhanced_layouts/compiler/explicit-offsets/ssbo-offset-multiple-of-base-member-align.vert
index 7af75d6..9eea94b 100644
--- a/tests/spec/arb_enhanced_layouts/compiler/explicit-offsets/ssbo-offset-multiple-of-base-member-align.vert
+++ b/tests/spec/arb_enhanced_layouts/compiler/explicit-offsets/ssbo-offset-multiple-of-base-member-align.vert
@@ -6,11 +6,9 @@
// [end config]
//
// ARB_enhanced_layouts spec says:
-// "The specified offset must be a
-// multiple of the base alignment of the type of the block member it
-// qualifies, or a compile-time error results."
//
-// Tests for successful compilation, when the block is of std140 layout.
+// "The specified offset must be a multiple of the base alignment of the
+// type of the block member it qualifies, or a compile-time error results."
//
#version 140
diff --git a/tests/spec/arb_enhanced_layouts/compiler/explicit-offsets/ubo-offset-multiple-of-base-member-align.vert b/tests/spec/arb_enhanced_layouts/compiler/explicit-offsets/ubo-offset-multiple-of-base-member-align.vert
index 6a13e03..607a988 100644
--- a/tests/spec/arb_enhanced_layouts/compiler/explicit-offsets/ubo-offset-multiple-of-base-member-align.vert
+++ b/tests/spec/arb_enhanced_layouts/compiler/explicit-offsets/ubo-offset-multiple-of-base-member-align.vert
@@ -6,11 +6,9 @@
// [end config]
//
// ARB_enhanced_layouts spec says:
-// "The specified offset must be a
-// multiple of the base alignment of the type of the block member it
-// qualifies, or a compile-time error results."
//
-// Tests for successful compilation, when the block is of std140 layout.
+// "The specified offset must be a multiple of the base alignment of the
+// type of the block member it qualifies, or a compile-time error results."
//
#version 140
--
2.4.3
More information about the Piglit
mailing list