<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [bisected, byt, bsw] arb_framebuffer_no_attachments.arb_framebuffer_no_attachments-atomic"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91017#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [bisected, byt, bsw] arb_framebuffer_no_attachments.arb_framebuffer_no_attachments-atomic"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91017">bug 91017</a>
from <span class="vcard"><a class="email" href="mailto:kevin.rogovin@intel.com" title="Kevin Rogovin <kevin.rogovin@intel.com>"> <span class="fn">Kevin Rogovin</span></a>
</span></b>
<pre>This is NOT a framebuffer_no_attachment bug.
Changing the test to NOT bind a framebuffer, essentially commenting out from
tests/spec/arb_framebuffer_no_attachments/atomic.c the block that binds an
attachmentless FBO:
glBindFramebuffer(GL_FRAMEBUFFER, fbo);
/* Setup default width and height. */
glFramebufferParameteri(GL_FRAMEBUFFER,
GL_FRAMEBUFFER_DEFAULT_WIDTH, piglit_width);
glFramebufferParameteri(GL_FRAMEBUFFER,
GL_FRAMEBUFFER_DEFAULT_HEIGHT, piglit_height);
/* Check that fbo is marked complete. */
if (glCheckFramebufferStatus(GL_FRAMEBUFFER) !=
GL_FRAMEBUFFER_COMPLETE)
piglit_report_result(PIGLIT_FAIL);
prog = piglit_build_simple_program(vs_source, fs_source);
/* Check that there are no errors. */
if (!prog || !piglit_check_gl_error(GL_NO_ERROR))
piglit_report_result(PIGLIT_FAIL);
produces the exact same error, i.e. this error is independent of FBO no
attachments and for that matter FBO's.
The bug source is likely to be a cache flush issue that manifests on atoms()
only. Changing the reset_count() implementation to instead use glBufferData
(creating a new BO) makes the test pass.</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>