Summary: | Mesa 17.2.5 implementation error: bad format MESA_FORMAT_Z_FLOAT32 in _mesa_unpack_uint_24_8_depth_stencil_row | ||
---|---|---|---|
Product: | Mesa | Reporter: | Sebastian Schulz <sebastian.schulz95> |
Component: | Drivers/DRI/i965 | Assignee: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | 17.2 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | All | ||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=94739 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Sebastian Schulz
2017-11-29 03:00:47 UTC
Took a quick look, this might be a bug in our glClearTexImage. If you give it the internal format GL_DEPTH_COMPONENT32F then it will work. But IIUC it should accept GL_DEPTH_COMPONENT as format as you have written (no matter what is the internal format used). Hello, There's an existing bug about this: https://bugs.freedesktop.org/show_bug.cgi?id=94739 I wrote a patch for it a few months ago: https://bugs.freedesktop.org/attachment.cgi?id=130338 Can you try that and see if that helps? The original reporter wasn't able to tell me whether it worked or not. It looks like later on Mika determined that it did, and I missed that. I'll submit the patch shortly... Slightly better patch here: https://patchwork.freedesktop.org/patch/191261/ Sorry for the late reply, it now works using the second patch you referred to. Thank you very much! *** This bug has been marked as a duplicate of bug 94739 *** Thanks for testing! Fix should land shortly... |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.