enabling mask test, backface culling test, and inf tests only if feature enabled at compile time