Sign in
dawn
/
tint
/
refs/heads/chromium/4796
/
.
/
test
/
bug
/
fxc
/
matrix_assignment_dynamic_index
/
local_assign_scalar_xy.wgsl.expected.wgsl
blob: 11e2eaeb1bc92bc4d462fa6c42ef231785ffa27e [
file
] [
log
] [
blame
] [
edit
]
struct
Uniforms
{
i
:
u32
;
j
:
u32
;
};
[[
group
(
1
),
binding
(
4
)]]
var
<uniform>
uniforms
:
Uniforms
;
[[
stage
(
compute
),
workgroup_size
(
1
)]]
fn main
()
{
var
m1
:
mat2x4
<f32>
;
m1
[
uniforms
.
i
][
uniforms
.
j
]
=
1.0
;
}