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