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 issue with copy shader not working in multiview #91059

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

BastiaanOlij
Copy link
Contributor

This should fix this error reported by @Malcolmnixon :

image

In multiview uv_interp is a vec3 variable, we need to swizzle it to allow this multiplication.

@BastiaanOlij
Copy link
Contributor Author

@Malcolmnixon if you can test this and verify it indeed fixes your issue? I didn't reproduce the issue but in theory this should fix it.

@akien-mga
Copy link
Member

Do you know which PR introduced the regression? We'd need to check it's not being cherry-picked, or that this fix would be cherry-picked alongside it.

@dsnopek
Copy link
Contributor

dsnopek commented Apr 23, 2024

I think it might be PR #90821 that introduced the issue.

@akien-mga akien-mga added the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Apr 23, 2024
@akien-mga
Copy link
Member

@clayjohn I'll let you evaluate whether we'd like to cherry-pick both or neither.

@clayjohn
Copy link
Member

Let's cherrypick both!

@akien-mga akien-mga merged commit a754bbc into godotengine:master Apr 23, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@BastiaanOlij BastiaanOlij deleted the fix_multiview_copy branch May 2, 2024 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release regression topic:rendering topic:xr topic:3d
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants