Sign in
dawn
/
dawn
/
61d4d888818dfcc979e56e59597db9ca7238ae82
/
.
/
test
/
tint
/
identifiers
/
underscore
/
prefix
/
lower
/
const.wgsl.expected.ir.msl
blob: b4da174970045407f0029cb34a76112135ede2fc [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
tint_module_vars_struct
{
device
int
*
s
;
};
kernel
void
f
(
device
int
*
s
[[
buffer
(
0
)]])
{
tint_module_vars_struct
const
tint_module_vars
=
{.
s
=
s
};
(*
tint_module_vars
.
s
)
=
3
;
}