wined3d: Initialize max_blend_stages in the SPIRV fragment pipe.

This commit is contained in:
Elizabeth Figura 2024-06-09 12:50:30 -05:00 committed by Alexandre Julliard
parent 96c37c23f6
commit 1f42d452aa
Notes: Alexandre Julliard 2024-11-13 22:30:11 +01:00
Approved-by: Jan Sikorski (@jsikorski)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/wine/merge_requests/6756

View file

@ -1198,6 +1198,7 @@ static void spirv_fragment_pipe_vk_fp_disable(const struct wined3d_context *cont
static void spirv_fragment_pipe_vk_fp_get_caps(const struct wined3d_adapter *adapter, struct fragment_caps *caps)
{
memset(caps, 0, sizeof(*caps));
caps->max_blend_stages = WINED3D_MAX_FFP_TEXTURES;
}
static unsigned int spirv_fragment_pipe_vk_fp_get_emul_mask(const struct wined3d_adapter *adapter)