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