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:
Pierre-Eric Pelloux-Prayer
2020-11-24 11:04:00 +01:00
parent 9b3e6014a9
commit a2aa777b68
23 changed files with 141 additions and 133 deletions

View File

@@ -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: