[Bug 94142] Blits from GL_TEXTURE_2D_MULTISAMPLE GL_INT or GL_UINT surfaces are not handled correctly
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Feb 13 22:52:41 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=94142
Bug ID: 94142
Summary: Blits from GL_TEXTURE_2D_MULTISAMPLE GL_INT or GL_UINT
surfaces are not handled correctly
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/i965
Assignee: idr at freedesktop.org
Reporter: idr at freedesktop.org
QA Contact: intel-3d-bugs at lists.freedesktop.org
Created attachment 121740
--> https://bugs.freedesktop.org/attachment.cgi?id=121740&action=edit
Assertion that also shows the problem.
For reference, use 'git blame src/mesa/drivers/common/meta_blit.c 9e30d66b'.
Assume the blit is an MSAA-MSAA blit from a GL_TEXTURE_2D_MULTISAMPLE surface
with base type GL_INT.
Line 294 sets dst_is_msaa true.
Line 313 sets shader_index to BLIT_MSAA_SHADER_2D_MULTISAMPLE_COPY.
Line 339 increments shader_index by 5, and it is now
BLIT_1X_MSAA_SHADER_2D_MULTISAMPLE_ARRAY_RESOLVE.
Similar problems exist for GL_TEXTURE_2D_MULTISAMPLE_ARRAY blits. You really
only notice this problem is a blit of one kind is followed by a blit of a kind
that conflicts.
We should have piglit tests for this.
I noticed this because, while I was making other changes, I added an assertion
like the one in the attachment. Surely dst_is_msaa must be false when doing a
resolve blit. Alas.
--
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/20160213/c8994abb/attachment.html>
More information about the intel-3d-bugs
mailing list