Jump to content
  • Advertisement
Sign in to follow this  
nbertoa

[D3D11] Vertex Shader vs Instancing vs Geometry Shader

This topic is 960 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement

Good stuff. I was just recently wondering about the relative performances of these for my application. Thanks for the effort.

Share this post


Link to post
Share on other sites
Do you have the source available? Or, have you considered using a big static vertex buffer that doesn't get uploaded to every frame, and a SRV buffer bound to it for instance data? Then look up instance data using vertex ID.

Share this post


Link to post
Share on other sites
Hi Dongleberry.

Having a large static buffer is a good idea. I should test that too. I think performance will not change too much because I am not moving a lot of data from GPU to CPU in Instancing Technique.

Source code is in https://github.com/nicolasbertoa/D3DBase. Feel free to modify and make your own tests.

Share this post


Link to post
Share on other sites

Thank you for sharing your nice work, it would be nice to test on different hardware (Intel, ATi), because I suspect the conclusions will be different.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!