Sign in
dawn
/
dawn
/
refs/heads/chromium/6755
/
.
/
test
/
tint
/
bug
/
fxc
/
matrix_assignment_dynamic_index
/
module_assign_scalar_xy.wgsl.expected.ir.dxc.hlsl
blob: dc9d1269f1d7ddb07a048989986342975390700b [
file
] [
edit
]
cbuffer cbuffer_uniforms
:
register
(
b4
,
space1
)
{
uint4 uniforms
[
1
];
};
static
float2x4 m1
=
float2x4
((
0.0f
).
xxxx
,
(
0.0f
).
xxxx
);
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
uint
v
=
uniforms
[
0u
].
x
;
m1
[
v
][
uniforms
[
0u
].
y
]
=
1.0f
;
}