Sign in
dawn
/
dawn
/
7c0693d9fe92244b3ae440c326d5c823ea71cb7e
/
.
/
test
/
bug
/
fxc
/
matrix_assignment_dynamic_index
/
local_assign_scalar_y.wgsl
blob: 345e6e065da3faaf908db219efc252f49f5c61f8 [
file
] [
log
] [
blame
]
[[
block
]]
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
[
0
][
uniforms
.
j
]
=
1.0
;
}