Sign in
dawn
/
tint
/
57489928c6bfc468c8b45e76446eb4b403c012d2
/
.
/
test
/
bug
/
fxc
/
matrix_assignment_dynamic_index
/
module_assign_vector.wgsl.expected.wgsl
blob: 856e7d363190970426baefd97ef3aee334549a7f [
file
] [
log
] [
blame
]
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
]
=
vec4
<f32>
(
1.0
);
}