Mesa (glsl2): glcpp: Add a testcase for the failure in compiling xonotic' s shader.
Eric Anholt
anholt at kemper.freedesktop.org
Sun Aug 1 18:42:59 UTC 2010
Module: Mesa
Branch: glsl2
Commit: 93b10bd353e98670b627873e1da130c789646a4e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=93b10bd353e98670b627873e1da130c789646a4e
Author: Eric Anholt <eric at anholt.net>
Date: Sun Aug 1 11:40:07 2010 -0700
glcpp: Add a testcase for the failure in compiling xonotic's shader.
gcc and mesa master agree that this is OK.
---
src/glsl/glcpp/tests/073-if-in-ifdef.c | 4 ++++
src/glsl/glcpp/tests/073-if-in-ifdef.c.expected | 5 +++++
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/glsl/glcpp/tests/073-if-in-ifdef.c b/src/glsl/glcpp/tests/073-if-in-ifdef.c
new file mode 100644
index 0000000..b9155b5
--- /dev/null
+++ b/src/glsl/glcpp/tests/073-if-in-ifdef.c
@@ -0,0 +1,4 @@
+#if UNDEF
+#if UNDEF > 1
+#endif
+#endif
diff --git a/src/glsl/glcpp/tests/073-if-in-ifdef.c.expected b/src/glsl/glcpp/tests/073-if-in-ifdef.c.expected
new file mode 100644
index 0000000..3f2ff2d
--- /dev/null
+++ b/src/glsl/glcpp/tests/073-if-in-ifdef.c.expected
@@ -0,0 +1,5 @@
+
+
+
+
+
More information about the mesa-commit
mailing list