<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/7/10 Matt Turner <span dir="ltr"><<a href="mailto:mattst88@gmail.com" target="_blank">mattst88@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---<br>
.../compiler/profiles/core-profile-default.vert | 16 ++++++++++++++++<br>
1 file changed, 16 insertions(+)<br>
create mode 100644 tests/spec/glsl-1.50/compiler/profiles/core-profile-default.vert<br>
<br>
diff --git a/tests/spec/glsl-1.50/compiler/profiles/core-profile-default.vert b/tests/spec/glsl-1.50/compiler/profiles/core-profile-default.vert<br>
new file mode 100644<br>
index 0000000..179c607<br>
--- /dev/null<br>
+++ b/tests/spec/glsl-1.50/compiler/profiles/core-profile-default.vert<br>
@@ -0,0 +1,16 @@<br>
+// [config]<br>
+// expect_result: pass<br></blockquote><div><br>Shouldn't this be expect_result: fail ?<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+// glsl_version: 1.50<br>
+// [end config]<br>
+<br>
+/* The GLSL 1.50 spec says<br>
+ * "If no profile argument is provided, the default is core."<br>
+ */<br>
+#version 150<br>
+<br>
+void main() {<br>
+ /* gl_ClipVertex is deprecated and not available in GLSL 1.50 core, so<br>
+ * it should cause a compilation error.<br>
+ */<br>
+ gl_Position = gl_ClipVertex;<br>
+}<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.1.5<br>
<br>
_______________________________________________<br>
Piglit mailing list<br>
<a href="mailto:Piglit@lists.freedesktop.org">Piglit@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/piglit" target="_blank">http://lists.freedesktop.org/mailman/listinfo/piglit</a><br>
</font></span></blockquote></div><br></div></div>