Disable Timestamp Query on macOS 11+
Bug: dawn:940 Change-Id: I74f5f3814dd4eb8b3b025f32ba1eb56a197cfec2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/59480 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
parent
21528281fd
commit
7839647a23
|
@ -225,7 +225,9 @@ namespace dawn_native { namespace metal {
|
|||
// Disable timestamp query on macOS 10.15 on AMD GPU because WriteTimestamp
|
||||
// fails to call without any copy commands on MTLBlitCommandEncoder. This issue
|
||||
// has been fixed on macOS 11.0. See crbug.com/dawn/545
|
||||
if (!gpu_info::IsAMD(GetPCIInfo().vendorId) || IsMacOSVersionAtLeast(11)) {
|
||||
// TODO(crbug.com/dawn/940): Disable timestamp query on macOS 11.0+. Need to
|
||||
// figure out what to do with dstOffset alignment on that system.
|
||||
if (!gpu_info::IsAMD(GetPCIInfo().vendorId) && !IsMacOSVersionAtLeast(11)) {
|
||||
mSupportedExtensions.EnableExtension(Extension::TimestampQuery);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue