Subject: [PATCH] arb_shader_ballot: test unused comparison

From: James Legg <[email-masked]>
Date: Fri, 9 Jun 2017 10:24:32 +0100

---
 .../execution/fs-ballot-comparison.shader_test     | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 tests/spec/arb_shader_ballot/execution/fs-ballot-comparison.shader_test

diff --git a/tests/spec/arb_shader_ballot/execution/fs-ballot-comparison.shader_test b/tests/spec/arb_shader_ballot/execution/fs-ballot-comparison.shader_test
new file mode 100644
index 0000000..09165b0
--- /dev/null
+++ b/tests/spec/arb_shader_ballot/execution/fs-ballot-comparison.shader_test
@@ -0,0 +1,25 @@
+[require]
+GL >= 3.2
+GLSL >= 1.50
+GL_ARB_shader_ballot
+
+[vertex shader passthrough]
+
+[fragment shader]
+#version 150
+#extension GL_ARB_shader_ballot : require
+#extension GL_ARB_gpu_shader_int64 : require
+
+out vec4 outcolor;
+
+void main() {
+	ballotARB(true) == uint64_t(0);
+	outcolor = vec4(0.0, 1.0, 0.0, 1.0);
+}
+
+[test]
+clear color 0.0 0.0 0.0 0.0
+clear
+
+draw rect -1 -1 2 2
+probe all rgba 0.0 1.0 0.0 1.0
-- 
2.9.4