• Advertisement
Sign in to follow this  

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

This topic is 2664 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
I want to know if this is possible or recommended.

And, does the Effect system run slower than the DIY mode??

Share this post


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

  • Advertisement