Jump to content
  • Advertisement
Sign in to follow this  
shiqiu1105

Has anyone tried use the Compute Shader with effect frame work??

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

I wander if integrating the compute shader with the Effect11 framework is possible.

For example can I do this

in .fx
technique11 Compute{
pass p0
{
SetComputeShader(MyCS);
}
}

and in .cpp

pComputeTechnique->GetPassByIndex(0)->Apply(0, pContext);
pContext->Dispatch(x, y, z);

Share this post


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

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!