forked from rust-windowing/winit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Associate texture parameters in shaders with specific texture units, …
…to work around a macOS Radeon driver bug. Also, ensure there is always a dummy texture bound to every parameter in the OpenGL backend. These together stop the macOS Radeon drivers from recompiling the shader on every drawcall. Possibly addresses rust-windowing#300.
- Loading branch information
Showing
7 changed files
with
567 additions
and
318 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
Oops, something went wrong.