vkd3d-shader: Add a fall-through to default case in shader_sm4_read_param().

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 2021-02-20 16:41:16 +02:00 committed by Alexandre Julliard
parent 804d191aee
commit 24537d3693

View File

@ -1551,6 +1551,7 @@ static bool shader_sm4_read_param(struct vkd3d_sm4_data *priv, const DWORD **ptr
default: default:
FIXME("Skipping modifier 0x%08x.\n", m); FIXME("Skipping modifier 0x%08x.\n", m);
/* fall-through */
case VKD3D_SM4_REGISTER_MODIFIER_NONE: case VKD3D_SM4_REGISTER_MODIFIER_NONE:
*modifier = VKD3DSPSM_NONE; *modifier = VKD3DSPSM_NONE;
break; break;