Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5714>
case GL_INT_2_10_10_10_REV:
wa_flags |= BRW_ATTRIB_WA_SIGN;
- /* fallthough */
+ /* fallthrough */
case GL_UNSIGNED_INT_2_10_10_10_REV:
if (glformat->Format == GL_BGRA)
switch (_mesa_get_format_base_format(mt->format)) {
case GL_INTENSITY:
override_color.u32[3] = override_color.u32[0];
- /* flow through */
+ /* fallthrough */
case GL_LUMINANCE:
case GL_LUMINANCE_ALPHA:
override_color.u32[1] = override_color.u32[0];
key->swizzles[i] |= SWIZZLE_ONE << (3 * i);
}
}
- /* fallthrough */
}
+ /* fallthrough */
case GL_RG32F:
/* The channel select for green doesn't work - we have to
* request blue. Haswell can use SCS for this, but Ivybridge
upload_format_size(upload_format) : glformat->Size;
switch (size) {
- case 0: comp0 = VFCOMP_STORE_0;
- case 1: comp1 = VFCOMP_STORE_0;
- case 2: comp2 = VFCOMP_STORE_0;
+ case 0: comp0 = VFCOMP_STORE_0; /* fallthrough */
+ case 1: comp1 = VFCOMP_STORE_0; /* fallthrough */
+ case 2: comp2 = VFCOMP_STORE_0; /* fallthrough */
case 3:
if (GEN_GEN >= 8 && glformat->Doubles) {
comp3 = VFCOMP_STORE_0;