Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suballocate Buffers in DX12 #2720

Closed
Tracked by #2719
cwfitzgerald opened this issue Jun 2, 2022 · 0 comments · Fixed by #3163
Closed
Tracked by #2719

Suballocate Buffers in DX12 #2720

cwfitzgerald opened this issue Jun 2, 2022 · 0 comments · Fixed by #3163
Labels
api: dx12 Issues with DX12 or DXGI area: performance How fast things go help required We need community help to make this happen. type: enhancement New feature or request

Comments

@cwfitzgerald
Copy link
Member

cwfitzgerald commented Jun 2, 2022

We currently don't suballocate buffers or textures in DX12, we directly call CreateCommittedResource which creates a memory heap for each individual object. This is very slow, we should be suballocating larger heaps and using CreatePlacedResource. We would use gpu-alloc for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: dx12 Issues with DX12 or DXGI area: performance How fast things go help required We need community help to make this happen. type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant