[Piglit] [PATCH] Add a test that reproduces a problem in GLideN64.
Kenneth Graunke
kenneth at whitecape.org
Fri Apr 29 07:23:48 UTC 2016
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95164
---
.../compiler/vector-dereference-in-dereference.frag | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 tests/spec/glsl-1.10/compiler/vector-dereference-in-dereference.frag
diff --git a/tests/spec/glsl-1.10/compiler/vector-dereference-in-dereference.frag b/tests/spec/glsl-1.10/compiler/vector-dereference-in-dereference.frag
new file mode 100644
index 0000000..6c03136
--- /dev/null
+++ b/tests/spec/glsl-1.10/compiler/vector-dereference-in-dereference.frag
@@ -0,0 +1,12 @@
+/* [config]
+ * expect_result: pass
+ * glsl_version: 1.10
+ * [end config]
+ */
+uniform ivec4 v;
+uniform mat4 m;
+
+void main()
+{
+ gl_FragColor = m[v[0]];
+}
--
2.8.0
More information about the Piglit
mailing list