swr/rast: Fix codegen for typedef types
authorGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 28 Mar 2018 19:43:09 +0000 (14:43 -0500)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 18 Apr 2018 15:51:38 +0000 (10:51 -0500)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_types.py

index a127976..d8863c0 100644 (file)
@@ -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