vkd3d-shader/dxil: Do not use COLOROUT for PS outputs.

sm4 does not use this; only sm1 does. In following patches we will normalize it
to OUTPUT.
This commit is contained in:
Zebediah Figura 2023-10-24 21:09:51 -05:00 committed by Alexandre Julliard
parent 90d178bf12
commit 133e313800
Notes: Alexandre Julliard 2023-11-10 00:09:49 +01:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/453

View File

@ -2650,9 +2650,7 @@ static void sm6_parser_emit_signature(struct sm6_parser *sm6, const struct shade
static void sm6_parser_init_output_signature(struct sm6_parser *sm6, const struct shader_signature *output_signature) static void sm6_parser_init_output_signature(struct sm6_parser *sm6, const struct shader_signature *output_signature)
{ {
sm6_parser_init_signature(sm6, output_signature, sm6_parser_init_signature(sm6, output_signature, VKD3DSPR_OUTPUT, sm6->output_params);
(sm6->p.shader_version.type == VKD3D_SHADER_TYPE_PIXEL) ? VKD3DSPR_COLOROUT : VKD3DSPR_OUTPUT,
sm6->output_params);
} }
static void sm6_parser_init_input_signature(struct sm6_parser *sm6, const struct shader_signature *input_signature) static void sm6_parser_init_input_signature(struct sm6_parser *sm6, const struct shader_signature *input_signature)