Skip to content

Conversation

@pboyleQCOM
Copy link
Contributor

Adds AllocateMemory VU for VK_QCOM_tile_memory_heap

@pboyleQCOM pboyleQCOM requested a review from a team as a code owner December 22, 2025 20:31
@ci-tester-lunarg
Copy link
Collaborator

Author pboyleQCOM not on autobuild list. Waiting for curator authorization before starting CI build.

@pboyleQCOM pboyleQCOM force-pushed the VK_QCOM_tile_memory_heap_allocateMem branch from 922d0b2 to 38c7d0f Compare December 22, 2025 21:04
@ci-tester-lunarg
Copy link
Collaborator

Author pboyleQCOM not on autobuild list. Waiting for curator authorization before starting CI build.

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;
Copy link
Contributor Author

@pboyleQCOM pboyleQCOM Dec 22, 2025

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.

@pboyleQCOM pboyleQCOM force-pushed the VK_QCOM_tile_memory_heap_allocateMem branch from 38c7d0f to d8e78dd Compare December 22, 2025 21:16
@ci-tester-lunarg
Copy link
Collaborator

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;
Copy link
Contributor Author

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.

Copy link
Contributor

@spencer-lunarg spencer-lunarg left a 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

@ci-tester-lunarg
Copy link
Collaborator

Author pboyleQCOM not on autobuild list. Waiting for curator authorization before starting CI build.

@spencer-lunarg spencer-lunarg merged commit 09c0682 into KhronosGroup:main Dec 23, 2025
21 checks passed
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.

3 participants