DirectX Compute Shader Example Code
Hi,
I am very interested in looking into Compute shader example code for DirectX10. Any chance that you guys will release some examples? I am aware of the example in the March SDK.

- Wolf
Hi,

I am very interested in looking into Compute shader example code for DirectX10. Any chance that you guys will release some examples? I am aware of the example in the March SDK.



- Wolf

#1
Posted 06/04/2009 02:19 PM   
Look at this:
[url="http://www.gamedev.net/community/forums/topic.asp?topic_id=516043"]http://www.gamedev.net/community/forums/to...topic_id=516043[/url]

#2
Posted 06/04/2009 03:25 PM   
Thanks for the link! I am looking into good examples how to implement particle systems with the Compute Shader for DX 10 cards ... a good starting point would help me.
Thanks for the link! I am looking into good examples how to implement particle systems with the Compute Shader for DX 10 cards ... a good starting point would help me.

#3
Posted 06/04/2009 04:25 PM   
I read that link and I really appreciate you don't have to do all that stuff in CUDA :)
Why is stuff from Microsoft always soooo complicated?
I read that link and I really appreciate you don't have to do all that stuff in CUDA :)

Why is stuff from Microsoft always soooo complicated?

#4
Posted 06/06/2009 06:54 PM   
Well, because this is MICROSOFT.
What Doesn't Kill You Makes You... Stranger :D
Well, because this is MICROSOFT.

What Doesn't Kill You Makes You... Stranger :D

#5
Posted 06/06/2009 07:04 PM   
[quote name='PDan' post='549650' date='Jun 6 2009, 08:54 PM']I read that link and I really appreciate you don't have to do all that stuff in CUDA :)
Why is stuff from Microsoft always soooo complicated?[/quote]

Oh my god, i´ve just finished my CUDA project and now Ive seen ComputeShader Example from DX11 DSK and.......... what is that??????? its so dificult, i prefer CUDA thousand times, developers should stay with CUDA, damm Microsoft!, what kind of code do you want people to write!!
[quote name='PDan' post='549650' date='Jun 6 2009, 08:54 PM']I read that link and I really appreciate you don't have to do all that stuff in CUDA :)

Why is stuff from Microsoft always soooo complicated?



Oh my god, i´ve just finished my CUDA project and now Ive seen ComputeShader Example from DX11 DSK and.......... what is that??????? its so dificult, i prefer CUDA thousand times, developers should stay with CUDA, damm Microsoft!, what kind of code do you want people to write!!

#6
Posted 09/12/2009 09:15 AM   
Hi there,

I've written up a brief primer on programming DirectCompute. Its very basic intended for those who may not have seen DirectX programming previously at all.

[url="http://openvidia.sourceforge.net/index.php/DirectCompute"]http://openvidia.sourceforge.net/index.php/DirectCompute[/url]

Its a wiki page and so if there's parts people would like to add or comment on, feel free to contact me for wiki write access.

Cheers!
-James
Hi there,



I've written up a brief primer on programming DirectCompute. Its very basic intended for those who may not have seen DirectX programming previously at all.



http://openvidia.sourceforge.net/index.php/DirectCompute



Its a wiki page and so if there's parts people would like to add or comment on, feel free to contact me for wiki write access.



Cheers!

-James

#7
Posted 09/22/2009 10:21 PM   
[quote name='mayouuu' post='587196' date='Sep 12 2009, 05:15 PM']Oh my god, i´ve just finished my CUDA project and now Ive seen ComputeShader Example from DX11 DSK and.......... what is that??????? its so dificult, i prefer CUDA thousand times, developers should stay with CUDA, damm Microsoft!, what kind of code do you want people to write!![/quote]

But for guys who are familar with DX10/11 programming,DXCompute may also be a good choice since the code style is similar and easier to intergrate into a DX Graphics app.
[quote name='mayouuu' post='587196' date='Sep 12 2009, 05:15 PM']Oh my god, i´ve just finished my CUDA project and now Ive seen ComputeShader Example from DX11 DSK and.......... what is that??????? its so dificult, i prefer CUDA thousand times, developers should stay with CUDA, damm Microsoft!, what kind of code do you want people to write!!



But for guys who are familar with DX10/11 programming,DXCompute may also be a good choice since the code style is similar and easier to intergrate into a DX Graphics app.

#8
Posted 10/10/2009 04:03 PM   
[quote name='wolfie' post='548807' date='Jun 4 2009, 04:19 PM']Hi,
I am very interested in looking into Compute shader example code for DirectX10. Any chance that you guys will release some examples? I am aware of the example in the March SDK.

- Wolf[/quote]

You can download the GPU Computing SDK here: [url="http://developer.nvidia.com/object/get-opencl.html"]http://developer.nvidia.com/object/get-opencl.html[/url]
Aside from OpenCL, it also includes C for Cuda and DirectCompute samples.
And I suppose you mean DirectX11? Compute Shaders can work on DirectX10 hardware (CS4.0), but only through the DirectX11 API.
[quote name='wolfie' post='548807' date='Jun 4 2009, 04:19 PM']Hi,

I am very interested in looking into Compute shader example code for DirectX10. Any chance that you guys will release some examples? I am aware of the example in the March SDK.



- Wolf



You can download the GPU Computing SDK here: http://developer.nvidia.com/object/get-opencl.html

Aside from OpenCL, it also includes C for Cuda and DirectCompute samples.

And I suppose you mean DirectX11? Compute Shaders can work on DirectX10 hardware (CS4.0), but only through the DirectX11 API.

#9
Posted 10/19/2009 10:16 AM   
Scroll To Top