vkd3d-shader/hlsl: Allow storing to matrices.

Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Giovanni Mascellani
2022-04-28 15:32:04 +02:00
committed by Alexandre Julliard
parent 1240a947d2
commit 38d7913f5f
4 changed files with 4 additions and 10 deletions

View File

@@ -2047,12 +2047,6 @@ static void write_sm4_store(struct hlsl_ctx *ctx,
struct sm4_instruction instr;
unsigned int writemask;
if (store->lhs.var->data_type->type == HLSL_CLASS_MATRIX)
{
hlsl_fixme(ctx, &store->node.loc, "Store to a matrix variable.");
return;
}
memset(&instr, 0, sizeof(instr));
instr.opcode = VKD3D_SM4_OP_MOV;