summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-12-20 09:44:20 +1100
committerTimothy Arceri <[email protected]>2017-01-19 17:05:26 +1100
commit7983ed5f657e71a52735dbee046adcbe1a0ab373 (patch)
tree5c79704e139abe745f8d92bce9b17cea015c50d8 /src/compiler
parent1f141eaef650ba8aada1f289cdb79d7b3b380113 (diff)
glsl: set InnerCoverage directly in gl_program
Also move out of the shared gl_shader_info. Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/glsl/glsl_parser_extras.cpp2
-rw-r--r--src/compiler/glsl/linker.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp
index 063ca45b307..a6b695c1a44 100644
--- a/src/compiler/glsl/glsl_parser_extras.cpp
+++ b/src/compiler/glsl/glsl_parser_extras.cpp
@@ -1815,7 +1815,7 @@ set_shader_inout_layout(struct gl_shader *shader,
shader->ARB_fragment_coord_conventions_enable =
state->ARB_fragment_coord_conventions_enable;
shader->EarlyFragmentTests = state->fs_early_fragment_tests;
- shader->info.InnerCoverage = state->fs_inner_coverage;
+ shader->InnerCoverage = state->fs_inner_coverage;
shader->PostDepthCoverage = state->fs_post_depth_coverage;
shader->BlendSupport = state->fs_blend_support;
break;
diff --git a/src/compiler/glsl/linker.cpp b/src/compiler/glsl/linker.cpp
index 2bb080a34ac..35f1d8b6a8e 100644
--- a/src/compiler/glsl/linker.cpp
+++ b/src/compiler/glsl/linker.cpp
@@ -1878,8 +1878,7 @@ link_fs_inout_layout_qualifiers(struct gl_shader_program *prog,
linked_shader->Program->info.fs.early_fragment_tests |=
shader->EarlyFragmentTests;
- linked_shader->info.InnerCoverage |=
- shader->info.InnerCoverage;
+ linked_shader->Program->info.fs.inner_coverage |= shader->InnerCoverage;
linked_shader->Program->info.fs.post_depth_coverage |=
shader->PostDepthCoverage;