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