-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Decouple OpenGL version from the logic for querying Uniform block buf…
…fer name Summary: The Uniform block buffer and member names used for querying the reflection data were tied to OpenGL version which is not necessarily always true. This led to platform specific bugs for example where certain materials using Uniform blocks rendered incorrectly on Windows on OpenGL 3.2. This diff ensures we go through all possible buffer names and use the one that matches. Reviewed By: syeh1, AmesingFlank Differential Revision: D53013021 fbshipit-source-id: 24351b0437b98a5701d0168bfa197c4bbb9dc644
- Loading branch information
1 parent
0810f11
commit a14e09c
Showing
2 changed files
with
50 additions
and
50 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