diff options
author | Tim Rowley <[email protected]> | 2016-04-26 11:22:24 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2016-04-26 16:45:26 -0500 |
commit | 18d1658633d5ca5147e0b1a2cd22ea7ffa1b5093 (patch) | |
tree | 692bf56e9e34f074693f5dc71f28b53ad370851a /src/gallium/drivers/swr/rasterizer | |
parent | 12cf08fcc3e3229ce8b4f8f9b3230388b16a7e62 (diff) |
swr: autogenerate swr_context_llvm.h
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/jitter/scripts/gen_llvm_types.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/scripts/gen_llvm_types.py b/src/gallium/drivers/swr/rasterizer/jitter/scripts/gen_llvm_types.py index 0b53a929e6c..d6babd39b6b 100644 --- a/src/gallium/drivers/swr/rasterizer/jitter/scripts/gen_llvm_types.py +++ b/src/gallium/drivers/swr/rasterizer/jitter/scripts/gen_llvm_types.py @@ -135,6 +135,9 @@ def gen_llvm_types(input_file, output_file): for idx in range(len(lines)): line = lines[idx].rstrip() + if "gen_llvm_types FINI" in line: + break + match = re.match(r"(\s*)struct(\s*)(\w+)", line) if match: llvm_args = [] |