mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Introduce an hlsl_block_add_block() helper.
This commit is contained in:
committed by
Alexandre Julliard
parent
ceac81b816
commit
1da5a9a490
Notes:
Alexandre Julliard
2023-04-06 22:22:24 +02: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/138
@@ -114,7 +114,7 @@ static struct hlsl_ir_node *new_offset_instr_from_deref(struct hlsl_ctx *ctx, st
|
||||
deref->offset_regset, loc)))
|
||||
return NULL;
|
||||
|
||||
list_move_tail(&block->instrs, &idx_block.instrs);
|
||||
hlsl_block_add_block(block, &idx_block);
|
||||
|
||||
type = hlsl_get_element_type_from_path_index(ctx, type, deref->path[i].node);
|
||||
}
|
||||
|
Reference in New Issue
Block a user