Sign in
dawn
/
dawn
/
6e647fb401b75ce06f3e65e77e4dc591462b5781
/
.
/
test
/
tint
/
statements
/
compound_assign
/
vector
/
times-scalar.wgsl.expected.msl
blob: dcb841b8500775c46a17606b5dd410802d110db8 [
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
);
}