Instead of building the Variant based on flags in RenderPass, we just pass the Variant itself to RenderPass. The caller has more knowledge of what it wants to do.