[Mesa-dev] [PATCH 8/9] glsl: Add support for do_minmax_prune in test_optpass

Petri Latvala petri.latvala at intel.com
Tue Jul 29 02:36:38 PDT 2014


Signed-off-by: Petri Latvala <petri.latvala at intel.com>
---
 src/glsl/test_optpass.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/glsl/test_optpass.cpp b/src/glsl/test_optpass.cpp
index e4878bf..ef62752 100644
--- a/src/glsl/test_optpass.cpp
+++ b/src/glsl/test_optpass.cpp
@@ -131,6 +131,8 @@ do_optimization(struct exec_list *ir, const char *optimization,
       return lower_quadop_vector(ir, int_0 != 0);
    } else if (strcmp(optimization, "optimize_redundant_jumps") == 0) {
       return optimize_redundant_jumps(ir);
+   } else if (strcmp(optimization, "do_minmax_prune") == 0) {
+      return do_minmax_prune(ir);
    } else {
       printf("Unrecognized optimization %s\n", optimization);
       exit(EXIT_FAILURE);
-- 
2.0.1



More information about the mesa-dev mailing list