-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Frame Range Option to Convert Tool #1295
base: dev
Are you sure you want to change the base?
Added Frame Range Option to Convert Tool #1295
Conversation
CI gfxreconstruct build queued with queue ID 56820. |
tools/convert/main.cpp
Outdated
@@ -72,6 +72,9 @@ static void PrintUsage(const char* exe_name) | |||
GFXRECON_WRITE_CONSOLE( | |||
" --file-per-frame\tCreates a new file for every frame processed. Frame number is added as a suffix"); | |||
GFXRECON_WRITE_CONSOLE(" \tto the output file name."); | |||
GFXRECON_WRITE_CONSOLE( | |||
" --frame-range\t\tFrame range to be converted. In order to retrieve Trim Trace State, frame 0 has " | |||
"to be in frame range."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be good to tell the user the format for specifying the frame range here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated the help message to:
--frame-range <N1[-N2][,...]>
Frame ranges to be converted. In order to retrieve trim trace state, frame 0 has to be in frame range.
Frame ranges should be specified in ascending order and cannot overlap. Frame numbering is zero-indexed and inclusive.
Example: 0-2,5,8-10 will generate data for 7 frames.
CI gfxreconstruct build queued with queue ID 56850. |
CI gfxreconstruct build # 3347 passed. |
CI gfxreconstruct build queued with queue ID 69624. |
CI gfxreconstruct build # 3415 running. |
CI gfxreconstruct build # 3415 failed. |
41d0698
to
fc1baa4
Compare
CI gfxreconstruct build queued with queue ID 100998. |
CI gfxreconstruct build # 3625 running. |
CI gfxreconstruct build # 3625 passed. |
Frame range option allows to only retrieve relevant data and reduce waiting time, especially useful for bigger traces Change-Id: I3b7298a20c41d2c67a59069ddf31961f37a3b12d
fc1baa4
to
ebaf99e
Compare
CI gfxreconstruct build queued with queue ID 181553. |
CI gfxreconstruct build # 4125 running. |
CI gfxreconstruct build # 4125 failed. |
Frame range option allows to only retrieve relevant data and reduce waiting time, especially useful for bigger traces
Change-Id: I3b7298a20c41d2c67a59069ddf31961f37a3b12d