[Piglit] [PATCH] Fixes for arb_arrays_of_arrays/compiler/glsl-4.20-basic-types.frag
Nicolai Hähnle
nhaehnle at gmail.com
Wed Apr 13 01:11:23 UTC 2016
From: Nicolai Hähnle <nicolai.haehnle at amd.com>
Core profile 4.20 does not have the gl_FragColor built-in, and atomic
counters need a binding.
---
tests/spec/arb_arrays_of_arrays/compiler/glsl-4.20-basic-types.frag | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/spec/arb_arrays_of_arrays/compiler/glsl-4.20-basic-types.frag b/tests/spec/arb_arrays_of_arrays/compiler/glsl-4.20-basic-types.frag
index e0dd221..da4fa3e 100644
--- a/tests/spec/arb_arrays_of_arrays/compiler/glsl-4.20-basic-types.frag
+++ b/tests/spec/arb_arrays_of_arrays/compiler/glsl-4.20-basic-types.frag
@@ -9,7 +9,7 @@
#version 420
#extension GL_ARB_arrays_of_arrays: enable
-uniform atomic_uint array01[1][1];
+layout (binding = 0) uniform atomic_uint array01[1][1];
writeonly uniform image1D array02[1][1];
writeonly uniform iimage1D array03[1][1];
writeonly uniform uimage1D array04[1][1];
@@ -43,5 +43,6 @@ writeonly uniform uimage2DMS array31[1][1];
writeonly uniform image2DMSArray array32[1][1];
writeonly uniform iimage2DMSArray array33[1][1];
writeonly uniform uimage2DMSArray array34[1][1];
+out vec4 color;
-void main() { gl_FragColor = vec4(0.0); }
+void main() { color = vec4(0.0); }
--
2.5.0
More information about the Piglit
mailing list