Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

[SlimDX] Compute Shader question

Started by GoodFun Jun 4, 2010 at 3:03 PM 0 replies 1.5k views
Original Post
GoodFun
GoodFun
I am working on a compute shader and I want to do some speed test... I read somewhere that compute shaders are being executed asynchronously and I wonder if that is the case with the following call:

device.ImmediateContext.Dispatch(1, height, 1);

Can I just time how long this call takes or do I need to do queries or mapping of the result set to get accurate measurements?

Thanks
Marcel

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.