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