Sign in
dawn
/
dawn
/
63adfb2508dc9f3ed27296a0efdd74545b1bded3
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
vec4_f32_in_mat2x4.wgsl
blob: 8b955691c79fad3ef484e031df44419210e7f1ee [
file
] [
log
] [
blame
]
enable chromium_experimental_full_ptr_parameters
;
fn func
(
pointer
:
ptr
<
function
,
vec4
<f32>
>)
->
vec4
<f32>
{
return
*
pointer
;
}
@compute
@workgroup_size
(
1
)
fn main
()
{
var
F
:
mat2x4
<f32>
;
let
r
=
func
(&
F
[
1
]);
}