<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [HSW] Mishandling of sample count when using an attachment-less framebuffer (assertion error)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93957#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [HSW] Mishandling of sample count when using an attachment-less framebuffer (assertion error)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93957">bug 93957</a>
from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>