[Piglit] [PATCH] ARB_texture_multisample: Don't use a 3D texture size above the minmax.
Eric Anholt
eric at anholt.net
Thu Dec 29 19:20:26 UTC 2016
For GL 3.1, the minmax is 256, and for GL 2.1 it's only 16. We don't
put anything in the texture, so we can just use 16.
---
tests/spec/arb_texture_multisample/teximage-3d-multisample.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/spec/arb_texture_multisample/teximage-3d-multisample.c b/tests/spec/arb_texture_multisample/teximage-3d-multisample.c
index dcbbbf4417bf..3de8f5fc29bb 100644
--- a/tests/spec/arb_texture_multisample/teximage-3d-multisample.c
+++ b/tests/spec/arb_texture_multisample/teximage-3d-multisample.c
@@ -54,7 +54,7 @@ piglit_init(int argc, char **argv)
/* Pass a Texture Multisample 3D Array */
glBindTexture(GL_TEXTURE_2D_MULTISAMPLE_ARRAY, textures[0]);
glTexImage3DMultisample(GL_TEXTURE_2D_MULTISAMPLE_ARRAY, 4, GL_RGB,
- 1024, 1024, 4, GL_FALSE);
+ 16, 16, 4, GL_FALSE);
pass = piglit_check_gl_error(GL_NO_ERROR) && pass;
/* Pass a Proxy Texture 3D Multisample Array */
--
2.11.0
More information about the Piglit
mailing list