[Piglit] [PATCH v3 5/5] arb_gpu_shade5: fix output message in xfb-streams.c
Samuel Iglesias Gonsalvez
siglesias at igalia.com
Wed Aug 20 07:30:37 PDT 2014
This test had the primitives generated and transform feedback primitives
written message output saying the opposite.
Cc: Jordan Justen <jordan.l.justen at intel.com>
Signed-off-by: Samuel Iglesias Gonsalvez <siglesias at igalia.com>
---
tests/spec/arb_gpu_shader5/execution/xfb-streams.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/spec/arb_gpu_shader5/execution/xfb-streams.c b/tests/spec/arb_gpu_shader5/execution/xfb-streams.c
index 000c361..eb14856 100644
--- a/tests/spec/arb_gpu_shader5/execution/xfb-streams.c
+++ b/tests/spec/arb_gpu_shader5/execution/xfb-streams.c
@@ -134,13 +134,13 @@ probe_buffers(const GLuint *xfb, const GLuint *queries, unsigned primitive_n)
for (i = 0; i < STREAMS; i++) {
glGetQueryObjectuiv(queries[i], GL_QUERY_RESULT, &query_result);
if (query_result != primitive_n) {
- printf("Expected %u primitives written, got %u\n",
+ printf("Expected %u primitives generated, got %u\n",
primitive_n, query_result);
piglit_report_result(PIGLIT_FAIL);
}
glGetQueryObjectuiv(queries[STREAMS+i], GL_QUERY_RESULT, &query_result);
if (query_result != primitive_n) {
- printf("Expected %u primitives generated, got %u\n",
+ printf("Expected %u TF primitives written, got %u\n",
primitive_n, query_result);
piglit_report_result(PIGLIT_FAIL);
}
--
2.1.0.rc1
More information about the Piglit
mailing list