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 <imir...@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

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to