Sign in
dawn
/
tint
/
3e80ae68ee4baa5a53d01bf5eb6795b416dc5bd5
/
.
/
test
/
bug
/
fxc
/
matrix_assignment_dynamic_index
/
local_assign_scalar_x.wgsl
blob: 30627d87ff80ef67daec135e0557b4c077623e21 [
file
] [
log
] [
blame
]
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
][
0
]
=
1.0
;
}