Publish the pareto-residency Windows build and portable launcher
This commit is contained in:
1 parent
efeef1d65b
commit
545f89019e
20 files changed
+1671
-217
No files matched your search
@@ -295,12 +295,10 @@ pub(crate) fn amd(device: &ID3D12Device) -> bool {
|
||||
|
||||
/// Whether a record that does not fit in what is left of its list's budget
|
||||
/// takes the rest, so that every record after it runs empty too
|
||||
/// (`VICTORY_INDIRECT_REST=0`: it takes nothing, and the next one that fits
|
||||
/// runs). A list whose budget one garbage record empties loses all its later
|
||||
/// draws, and which record that is may differ from frame to frame. The frame
|
||||
/// line says how many records a frame are refused.
|
||||
/// (`VICTORY_INDIRECT_REST=1`; off by default so one oversized record takes
|
||||
/// nothing and later valid draws still run).
|
||||
fn rest() -> u32 {
|
||||
u32::from(std::env::var("VICTORY_INDIRECT_REST").map_or(true, |v| v != "0"))
|
||||
u32::from(std::env::var("VICTORY_INDIRECT_REST").is_ok_and(|v| v == "1"))
|
||||
}
|
||||
|
||||
/// The clamp compiled from `source` (ours, or in the benchmark the one it
|
||||
@@ -2607,7 +2605,7 @@ void main(uint3 g : SV_GroupID, uint i : SV_GroupIndex) {
|
||||
/// left then, and the records as clamped.
|
||||
fn four_records_of_a_group(rest: bool) -> Option<(u32, Vec<u32>)> {
|
||||
let mut warp = WarpHarness::new()?;
|
||||
let source = if rest { SOURCE.to_owned() } else { SOURCE.replace("REST ?", "false ?") };
|
||||
let source = SOURCE.replace("REST ?", if rest { "true ?" } else { "false ?" });
|
||||
let clamp = make_from(&warp.device, &source).expect("the clamp must compile on WARP");
|
||||
const KIND_DRAW: u32 = 0;
|
||||
const STRIDE: u32 = 16;
|
||||
|
||||
Reference in new issue
Block a user