intel example for software occlusion culling
fix bug with incorrect sampling from the depth and frame buffers