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