Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[core] Reduce number of varyings to 8 or less#9251

Merged
jfirebaugh merged 1 commit into
masterfrom
minimize-varyings
Jun 13, 2017
Merged

[core] Reduce number of varyings to 8 or less#9251
jfirebaugh merged 1 commit into
masterfrom
minimize-varyings

Conversation

@jfirebaugh
Copy link
Copy Markdown
Contributor

For #pragmas, don't generate varyings for attributes that aren't used by the fragment shader. Pack other varyings more tightly.

I did some hand-editing of generated shader code because gl-native is out of sync with gl-js shaders.

Fixes #9209.

For #pragmas, don't generate varyings for attributes that aren't used by the fragment shader. Pack other varyings more tightly.
@jfirebaugh jfirebaugh requested review from ansis and kkaefer June 13, 2017 00:35
@kkaefer kkaefer added the Core The cross-platform C++ core, aka mbgl label Jun 13, 2017
@jfirebaugh jfirebaugh merged commit 31bf671 into master Jun 13, 2017
@jfirebaugh jfirebaugh deleted the minimize-varyings branch June 13, 2017 15:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Core The cross-platform C++ core, aka mbgl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants