[Piglit] [PATCH 12/15] arb_shader_ballot: add missing extension
Marek Olšák
maraeo at gmail.com
Mon Mar 26 23:32:52 UTC 2018
From: Nicolai Hähnle <nicolai.haehnle at amd.com>
---
tests/spec/arb_shader_ballot/execution/fs-ballot.shader_test | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/spec/arb_shader_ballot/execution/fs-ballot.shader_test b/tests/spec/arb_shader_ballot/execution/fs-ballot.shader_test
index b16d7233b..704c2f9cb 100644
--- a/tests/spec/arb_shader_ballot/execution/fs-ballot.shader_test
+++ b/tests/spec/arb_shader_ballot/execution/fs-ballot.shader_test
@@ -1,19 +1,20 @@
[require]
GL >= 3.2
GLSL >= 1.50
GL_ARB_shader_ballot
[vertex shader passthrough]
[fragment shader]
#version 150
+#extension GL_ARB_gpu_shader_int64 : require
#extension GL_ARB_shader_ballot : require
out vec4 outcolor;
void main() {
if (ballotARB(false) != 0ul)
outcolor = vec4(1.0, 0.0, 0.0, 0.0);
else if (ballotARB(true) == 0ul)
outcolor = vec4(1.0, 0.1, 0.0, 0.0);
else
--
2.15.1
More information about the Piglit
mailing list