Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Best-effort rendering when GPU does not support full dataset (#4424)
* show better gpu error messages * temporarily disable some CI steps * remove accidental error throwing * don't expose all color layers to shader * don't throw when not enough textures are available * dynamically re-compile shader with least-recently used layers in case the hardware does not support accessing all textures at the same time * warn user if more than the supported layer count is enabled * ensure that the maximum amount of renderable layers is used from the beginning * remove isBasicRenderingSupported flag since it's not useful anymore * throttle shader recomputation and refactor a bit * further clean up * properly take segmentation layer into account * reactivate full CI checks * fix tests * guard against mesa driver on firefox which does not support more than 16 samplers * incorporate pr feedback * linting * remove comment * update changelog * Merge branch 'master' into better-gpu-error-msg-graceful-rendering
- Loading branch information
1 parent
b3d87e9
commit 8d662a2
Showing
16 changed files
with
295 additions
and
94 deletions.
There are no files selected for viewing
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
Oops, something went wrong.