Skip to content
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

Improve trim extension support #505

Merged
merged 4 commits into from
Feb 16, 2021

Conversation

mikes-lunarg
Copy link
Contributor

Add trim support for VK_KHR_timeline_semaphore and VK_VALVE_mutable_descriptor_type as well as miscellaneous bug fixes for trim/replay on vkd3d(proton 5.13)+radv(mesa 21.1)

This query is part of the VK_KHR_display wsi extension and should not be
replayed because the X11 Display connection cannot be remapped.

Change-Id: I6780dd46b31017ef6879e218801c10748de079e0
Add mutable_type array to DescriptorInfo to track the current descriptor
type as it is updated or copied.

Change-Id: I50ab94c29d238517b819933deae0f7272277b431
Track which semaphores are timeline semaphores and write commands to
restore their counter values when writing trim state.

Change-Id: I3b5f30fa6abd8bc9f3f40561eb03e5b1b14bc50f
Write descriptor state for COMBINED_IMAGE_SAMPLER descriptors if the
image is valid and the sampler is immutable. Previously, descriptors
with immutable samplers could be excluded from the trim state because
they did not have a valid sampler handle.

Change-Id: I2b89265fbb6817d37943c613dcd31248e4667500
@mikes-lunarg mikes-lunarg merged commit d72a55b into LunarG:dev Feb 16, 2021
@mikes-lunarg mikes-lunarg deleted the feature-vkd3d-trim-enhancements branch February 16, 2021 18:58
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.

2 participants