-
Notifications
You must be signed in to change notification settings - Fork 452
GPU-AV: Add a root node to access validation buffers through pointers #10551
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
base: main
Are you sure you want to change the base?
Conversation
CI Vulkan-ValidationLayers build queued with queue ID 512626. |
CI Vulkan-ValidationLayers build # 20835 running. |
layers/gpuav/core/gpuav_setup.cpp
Outdated
indices_buffer_alignment_ = | ||
sizeof(uint32_t) * | ||
static_cast<uint32_t>( | ||
phys_dev_props.limits.minStorageBufferOffsetAlignment); // #ARNO_TODO need to find correct alignment, we align |
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.
looking into now myself, also nit, add comment above line so clang-format doesn't go crazy here
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.
So in the end, this alignment can be whatever I want, as long as the buffer_reference_align
in the corresponding shader buffer is respected?
wds.pBufferInfo = &dbi; | ||
|
||
DispatchUpdateDescriptorSets(gpuav.device, 1, &wds, 0, nullptr); | ||
#if 0 |
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.
remove before we merge
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.
yep
const int kBindingInstCmdResourceIndex = 6; | ||
const int kBindingInstCmdErrorsCount = 7; | ||
const int kBindingInstVertexAttributeFetchLimits = 8; | ||
// #ARNO_TODO will be 0, once I get rid of validation pipeline specific descriptor set |
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.
"will be zero" but it is zero... not sure what you mean here
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.
old stuff
layers/gpuav/shaders/instrumentation/buffer_device_address.comp
Outdated
Show resolved
Hide resolved
CI Vulkan-ValidationLayers build # 20835 failed. |
CI Vulkan-ValidationLayers build queued with queue ID 512754. |
CI Vulkan-ValidationLayers build # 20839 running. |
CI Vulkan-ValidationLayers build # 20839 failed. |
579d72d
to
18c91ad
Compare
CI Vulkan-ValidationLayers build queued with queue ID 513108. |
CI Vulkan-ValidationLayers build # 20844 running. |
18c91ad
to
411c2fc
Compare
CI Vulkan-ValidationLayers build queued with queue ID 513124. |
411c2fc
to
45564c5
Compare
CI Vulkan-ValidationLayers build queued with queue ID 513139. |
CI Vulkan-ValidationLayers build # 20846 running. |
CI Vulkan-ValidationLayers build # 20846 failed. |
45564c5
to
02b1088
Compare
CI Vulkan-ValidationLayers build queued with queue ID 513248. |
CI Vulkan-ValidationLayers build # 20848 running. |
CI Vulkan-ValidationLayers build # 20848 failed. |
02b1088
to
c1cd997
Compare
CI Vulkan-ValidationLayers build queued with queue ID 517357. |
CI Vulkan-ValidationLayers build # 20895 running. |
CI Vulkan-ValidationLayers build # 20895 failed. |
c1cd997
to
06e29b4
Compare
CI Vulkan-ValidationLayers build queued with queue ID 519918. |
CI Vulkan-ValidationLayers build # 20920 running. |
06e29b4
to
920e9c0
Compare
CI Vulkan-ValidationLayers build queued with queue ID 519955. |
CI Vulkan-ValidationLayers build # 20921 running. |
CI Vulkan-ValidationLayers build # 20921 failed. |
920e9c0
to
7ff0ceb
Compare
CI Vulkan-ValidationLayers build queued with queue ID 520037. |
CI Vulkan-ValidationLayers build # 20923 running. |
CI Vulkan-ValidationLayers build # 20923 failed. |
7ff0ceb
to
f4577b9
Compare
CI Vulkan-ValidationLayers build queued with queue ID 520395. |
CI Vulkan-ValidationLayers build # 20929 running. |
First step toward removing usage of descriptor sets in GPU-AV Have a "root node" buffer, accessed through its address, and itself pointing to the various buffers needed to perform validation.
f4577b9
to
69e2186
Compare
CI Vulkan-ValidationLayers build queued with queue ID 520436. |
CI Vulkan-ValidationLayers build # 20930 running. |
CI Vulkan-ValidationLayers build # 20930 failed. |
No description provided.