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