mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
Handle debug markers commands for compute pass encoder
This CL makes sure debug markers commands are handled not only for render pass encoder, but also compute pass encoder. Bug: dawn:44 Change-Id: Iad1865d7c20e36d580e1f3f16496e4b90cc1ff34 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/9680 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
ae7e0026a5
commit
e58fbc48b8
@@ -579,6 +579,14 @@ namespace dawn_native { namespace opengl {
|
||||
cmd->dynamicOffsetCount, dynamicOffsets);
|
||||
} break;
|
||||
|
||||
case Command::InsertDebugMarker:
|
||||
case Command::PopDebugGroup:
|
||||
case Command::PushDebugGroup: {
|
||||
// Due to lack of linux driver support for GL_EXT_debug_marker
|
||||
// extension these functions are skipped.
|
||||
SkipCommand(&mCommands, type);
|
||||
} break;
|
||||
|
||||
default: { UNREACHABLE(); } break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user