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

Fix potential crash when using multi-planar images. #2125

Merged

Conversation

billhollings
Copy link
Contributor

  • MVKImage add functions to consolidate mapping plane indexes to memory bindings to add safety in situation where one memory binding supports all planes.
  • Update MoltenVK version to 1.2.8 (unrelated).

This PR fixes an internal design issue uncovered during preliminary testing of PR #2116, the additional functionality of which caused certain CTS tests to crash. This PR fixes those crashes, and potentially other future crashes.

Initially pushing this to a temporary branch, until the current SDK release process is completed.

- MVKImage add functions to consolidate mapping plane indexes to memory bindings
  to add safety in situation where one memory binding supports all planes.
- Update MoltenVK version to 1.2.8 (unrelated).
@billhollings billhollings changed the base branch from 1.2.8-temp to main January 11, 2024 20:31
@billhollings billhollings merged commit 41ed2be into KhronosGroup:main Jan 11, 2024
6 checks passed
@billhollings billhollings deleted the fix-img-mem-bind-mapping branch January 11, 2024 20:33
@billhollings
Copy link
Contributor Author

Based on SDK testing, the official MoltenVK 1.2.7 SDK release is out now, so I'm pulling this directly into main, instead of a 1.2.8 branch.

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