src/mesa: update fallthrough comments
clang doesn't support /* fallthrough */ so switch to fallthrough attribute. Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7747>
This commit is contained in:
@@ -318,7 +318,7 @@ update_shader_samplers(struct st_context *st,
|
||||
if (stObj->pt->format == PIPE_FORMAT_R8_G8B8_420_UNORM)
|
||||
/* no additional views needed */
|
||||
break;
|
||||
/* fallthrough */
|
||||
FALLTHROUGH;
|
||||
case PIPE_FORMAT_P010:
|
||||
case PIPE_FORMAT_P012:
|
||||
case PIPE_FORMAT_P016:
|
||||
|
Reference in New Issue
Block a user