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