Empty compute shaders have a register usage number of 22.

When running an application that dispatches a compute shader (dx11 or dx12), Nsight Graphics 2019.2.1.0 reports in the “Linked Programs View” that the register usage number is 22 for the compute shader.

The assembly code does not seem to show any use of registers. Is this expected behavior?

Hi PDJ,

Would you be able to provide a screenshot of exactly what you are seeing? It may be easiest to use the feedback button in the top right corner to share a screenshot with us easily.

I have an idea of what might be going on here, but want to be sure.

Thanks,
Seth

There should be a submitted screenshot of the case through the feedback.
Thank you.