Sign in
dawn
/
dawn
/
refs/heads/main
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
vec4_f32_in_mat2x4.wgsl
blob: b65f9ba9e33bd1d4c05228452bd38ea389ac1ea7 [
file
] [
log
] [
blame
]
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
]);
}