Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5799>
switch (util_format_get_blocksize(format)) {
case 1:
uc.ui[0] = uc.ui[0] << 8 | (uc.ui[0] & 0xff);
+ /* fallthrough */
case 2:
uc.ui[0] = uc.ui[0] << 16 | (uc.ui[0] & 0xffff);
+ /* fallthrough */
case 4:
uc.ui[1] = uc.ui[0];
+ /* fallthrough */
default:
return (uint64_t) uc.ui[1] << 32 | uc.ui[0];
}
need_mov = vec_dest_has_swizzle(alu, &nir_instr_as_intrinsic(instr)->dest.ssa);
break;
}
+ /* fallthrough */
default:
need_mov = true;
}
nir_instr_as_alu(p_instr)->op == nir_op_mov) {
break;
}
+ /* fallthrough */
default:
can_bypass_src = false;
break;
case PIPE_TEXTURE_2D_ARRAY:
if (tex_desc)
break;
+ /* fallthrough */
case PIPE_TEXTURE_3D:
return false;
default: