diff options
author | Eric Anholt <[email protected]> | 2012-05-04 13:37:08 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-05-14 17:03:44 -0700 |
commit | e21b9f1f19d2345026a7fbe095a776d0b64557ec (patch) | |
tree | 02b9a591bde0a274fa1f78f90336b671253b89ba /src/glsl/test_optpass.cpp | |
parent | f42cdc7984cb1db4a13f87daf60d374d19eb9b0a (diff) |
glsl: Remove the opt_discard_simplification pass.
This conflicts with the GLSL 1.30+ rules for derivatives after a
discard has occurred.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/test_optpass.cpp')
-rw-r--r-- | src/glsl/test_optpass.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/glsl/test_optpass.cpp b/src/glsl/test_optpass.cpp index 6abafb5d311..31f65c3d20a 100644 --- a/src/glsl/test_optpass.cpp +++ b/src/glsl/test_optpass.cpp @@ -98,8 +98,6 @@ do_optimization(struct exec_list *ir, const char *optimization) return do_lower_texture_projection(ir); } else if (strcmp(optimization, "do_if_simplification") == 0) { return do_if_simplification(ir); - } else if (strcmp(optimization, "do_discard_simplification") == 0) { - return do_discard_simplification(ir); } else if (sscanf(optimization, "lower_if_to_cond_assign ( %d ) ", &int_0) == 1) { return lower_if_to_cond_assign(ir, int_0); |