Hello, thank you for getting in touch and for your support!
Due to a limitation in the surface shaders it won't be possible to accomplish this through them, however, in a
vertex/frag template it should be possible although it would require some additional modification in order to ensure that it works.
The HD templates already have the necessary structures for this, but they're only used internally by the HD and we don't provide any port that can modify them.
Could you please provide further information regarding the context in which you want to implement this?
Are you looking to use it specifically in one of the new scriptable render pipelines?