Sign in
dawn
/
dawn
/
2a7005f4161fe3088544faa6557aaaa85a9cbf77
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
storage
/
vec4_f32_in_mat2x4.wgsl
blob: 35ef5366357aeaa3c79e59192480634f2440139a [
file
] [
log
] [
blame
]
enable chromium_experimental_full_ptr_parameters
;
@group
(
0
)
@binding
(
0
)
var
<storage>
S
:
mat2x4
<f32>
;
fn func
(
pointer
:
ptr
<
storage
,
vec4
<f32>
>)
->
vec4
<f32>
{
return
*
pointer
;
}
@compute
@workgroup_size
(
1
)
fn main
()
{
let
r
=
func
(&
S
[
1
]);
}