Sign in
dawn
/
dawn
/
refs/heads/main
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
vec4_f32_in_struct.wgsl.expected.ir.msl
blob: b4fe48d29ee03888e857d376f652567cadff66cc [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
str
{
float4 i
;
};
float4 func
(
thread float4
*
const
pointer
)
{
return
(*
pointer
);
}
kernel
void
tint_symbol
()
{
str F
=
{};
float4
const
r
=
func
((&
F
.
i
));
}