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