UNITY_HARDWARE_TIER2 is set when compiling shaders for GraphicsTier.Tier2.
Shader will have special per-tier variants only if #pragma hardware_tier_variants was used or if TierSettings for current platform are different (as they impact defines passed to shader compiler).
Did you find this page useful? Please give it a rating: