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