Sweet shader progamming safety checks