mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 02:39:11 +00:00
Handle debug markers commands on command encoder
This CL adds support for InsertDebugMarker, PushDebugGroup, and PopDebugGroup commands to CommandBuffer backends. Bug: dawn:44 Change-Id: Iaf075023d3072534fca02b71c0e205cbaa46cd0f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/28602 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Bryan Bernhart <bryan.bernhart@intel.com> Commit-Queue: Enrico Galli <enrico.galli@intel.com>
This commit is contained in:
committed by
Commit Bot service account
parent
1da25e5103
commit
6e2415256c
@@ -734,6 +734,15 @@ namespace dawn_native { namespace opengl {
|
||||
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