isaspec: Stop using s and xml from the global namespace
authorJason Ekstrand <jason.ekstrand@collabora.com>
Wed, 4 Jan 2023 19:33:20 +0000 (13:33 -0600)
committerMarge Bot <emma+marge@anholt.net>
Thu, 5 Jan 2023 18:21:02 +0000 (18:21 +0000)
commite83ad77ef5d7737b8c2c10b79e2077cd6aadc020
tree668e39321222461003dc55b570b4c5478faaa9dc
parent05c17eae2b96e44c01c8b5731c5c63d23307d8aa
isaspec: Stop using s and xml from the global namespace

We really shouldn't rely on these being global variables.  Pass them
along instead.

Acked-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20525>
src/compiler/isaspec/encode.py