Skip to content

screenshot: Call vkInvalidateMappedMemoryRanges, request host cached memory - #2686

Merged
charles-lunarg merged 2 commits into
LunarG:mainfrom
th3or14:main
Jul 30, 2026
Merged

screenshot: Call vkInvalidateMappedMemoryRanges, request host cached memory#2686
charles-lunarg merged 2 commits into
LunarG:mainfrom
th3or14:main

Conversation

@th3or14

@th3or14 th3or14 commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Addresses #2685. @charles-lunarg Please review.

@ci-tester-lunarg

Copy link
Copy Markdown

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

@CLAassistant

CLAassistant commented Jul 4, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@th3or14 th3or14 changed the title screenshot: call vkInvalidateMappedMemoryRanges, request host cached memory screenshot: Call vkInvalidateMappedMemoryRanges, request host cached memory Jul 4, 2026
@ci-tester-lunarg

Copy link
Copy Markdown

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

@ci-tester-lunarg

Copy link
Copy Markdown

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

@ci-tester-lunarg

Copy link
Copy Markdown

CI VulkanTools build queued with queue ID 35249.

@ci-tester-lunarg

Copy link
Copy Markdown

CI VulkanTools build # 5318 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI VulkanTools build # 5318 aborted.

@ci-tester-lunarg

Copy link
Copy Markdown

CI VulkanTools build queued with queue ID 35488.

@ci-tester-lunarg

Copy link
Copy Markdown

CI VulkanTools build # 5319 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI VulkanTools build # 5319 passed.

th3or14 added 2 commits July 30, 2026 04:17
Call vkInvalidateMappedMemoryRanges before reading the mapped memory on
the host because the mapped memory is created without
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT.
Attempt to create the mapped memory with
VK_MEMORY_PROPERTY_HOST_CACHED_BIT for performance boost. Fallback on a
memory type without this property if it's not supported.
@ci-tester-lunarg

Copy link
Copy Markdown

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

@th3or14

th3or14 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

Rebased on top of main in case the failing macOS job had been a blocker.

@charles-lunarg charles-lunarg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It looks reasonable - I tried this out locally and didn't hit any issues. Well thats not true, I found out that screenshot doesnt handle SFLOAT swapchain image formats, but thats unrelated to your changes. Apologies for the delay in review.

@ci-tester-lunarg

Copy link
Copy Markdown

CI VulkanTools build queued with queue ID 58888.

@ci-tester-lunarg

Copy link
Copy Markdown

CI VulkanTools build # 5348 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI VulkanTools build # 5348 passed.

@charles-lunarg
charles-lunarg merged commit b628c38 into LunarG:main Jul 30, 2026
8 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.

4 participants