[Piglit] [PATCH 5/7] ext_unpack_subimage/basic: Add missing precision qualifiers

Ian Romanick idr at freedesktop.org
Wed Aug 21 08:37:03 PDT 2013


From: Ian Romanick <ian.d.romanick at intel.com>

Did this test previously pass on any "strict" implementations (not
NVIDIA)?

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Cc: Neil Roberts <neil at linux.intel.com>
---
 tests/spec/ext_unpack_subimage/ext_unpack_subimage.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/spec/ext_unpack_subimage/ext_unpack_subimage.c b/tests/spec/ext_unpack_subimage/ext_unpack_subimage.c
index d204693..12afd9e 100644
--- a/tests/spec/ext_unpack_subimage/ext_unpack_subimage.c
+++ b/tests/spec/ext_unpack_subimage/ext_unpack_subimage.c
@@ -85,6 +85,7 @@ vertex_shader[] =
 static const char
 fragment_shader[] =
 	"uniform sampler2D tex; /* defaults to 0 */\n"
+	"precision highp float;\n"
 	"varying vec2 tex_coord;\n"
 	"void main () {\n"
 	"gl_FragColor = texture2D(tex, tex_coord);\n"
-- 
1.8.1.4



More information about the Piglit mailing list