Depth buffer processing is added.
Warning: This commit is based on modified version of GPipe, that i am
going to commit a little bit later.