That's how the US patent system works now. "The first inventor to file (FITF) provision of the America Invents Act transitions the U.S. to a first-inventor-to-file system from a first-to-invent system and became effective on March 16, 2013" https://www.uspto.gov/patents/first-inventor-file-fitf-resou...
To be clear, first-to-file just means that in the event that the patent is granted, it's awarded to the person who filed first instead of the "actual" inventor. However, the patent can still be invalidated for prior art. The net effect of this is that AMD lost their ability to patent their invention by not filing first.
If you have a great idea for air-conditioned socks, you file your initial notes/work with your patent attorney, and that is sufficient (general hand-waving about officer of the court and so on.)