UNITY_HARDWARE_TIER3 is set when compiling shaders for GraphicsTier.Tier3.
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).