Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Side by Side Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_path_rendering.txt

Issue 1415763009: command_buffer: Make inactive bound fragment inputs reserve the location (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@binduniformlocation-reserve-location
Patch Set: rebase Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Name 1 Name
2 2
3 CHROMIUM_path_rendering 3 CHROMIUM_path_rendering
4 4
5 Name Strings 5 Name Strings
6 6
7 GL_CHROMIUM_path_rendering 7 GL_CHROMIUM_path_rendering
8 8
9 Version 9 Version
10 10
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 "gl_" prefix. 1020 "gl_" prefix.
1021 1021
1022 When a program is linked, any active uniforms without a binding specified 1022 When a program is linked, any active uniforms without a binding specified
1023 through BindFragmentInputLocation will be automatically be bound to 1023 through BindFragmentInputLocation will be automatically be bound to
1024 locations by the GL. Such bindings can not be queried. 1024 locations by the GL. Such bindings can not be queried.
1025 1025
1026 BindFragmentInputLocation may be issued before any shader objects are 1026 BindFragmentInputLocation may be issued before any shader objects are
1027 attached to a program object. Hence it is allowed to bind any name (except 1027 attached to a program object. Hence it is allowed to bind any name (except
1028 a name starting with "gl_") to an index, including a name that is never used 1028 a name starting with "gl_") to an index, including a name that is never used
1029 as a varying in the fragment shader object. Assigned bindings for varying 1029 as a varying in the fragment shader object. Assigned bindings for varying
1030 variables that do not exist or are not active are ignored. 1030 variables that do not exist or are not active are ignored. Using such bindin gs
1031 behaves as if passed location was -1.
1031 1032
1032 It is possible for an application to bind more than one fragment 1033 It is possible for an application to bind more than one fragment
1033 input name to the same location. This is referred to as aliasing. 1034 input name to the same location. This is referred to as aliasing.
1034 This will only work if only one of the aliased fragment inputs is 1035 This will only work if only one of the aliased fragment inputs is
1035 active in the executable program, or if no path through the shader 1036 active in the executable program, or if no path through the shader
1036 consumes more than one fragment input of a set of fragment inputs 1037 consumes more than one fragment input of a set of fragment inputs
1037 aliased to the same location. If two statically used fragment 1038 aliased to the same location. If two statically used fragment
1038 inputs in a program are bound to the name location, link must 1039 inputs in a program are bound to the name location, link must
1039 fail. 1040 fail.
1040 1041
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
1394 * Paths wind by default counterclockwise 1395 * Paths wind by default counterclockwise
1395 * Window space transform can reverse this winding 1396 * Window space transform can reverse this winding
1396 * GL front face state CW/CCW selects whether the variable is true 1397 * GL front face state CW/CCW selects whether the variable is true
1397 or false 1398 or false
1398 1399
1399 user-defined varyings: constant zeros. 1400 user-defined varyings: constant zeros.
1400 1401
1401 Revision History 1402 Revision History
1402 1403
1403 14/8/2014 Documented the extension 1404 14/8/2014 Documented the extension
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698