tests/hlsl: Add a test for SV_PrimitiveId inputs and outputs.
vkd3d-shader/dxil: Handle SV_PrimitiveId outputs.