Skip to content

Descriptor Heap alignment#378

Open
spencer-lunarg wants to merge 1 commit intoKhronosGroup:mainfrom
spencer-lunarg:spencer-lunarg-heap-alignment
Open

Descriptor Heap alignment#378
spencer-lunarg wants to merge 1 commit intoKhronosGroup:mainfrom
spencer-lunarg:spencer-lunarg-heap-alignment

Conversation

@spencer-lunarg
Copy link
Copy Markdown
Contributor

@SaschaWillems @ziga-lunarg decided to write up a small section around Alignment, open to any other thoughts around it


Second is when you do descriptor indexing that are non-packed (strided).

image::{images}descriptor_heap_stride_alignment.svg[descriptor_heap_stride_alignment.svg]
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.... ok, so I need to update this VUID-VkDescriptorSetAndBindingMappingEXT-source-11252 forces heapArrayStride to be a multiple of bufferDescriptorSize

the issue I guess is really if the data from something PushData creates a bad address


== Alignment

One of the hardest issues making an application portal across vendors is mastering the art of alignment.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

portal => portable?

Copy link
Copy Markdown
Collaborator

@SaschaWillems SaschaWillems left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Some extremely valuable information in here 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants