forked from chromium/chromium
-
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.
command_buffer: Use GLSL core version that matches the OpenGL version
Use GLSL core version that matches OpenGL version as specified in the corresponding OpenGL specification. This makes it simpler to support GL extensions that depend on specific GLSL feature and are specified to be supported on contexts implementing the GLSL language version. Using the specified version as opposed to a hand-picked specific version should minimize the kind of regressions caused by forcing a specific core GLSL version in the past. The idea is that when implementing a client-side feature that requires a specific service-side GLSL feature, the feature_info can just check the corresponding GL context version. Typically context version of an extension is selected so that GLSL features match. Needed in implementing EXT_blend_func_extended in the client. The service side will be implemented with ARB_blend_func_extended, which uses custom outputs. Using compatibility output from ANGLE would result in gl_ built-ins as well as custom outputs, which is not allowed. BUG=471960 Review URL: https://codereview.chromium.org/1273693002 Cr-Commit-Position: refs/heads/master@{#343172}
- Loading branch information
Showing
8 changed files
with
216 additions
and
96 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.