[Piglit] [PATCH] arb_texture_view-sampling-2d-array-as-cubemap: Probe the correct rectangle

Jason Ekstrand jason at jlekstrand.net
Thu Sep 4 15:43:19 PDT 2014


Signed-off-by: Jason Ekstrand <jason.ekstrand at intel.com>
Cc: Ilia Mirkin <imirkin at alum.mit.edu>

---
 tests/spec/arb_texture_view/sampling-2d-array-as-cubemap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/spec/arb_texture_view/sampling-2d-array-as-cubemap.c b/tests/spec/arb_texture_view/sampling-2d-array-as-cubemap.c
index 2366d0c..987c797 100644
--- a/tests/spec/arb_texture_view/sampling-2d-array-as-cubemap.c
+++ b/tests/spec/arb_texture_view/sampling-2d-array-as-cubemap.c
@@ -52,7 +52,7 @@ piglit_display(void)
 
 	piglit_draw_rect(-1, -1, 2, 2);
 
-	pass = piglit_probe_rect_rgba(-1, -1, 2, 2, green);
+	pass = piglit_probe_rect_rgba(0, 0, piglit_width, piglit_height, green);
 
 	piglit_present_results();
 
-- 
2.1.0



More information about the Piglit mailing list