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