Advertisement

Overhead off unused DecriptorTables inside RootSignatures.

Started by December 04, 2017 02:09 PM
11 comments, last by SoldierOfLight 7 years, 2 months ago
1 minute ago, SoldierOfLight said:

No, because the same root signature and the same descriptor tables can be used across multiple draw calls using different PSOs. Theoretically if the driver wanted to spend a lot of time searching and accumulating across all PSOs and draws that used a particular descriptor table, they could, but that goes against the spirit of D3D12, which is that the app knows what it's doing and is being explicit about the work it wants done, so that the driver doesn't need to waste time trying to be smarter than the app.

Out of curiousity is the root signature implement using a Constant buffer on tier 1 and tier 2 hardware?  IIRC D3D12 has one less constant buffer to bind (at the same time) than D3D11.

-potential energy is easily made kinetic-

There's no prescribed implementation for root parameters. It is possible that they may be implemented as a constant buffer on some hardware, but that's not really relevant to the application. D3D11 exposes 14 CBs, and D3D12 also exposes 14 for tier 1 and 2.

This topic is closed to new replies.

Advertisement