From my tests, it doesn't write `dcl_xx` instructions at all.
Ah, you're right. Somehow I got it into my head that there was a version that wrote dcl but didn't write the sampler type.
Should I skip writing the `dcl_xx` sampler declaration instructions for `ps_1_x`, then?
Indeed.