mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-16 06:00:33 +01:00
seba: handle --path better
This commit is contained in:
parent
3aa9b4bf3c
commit
9366a6ffda
@ -6,7 +6,7 @@ import traceback
|
|||||||
from spirv import spv
|
from spirv import spv
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description='Build pipeline descriptor')
|
parser = argparse.ArgumentParser(description='Build pipeline descriptor')
|
||||||
parser.add_argument('--path', nargs='*', help='Directory to look for shaders')
|
parser.add_argument('--path', action='append', help='Directory to look for shaders')
|
||||||
parser.add_argument('pipelines', type=argparse.FileType('r'))
|
parser.add_argument('pipelines', type=argparse.FileType('r'))
|
||||||
# TODO strip debug OpName OpLine etc
|
# TODO strip debug OpName OpLine etc
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
Loading…
Reference in New Issue
Block a user