Sign in
dawn
/
tint
/
a52324fde1d7c457c2755f9f88e1ef72d7200843
/
.
/
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
;
}