-
Notifications
You must be signed in to change notification settings - Fork 123
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
Track Buffer-Device-Addresses #1712
Track Buffer-Device-Addresses #1712
Conversation
- codegen adapted to forward device-addresses to overrides - store both capture/replay addresses
- do some sanity-checks with new buffer-tracker and - check sbt-properties, add warning
- trimming: covers case when no vkGetBufferDeviceAddress was captured
CI gfxreconstruct build queued with queue ID 249835. |
CI gfxreconstruct build # 4767 running. |
CI gfxreconstruct build queued with queue ID 249858. |
CI gfxreconstruct build # 4768 running. |
CI gfxreconstruct build # 4768 passed. |
belongs to portable raytracing issue |
CI gfxreconstruct build queued with queue ID 250067. |
CI gfxreconstruct build # 4773 running. |
CI gfxreconstruct build # 4773 passed. |
I suspect that in the end we won't actually need the replayer address lookup functionality, just for the capture address. We have a patch in review that removes the last uses of this in our raytracing branch. |
good point, it could be omitted. I thought the range-based lookup 'might' be useful, also for replay-addresses, in other places but can't give an actual example. |
- we'll prob. only require lookup of capture-time addresses
CI gfxreconstruct build queued with queue ID 253263. |
CI gfxreconstruct build # 4805 running. |
CI gfxreconstruct build # 4805 passed. |
CI gfxreconstruct build queued with queue ID 253933. |
CI gfxreconstruct build # 4808 running. |
CI gfxreconstruct build # 4808 passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few questions.
CI gfxreconstruct build queued with queue ID 257812. |
CI gfxreconstruct build # 4839 running. |
many thanks @charles-lunarg & @MarkY-LunarG! |
CI gfxreconstruct build # 4839 passed. |
VulkanBufferTracker
class -> map device-addresses (ranges) to BufferInfo*, O(log n)OverrideGetBufferDeviceAddress
, track capture/replay buffer-addresses during replayOverrideCmdTraceRaysKHR
, sprinkle asserts using buffer-tracker queriesOverrideBindBufferMemory
with tracking logicBuilding up necessary foundation as demonstrated by @bartosz-muszarski-arm's portable-raytracing branch