Sign in
dawn
/
dawn
/
12d5c4dac6f33a29021f722bdb84969aa2f9d1bc
/
.
/
test
/
tint
/
identifiers
/
underscore
/
prefix
/
upper
/
struct.wgsl
blob: 29b59c0014e55df2e566595dc7a5f56aecff7bd7 [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
s
:
i32
;
struct
A
{
B
:
i32
,
};
struct
_A
{
_B
:
i32
,
};
@compute
@workgroup_size
(
1
)
fn f
()
{
let
c
=
_A
();
let
d
=
c
.
_B
;
s
=
c
.
_B
+
d
;
}