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:
@@ -288,7 +288,7 @@ add_shader_variable(const struct gl_context *ctx,
|
||||
return true;
|
||||
}
|
||||
}
|
||||
/* fallthrough */
|
||||
FALLTHROUGH;
|
||||
|
||||
default: {
|
||||
/* The ARB_program_interface_query spec says:
|
||||
|
Reference in New Issue
Block a user