[Bug 93704] Stencil blits from targets other than GL_TEXTURE_2D or GL_TEXTURE_2D_MULTISAMPLE are probably broken
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jan 13 18:46:09 PST 2016
https://bugs.freedesktop.org/show_bug.cgi?id=93704
Bug ID: 93704
Summary: Stencil blits from targets other than GL_TEXTURE_2D or
GL_TEXTURE_2D_MULTISAMPLE are probably broken
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
The setup_program function in brw_meta_stencil_blit.c
(http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c#n282)
can only generate shader variations for GL_TEXTURE_2D and
GL_TEXTURE_2D_MULTISAMPLE. However, if I add an assertion
assert(target == GL_TEXTURE_2D || target == GL_TEXTURE_2D_MULTISAMPLE);
at the single caller of the function, the
arb_stencil_texturing-blit_corrupts_state test
(http://patchwork.freedesktop.org/patch/70427/) fails the assertion for every
other target. That indicates to me that blits from those other targets
probably don't work.
We need a test like arb_stencil_texturing-blit_corrupts_state that verifies the
result of blitting from every possible texture target. It shouldn't be too
hard to adapt the existing arb_stencil_texturing-draw test.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160114/c4dfcbd9/attachment.html>
More information about the intel-3d-bugs
mailing list