One more PR to track resource handles for submit time validation. This adds the resource handles referenced by the descriptors. New option sync_report_descriptor_resources controls this feature (disabled by default).
The previous PRs added handle reporting for handles specified directly through API commands, as in vkCmdCopyBuffer(buffer_a, buffer_b). Those handles have fixed and small memory footprint and they are always collected.
Shader can reference a lot of resources and it can take significant amount of memory depending on the application. That's the reason configuration option is introduced. Some numbers for the required amount of memory for descriptor resource handles from the test sessions: CS2: 70 Mb, Doom eternal: 600 Mb.
The next PR will use the information about tracked handles to detect a specific resource that caused hazard during submit time validation.
One more PR to track resource handles for submit time validation. This adds the resource handles referenced by the descriptors. New option
sync_report_descriptor_resources
controls this feature (disabled by default).The previous PRs added handle reporting for handles specified directly through API commands, as in
vkCmdCopyBuffer(buffer_a, buffer_b)
. Those handles have fixed and small memory footprint and they are always collected.Shader can reference a lot of resources and it can take significant amount of memory depending on the application. That's the reason configuration option is introduced. Some numbers for the required amount of memory for descriptor resource handles from the test sessions: CS2: 70 Mb, Doom eternal: 600 Mb.
The next PR will use the information about tracked handles to detect a specific resource that caused hazard during submit time validation.