Sign in
dawn
/
dawn
/
999db74a24031f54f0741285d7fa47bb8a56f2b0
/
.
/
test
/
tint
/
bug
/
fxc
/
matrix_assignment_dynamic_index
/
local_assign_scalar_y.wgsl
blob: 15112c5d0040a8e0aad837b3f63f84b290fb5893 [
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
[
0
][
uniforms
.
j
]
=
1.0
;
}