victory replay --flow, --images, --until; shader-info names the hashes
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
7321eeb96f
commit
fa83615d1e
5 files changed
+521
-1
No files matched your search
@@ -30,6 +30,7 @@ use super::wire::{
|
||||
};
|
||||
|
||||
pub mod diverge;
|
||||
pub mod look;
|
||||
mod merge;
|
||||
mod upcopies;
|
||||
|
||||
@@ -84,6 +85,8 @@ pub struct Options {
|
||||
pub wait_lists: bool,
|
||||
/// Run only these lists (by their place in the frame).
|
||||
pub only: Option<(u32, u32)>,
|
||||
/// The last command that runs (list, command); after it only barriers.
|
||||
pub until: Option<(u32, usize)>,
|
||||
/// Skip what runs a pipeline whose name or shader hash has one of
|
||||
/// these in it.
|
||||
pub skip_shaders: Vec<String>,
|
||||
@@ -113,6 +116,7 @@ impl Default for Options {
|
||||
wait_all: false,
|
||||
wait_lists: false,
|
||||
only: None,
|
||||
until: None,
|
||||
skip_shaders: Vec::new(),
|
||||
compare: false,
|
||||
debug: false,
|
||||
@@ -1916,6 +1920,13 @@ impl Player {
|
||||
lists.push(edit::barriers_only(cmds));
|
||||
continue;
|
||||
}
|
||||
if let Some((list, command)) = o.until
|
||||
&& here >= list
|
||||
{
|
||||
let from = if here > list { 0 } else { (command + 1).min(cmds.len()) };
|
||||
let rest = cmds.split_off(from);
|
||||
cmds.extend(edit::barriers_only(rest));
|
||||
}
|
||||
if o.skip_clamps
|
||||
&& let Some(c) = clamps.get(here as usize)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user