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