X Tutup
Skip to content

Fix OpenGL motion vector regression#114227

Merged
akien-mga merged 1 commit intogodotengine:masterfrom
BastiaanOlij:fix_asp_regression
Dec 21, 2025
Merged

Fix OpenGL motion vector regression#114227
akien-mga merged 1 commit intogodotengine:masterfrom
BastiaanOlij:fix_asp_regression

Conversation

@BastiaanOlij
Copy link
Contributor

Turns out the layout(std140) uniform SceneData prev_scene_data; // ubo:12 notation doesn't actually work, so splitting the UBO into two to work around the memory alignment issue only partially worked.

We'll need to investigate at some point in time whether this notation can be made to work, but for now I fixed the regression by going to the older notation that we seem to be using throughout the compatibility renderer.

Fixes #114203

Copy link
Contributor

@devloglogan devloglogan left a comment

Choose a reason for hiding this comment

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

This fixes the regression from my quick test! 😄 Thanks!

Side note, you might also want to add a typo fix for this variable from your previous PR.

@akien-mga akien-mga merged commit eebf414 into godotengine:master Dec 21, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@BastiaanOlij BastiaanOlij deleted the fix_asp_regression branch January 16, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Release Blocker

Development

Successfully merging this pull request may close these issues.

Motion vectors broken in compatibility renderer

3 participants

X Tutup