Sign in
dawn
/
dawn
/
63adfb2508dc9f3ed27296a0efdd74545b1bded3
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
uniform
/
vec2_f32_in_mat2x2.wgsl
blob: e84f1a14d6516c9ba08b2d3ab0577e7a299ec89c [
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
]);
}