Sign in
dawn
/
tint
/
refs/heads/chromium/4837
/
.
/
test
/
bug
/
fxc
/
matrix_assignment_dynamic_index
/
module_assign_scalar_xy.wgsl.expected.wgsl
blob: 99e8629876dea6d69e6368890618854719006a29 [
file
] [
log
] [
blame
] [
edit
]
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
][
uniforms
.
j
]
=
1.0
;
}