diff options
author | Eric Anholt <[email protected]> | 2012-03-22 08:58:33 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-04-11 18:08:21 -0700 |
commit | fda662f4dffa658d28ea739dd236fe0350828d59 (patch) | |
tree | 5ec4fa4c028710b9244e8376842004aac584ae7b /src/glsl/builtins/tools | |
parent | 0fd4165261311fb36c98885edb7331df29eec09d (diff) |
glsl: Don't apply optimization passes to builtins.
The builtins we have are generally optimized, having been
hand-written. This avoids generating bad code when an optimization
pass prints debug output.
Diffstat (limited to 'src/glsl/builtins/tools')
-rwxr-xr-x | src/glsl/builtins/tools/generate_builtins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtins/tools/generate_builtins.py b/src/glsl/builtins/tools/generate_builtins.py index 0d97140174f..f58196f86f4 100755 --- a/src/glsl/builtins/tools/generate_builtins.py +++ b/src/glsl/builtins/tools/generate_builtins.py @@ -59,7 +59,7 @@ def write_function_definitions(): print stringify(v), ';' def run_compiler(args): - command = [compiler, '--dump-lir'] + args + command = [compiler, '--dump-hir'] + args p = Popen(command, 1, stdout=PIPE, shell=False) output = p.communicate()[0] |