Sign in
dawn
/
dawn
/
7efe4860c97b491c8bb2480ca4fcff3f8372cab9
/
.
/
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
)));
}