summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2014-08-17 13:59:56 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2014-09-22 12:54:33 -0400
commitbe0202ba8315530a8f7fe49a3a291f420ebf57b0 (patch)
tree6f9232425c4ba26f951bbf6fe3dd3b7be1ac5068
parent794fd588d763d4cd2a936f1e38763a0cc9c483ee (diff)
nv_conditional_render: reinstate width/height for mipmap generation
The test relies on level 1 being used from the texture when rendering to the window. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
-rw-r--r--tests/spec/nv_conditional_render/generatemipmap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/spec/nv_conditional_render/generatemipmap.c b/tests/spec/nv_conditional_render/generatemipmap.c
index 37585d5fb..ca6758fc6 100644
--- a/tests/spec/nv_conditional_render/generatemipmap.c
+++ b/tests/spec/nv_conditional_render/generatemipmap.c
@@ -37,6 +37,11 @@ PIGLIT_GL_TEST_CONFIG_BEGIN
config.supports_gl_compat_version = 10;
config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA;
+ /* Note that this must be half of the texture size,
+ * see comments in the test
+ */
+ config.window_width = 32;
+ config.window_height = 32;
PIGLIT_GL_TEST_CONFIG_END