-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1695912 - Ensure shaders use 16 or fewer varying vectors even if …
…driver does not pack them. r=jrmuizel On some Adreno 3xx devices we have observed that the driver does not pack varyings in to vectors as efficiently as the spec mandates. This results in some of our shaders using a greater number of varying vectors than GL_MAX_VARYING_VECTORS (which 16 on this device), leading to shader compilation errors at run time. Work around this by manually packing our varyings in to fewer vectors. Additionally, add a test to ensure that we never use more than 16 vectors even if the driver were to perform no additional packing. Differential Revision: https://phabricator.services.mozilla.com/D107929 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/44347d27b4bb7ca16546dffe1d35905376d76a00
- Loading branch information
1 parent
5671424
commit b9d515a
Showing
8 changed files
with
90 additions
and
34 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters