From a9d2396ddd6ab4c46ea60bee2584aa43a5f3b9ae Mon Sep 17 00:00:00 2001 From: Anthony <591699+clocksmith@users.noreply.github.com> Date: Thu, 24 Jun 2021 17:12:28 -0400 Subject: [PATCH] Remove unused assemble.py, spirv-assembler.cc is what is used (flutter/engine#26949) --- .../spirv/test/exception_shaders/assemble.py | 30 ------------------- 1 file changed, 30 deletions(-) delete mode 100644 engine/src/flutter/lib/spirv/test/exception_shaders/assemble.py diff --git a/engine/src/flutter/lib/spirv/test/exception_shaders/assemble.py b/engine/src/flutter/lib/spirv/test/exception_shaders/assemble.py deleted file mode 100644 index 283058db86..0000000000 --- a/engine/src/flutter/lib/spirv/test/exception_shaders/assemble.py +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env python -# Copyright 2013 The Flutter Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -import argparse -import subprocess - -def main(): - parser = argparse.ArgumentParser() - parser.add_argument( - 'input', - type=pathlib.Path, - required=True, - help='path to input SPIR-V assembly file') - parser.add_argument( - 'output', - type=pathlib.Path, - required=True, - help='path to output SPIR-V binary file') - args = parser.parse_args() - subprocess.run([ - 'spirv-as', - '-o', - args.output, - args.input, - ]) - -if __name__ == '__main__': - main()