Sign in
dawn
/
tint
/
57489928c6bfc468c8b45e76446eb4b403c012d2
/
.
/
test
/
bug
/
fxc
/
matrix_assignment_dynamic_index
/
local_assign_scalar_x.wgsl.expected.wgsl
blob: c2015383f8015ac90de6eceda67ac8ed26ed6b65 [
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
;
}