[v2,03/19] mesa_pack_invert/readpixels: enumerate subtests

Submitted by Dylan Baker on Dec. 3, 2018, 6:13 p.m.

Details

Message ID 20181203181358.12095-3-dylan@pnwbakers.com
State New
Headers show

Not browsing as part of any series.

Patch hide | download patch | download mbox

diff --git a/tests/spec/mesa_pack_invert/readpixels.c b/tests/spec/mesa_pack_invert/readpixels.c
index e7194d0e2..5aec9cc95 100644
--- a/tests/spec/mesa_pack_invert/readpixels.c
+++ b/tests/spec/mesa_pack_invert/readpixels.c
@@ -207,4 +207,13 @@  void piglit_init(int argc, char **argv)
 	piglit_require_extension("GL_ARB_pixel_buffer_object");
 	piglit_require_extension("GL_MESA_pack_invert");
 	piglit_require_extension("GL_EXT_bgra");
+
+	const char * names[] = {
+		"non-PBO unorm BGRA",
+		"PBO unorm BGRA",
+		"non-PBO float RGBA",
+		"PBO float RGBA",
+		NULL,
+	};
+	piglit_register_subtests(names);
 }