mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-22 01:10:32 +01:00
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.
This commit is contained in:
parent
0fd4165261
commit
fda662f4df
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue