Sign in
dawn
/
dawn
/
adaa316da8417eba6b63f981351c2908341b67dc
/
.
/
test
/
tint
/
statements
/
compound_assign
/
vector
/
minus-scalar.wgsl.expected.msl
blob: 3b7c3179f98bb819ed8a9fe1bf02704841a8b3d8 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
/* 0x0000 */
float4 a
;
};
void
foo
(
device S
*
const
tint_symbol
)
{
(*(
tint_symbol
)).
a
=
((*(
tint_symbol
)).
a
-
2.0f
);
}