mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 18:29:23 +00:00
Query API: WriteTimestamp
Add WriteTimestamp API on CommandEncoder, ComputePassEncoder and RenderPassEncoder. Bug: dawn:434 Change-Id: Ifeca4efed01d80459d6fefa22ba05bea699b541f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/23244 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Hao Li <hao.x.li@intel.com>
This commit is contained in:
committed by
Commit Bot service account
parent
2ffc55ab38
commit
5191adc58c
@@ -712,6 +712,12 @@ namespace dawn_native { namespace opengl {
|
||||
break;
|
||||
}
|
||||
|
||||
case Command::WriteTimestamp: {
|
||||
// WriteTimestamp is not supported on OpenGL
|
||||
UNREACHABLE();
|
||||
break;
|
||||
}
|
||||
|
||||
default: {
|
||||
UNREACHABLE();
|
||||
break;
|
||||
@@ -786,6 +792,12 @@ namespace dawn_native { namespace opengl {
|
||||
break;
|
||||
}
|
||||
|
||||
case Command::WriteTimestamp: {
|
||||
// WriteTimestamp is not supported on OpenGL
|
||||
UNREACHABLE();
|
||||
break;
|
||||
}
|
||||
|
||||
default: {
|
||||
UNREACHABLE();
|
||||
break;
|
||||
@@ -1137,6 +1149,12 @@ namespace dawn_native { namespace opengl {
|
||||
break;
|
||||
}
|
||||
|
||||
case Command::WriteTimestamp: {
|
||||
// WriteTimestamp is not supported on OpenGL
|
||||
UNREACHABLE();
|
||||
break;
|
||||
}
|
||||
|
||||
default: {
|
||||
DoRenderBundleCommand(&mCommands, type);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user