diff options
author | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2019-08-05 09:20:24 +0300 |
---|---|---|
committer | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2019-08-05 15:28:57 +0300 |
commit | ff89c2e4a43360cb00db918bb6cd0fa3cf1bd9c6 (patch) | |
tree | cc06e39e50ba5ecebd1ac9efb9ee4f1768b3507b | |
parent | 8417ca1725d523493d8f6782699273dc056888ac (diff) | |
download | piglit-djdeath/debug-ci.tar.gz |
debug again blahdjdeath/debug-ci
-rw-r--r-- | tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler.c b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler.c index e1b47b863..333dc392b 100644 --- a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler.c +++ b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler.c @@ -92,16 +92,25 @@ piglit_display(void) float green[] = {0.0, 1.0, 0.0, 0.0}; float blue[] = {0.0, 0.0, 1.0, 0.0}; + fprintf(stderr, "piglit display1!\n"); + draw(green, 0.0f, false); glReleaseShaderCompiler(); + fprintf(stderr, "piglit display2!\n"); + draw(blue, 1.0f, true); glReleaseShaderCompiler(); + fprintf(stderr, "piglit display3!\n"); + pass &= piglit_probe_pixel_rgba(piglit_width / 4, piglit_height / 2, green); + fprintf(stderr, "pass0=%i\n", pass); pass &= piglit_probe_pixel_rgba(piglit_width * 3 / 4, piglit_height / 2, blue); + fprintf(stderr, "pass1=%i\n", pass); + fprintf(stderr, "glError=%i\n", glGetError()); assert(!glGetError()); piglit_present_results(); @@ -119,6 +128,8 @@ piglit_init(int argc, char **argv) +0.0, -1.0, 0.0, 1.0, }; + fprintf(stderr, "piglit init1!\n"); + piglit_require_gl_version(20); if (!piglit_is_extension_supported("GL_ARB_ES2_compatibility")) { @@ -126,6 +137,8 @@ piglit_init(int argc, char **argv) piglit_report_result(PIGLIT_SKIP); } + fprintf(stderr, "piglit init2!\n"); + glVertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, sizeof(float) * 4, verts); glEnableVertexAttribArray(0); |