mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader: Remove unnecessary fallthroughs (clangd).
This commit is contained in:
parent
6034f4a976
commit
f0da419a8c
Notes:
Alexandre Julliard
2023-10-12 23:35:30 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/402
@ -2464,9 +2464,6 @@ static struct spirv_compiler *spirv_compiler_create(const struct vkd3d_shader_ve
|
||||
compiler->formatting = option->value;
|
||||
break;
|
||||
|
||||
default:
|
||||
WARN("Ignoring unrecognised option %#x with value %#x.\n", option->name, option->value);
|
||||
|
||||
case VKD3D_SHADER_COMPILE_OPTION_API_VERSION:
|
||||
break;
|
||||
|
||||
@ -2482,6 +2479,10 @@ static struct spirv_compiler *spirv_compiler_create(const struct vkd3d_shader_ve
|
||||
case VKD3D_SHADER_COMPILE_OPTION_WRITE_TESS_GEOM_POINT_SIZE:
|
||||
compiler->write_tess_geom_point_size = option->value;
|
||||
break;
|
||||
|
||||
default:
|
||||
WARN("Ignoring unrecognised option %#x with value %#x.\n", option->name, option->value);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1805,10 +1805,11 @@ static bool shader_sm4_read_param(struct vkd3d_shader_sm4_parser *priv, const ui
|
||||
*modifier = VKD3DSPSM_ABSNEG;
|
||||
break;
|
||||
|
||||
case VKD3D_SM4_REGISTER_MODIFIER_NONE:
|
||||
break;
|
||||
|
||||
default:
|
||||
FIXME("Unhandled register modifier %#x.\n", m);
|
||||
/* fall-through */
|
||||
case VKD3D_SM4_REGISTER_MODIFIER_NONE:
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user