mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 18:29:23 +00:00
Support the group decoration.
This CL changes the set decoration to a group decoration. We still parse `set` until downstream users can be updated. Bug: tint:338 Change-Id: I610d1ed769b3a26c117ad6d875f8a99a3d5b7754 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/37920 Auto-Submit: dan sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
0e17caa361
commit
c068cfc139
@@ -134,7 +134,7 @@ struct TintVertexData {
|
||||
};
|
||||
|
||||
[[builtin(vertex_idx)]] var<in> _tint_pulling_vertex_index : i32;
|
||||
[[binding(0), set(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_0 : TintVertexData;
|
||||
[[binding(0), group(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_0 : TintVertexData;
|
||||
var<private> var_a : f32;
|
||||
|
||||
[[stage(vertex)]]
|
||||
@@ -173,7 +173,7 @@ struct TintVertexData {
|
||||
};
|
||||
|
||||
[[builtin(instance_idx)]] var<in> _tint_pulling_instance_index : i32;
|
||||
[[binding(0), set(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_0 : TintVertexData;
|
||||
[[binding(0), group(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_0 : TintVertexData;
|
||||
var<private> var_a : f32;
|
||||
|
||||
[[stage(vertex)]]
|
||||
@@ -212,7 +212,7 @@ struct TintVertexData {
|
||||
};
|
||||
|
||||
[[builtin(vertex_idx)]] var<in> _tint_pulling_vertex_index : i32;
|
||||
[[binding(0), set(5)]] var<storage_buffer> _tint_pulling_vertex_buffer_0 : TintVertexData;
|
||||
[[binding(0), group(5)]] var<storage_buffer> _tint_pulling_vertex_buffer_0 : TintVertexData;
|
||||
var<private> var_a : f32;
|
||||
|
||||
[[stage(vertex)]]
|
||||
@@ -255,8 +255,8 @@ struct TintVertexData {
|
||||
_tint_vertex_data : [[stride(4)]] array<u32>;
|
||||
};
|
||||
|
||||
[[binding(0), set(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_0 : TintVertexData;
|
||||
[[binding(1), set(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_1 : TintVertexData;
|
||||
[[binding(0), group(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_0 : TintVertexData;
|
||||
[[binding(1), group(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_1 : TintVertexData;
|
||||
var<private> var_a : f32;
|
||||
var<private> var_b : f32;
|
||||
[[builtin(vertex_idx)]] var<in> custom_vertex_index : i32;
|
||||
@@ -302,7 +302,7 @@ struct TintVertexData {
|
||||
};
|
||||
|
||||
[[builtin(vertex_idx)]] var<in> _tint_pulling_vertex_index : i32;
|
||||
[[binding(0), set(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_0 : TintVertexData;
|
||||
[[binding(0), group(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_0 : TintVertexData;
|
||||
var<private> var_a : f32;
|
||||
var<private> var_b : array<f32, 4>;
|
||||
|
||||
@@ -348,9 +348,9 @@ struct TintVertexData {
|
||||
};
|
||||
|
||||
[[builtin(vertex_idx)]] var<in> _tint_pulling_vertex_index : i32;
|
||||
[[binding(0), set(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_0 : TintVertexData;
|
||||
[[binding(1), set(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_1 : TintVertexData;
|
||||
[[binding(2), set(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_2 : TintVertexData;
|
||||
[[binding(0), group(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_0 : TintVertexData;
|
||||
[[binding(1), group(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_1 : TintVertexData;
|
||||
[[binding(2), group(4)]] var<storage_buffer> _tint_pulling_vertex_buffer_2 : TintVertexData;
|
||||
var<private> var_a : array<f32, 2>;
|
||||
var<private> var_b : array<f32, 3>;
|
||||
var<private> var_c : array<f32, 4>;
|
||||
|
||||
Reference in New Issue
Block a user