mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-31 03:41:01 +00:00
Don't ignore based on bound framebuffer for clear or direct writes
This commit is contained in:
@@ -846,7 +846,8 @@ rdcarray<EventUsage> QueryModifyingEvents(WrappedOpenGL *driver, GLPixelHistoryR
|
||||
eGL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, &objectType);
|
||||
// Ignore the event if the framebuffer is attached to a different mip level than the one we're
|
||||
// interested in
|
||||
if(objectType == eGL_TEXTURE)
|
||||
if(objectType == eGL_TEXTURE && events[i].usage != ResourceUsage::Clear &&
|
||||
!isDirectWrite(events[i].usage))
|
||||
{
|
||||
int attachedMipLevel;
|
||||
driver->glGetFramebufferAttachmentParameteriv(
|
||||
|
||||
Reference in New Issue
Block a user