summaryrefslogtreecommitdiff
path: root/tools/dump_separate_cmdbuf.py
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-02-10 12:59:38 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-02-10 13:01:41 +0100
commit490c1bfb99066c0b2da421462542cd5577ffbbf0 (patch)
treefaba6483c484f6ca369ce8aea5157ff51ed86618 /tools/dump_separate_cmdbuf.py
parent9720188a0560451156dbe18e4e27e4faac047ebf (diff)
etna: alpha blending
In a bizarre twist of fate, alpha blending now works. Interpretation of bit 16 of PE_COLOR_FORMAT was the wrong way around.
Diffstat (limited to 'tools/dump_separate_cmdbuf.py')
-rwxr-xr-xtools/dump_separate_cmdbuf.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/dump_separate_cmdbuf.py b/tools/dump_separate_cmdbuf.py
index 677cf20..e577e98 100755
--- a/tools/dump_separate_cmdbuf.py
+++ b/tools/dump_separate_cmdbuf.py
@@ -156,8 +156,9 @@ def parse_arguments():
parser = argparse.ArgumentParser(description='Parse execution data log stream.')
parser.add_argument('input_file', metavar='INFILE', type=str,
help='FDR file')
- parser.add_argument('rules_file', metavar='RULESFILE', type=str,
- help='State map definition file (rules-ng-ng)')
+ parser.add_argument('--rules-file', metavar='RULESFILE', type=str,
+ help='State map definition file (rules-ng-ng)',
+ default='../rnndb/state.xml')
parser.add_argument('-l', '--hide-load-state', dest='hide_load_state',
default=False, action='store_const', const=True,
help='Hide "LOAD_STATE" entries, this can make command stream a bit easier to read')