>From GLSL_ES_Specification_3.0 [0]:

There is no default precision qualifier for the following sampler types in
either the vertex or fragment language:
   sampler2DArray

[0] 
http://www.khronos.org/registry/gles/specs/3.0/GLSL_ES_Specification_3.00.4.pdf

Signed-off-by: Daniel Kurtz <[email protected]>
---
 tests/spec/ext_texture_array/compressed.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/spec/ext_texture_array/compressed.c 
b/tests/spec/ext_texture_array/compressed.c
index 7f87b62..dc412e6 100644
--- a/tests/spec/ext_texture_array/compressed.c
+++ b/tests/spec/ext_texture_array/compressed.c
@@ -116,6 +116,7 @@ static const char fs_text[] =
 #else // PIGLIT_USE_OPENGL_ES3
        "#version 300 es\n"
        "precision mediump float;\n"
+       "precision mediump sampler2DArray;\n"
        "#define piglit_in in\n"
        "#define piglit_texture2DArray texture\n"
        "out vec4 piglit_FragColor;\n"
-- 
1.8.5.1

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to