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

Metal: Ensure texture_create_from_extension returns correct pixel format #99905

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stuartcarnie
Copy link
Contributor

Prior implementation was ignoring the pixel format and returning the same texture.

Helps #98872

@stuartcarnie stuartcarnie requested a review from a team as a code owner December 1, 2024 19:25
Copy link
Contributor

@BastiaanOlij BastiaanOlij left a comment

Choose a reason for hiding this comment

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

The change looks good, I do wonder if we should validate the other parameters somehow to catch any issues but I think that is overkill.

Haven't been able to reproduce the OpenXR extension working on my Macbook Air but I am assuming that is an issue with the OpenXR PR, not with this. So I suggest this is merged ASAP.

Copy link
Contributor

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

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

This is working for me as part of PR #98872, using Meta's XR Simulator on my Mac Mini

stuartcarnie added a commit to stuartcarnie/godot that referenced this pull request Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants