diff options
author | Francisco Jerez <[email protected]> | 2015-01-28 17:42:37 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-05-04 17:44:17 +0300 |
commit | ce0e15172157b6fa11feabb3ff0672abfb273884 (patch) | |
tree | e899a0277b53e431c81832a4d5b559ebe05cbcc5 /src/glsl/linker.cpp | |
parent | 6c1f6f8291859209a9b585f65258e090d91f0347 (diff) |
glsl: Keep track of the early_fragment_tests flag in gl_shader.
And rename _mesa_glsl_parse_state::early_fragment_tests to
fs_early_fragment_tests for consistency with other FS-specific flags in the
same struct.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/linker.cpp')
-rw-r--r-- | src/glsl/linker.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index 21fde94442d..330fae004b3 100644 --- a/src/glsl/linker.cpp +++ b/src/glsl/linker.cpp @@ -1413,6 +1413,8 @@ link_fs_input_layout_qualifiers(struct gl_shader_program *prog, linked_shader->origin_upper_left = shader->origin_upper_left; linked_shader->pixel_center_integer = shader->pixel_center_integer; } + + linked_shader->EarlyFragmentTests |= shader->EarlyFragmentTests; } } |