Sign in
dawn
/
dawn
/
63adfb2508dc9f3ed27296a0efdd74545b1bded3
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
vec4_f32_in_struct.wgsl.expected.msl
blob: 738a398960ec0a8674cdd8d5fc6d979df39cd01b [
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
));
return
;
}