From cf6bc95a3d23df42618bb289038e301195a7dbed Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Sun, 25 Jun 2023 18:09:34 -0500 Subject: [PATCH] vkd3d-shader/hlsl: Use hlsl_block_add_instr() in clone_block(). --- libs/vkd3d-shader/hlsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d-shader/hlsl.c b/libs/vkd3d-shader/hlsl.c index 8f2c740a..8b706e1e 100644 --- a/libs/vkd3d-shader/hlsl.c +++ b/libs/vkd3d-shader/hlsl.c @@ -1544,7 +1544,7 @@ static bool clone_block(struct hlsl_ctx *ctx, struct hlsl_block *dst_block, hlsl_block_cleanup(dst_block); return false; } - list_add_tail(&dst_block->instrs, &dst->entry); + hlsl_block_add_instr(dst_block, dst); if (!list_empty(&src->uses)) {