-
Notifications
You must be signed in to change notification settings - Fork 457
layers: Add AllocateMemory VU for VK_QCOM_tile_memory_heap #11340
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
layers: Add AllocateMemory VU for VK_QCOM_tile_memory_heap #11340
Conversation
|
Author pboyleQCOM not on autobuild list. Waiting for curator authorization before starting CI build. |
922d0b2 to
38c7d0f
Compare
|
Author pboyleQCOM not on autobuild list. Waiting for curator authorization before starting CI build. |
tests/icd/test_icd.cpp
Outdated
| pMemoryProperties->memoryTypes[5].propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; | ||
| pMemoryProperties->memoryTypes[5].heapIndex = 1; | ||
| // Device local for Tile Memory | ||
| pMemoryProperties->memoryTypes[5].propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; |
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.
Checking if this will just work. The Negative AHB test assumes not a tile memory type in the last slot.
38c7d0f to
d8e78dd
Compare
|
Author pboyleQCOM not on autobuild list. Waiting for curator authorization before starting CI build. |
| memory_allocate_info.allocationSize = ahb_props.allocationSize; | ||
| memory_allocate_info.memoryTypeIndex++; | ||
| #if defined(VVL_MOCK_ANDROID) | ||
| memory_allocate_info.memoryTypeIndex = 0xFFFFFFFF; |
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.
Previous idea did not work as it looks like there are some more assumptions. Trying this.
spencer-lunarg
left a comment
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.
Looks good with the AHB test fix
|
Author pboyleQCOM not on autobuild list. Waiting for curator authorization before starting CI build. |
Adds AllocateMemory VU for VK_QCOM_tile_memory_heap