Commit 7d4ccc02 authored by Sergey Ulanov's avatar Sergey Ulanov Committed by Commit Bot

Remove NOTREACHED() from ToDawnFormat()

GPU process was crashing due to NOTREACHED() being reacheable when
playing video on Fuchsia. Removed NOTREACHED().

Bug: 1031793
Change-Id: I7b8e5ab9b155fe3661276871c658ec335a121960
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1957903
Auto-Submit: Sergey Ulanov <sergeyu@chromium.org>
Commit-Queue: Eric Karl <ericrk@chromium.org>
Reviewed-by: default avatarEric Karl <ericrk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#723513}
parent 31bccb38
...@@ -518,7 +518,6 @@ wgpu::TextureFormat ToDawnFormat(ResourceFormat format) { ...@@ -518,7 +518,6 @@ wgpu::TextureFormat ToDawnFormat(ResourceFormat format) {
case P010: case P010:
break; break;
} }
NOTREACHED() << "Unsupported format " << format;
return wgpu::TextureFormat::Undefined; return wgpu::TextureFormat::Undefined;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment