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

Workaround for a bug in Adreno's shader compiler #6383

Merged
merged 1 commit into from
Dec 14, 2022
Merged

Conversation

pixelflinger
Copy link
Collaborator

At least some adreno compilers don't like returning an element of a UBO array that is a structure in the vertex shader. To work this around we have to copy the each of the structure fields.

Fixes #6355

shaders/src/getters.fs Outdated Show resolved Hide resolved
shaders/src/common_instancing.glsl Show resolved Hide resolved
At least some adreno compilers don't like returning an element of a
UBO array that is a structure in the vertex shader.
To work this around we have to copy the each of the structure fields.

Fixes #6355
@daemyung
Copy link
Contributor

@pixelflinger Really thanks!

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.

Shader link error on UBERARCHIVE_DEFAULT_DATA (Adreno Only)
4 participants