summaryrefslogtreecommitdiff
path: root/glsl_parser_extras.cpp
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-05-11 12:34:21 -0700
committerEric Anholt <eric@anholt.net>2010-06-01 15:15:04 -0700
commit49a5d5c4f5bf6e8d6ba344e8496d1d1fa0b4586d (patch)
tree0c444a3a290d52cb4069151f9ff9cfb4e102ed2f /glsl_parser_extras.cpp
parentb145e903694fa932ab1e0d955e889555193ab604 (diff)
ir_swizzle_swizzle: Reduce swizzle chains to a single swizzle.
Diffstat (limited to 'glsl_parser_extras.cpp')
-rw-r--r--glsl_parser_extras.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp
index e778e0f..316ac23 100644
--- a/glsl_parser_extras.cpp
+++ b/glsl_parser_extras.cpp
@@ -760,6 +760,7 @@ main(int argc, char **argv)
progress = do_dead_code_unlinked(&instructions) || progress;
progress = do_constant_folding(&instructions) || progress;
progress = do_vec_index_to_swizzle(&instructions) || progress;
+ progress = do_swizzle_swizzle(&instructions) || progress;
} while (progress);
}