Sign in
dawn
/
dawn
/
c3cbc35650189c0fcd1e190d4f947ad53f263ac5
/
.
/
test
/
tint
/
bug
/
fxc
/
matrix_assignment_dynamic_index
/
module_assign_vector.wgsl
blob: 0c80983cebf5ab22d648ffe290b4de0319ca05ba [
file
] [
log
] [
blame
]
struct
Uniforms
{
i
:
u32
,
j
:
u32
,
};
@group
(
1
)
@binding
(
4
)
var
<uniform>
uniforms
:
Uniforms
;
var
<private>
m1
:
mat2x4
<f32>
;
@compute
@workgroup_size
(
1
)
fn main
()
{
m1
[
uniforms
.
i
]
=
vec4
<f32>
(
1.0
);
}