mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/hlsl: Use hlsl_block_add_instr() in clone_block().
This commit is contained in:
parent
4ae00cea43
commit
cf6bc95a3d
Notes:
Alexandre Julliard
2023-08-08 21:47:28 +09:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/290
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user