[Mesa-dev] [PATCH] mesa: Check FBO completeness in _mesa_valid_to_render() if it's unknown.
Kenneth Graunke
kenneth at whitecape.org
Tue Nov 27 21:42:10 PST 2012
On 11/27/2012 10:04 AM, Eric Anholt wrote:
> Kenneth Graunke <kenneth at whitecape.org> writes:
>
>> If _Status is 0, then we don't know whether the FBO is complete or not,
>> and need to recheck it.
>>
>> This fixes oglconform's drawBuffers-blend/basic.state.index0 test.
>
> This should already be happening through _mesa_update_state() ->
> _mesa_update_framebuffer(). Sounds like something in this testcase is
> hitting a path that's failing to _NEW_BUFFERS.
Huh. Actually, the test seems to pass with the latest master branch...I
guess someone must have fixed the real issue this patch was papering over.
(This patch had been sitting around for a couple weeks...I neglected to
retest before submitting. Sorry for the noise.)
More information about the mesa-dev
mailing list