Sign in
dawn
/
dawn
/
6e77b47ed98e5a81ac2edd6115bd3434d5c766b9
/
.
/
test
/
tint
/
statements
/
compound_assign
/
vector
/
modulo-scalar.wgsl.expected.msl
blob: 697323bd875055dab596b9bca09ba2063970846b [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
/* 0x0000 */
int4 a
;
};
void
foo
(
device S
*
const
tint_symbol
)
{
(*(
tint_symbol
)).
a
=
((*(
tint_symbol
)).
a
%
2
);
}