Sign in
dawn
/
dawn
/
4cd8452c3caf5e21868a284aac15e7afee7606b5
/
.
/
test
/
tint
/
statements
/
compound_assign
/
function.wgsl.expected.msl
blob: 3acbce949bd9b9d5a24b6ff4d37025faa30d3730 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
void
foo
()
{
int
a
=
0
;
float4 b
=
0.0f
;
float2x2 c
=
float2x2
(
0.0f
);
a
=
(
a
/
2
);
b
=
(
b
*
float4x4
(
float4
(
0.0f
),
float4
(
0.0f
),
float4
(
0.0f
),
float4
(
0.0f
)));
c
=
(
c
*
2.0f
);
}