mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 10:49:14 +00:00
Update WGSL vertex_idx i32 -> u32
Bug: dawn:572 Change-Id: I7d477481d06ffdfde6590c2297f2c3f5e704b044 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/34000 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
2b606e9297
commit
9175f00eec
@@ -57,7 +57,7 @@ namespace dawn_native {
|
||||
|
||||
[[location(0)]] var<out> texCoord: vec2<f32>;
|
||||
[[builtin(position)]] var<out> Position : vec4<f32>;
|
||||
[[builtin(vertex_idx)]] var<in> VertexIndex : i32;
|
||||
[[builtin(vertex_idx)]] var<in> VertexIndex : u32;
|
||||
[[binding(0), set(0)]] var<uniform> uniforms : Uniforms;
|
||||
[[stage(vertex)]]
|
||||
fn main() -> void {
|
||||
|
||||
Reference in New Issue
Block a user