Chris Farley was originally cast to be the voice of Shrek, but he died before he could complete his voice work.
Chris Farley was originally chosen for the role of Shrek, a character that ultimately required his voice acting.  His untimely passing prevented him from completing this work.