oizma / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

DepthStencilSurface not reset when frame buffer has no depth render target #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If I have a frame buffer with no depth render target attached, ANGLE doesn't 
properly call SetDepthStencilSurface(NULL).  This incorrectly leaves the 
previous depth stencil buffer set.

This appears to be because markAllStateDirty resets the applied depth buffer 
serial to 0, which also happens to be the signifier for "depth surface already 
set to NULL".

Original issue reported on code.google.com by enne@chromium.org on 17 Sep 2010 at 4:51

GoogleCodeExporter commented 9 years ago
Scratch that.  This appears to have been fixed by r420.  Chrome's version of 
ANGLE hasn't been rolled to that revision yet, so I didn't see it.

Original comment by enne@chromium.org on 17 Sep 2010 at 6:35

GoogleCodeExporter commented 9 years ago
This is a duplicate of the bug that got fixed in r419,r420, but there's nothing 
filed for it.

Original comment by enne@chromium.org on 20 Sep 2010 at 7:55