[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
Mon Feb 1 19:11:56 UTC 2016


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

--- Comment #1 from Ilia Mirkin <imirkin at alum.mit.edu> ---
Looking a bit closer, in brw_upload_pipeline_state, we have:

   unsigned int fb_samples = _mesa_geometric_samples(ctx->DrawBuffer);

...

   if (brw->num_samples != fb_samples) {
      brw->num_samples = fb_samples;
      brw->ctx.NewDriverState |= BRW_NEW_NUM_SAMPLES;
   }

Presumably you can't make an actual fb attachment with the "wrong" number of
samples, but there's nothing to validate that here for the no-attachment case.
Not sure if the correct fix is to apply the correction here, or if it should be
handled in gen6_multisample_state.c directly.

-- 
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/20160201/ff5cbb10/attachment.html>


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