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