diff options
author | Timothy Arceri <[email protected]> | 2016-12-20 09:44:20 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-01-19 17:05:26 +1100 |
commit | 7983ed5f657e71a52735dbee046adcbe1a0ab373 (patch) | |
tree | 5c79704e139abe745f8d92bce9b17cea015c50d8 /src/mesa | |
parent | 1f141eaef650ba8aada1f289cdb79d7b3b380113 (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/mesa')
-rw-r--r-- | src/mesa/main/mtypes.h | 3 | ||||
-rw-r--r-- | src/mesa/main/shaderapi.c | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index d0e721e0e9d..d036958f9d0 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2242,8 +2242,6 @@ struct gl_subroutine_function */ struct gl_shader_info { - bool InnerCoverage; - struct { /** Global xfb_stride out qualifier if any */ GLuint BufferStride[MAX_FEEDBACK_BUFFERS]; @@ -2430,6 +2428,7 @@ struct gl_shader bool uses_gl_fragcoord; bool PostDepthCoverage; + bool InnerCoverage; /** * Fragment shader state from GLSL 1.50 layout qualifiers. diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index 2a7f0a2c828..c87ba0946ca 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -2232,7 +2232,6 @@ _mesa_copy_linked_program_data(const struct gl_shader_program *src, } case MESA_SHADER_FRAGMENT: { dst->info.fs.depth_layout = src->FragDepthLayout; - dst->info.fs.inner_coverage = dst_sh->info.InnerCoverage; break; } case MESA_SHADER_COMPUTE: { |