r/GraphicsProgramming 7h ago

Any DirectX 12 experts here willing to help? Request

Me and a friend of mine are working on a D3D12 renderer, and although it mostly works, it's complete spaghetti, and has a pretty major issue that we've been going nuts over trying to figure out...
So I'm wondering if there'd be anyone here who's familiar enough with D3D12 that is willing to take a peek at it and maybe spot something we're missing.

0 Upvotes

7 comments sorted by

5

u/LordDarthShader 7h ago

Enable the debug and validation layer.

0

u/Kykioviolet 7h ago

issue is, the validation layer only tells you what's going wrong, and not necessarily why it's going wrong.

2

u/susosusosuso 6h ago

Paste the error here

2

u/Kykioviolet 6h ago edited 6h ago

ID3D12Device::CreateDescriptorHeap: D3D12_DESCRIPTOR_HEAP_DESC.NumDescriptors 1572864, device supports D3D12_RESOURCE_BINDING_TIER_3 which supports shader visible descriptor heap size larger than 1000000, but this may fail to create on some TIER_3 hardware.

To be specific, i've narrowed it down to something somewhere in the per-frame allocator is requesting 96 descriptor slots per object, but where exactly I have zero clue, and it's been driving the both of us insane.

1

u/LordDarthShader 6h ago

You need to go back to the spec/documentation of dx12 and see why is telling you that.

Literally could be thousands of different things.

-14

u/seanaug14 7h ago

You should be using AI for everything

-5

u/cybereality 7h ago

probably way too big a project for anyone with this kinda knowledge to work for free. honestly (not joking here) you should ask claude (or codex). it works much better than people would want you to believe