summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast_type.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2015-01-28 17:42:37 +0200
committerFrancisco Jerez <currojerez@riseup.net>2015-05-04 17:44:17 +0300
commitce0e15172157b6fa11feabb3ff0672abfb273884 (patch)
treee899a0277b53e431c81832a4d5b559ebe05cbcc5 /src/glsl/ast_type.cpp
parent6c1f6f8291859209a9b585f65258e090d91f0347 (diff)
downloadexternal_mesa3d-ce0e15172157b6fa11feabb3ff0672abfb273884.zip
external_mesa3d-ce0e15172157b6fa11feabb3ff0672abfb273884.tar.gz
external_mesa3d-ce0e15172157b6fa11feabb3ff0672abfb273884.tar.bz2
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 <mattst88@gmail.com>
Diffstat (limited to 'src/glsl/ast_type.cpp')
-rw-r--r--src/glsl/ast_type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ast_type.cpp b/src/glsl/ast_type.cpp
index 34c2b73..1bcf6a2 100644
--- a/src/glsl/ast_type.cpp
+++ b/src/glsl/ast_type.cpp
@@ -342,7 +342,7 @@ ast_type_qualifier::merge_in_qualifier(YYLTYPE *loc,
}
if (q.flags.q.early_fragment_tests) {
- state->early_fragment_tests = true;
+ state->fs_early_fragment_tests = true;
}
if (create_gs_ast) {