wined3d: Handle WINED3DSPSM_NONE in shader_sm4_read_param().

Next titles call for it Dying Light, Mortal Shell, Deus Ex: Mankind Divided, Thief (2014).

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2022-01-10 18:05:08 +02:00 committed by Alexandre Julliard
parent 623f8ec0b2
commit 76c9fc8a76
1 changed files with 1 additions and 0 deletions

View File

@ -1460,6 +1460,7 @@ static BOOL shader_sm4_read_param(struct wined3d_sm4_data *priv, const DWORD **p
default:
FIXME("Skipping modifier 0x%08x.\n", m);
case 0x01:
*modifier = WINED3DSPSM_NONE;
break;
}