It’s the same for d3d10. Both D10State and D11State extend Pipe. Yeah, the logic should be moved there and Pipe should be renamed.

Can we do that after this PR though?