Jump to content
  • Advertisement
Sign in to follow this  
TheMac

Shader calls to the GPU

This topic is 3767 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

Quick question about when sending hlsl commands to the GPU. When they are sent, does the execution of your code that is sending it (e.g. the gaming engine) wait until the gpu is done like forking? Is it reasonable to consider threading the calls to the GPU in order to add the GPU as another processor, and not have the rest of the engine wait for the execution of gpu to finish? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Most GPU calls are asynchronous. The API queues them to the command buffer, and returns immediately.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!