Sign in
dawn
/
tint
/
3530c6bf0641a95cc4bf8d43e54c7a484da8536d
/
.
/
test
/
statements
/
assign
/
phony
/
uniform_buffer.wgsl.expected.wgsl
blob: 15763ac3376312a92320091141cf7dcdb71da3c1 [
file
] [
log
] [
blame
]
Ben Clayton
1aa98e6
2021-10-21 23:04:44 +0000
[
diff
] [
blame
]
1
[[
block
]]
2
struct
S
{
3
i
:
i32
;
4
};
5
6
[[
binding
(
0
),
group
(
0
)]]
var
<uniform>
u
:
S
;
7
8
[[
stage
(
compute
),
workgroup_size
(
1
)]]
9
fn main
()
{
10
_
=
u
;
11
_
=
u
.
i
;
12
}