summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glsl_parser_extras.cpp
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-11-04 10:10:19 +1100
committerTimothy Arceri <[email protected]>2016-12-30 10:57:16 +1100
commit8417bf528eb155028d56acaa4cbe05eb3536093b (patch)
treeedcbf49a81acdabde3244f0314fb1e9ddeec8040 /src/compiler/glsl/glsl_parser_extras.cpp
parent3177eef39277b64af3213603b58ff934b5218e39 (diff)
mesa/glsl: move BlendSupport bitfield to gl_program
This will let us to make _CurrentFragmentProgram a gl_program pointer allowing for simpilifications to be made. We also need to add a field to gl_shader to hold it during parsing. In gl_program we put it inside a union in anticipation of moving more fields here that can be only fs or vertex stage fields. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_parser_extras.cpp')
-rw-r--r--src/compiler/glsl/glsl_parser_extras.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp
index 14b71539eb7..4566aa92ecd 100644
--- a/src/compiler/glsl/glsl_parser_extras.cpp
+++ b/src/compiler/glsl/glsl_parser_extras.cpp
@@ -1818,7 +1818,7 @@ set_shader_inout_layout(struct gl_shader *shader,
shader->info.EarlyFragmentTests = state->fs_early_fragment_tests;
shader->info.InnerCoverage = state->fs_inner_coverage;
shader->info.PostDepthCoverage = state->fs_post_depth_coverage;
- shader->info.BlendSupport = state->fs_blend_support;
+ shader->BlendSupport = state->fs_blend_support;
break;
default: