Commit d59c6969 authored by Austin Eng's avatar Austin Eng Committed by Chromium LUCI CQ

blink_perf.webgpu: Update "vertex_idx" -> "vertex_index"

This follows the deprecation of the old vertex_idx identifier in the
WGSL spec.

Bug: none
Change-Id: If3cf3d3b985b79b85b9807b17e5458bacd0805dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2643238
Auto-Submit: Austin Eng <enga@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: default avatarIan Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: default avatardsinclair <dsinclair@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845773}
parent e5154663
......@@ -38,7 +38,7 @@
vec2<f32>(0.5, -0.5));
[[builtin(position)]] var<out> Position : vec4<f32>;
[[builtin(vertex_idx)]] var<in> VertexIndex : u32;
[[builtin(vertex_index)]] var<in> VertexIndex : u32;
[[stage(vertex)]] fn main() -> void {
Position = vec4<f32>(pos[VertexIndex], 0.0, 1.0);
}`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment