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:
parent
01cc968a9d
commit
4840b8a518
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue