vkd3d-shader/ir: Synthesize HS inputs with the register index and write mask of the signature element.

This pass was written as if to output normalized I/O, but it runs before the I/O
normalization pass.

Fixes: 98b5e2c6e01199d714d18fccfe54826a680aecbf
This commit is contained in:
Zebediah Figura 2023-10-24 16:55:16 -05:00 committed by Alexandre Julliard
parent 12240efa79
commit 852eefc01d
Notes: Alexandre Julliard 2023-11-07 22:41:09 +01:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/446

View File

@ -449,7 +449,8 @@ static enum vkd3d_result control_point_normaliser_emit_hs_input(struct control_p
shader_dst_param_io_init(param, e, VKD3DSPR_INPUT, 2);
param->reg.idx[0].offset = input_control_point_count;
param->reg.idx[1].offset = i;
param->reg.idx[1].offset = e->register_index;
param->write_mask = e->mask;
++ins;
}