Extend occlusion query test with fragment discard.