Sign in
dawn
/
dawn
/
4c8379a4ab2ad42a02eb8528ad01c15c879da803
/
.
/
test
/
tint
/
buffer
/
uniform
/
types
/
i32.wgsl.expected.msl
blob: 070bf749de64036b0a13ee60b9d5f2b226d0c4dd [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
tint_symbol
(
const
constant
int
*
tint_symbol_1
[[
buffer
(
0
)]],
device
int
*
tint_symbol_2
[[
buffer
(
1
)]])
{
int
const
x
=
*(
tint_symbol_1
);
*(
tint_symbol_2
)
=
x
;
return
;
}