Replace use of deprecated tint::transform::InputStepMode

Bug: dawn:1023
Change-Id: Ic5b0db7fc4a516077a62420cd97dcb09d30ee534
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/59780
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
Corentin Wallez 2021-07-26 19:04:58 +00:00 committed by Dawn LUCI CQ
parent 01cc968a9d
commit 4840b8a518
1 changed files with 3 additions and 3 deletions

View File

@ -119,12 +119,12 @@ namespace dawn_native {
UNREACHABLE();
}
tint::transform::InputStepMode ToTintVertexStepMode(wgpu::VertexStepMode mode) {
tint::transform::VertexStepMode ToTintVertexStepMode(wgpu::VertexStepMode mode) {
switch (mode) {
case wgpu::VertexStepMode::Vertex:
return tint::transform::InputStepMode::kVertex;
return tint::transform::VertexStepMode::kVertex;
case wgpu::VertexStepMode::Instance:
return tint::transform::InputStepMode::kInstance;
return tint::transform::VertexStepMode::kInstance;
}
}