Deprecate InputStepMode in favor of VertexStepMode

Bug: dawn:1023
Change-Id: Ib2b5f51538e25455779a303564b98b7ee4a7ab40
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/59443
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez 2021-07-25 17:21:15 +00:00 committed by Tint LUCI CQ
parent 1c6ff0ec3b
commit 13081d4e46
1 changed files with 4 additions and 1 deletions

View File

@ -63,7 +63,10 @@ enum class VertexFormat {
/// Describes if a vertex attributes increments with vertex index or instance /// Describes if a vertex attributes increments with vertex index or instance
/// index /// index
enum class InputStepMode { kVertex, kInstance, kLastEntry = kInstance }; enum class VertexStepMode { kVertex, kInstance, kLastEntry = kInstance };
/// Deprecated
using InputStepMode = VertexStepMode;
/// Describes a vertex attribute within a buffer /// Describes a vertex attribute within a buffer
struct VertexAttributeDescriptor { struct VertexAttributeDescriptor {