microsoft / microsoft/DirectX-Graphics-Samples
Sample Request: D3D12 Hello Compute
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 6.8k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
Currently the only existing D3D12 compute sample is the D3D12NBody simulation. For those interested in DX12 for purely compute reasons, particularly with no DX12 background, the sample can be more daunting than it needs to be. A simple compute sample that's similar to D3D12 Hello World would be valuable. I'm thinking something along the lines of:
• Create a Compute PSO
• Dispatch2D that does something drop dead simple to a UAV (draw a circle using threadID + equation of a circle)
• Copy from the UAV to a back buffer
• Present
Having a D3D12 Hello Compute sample has the potential of being simpler than even the Hello World sample since compute requires less setup and is more generic than the 3D pipeline.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing D3D12NBody compute sample and the D3D12 Hello World sample to compare their setup. Define the standalone sample around the issue's proposed flow: create a Compute PSO, dispatch a simple UAV operation, copy it to a back buffer, and present it. Done means a simpler D3D12 compute sample is added for readers without DX12 background.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100