[Bug 110302] [bisected][regression] piglit egl-create-pbuffer-surface and egl-gl-colorspace regressions

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 29 22:30:47 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110302

--- Comment #9 from Andrés Gómez García <agomez at igalia.com> ---
The difference is:

# diff -uN good-3ad2a9b3fa.txt bad-c5c38e831ee.txt
--- good-3ad2a9b3fa.txt 2019-05-30 00:18:19.237415743 +0200
+++ bad-c5c38e831ee.txt 2019-05-30 00:18:28.441484427 +0200
@@ -49,8 +49,6 @@
 Mesa: glViewport 0 0 300 300
 Mesa: FLUSH_VERTICES in _mesa_LoadIdentity
 Mesa: glLoadIdentity()
-Mesa: FLUSH_VERTICES in _mesa_Ortho
-Mesa: glOrtho(0.000000, 300.000000, 0.000000, 300.000000, -1.000000, 1.000000)
 Mesa: FLUSH_VERTICES in _mesa_LoadIdentity
 Mesa: glLoadIdentity()
 Mesa: glClear 0x4000
@@ -80,13 +78,13 @@
 Mesa: FLUSH_VERTICES in _mesa_flush_vertices_for_blend_state
 Mesa: FLUSH_VERTICES in read_pixels
 Mesa: FLUSH_CURRENT in read_pixels
-Mesa: glReadPixels(20, 20, GL_RGBA, GL_UNSIGNED_BYTE, 0x5566061fe060)
+Mesa: glReadPixels(20, 20, GL_RGBA, GL_UNSIGNED_BYTE, 0x56238576fed0)
 Mesa: _mesa_update_state: (0x100008) ctx->Color, ctx->Array, 
 : Mesa debug output: FS SIMD8 shader: 14 inst, 0 loops, 308 cycles, 0:0
spills:fills, Promoted 0 constants, compacted 224 to 176 bytes.
 : Mesa debug output: FS SIMD16 shader: 14 inst, 0 loops, 322 cycles, 0:0
spills:fills, Promoted 0 constants, compacted 224 to 176 bytes.
 Mesa: FLUSH_VERTICES in read_pixels
 Mesa: FLUSH_CURRENT in read_pixels
-Mesa: glReadPixels(20, 20, GL_RGBA, GL_UNSIGNED_BYTE, 0x5566061fe060)
+Mesa: glReadPixels(20, 20, GL_RGBA, GL_UNSIGNED_BYTE, 0x56238576fed0)
 Mesa: FLUSH_VERTICES in intel_dri2_flush_with_flags
 Mesa: FLUSH_VERTICES in _mesa_flush
 Mesa: FLUSH_CURRENT in _mesa_flush
@@ -97,4 +95,10 @@
 Mesa: _mesa_make_current()
 Mesa: _mesa_make_current()
 Mesa: _mesa_make_current()
-PIGLIT: {"result": "pass" }
+Probe color at (0,0)
+  Expected: 0.000000 0.300000 0.000000
+  Observed: 0.501961 0.501961 0.501961
+Probe color at (20,0)
+  Expected: 0.000000 0.600000 0.000000
+  Observed: 0.501961 0.501961 0.501961
+PIGLIT: {"result": "fail" }


--


Basically, what we can see is, in the offending commit, glOrtho doesn't get
called.

Debugging with GDB, I see that piglit "correctly" gets the pointer to the
glOrtho function but, upon calling, nothing really happens. If I set a
breakpoint at the function, it doesn't stop. Basically, although the dispatch
table returns a pointer, it seems the pointer is not correct.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190529/fd85fe1e/attachment.html>


More information about the intel-3d-bugs mailing list