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>
diff --git a/src/dawn_native/ShaderModule.cpp b/src/dawn_native/ShaderModule.cpp
index 69ff2c1..cb8704d 100644
--- a/src/dawn_native/ShaderModule.cpp
+++ b/src/dawn_native/ShaderModule.cpp
@@ -119,12 +119,12 @@
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;
}
}