vkd3d-shader/sm4: Use the VKD3D_DXBC_MAX_SOURCE_COUNT macro where possible.

This commit is contained in:
Zebediah Figura 2022-03-12 15:46:24 -06:00 committed by Alexandre Julliard
parent 35b48a8b04
commit ba08825ccd
Notes: Alexandre Julliard 2022-11-08 23:05:02 +01:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/45

View File

@ -91,7 +91,7 @@ struct vkd3d_shader_sm4_parser
unsigned int output_map[MAX_REG_OUTPUT];
struct vkd3d_shader_src_param src_param[6];
struct vkd3d_shader_src_param src_param[VKD3D_DXBC_MAX_SOURCE_COUNT];
struct vkd3d_shader_dst_param dst_param[2];
struct list src_free;
struct list src;