[Piglit] [PATCH 2/2] etc2: Add missing fragment shader float precision qualifier

Ian Romanick idr at freedesktop.org
Fri Aug 9 16:33:43 PDT 2013


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

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
 tests/spec/gles-3.0/oes_compressed_etc2_texture-miptree.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/spec/gles-3.0/oes_compressed_etc2_texture-miptree.c b/tests/spec/gles-3.0/oes_compressed_etc2_texture-miptree.c
index 79a4c1f..59d8748 100644
--- a/tests/spec/gles-3.0/oes_compressed_etc2_texture-miptree.c
+++ b/tests/spec/gles-3.0/oes_compressed_etc2_texture-miptree.c
@@ -151,6 +151,7 @@ piglit_init(int argc, char **argv)
 
 	const char fs_source[] =
 		"#version 100\n"
+		"precision mediump float;\n"
 		"\n"
 		"uniform sampler2D tex;\n"
 		"varying vec2 tex_coord;\n"
-- 
1.8.1.4



More information about the Piglit mailing list