https://bugs.freedesktop.org/show_bug.cgi?id=90213
Bug ID: 90213 Summary: glDrawPixels with GL_COLOR_INDEX never returns. Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Mesa core Assignee: mesa-dev@lists.freedesktop.org Reporter: juhapekka.heikk...@gmail.com QA Contact: mesa-dev@lists.freedesktop.org When I run glDrawPixels(width, height, GL_COLOR_INDEX, GL_UNSIGNED_BYTE, data) code execution never return. Commit 84eb402c01962e3ff4b70c9948c85a61ed81678f changed the path so we end up in _mesa_format_from_format_and_type at src/mesa/main/glformats.c:2682 which does not seem to know anything about GL_COLOR_INDEX. On release build this function should return a value but doesn't and gets confused, on debug build I get assert _mesa_format_from_format_and_type: Assertion `!"Unsupported format"' failed. I made minimalistic test for this, one can get it from here https://github.com/juhapekka/CI_test.git There seems also exist test in Piglit which does similar and halts Piglit run. Piglit test is gl-1.0-drawpixels-color-index -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev