New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 624506 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

glInvalidateFramebuffer(STENCIL) on a depth stencil texture also clears the depth

Project Member Reported by cwallez@chromium.org, Jun 29 2016

Issue description

On platforms supporting glInvalidateFramebuffer of the stencil attachment of a depth_stencil attachment, GLES2DecoderImpl::InvalidateFramebufferImpl sets dirty = true, causing the depth stencil texture to be considered unintialized (both depth and stencil). Then GLES2DecoderImpl::ClearLevel goes ahead and clears both the depth and stencil.

This causes failures in deqp/functional/gles3/fboinvalidate/whole.html for drivers supporting glInvalidateFramebuffer.

Mo, I'm not sure what is the best way to proceed. Should we make gl.invalidateFramebuffer be a noop for depth_stencil attachment, when only one of the two channels is cleared?
 

Comment 1 by zmo@chromium.org, Jun 29 2016

Making invalidateFramebuffer a noop in command buffer for depth_stencil sounds like a reasonable solution. We probably should explore a more complicated solution in MANGLE instead of in command buffer.
Project Member

Comment 2 by bugdroid1@chromium.org, Jun 29 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/96c0e3d1ec373deec7d7e50bcbdfa56eebfa5002

commit 96c0e3d1ec373deec7d7e50bcbdfa56eebfa5002
Author: cwallez <cwallez@chromium.org>
Date: Wed Jun 29 22:30:38 2016

WebGL CTS update bug ids for deqp/gles3/fboinvalidate/whole

BUG=624506
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2108303002
Cr-Commit-Position: refs/heads/master@{#402961}

[modify] https://crrev.com/96c0e3d1ec373deec7d7e50bcbdfa56eebfa5002/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py

Components: -Internals>GPU>WebGL Blink>WebGL
Project Member

Comment 5 by sheriffbot@chromium.org, Jun 21 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 6 by kbr@chromium.org, Jun 21 2018

Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)

Sign in to add a comment