[Mesa-dev] [PATCH mesa 07/12] i965: turn "unreachable" assert() into unreachable()
Emil Velikov
emil.l.velikov at gmail.com
Tue Oct 30 14:34:48 UTC 2018
On Mon, 29 Oct 2018 at 17:17, Eric Engestrom <eric.engestrom at intel.com> wrote:
>
> Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
> ---
> src/mesa/drivers/dri/i965/intel_tiled_memcpy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_tiled_memcpy.c b/src/mesa/drivers/dri/i965/intel_tiled_memcpy.c
> index b6bf96706f837606dcd6..627a18027cd13ada959b 100644
> --- a/src/mesa/drivers/dri/i965/intel_tiled_memcpy.c
> +++ b/src/mesa/drivers/dri/i965/intel_tiled_memcpy.c
> @@ -604,7 +604,7 @@ choose_copy_function(mem_copy_fn_type copy_type)
> return _memcpy_streaming_load;
> #endif
> default:
> - assert(!"unreachable");
> + unreachable("unhandled copy_type");
I'd squash this with the Wswitch patch?
-Emil
More information about the mesa-dev
mailing list