[Mesa-dev] [PATCH mesa 07/12] i965: turn "unreachable" assert() into unreachable()
Eric Engestrom
eric.engestrom at intel.com
Mon Oct 29 17:13:28 UTC 2018
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");
}
return NULL;
}
--
Cheers,
Eric
More information about the mesa-dev
mailing list