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