2 Replies Latest reply on Jan 18, 2011 9:35 PM by AveryYang

    DrawIndexed and DrawInstanced problem

    AveryYang

      Hi all,

      I'm using DirectX 10 to render a model 10 times.

      I use two methods to implement it:

      i. Just call DrawIndexed() 10 times

      ii. Using DrawInstanced()

      But I get the problem: the latter method's fps is lower than the former(fig 1).

      My program result.

      I use the GPU PerfStudio 2 to measure the performance, too.

      But the GPUTime shows every draw call have the same time(fig 2).

      GPU PerfStudio 2 result

      Does anyone have ideas?

      Thanks for reading patiently.

      Sincerely,

      Avery