Remove unused assemble.py, spirv-assembler.cc is what is used (flutter/engine#26949)

This commit is contained in:
Anthony
2021-06-24 17:12:28 -04:00
committed by GitHub
parent 227e558ae0
commit a9d2396ddd

View File

@@ -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()