dawn: Fix unreachable code warning

Change-Id: I98fd18b4747365c6474dc1ca1f9003464d171ec7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100580
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
Ben Clayton 2022-08-26 20:52:53 +00:00 committed by Dawn LUCI CQ
parent a993e1913e
commit 92943b2831
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ tint::writer::glsl::Version::Standard ToTintGLStandard(opengl::OpenGLVersion::St
case opengl::OpenGLVersion::Standard::ES: case opengl::OpenGLVersion::Standard::ES:
return tint::writer::glsl::Version::Standard::kES; return tint::writer::glsl::Version::Standard::kES;
} }
UNREACHABLE();
} }
using BindingMap = std::unordered_map<tint::sem::BindingPoint, tint::sem::BindingPoint>; using BindingMap = std::unordered_map<tint::sem::BindingPoint, tint::sem::BindingPoint>;