Sign in
dawn
/
dawn
/
ad6d0d3c18fb19b4493d824d612795f3efc71a0f
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
uniform
/
vec2_f32_in_mat2x2.wgsl.expected.wgsl
blob: 041bd12e11806de43a0a2e76247f6b76ba532a2a [
file
] [
log
] [
blame
]
@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
]));
}