Sign in
dawn
/
dawn
/
c451f620e51376e4d7652f5a0d08ca562932da7a
/
.
/
test
/
tint
/
ptr_ref
/
load
/
local
/
ptr_storage.wgsl.expected.msl
blob: 03332e6727f43e4d092e4a5e17dd1bb3c88a99a2 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
/* 0x0000 */
int
a
;
};
kernel
void
tint_symbol
(
device S
*
tint_symbol_1
[[
buffer
(
0
)]])
{
int
const
u
=
as_type
<int>
((
as_type
<uint>
((*(
tint_symbol_1
)).
a
)
+
as_type
<uint>
(
1
)));
return
;
}