[Piglit] [PATCH] khr_texture_compression_astc: add precision to sampler

Tapani Pälli tapani.palli at intel.com
Wed Nov 11 03:20:05 PST 2015


Samplers not have default precision in fragment stage,
default must be set manually or it must be set explicitly.

Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
---
 .../khr_texture_compression_astc/khr_compressed_astc-miptree-array.c    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree-array.c b/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree-array.c
index 75ef366..e332bad 100644
--- a/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree-array.c
+++ b/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree-array.c
@@ -238,7 +238,7 @@ piglit_init(int argc, char **argv)
 		"#version 300 es\n"
 		"precision highp float;\n"
 		"\n"
-		"uniform sampler2DArray tex;\n"
+		"uniform highp sampler2DArray tex;\n"
 		"uniform int index;\n"
 		"in vec2 tex_coord;\n"
 		"out vec4 fragment_color;\n"
-- 
2.4.3



More information about the Piglit mailing list