This should finally shut up validation layers and also allows the branches in texture sample operations to be removed.