tests: Add descriptions to some of the tests.
diff --git a/tests/render_tests.cpp b/tests/render_tests.cpp
index d1b56ee..14be9f8 100644
--- a/tests/render_tests.cpp
+++ b/tests/render_tests.cpp
@@ -1662,6 +1662,7 @@
" gl_FragColor = inColor;\n"
"}\n";
+ TEST_DESCRIPTION("XGL-style shaders where fragment shader outputs to GLSL built-in gl_FragColor");
XGLTriangleTest(vertShaderText, fragShaderText);
}
@@ -1699,6 +1700,7 @@
" outColor = inColor;\n"
"}\n";
+ TEST_DESCRIPTION("XGL-style shaders where fragment shader outputs to output location 0, which should be the same as gl_FragColor");
XGLTriangleTest(vertShaderText, fragShaderText);
}
@@ -1738,6 +1740,7 @@
" gl_FragColor = inColor;\n"
"}\n";
+ TEST_DESCRIPTION("XGL-style shaders, but force test framework to compile shader to BIL and pass BIL to driver.");
XglTestFramework::m_use_bil = true;
@@ -1764,6 +1767,8 @@
" gl_FragColor = vec4(0,1,0,1);\n"
"}\n";
+ TEST_DESCRIPTION("Basic shader that renders a fixed Green triangle coded as part of the vertex shader.");
+
DrawTriangleTest(vertShaderText, fragShaderText);
}
@@ -1786,6 +1791,9 @@
"void main() {\n"
" gl_FragColor = vec4(0,1,0,1);\n"
"}\n";
+
+ TEST_DESCRIPTION("Same shader as GreenTriangle, but compiles shader to BIL and gives BIL to driver.");
+
XglTestFramework::m_use_bil = true;
DrawTriangleTest(vertShaderText, fragShaderText);
XglTestFramework::m_use_bil = saved_use_bil;