From f135f54b18d70ba6224338d4adfcbe762caf5651 Mon Sep 17 00:00:00 2001 From: George Kyriazis Date: Wed, 28 Mar 2018 14:43:09 -0500 Subject: [PATCH] swr/rast: Fix codegen for typedef types Reviewed-by: Bruce Cherniak --- src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_types.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_types.py b/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_types.py index a127976..d8863c0 100644 --- a/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_types.py +++ b/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_types.py @@ -143,6 +143,7 @@ def gen_llvm_types(input_file, output_file): is_llvm_typedef = re.search(r'@llvm_typedef', line) if is_llvm_typedef is not None: is_llvm_typedef = True + continue else: is_llvm_typedef = False -- 2.7.4