compiler/spirv: update fallthrough comments
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7747>
This commit is contained in:
@@ -660,7 +660,7 @@ _vtn_variable_load_store(struct vtn_builder *b, bool load,
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* Fall through */
|
FALLTHROUGH;
|
||||||
|
|
||||||
case GLSL_TYPE_INTERFACE:
|
case GLSL_TYPE_INTERFACE:
|
||||||
case GLSL_TYPE_ARRAY:
|
case GLSL_TYPE_ARRAY:
|
||||||
@@ -1197,6 +1197,7 @@ apply_var_decoration(struct vtn_builder *b,
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
FALLTHROUGH;
|
||||||
}
|
}
|
||||||
|
|
||||||
case SpvDecorationSpecId:
|
case SpvDecorationSpecId:
|
||||||
@@ -1563,7 +1564,7 @@ vtn_mode_to_address_format(struct vtn_builder *b, enum vtn_variable_mode mode)
|
|||||||
case vtn_variable_mode_function:
|
case vtn_variable_mode_function:
|
||||||
if (b->physical_ptrs)
|
if (b->physical_ptrs)
|
||||||
return b->options->temp_addr_format;
|
return b->options->temp_addr_format;
|
||||||
/* Fall through. */
|
FALLTHROUGH;
|
||||||
|
|
||||||
case vtn_variable_mode_private:
|
case vtn_variable_mode_private:
|
||||||
case vtn_variable_mode_uniform:
|
case vtn_variable_mode_uniform:
|
||||||
|
Reference in New Issue
Block a user