Sign in
dawn
/
dawn
/
ed15f8542825f25131c5a186e7de3737d49d327e
/
.
/
test
/
tint
/
ptr_sugar
/
vector_member.wgsl.expected.glsl
blob: 641ae8d1dfe95ddb1661c76b98fb2aa5cb71dcfd [
file
] [
log
] [
blame
]
#version 310 es
void
deref
()
{
ivec3 a
=
ivec3
(
0
);
int
b
=
a
.
x
;
a
[
0u
]
=
42
;
}
void
no_deref
()
{
ivec3 a
=
ivec3
(
0
);
int
b
=
a
.
x
;
a
[
0u
]
=
42
;
}
layout
(
local_size_x
=
1
,
local_size_y
=
1
,
local_size_z
=
1
)
in
;
void
main
()
{
deref
();
no_deref
();
}