Sign in
dawn
/
dawn
/
00dd5a68ac099d4ebc8976075b169fc9be5ae655
/
.
/
test
/
tint
/
statements
/
compound_assign
/
matrix
/
plus.wgsl.expected.msl
blob: 9dc0ba5d00a34b5a5fda95ec1d57a04c9e6d9214 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
/* 0x0000 */
float4x4 a
;
};
void
foo
(
device S
*
const
tint_symbol
)
{
(*(
tint_symbol
)).
a
=
((*(
tint_symbol
)).
a
+
float4x4
(
float4
(
0.0f
),
float4
(
0.0f
),
float4
(
0.0f
),
float4
(
0.0f
)));
}