break;
default:
- _mesa_problem(NULL, "bad srcType in extract_uint_indexes");
- return;
+ unreachable("bad srcType in extract_uint_indexes");
}
}
}
break;
default:
- _mesa_problem(ctx, "bad dstType in _mesa_unpack_stencil_span");
+ unreachable("bad dstType in _mesa_unpack_stencil_span");
}
free(indexes);
}
break;
default:
- _mesa_problem(ctx, "bad type in _mesa_pack_index_span");
+ unreachable("bad type in _mesa_pack_index_span");
}
free(stencil);
}
break;
default:
- _mesa_problem(ctx, "bad type in _mesa_pack_depth_span (%s)",
- _mesa_enum_to_string(dstType));
+ unreachable("bad type in _mesa_pack_depth_span()");
}
free(depthCopy);