[Bug 93957] [HSW] Mishandling of sample count when using an attachment-less framebuffer (assertion error)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 3 18:08:39 UTC 2016


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

--- Comment #2 from Neil Roberts <neil at linux.intel.com> ---
I started looking into this and made a Piglit test for it here:

http://patchwork.freedesktop.org/patch/72536/

The test shows up more problems in that the value of glGetInteger(GL_SAMPLES)
and also gl_NumSamples in the fragment shader is always 0 with a framebuffer
with no attachments.

I think the solution would be to make these two variables use
_mesa_geometric_samples and then somehow make that function give the driver a
chance to return a quantized result. That would also fix the driver side when
programming the multisample state because it already calls
_mesa_geometric_samples to determine the sample count.

-- 
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/20160203/6881b9ce/attachment.html>


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