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 some ES2 issues #7359

Merged
merged 1 commit into from
Nov 14, 2023
Merged

Fix some ES2 issues #7359

merged 1 commit into from
Nov 14, 2023

Conversation

elizagamedev
Copy link
Contributor

Fix specification of mipmaps when generating textures.

Fix oversight where emulated UBOs would not replace uniforms when swapped out for another.

filament/backend/src/opengl/OpenGLDriver.cpp Outdated Show resolved Hide resolved
filament/backend/src/opengl/OpenGLDriver.h Outdated Show resolved Hide resolved
@@ -83,11 +83,9 @@ class OpenGLDriver final : public DriverBase {
}

struct {
GLuint id;
Copy link
Collaborator

Choose a reason for hiding this comment

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

That's very unfortunate, it'll double the size of this structure for the regular case. I can't think of a better way though.

Fix specification of mipmaps when generating textures.

Fix oversight where emulated UBOs would not replace uniforms when swapped out
for another.
@elizagamedev
Copy link
Contributor Author

I made a slight change. I added a fix to depth_main.fs to remove the ESSL 3.0+ specific syntax with ESSL 1.0 compatible syntax which was in #7358 . That PR depends on upstream changes so I agreed with @poweifeng to delay it for now, but this fix is still critical for FL0 to function.

@elizagamedev elizagamedev merged commit 766e4f2 into main Nov 14, 2023
@elizagamedev elizagamedev deleted the exv/essl1-fixes branch November 14, 2023 21:39
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.

3 participants