microsoft / microsoft/DirectX-Graphics-Samples
D3D12 errors in D3D12 Meshlet Culling sample
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 6.8k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
When I run D3D12MeshletCull project, I get these D3D12 errors:
D3D12 ERROR: ID3D12Device1::CreateMeshShader_TopologyMismatch: Since the mesh shader specifies output topology of line, if the PSO desc ALSO specifies a primitive topology (even though not necessary to do), it must be D3D12_PRIMITIVE_TOPOLOGY_TYPE_LINE to match the mesh shader. Since the topologies don't match, behavior is undefined. Earlier runtimes didn't validate this, so this error isn't explicitly failing PSO create. But this really should be considered an application error. [ MISCELLANEOUS ERROR #1323: CREATEMESHSHADER_TOPOLOGY_MISMATCH]
D3D12 ERROR: ID3D12Device1::CreateMeshShader_TopologyMismatch: Since the mesh shader specifies output topology of line, if the PSO desc ALSO specifies a primitive topology (even though not necessary to do), it must be D3D12_PRIMITIVE_TOPOLOGY_TYPE_LINE to match the mesh shader. Since the topologies don't match, behavior is undefined. Earlier runtimes didn't validate this, so this error isn't explicitly failing PSO create. But this really should be considered an application error. [ MISCELLANEOUS ERROR #1323: CREATEMESHSHADER_TOPOLOGY_MISMATCH]
OS: Windows 11 22H2
Visual Studio 17.5.4
GPU: Radeon RX 7900 XT, driver 23.4.1
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 with the D3D12MeshletCull project and reproduce the reported errors on the listed Windows, Visual Studio, and GPU setup. Trace the mesh shader and PSO configuration involved in the topology mismatch; done means the sample no longer reports the D3D12 topology mismatch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100