nir: 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:02:00 +01:00
parent 5e7c00aacb
commit 805b6b426e
14 changed files with 21 additions and 16 deletions

View File

@@ -288,7 +288,7 @@ add_shader_variable(const struct gl_context *ctx,
return true;
}
}
/* fallthrough */
FALLTHROUGH;
default: {
/* The ARB_program_interface_query spec says: