Sign in to follow this  
shiqiu1105

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this