Sign in
dawn
/
dawn
/
6af073cecc7cd68d39beaefadf63eb3bec54bb98
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
uniform
/
vec2_f32_in_mat2x2.wgsl.expected.wgsl
blob: 1891f2aaa23ccc239931138ededa2f13c36f9f64 [
file
] [
log
] [
blame
]
enable chromium_experimental_full_ptr_parameters
;
@group
(
0
)
@binding
(
0
)
var
<uniform>
S
:
mat2x2
<f32>
;
fn func
(
pointer
:
ptr
<
uniform
,
vec2
<f32>
>)
->
vec2
<f32>
{
return
*(
pointer
);
}
@compute
@workgroup_size
(
1
)
fn main
()
{
let
r
=
func
(&(
S
[
1
]));
}