dxmt
dxmt copied to clipboard
WIP: Fence
(work in progress)
I'm curious: what's making you go for manual tracking when you're implementing an API with automatic barriers on top of an API with automatic barriers?
I'm curious: what's making you go for manual tracking when you're implementing an API with automatic barriers on top of an API with automatic barriers?
- A prerequisite for resource suballocation. Currently every buffer allocation takes a minimum of 4kB (1 page) memory, which is not ideal especially on WoW64, thus to suballocate from a large buffer is desirable. However, with automatic tracking, it can create false dependency when two encoder read from/write to non-overlapping ranges of the same buffer.
- make Begin/EndUAVOverlap implementation possible
- it's faster, so why not?
The sub allocation one is definitely a good point. I always thought that the Metal 3 fence API would be too much of a mess to manage.