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