Sign in
dawn
/
tint
/
30d55fabc91fc7f9cd6b0d2f7fdf53b984168ed2
/
.
/
test
/
bug
/
fxc
/
matrix_assignment_dynamic_index
/
module_assign_scalar_x.wgsl
blob: d12c19cdd380302e204a039823bd16ecb736b6e2 [
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
[
uniforms
.
i
][
0
]
=
1.0
;
}