mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-21 17:09:06 -07:00
wined3d: Initialize max_blend_stages in the SPIRV fragment pipe.
This commit is contained in:
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
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue