19 Oct
2022
19 Oct
'22
4:55 a.m.
Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl.y:
+ for (k = 0; k < dst_component_count; ++k) + { + if (!(load = add_load_component(ctx, instrs, node, k, loc))) + return NULL; + + if (!(store = hlsl_new_store_component(ctx, &block, &var_deref, k, &load->node))) + return NULL; + list_move_tail(instrs, &block.instrs); + } + + if (!(load = hlsl_new_var_load(ctx, var, *loc))) + return NULL; + list_add_tail(instrs, &load->node.entry); + + return &load->node; + } Can we reuse the above branch for this?
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/33#note_11243