Module: Mesa
Branch: main
Commit: 15785a9bfea534f8f7650233f63f3861a8019a25
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=15785a9bfea534f8f7650233f63f3861a8019a25

Author: Karol Herbst <kher...@redhat.com>
Date:   Thu Jan 11 09:57:47 2024 +0100

nak/algebraic: merge run and main function

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26999>

---

 src/nouveau/compiler/nak_nir_algebraic.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/nouveau/compiler/nak_nir_algebraic.py 
b/src/nouveau/compiler/nak_nir_algebraic.py
index b191a41f703..9e728d2a0da 100644
--- a/src/nouveau/compiler/nak_nir_algebraic.py
+++ b/src/nouveau/compiler/nak_nir_algebraic.py
@@ -43,10 +43,7 @@ def main():
     parser.add_argument('-p', '--import-path', required=True)
     args = parser.parse_args()
     sys.path.insert(0, args.import_path)
-    run()
 
-
-def run():
     import nir_algebraic  # pylint: disable=import-error
 
     print('#include "nak_private.h"')

Reply via email to