[Piglit] [PATCH] tex-miplevel-selection: force compatibility when using 430 shader
Ilia Mirkin
imirkin at alum.mit.edu
Sat Feb 2 06:20:12 UTC 2019
Mesa will only consider the shader a compat shader if it has an explicit
"compatibility" token in the version. Without this, we don't get
gl_TexCoord, used by the test.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
I guess this gets skipped on Intel, since it wants a 430 compat context.
But it should also be failing on RadeonSI. Noticed the failure on
nouveau.
tests/texturing/tex-miplevel-selection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/texturing/tex-miplevel-selection.c b/tests/texturing/tex-miplevel-selection.c
index 7c0283cbd..d13ebb156 100644
--- a/tests/texturing/tex-miplevel-selection.c
+++ b/tests/texturing/tex-miplevel-selection.c
@@ -326,7 +326,7 @@ piglit_init(int argc, char **argv)
if (target == TEX_2D_ARRAY_SHADOW &&
test == GL3_TEXTURE_OFFSET) {
piglit_require_GLSL_version(430);
- version = "430";
+ version = "430 compatibility";
}
switch (target) {
--
2.19.2
More information about the Piglit
mailing list