[Piglit] [PATCH] glslparsertest: Fix test bit-shift-06.frag
Chad Versace
chad at chad-versace.us
Fri Oct 15 13:08:54 PDT 2010
From: Chad Versace <chad.versace at intel.com>
Tests under heading 'uvecN = uvecN << ivecN' did not do what they claimed to
do; they were an unmodified copy of those tests under heading 'ivecN = ivecN
<< uvecN'.
---
tests/glslparsertest/glsl2/bit-shift-06.frag | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/tests/glslparsertest/glsl2/bit-shift-06.frag b/tests/glslparsertest/glsl2/bit-shift-06.frag
index 8047de3..611ad49 100644
--- a/tests/glslparsertest/glsl2/bit-shift-06.frag
+++ b/tests/glslparsertest/glsl2/bit-shift-06.frag
@@ -26,14 +26,14 @@ void main() {
// uvecN = uvecN << ivecN -----------------
// uvec2 = uvec2 << ivec2
- ivec2 v06 = ivec2(0, 1) << uvec2(0, 1);
- ivec2 v07 = ivec2(0, 1) >> uvec2(0, 1);
+ uvec2 v06 = uvec2(0, 1) << ivec2(0, 1);
+ uvec2 v07 = uvec2(0, 1) >> ivec2(0, 1);
// uvec3 = uvec3 << ivec3
- ivec3 v08 = ivec3(0, 1, 2) << uvec3(0, 1, 2);
- ivec3 v09 = ivec3(0, 1, 2) >> uvec3(0, 1, 2);
+ uvec3 v08 = uvec3(0, 1, 2) << ivec3(0, 1, 2);
+ uvec3 v09 = uvec3(0, 1, 2) >> ivec3(0, 1, 2);
// uvec4 = uvec4 << ivec4
- ivec4 v10 = ivec4(0, 1, 2, 3) << uvec4(0, 1, 2, 3);
- ivec4 v11 = ivec4(0, 1, 2, 3) >> uvec4(0, 1, 2, 3);
+ uvec4 v10 = uvec4(0, 1, 2, 3) << ivec4(0, 1, 2, 3);
+ uvec4 v11 = uvec4(0, 1, 2, 3) >> ivec4(0, 1, 2, 3);
}
--
1.7.1
More information about the Piglit
mailing list