[Piglit] [PATCH] nv_conditional_render: reinstate width/height for mipmap generation

Ilia Mirkin imirkin at alum.mit.edu
Sun Aug 17 11:03:47 PDT 2014


The test relies on level 1 being used from the texture when rendering to
the window.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
 tests/spec/nv_conditional_render/generatemipmap.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/spec/nv_conditional_render/generatemipmap.c b/tests/spec/nv_conditional_render/generatemipmap.c
index 37585d5..96a39bb 100644
--- a/tests/spec/nv_conditional_render/generatemipmap.c
+++ b/tests/spec/nv_conditional_render/generatemipmap.c
@@ -37,6 +37,8 @@ PIGLIT_GL_TEST_CONFIG_BEGIN
 
 	config.supports_gl_compat_version = 10;
 	config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA;
+	config.window_width = 32;
+	config.window_height = 32;
 
 PIGLIT_GL_TEST_CONFIG_END
 
-- 
1.8.5.5



More information about the Piglit mailing list