From 8f54a92bddc840fb54a7316dc1ca828a1f1aea2c Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 06:35:44 -0800 Subject: [PATCH 001/100] performance patch: three NOPs over copies the world's view never makes, left out A cleanup, not a rendering fix: nothing visible changes in the world. Three sites of the built-in Performance patch (Kyo's v3, kept byte for byte) turned calls of GX's texture copy (sub_268f180) in the scene renderer (sub_26a0a30) into NOPs: - s125, 0x26a10c0: the scene's depth into DepthRenderTarget (+0xf48, the engine's own name) after mode 0's depth pre-pass, which the sun's screen-space shadow mask and a depth-only SSAO read right after; - s126, 0x26a2829, and s127, 0x26a283f: after mode 1's G-buffer (+0x60 == 1), the depth into DepthRenderTarget and the G-buffer's first target, the world-space normals, into GBuffer0 (+0x1068). These calls never run in the world's view. It draws in mode 2 (+0x68), where CopyResource calls the list leaves alone fill the same two targets after the G-buffer every frame - bbhost's depth snapshot compute pass is that copy - so SSAO, the sun's shadows, the decals and depth of field read this frame's depth with or without the three sites. A probe on the renderer and on the copy recorder, with the sites left out, counted 0 recorder calls in 500 scene draws over three world views (Central Yharnam twice, the Hunter's Dream; lavapipe, 640x360), each in mode 2; the copy census and the draw lists are the same with and without them. The graphics manager's cube-capture view is set to mode 2 as well. Only a view drawn in mode 0 or 1 (none seen) would have read targets nothing wrote that frame. The three sites are left out of performance_v3_sites.inc - one less patch over the game's code, at no cost where they never ran; its comment, the manifest's and the docs (modding.md, rendering.md) say what they were. The patch defaults test checks that no site of the built-in Performance patch writes the three calls (with the sites in place it fails, naming them). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/modding.md | 10 ++++++++++ docs/rendering.md | 10 ++++++++++ src/engine/patch_manifest.cpp | 25 +++++++++++++++++++------ src/engine/performance_v3_sites.inc | 9 +++++---- tests/patch_defaults_test.cpp | 26 ++++++++++++++++++++++++++ 5 files changed, 70 insertions(+), 10 deletions(-) diff --git a/docs/modding.md b/docs/modding.md index b9338b4e..a9f113d6 100644 --- a/docs/modding.md +++ b/docs/modding.md @@ -343,6 +343,16 @@ the Intel SFX workaround, Disable HTTP Requests, Disable Facegen, Enable TAA, Bookmark and Capture outputs, the low-res motion blur buffers). A player who wants one keeps its file in their own patches folder. +The Performance patch (Kyo's Performance Patch v3, Velomap and Decals On) is +built in and always on (`performance = false` under `[patches]` leaves it +out, for a test). It writes the list's sites but five: its camera blur's +force and its Model detail force (the Motion blur and Model detail settings +decide those), and, since v0.2.35, the three that turned the scene +renderer's own depth and G-buffer copies into NOPs (`0x26a10c0`, +`0x26a2829`, `0x26a283f`): SSAO, the sun's shadows, the decals and depth of +field read what those copy, in the views drawn in the renderer's modes that +make them (the world's view fills the same targets with copies of its own). + | File | Patch | |---|---| | `disable-misc-renders.toml` | **Disable Misc. Renders**: Disable Misc. Renders - Kyo's patch: four of the scene's extra targets are not made, nor their passes drawn (off by default; at the next start) | diff --git a/docs/rendering.md b/docs/rendering.md index a15c6641..1abec5ff 100644 --- a/docs/rendering.md +++ b/docs/rendering.md @@ -445,6 +445,16 @@ path at all: - Depth snapshots, the on-screen overlay and FSR 1 upscaling are bbhost's own. The depth snapshot's compute pass goes into the recorder's stream (`BBHOST_STREAM_DEPTH_COPY=0` records it in place, draining the recorder). + The scene's own depth copy is one: after the G-buffer the game copies its + depth into DepthRenderTarget (and its first G-buffer target, the normals, + into GBuffer0), which SSAO, the sun's screen-space shadows, motion blur's + and screen space reflections' smaller depths, the decals, the forward + passes and depth of field read. The world's view makes them with + CopyResource; the renderer's two other modes make them with three calls of + their own (`0x26a10c0`, `0x26a2829`, `0x26a283f`), which the built-in + Performance patch turned into NOPs until v0.2.35 - calls the world's view + never makes, so leaving them out changed nothing there; only a view drawn in + those modes read targets nothing had written that frame. ## Native or emulated diff --git a/src/engine/patch_manifest.cpp b/src/engine/patch_manifest.cpp index be30a0f7..dc1a69fb 100644 --- a/src/engine/patch_manifest.cpp +++ b/src/engine/patch_manifest.cpp @@ -284,17 +284,30 @@ Manifest performance_mode_manifest() { // half and quarter depth at 640x360 and 320x180 (0x125b1a3/0x125b1d6, which // Screen space reflections puts back at the game's sizes when it is on). A // 2026-10-03 review of it, entry by entry, found parts emulator-specific, -// parts that leave SSAO, depth of field and distortion reading stale buffers -// (the skipped depth and scene copies), and parts it judged harmful (the file -// cache's access-time skips, a condition wait made a `ret`, a cave calling -// with a misaligned stack, the assert and DL_PANIC suppression). It is kept -// byte for byte as players have run it, until each part is done natively. +// parts that skip the scene renderer's own copies, and parts it judged harmful +// (the file cache's access-time skips, a condition wait made a `ret`, a cave +// calling with a misaligned stack, the assert and DL_PANIC suppression). It is +// kept byte for byte as players have run it, until each part is done +// natively - all but those copies, since v0.2.35. They were three calls of +// GX's texture copy (sub_268f180) in the scene renderer (sub_26a0a30) made +// NOPs: the scene's depth into DepthRenderTarget (+0xf48, the engine's own +// name), which SSAO, the sun's screen-space shadows, the half- and quarter-size +// depth of motion blur and screen space reflections, the decals, the forward +// passes and depth of field read, and the first G-buffer target (world-space +// normals) into GBuffer0 (+0x1068), which the decals and the forward passes +// read. They belong to two of the renderer's three modes (+0x68): s125 +// (0x26a10c0) to mode 0's depth pre-pass, s126 and s127 (0x26a2829, +// 0x26a283f) to mode 1 after the G-buffer. The world's view draws in mode 2, +// where CopyResource calls the list leaves alone fill the same targets after +// the G-buffer, so the world never ran them; a view in mode 0 or 1 read +// targets nothing had written that frame. bbhost makes the copies as it +// makes the others (the depth as its snapshot's compute pass, host/depth_copy.cpp). Manifest performance_manifest() { Manifest m; m.name = "performance"; m.title = "Performance patch"; m.eboot = kEboot109Sha256; - m.description = "Kyo's Performance Patch v3 (Velomap, Decals On), without its camera blur's and model detail's forces"; + m.description = "Kyo's Performance Patch v3 (Velomap, Decals On), without its camera blur's and model detail's forces or its skipped scene copies"; m.order = 21; m.sites = { #include "engine/performance_v3_sites.inc" diff --git a/src/engine/performance_v3_sites.inc b/src/engine/performance_v3_sites.inc index cd550997..f0dfcca7 100644 --- a/src/engine/performance_v3_sites.inc +++ b/src/engine/performance_v3_sites.inc @@ -1,7 +1,11 @@ // Performance Patch v3 (Velomap, Decals On), Kyo's 1.09 patch from his shadPS4 list, site for // site as patches/performance-v3-velomap.toml had it, without its camera blur's force // (0x26c265d 00 -> 01) and its Model detail force (s072, 0x216fc09: the mesh draw's -// level bias read made `mov ecx, -2`, Full whatever the setting). Generated: {id, address, expect, bytes, code}. +// level bias read made `mov ecx, -2`, Full whatever the setting), and since v0.2.35 +// without the three NOPs over the scene renderer's own copies (s125 0x26a10c0, s126 +// 0x26a2829, s127 0x26a283f: the depth into DepthRenderTarget, the G-buffer's first +// target into GBuffer0 - engine/patch_manifest.cpp's performance). Generated: {id, +// address, expect, bytes, code}. {"s000", 0x00400170, {0x55, 0x48, 0x89, 0xe5}, {0x90, 0x90, 0x90, 0x90}, true}, {"s001", 0x00400194, {0x5d}, {0x90}, true}, {"s002", 0x004001ad, {0x5d}, {0x90}, true}, @@ -126,9 +130,6 @@ {"s122", 0x02695cb6, {0xc7, 0x83, 0xa8, 0x78, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0xc7, 0x83, 0xac, 0x78, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00}, {0xc7, 0x83, 0xa8, 0x78, 0x00, 0x00, 0x80, 0x07, 0x00, 0x00, 0xc7, 0x83, 0xac, 0x78, 0x00, 0x00, 0x38, 0x04, 0x00, 0x00}, true}, {"s123", 0x02695cf3, {0x00, 0x00, 0x00, 0x00}, {0x10, 0x00, 0x00, 0x00}, true}, {"s124", 0x02695d04, {0x00}, {0x01}, true}, -{"s125", 0x026a10c0, {0xe8, 0xbb, 0xe0, 0xfe, 0xff}, {0x90, 0x90, 0x90, 0x90, 0x90}, true}, -{"s126", 0x026a2829, {0xe8, 0x52, 0xc9, 0xfe, 0xff}, {0x90, 0x90, 0x90, 0x90, 0x90}, true}, -{"s127", 0x026a283f, {0xe8, 0x3c, 0xc9, 0xfe, 0xff}, {0x90, 0x90, 0x90, 0x90, 0x90}, true}, {"s128", 0x026a9579, {0x00, 0x00, 0x00, 0x3f}, {0x00, 0x00, 0x80, 0x3e}, true}, {"s129", 0x026b8620, {0x41, 0xb8, 0x06, 0x00, 0x00, 0x00}, {0x41, 0xb8, 0x10, 0x00, 0x00, 0x00}, true}, {"s130", 0x026b8634, {0x48, 0xc7, 0x85, 0x88, 0xfe, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00}, {0x41, 0xc7, 0x85, 0xb8, 0x78, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00}, true}, diff --git a/tests/patch_defaults_test.cpp b/tests/patch_defaults_test.cpp index 4516183b..d3cf0b08 100644 --- a/tests/patch_defaults_test.cpp +++ b/tests/patch_defaults_test.cpp @@ -120,6 +120,32 @@ int main() { CHECK(m.name == "smaller-hunter" && m.enabled); } + // The built-in Performance patch (engine/performance_v3_sites.inc, always + // on) leaves the scene's depth and G-buffer copies to the game: none of its + // sites writes the three calls of the copy recorder (0x268f180) in the + // scene's render, which the list turned into NOPs. Without them SSAO, + // depth of field and the passes after the G-buffer read a target nothing + // wrote that frame. + { + const std::vector perf = { +#include "engine/performance_v3_sites.inc" + }; + constexpr std::uint64_t kCopyCalls[] = {0x026a10c0, 0x026a2829, 0x026a283f}; // 5-byte calls each + int over = 0; + for (const patch_file::Site& s : perf) { + CHECK(s.expect.size() == s.bytes.size() && !s.bytes.empty()); + for (const std::uint64_t call : kCopyCalls) { + if (s.address < call + 5 && call < s.address + s.bytes.size()) { + std::printf(" performance site %s (0x%llx) writes the copy call at 0x%llx\n", s.id.c_str(), + static_cast(s.address), static_cast(call)); + ++over; + } + } + } + CHECK(over == 0); + CHECK(perf.size() == 172); // the list's 177 less the camera blur's force, Model detail's and the three copies + } + // What a player starts from turns nothing on. CHECK(config_write_template((dir / "template.toml").string())); CHECK(patches_turned_on(dir / "template.toml").empty()); From 1834a423959628487e3a50bcfe05d40da1a76329 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:00:37 -0800 Subject: [PATCH 002/100] settings: Depth of field Off is YEBIS's own switch, so none of its passes are drawn Off zeroed the blend of one composite, d3ca03f3+111fce32 - the one the world's faint far blur draws at 1080p. YEBIS has others: the multi-level composites a smaller picture, the cutscenes and a strong blur use (+6e2d87e3, +8fcc561d, +b9167b53). With the setting off those went on blurring, and every pass before them - the circle of confusion, the downsample, the blur and its levels - went on running. Off now clears the post-process block's depth of field switch (+0x1ac, the area's own enable, which the game copies in every view) in the YEBIS record hook, beside bloom, vignette and saturation. The flip pass then hands YEBIS's enable a 0 and skips the focus parameters; YEBIS's effective switch stays 0 and its depth of field is never called. On leaves the area's value alone. A change applies at the next view, both ways. On an RTX 4070: Off has none of the depth of field's draws in the world at 1080p and at 640x360 (where it composites with 6e2d87e3) or in a cutscene, and the cutscene's subject and background come out sharp; On draws as before and its frames match the previous build's within run-to-run noise. Off saves 0.06-0.13 ms of GPU time a frame at 1080p (the Hunter's Dream, Central Yharnam, Cathedral Ward, uncapped). Turned off and on while the game runs, the passes stop and come back at once. The 111fce32 shader patch goes; settings_store_test's mask has only motion blur's two patches. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- src/engine/graphics_patch.cpp | 26 +++++++++++++++++++++++--- src/engine/option_menu.cpp | 5 +++-- src/host/options.cpp | 6 +++++- src/host/shader_patch.cpp | 13 ++++--------- src/host/shader_patch.h | 8 ++++---- tests/settings_store_test.cpp | 5 +++-- 6 files changed, 42 insertions(+), 21 deletions(-) diff --git a/src/engine/graphics_patch.cpp b/src/engine/graphics_patch.cpp index 73bce7c4..b7b0258c 100755 --- a/src/engine/graphics_patch.cpp +++ b/src/engine/graphics_patch.cpp @@ -83,7 +83,8 @@ namespace { // a jump to a stub that does the same copy with the amount ANDed with a // mask the host owns: all ones for on, 0 for off. The code is written // once, at load; turning it on or off is one store to the mask. -// - Motion blur and depth of field are shader patches (host/shader_patch.h). +// - Motion blur is a shader patch (host/shader_patch.h); depth of field is +// YEBIS's own switch, cleared in the block each view (kDofEnable below). // - Bloom and vignette are two of the area's draw parameters, changed in the // block the game hands YEBIS each frame - "Draw parameters" below. constexpr std::uint64_t kRenderView = 0x269e990; @@ -204,9 +205,22 @@ const std::uint8_t kYebisRecordPrologue[] = {0x55, 0x48, 0x89, 0xe5, 0x41, 0x57, constexpr std::uint64_t kPostBlock = 0x59406e0; constexpr std::size_t kSaturation = 0xc8, kVignettePower = 0xd0, kGlareLuminance = 0xdc; constexpr std::size_t kYebisHeld = 0x2710; // on the YEBIS object: the block was not refreshed +// Depth of field's switch: the block's +0x1ac, the area's "Yebis-DepthOfField: +// Enable", which the game copies in every view (0x25d541e). The flip pass +// (0x25d5f80) hands it to YEBIS's own enable at 0x25d7a98 (ppfx_sub_fb2960: +// the effect's +0x940) and skips the depth of field's parameters on 0 (the +// je at 0x25d7bbc). With the enable 0, YEBIS's effective switch (+0xc4b, set +// in sub_fdb120 from +0x940) stays 0 and the effect chain never calls its +// depth of field (sub_fe6c60, from 0xfec146/0xfec519 only while +0xc4b is +// set): no circle of confusion, downsample, aperture-filter levels or +// composite - the single-level one (d3ca03f3+111fce32) the world's faint far +// blur uses at 1080p, the multi-level ones (+6e2d87e3, +8fcc561d, +b9167b53: +// a smaller picture, the cutscenes, a strong blur). A 1 the next view copies +// in turns it back on, with its parameters fed again from that view. +constexpr std::size_t kDofEnable = 0x1ac; std::uint8_t* g_post_block = nullptr; std::atomic g_bloom{1.0f}, g_saturation{1.0f}; -std::atomic g_vignette{true}; +std::atomic g_vignette{true}, g_dof{true}; // Ambient occlusion strength. The SSAO bank (+0x5968) is blended the same way // (sub_1285500, into a 0x6c-byte block) and copied into the SSAO object the @@ -498,6 +512,7 @@ void settings_changed(const HostSettings& hs) { g_fog.store(hs.fog); g_ao_strength.store(hs.ao_strength); g_vignette.store(hs.vignette); + g_dof.store(hs.depth_of_field); g_motion_blur.store(hs.motion_blur); if (!g_lod_bias_env) g_lod_bias.store(hs.lod_bias); g_shadow_scale.store(hs.shadow_scale > 1.0f ? hs.shadow_scale @@ -671,6 +686,11 @@ GUEST_ABI std::int64_t yebis_record_hook(std::uint64_t, const std::uint64_t* sav power = 0.0f; std::memcpy(g_post_block + kVignettePower, &power, 4); } + // Depth of field off: YEBIS's own switch, every view (kDofEnable). + if (!g_dof.load(std::memory_order_relaxed)) { + const std::int32_t off = 0; + std::memcpy(g_post_block + kDofEnable, &off, 4); + } for (int i = 0; i < g_post_poke.n; ++i) { std::memcpy(g_post_block + g_post_poke.off[i], &g_post_poke.value[i], 4); } @@ -1501,7 +1521,7 @@ void live_install(ElfImage* image) { if (!install_prologue_hook(image, at(kYebisRecord), kYebisRecordPrologue, sizeof(kYebisRecordPrologue), reinterpret_cast(&yebis_record_hook))) { host_log("graphics: refused, 0x%llx is not the YEBIS record's prologue (or no room for its hook); " - "bloom and vignette stay as the area has them", + "bloom, vignette and depth of field stay as the area has them", static_cast(kYebisRecord)); } else { g_post_block = static_cast(guest_ptr(image->mem, at(kPostBlock))); diff --git a/src/engine/option_menu.cpp b/src/engine/option_menu.cpp index 4afd7bc9..1b4fd726 100755 --- a/src/engine/option_menu.cpp +++ b/src/engine/option_menu.cpp @@ -593,8 +593,9 @@ std::uint64_t g_gfx_vtable = 0; std::uint64_t g_gfx_base_depth = 0; // its popup stack with nothing open on it -// PC Effects: motion blur and depth of field (shader patches, -// host/shader_patch.h), chromatic aberration and vignette, and two sliders - +// PC Effects: motion blur (a shader patch, host/shader_patch.h), depth of +// field (YEBIS's own switch, engine/graphics_patch.cpp), chromatic aberration +// and vignette, and two sliders - // bloom (10 the area's own glare, 0 none) and saturation (5 the area's own, // 0 black and white). Toggle g_effects[] = { diff --git a/src/host/options.cpp b/src/host/options.cpp index 3ca66e40..3d102b65 100755 --- a/src/host/options.cpp +++ b/src/host/options.cpp @@ -367,8 +367,12 @@ Setting g_set[kSettingCount] = { "The game's own anti-aliasing pass, over the finished picture. Off while TAA, FSR, DLSS or a plugin's own anti-aliasing " "takes its place: they do the anti-aliasing, and this pass after them would only soften the picture again.", false}, + // Off is YEBIS's own switch, cleared each view (engine/graphics_patch.cpp): + // none of the blur's passes run. {"depth_of_field", "Depth of field", {"Off", "On"}, 1, - "Blurs distant scenery; indoors there is rarely anything far enough to blur.", false}, + "Blurs distant scenery, and what is out of focus in cutscenes; indoors there is rarely anything far enough to " + "blur. Off leaves it out everywhere, and its passes are not drawn.", + false}, {"chromatic_aberration", "Chromatic aberration", {"Off", "On"}, 1, "The colour fringing at the edges of the frame.", false}, // Two of the area's draw parameters (param/drawparam), scaled or cleared diff --git a/src/host/shader_patch.cpp b/src/host/shader_patch.cpp index c6322ebd..66bd5cd2 100644 --- a/src/host/shader_patch.cpp +++ b/src/host/shader_patch.cpp @@ -31,15 +31,10 @@ const Patch kPatches[] = { // Motion blur setting left this blur on, and rebuilt motion vectors' map // (raw NDC motion, which it reads as 0.5 off centre) smeared every mesh. {"157a299c", &HostSettings::motion_blur, "motion blur (camera blur)", {0x7c061420, 0xbea0246a}, {0x7c001420, 0xbea0246a}}, - // YEBIS depth of field's composite (d3ca03f3+111fce32): - // v_mad_f32 v0, v5, s0, v0 clamp ; t = clamp(scene.a * k + b) - // rgb = scene + t * (blurred - scene) - // t = 0 - v_mov_b32 v0, 0 and an s_nop for the second word - leaves the - // scene as it was. The game's own switch (the je at 0x25d7bbc the - // community patch forces) stops YEBIS being fed its focus parameters, - // which is only "off" if it never had any: turned off later, the last - // ones stay. The blend is where the effect lands, so it is off here. - {"111fce32", &HostSettings::depth_of_field, "depth of field", {0xd2820800, 0x04000105}, {0x7e000280, 0xbf800000}}, + // Depth of field is not a patch: YEBIS's own enable, cleared each view + // (engine/graphics_patch.cpp, kDofEnable). Zeroing one composite's blend + // (d3ca03f3+111fce32) left the multi-level ones - lower resolutions, + // cutscenes, strong blur - and every pass before them running. }; constexpr std::size_t kCount = sizeof(kPatches) / sizeof(kPatches[0]); diff --git a/src/host/shader_patch.h b/src/host/shader_patch.h index 4653a638..96af95ba 100644 --- a/src/host/shader_patch.h +++ b/src/host/shader_patch.h @@ -15,11 +15,11 @@ // (e0305cef) blurs only where |vx| + |vy| >= C#[0x2f2], and the patch makes // that compare always false. // -// Depth of field: its composite (111fce32) blends the blurred copy in by a -// clamped factor, and the patch makes that factor 0. +// (Depth of field is not a patch here: its setting clears YEBIS's own enable +// each view - engine/graphics_patch.cpp - so none of its passes run.) // -// Both follow their settings live: the programs are read again when the mask -// below changes (render.cpp's program_at - both are pixel shaders), and +// The patches follow their settings live: the programs are read again when the +// mask below changes (render.cpp's program_at - both are pixel shaders), and // the patched and unpatched words are simply two programs, each with its own // pipelines. diff --git a/tests/settings_store_test.cpp b/tests/settings_store_test.cpp index 981e813b..86c8e6e1 100644 --- a/tests/settings_store_test.cpp +++ b/tests/settings_store_test.cpp @@ -77,7 +77,8 @@ int main() { // The shader patches' mask: listening from the first ask, and following // a change made after that at once - nothing polls for it. // (Motion blur is two patches - YEBIS's blur and the camera blur's build - // of it - then depth of field: bits 0 and 1, then 2.) + // of it: bits 0 and 1. Depth of field is none: its setting clears YEBIS's + // own enable each view, engine/graphics_patch.cpp.) CHECK(shader_patch_mask() == 0); HostSettings blur_off = store().now(); blur_off.motion_blur = false; @@ -85,7 +86,7 @@ int main() { CHECK(shader_patch_mask() == 3); blur_off.depth_of_field = false; store().publish(blur_off); - CHECK(shader_patch_mask() == 7); + CHECK(shader_patch_mask() == 3); store().publish(HostSettings{}); CHECK(shader_patch_mask() == 0); From 75c0729ec303962029ea63af6ead78dadc050630 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Wed, 11 Nov 2026 21:45:29 -0800 Subject: [PATCH 003/100] plugins: on_view's comment names the switch it runs before - [r13+0x110]+0xc4 is the debug free camera's, whose camera at +0xd0 the game copies over the scene's when it is set Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- src/host/plugins.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/host/plugins.cpp b/src/host/plugins.cpp index a6e2da03..b4b35cde 100644 --- a/src/host/plugins.cpp +++ b/src/host/plugins.cpp @@ -1174,10 +1174,10 @@ int api_on_camera(void (*fn)(BbCamera*, void*), void* user) { // The scene's camera, after the copy above: the game state's update keeps it // in r15, loaded at 0x1d3bb93 from the object the slot at 0x594f880 holds -// (+0x10). At 0x1d3bec5 the copy is done and a scripted camera's replacing it -// is still to come (mov rax, [r13+0x110]; cmp dword [rax+0xc4], 0 - the scripted -// camera's switch). The stub keeps only the argument registers, so the camera is -// found again through the slot rather than r15. +// (+0x10). At 0x1d3bec5 the copy is done and the debug free camera's replacing +// it is still to come (mov rax, [r13+0x110]; cmp dword [rax+0xc4], 0 - its switch; +// set, its camera at +0xd0 is copied over the scene's). The stub keeps only the +// argument registers, so the camera is found again through the slot rather than r15. std::vector g_view_callbacks; // under g_frame_mu bool g_view_hooked = false; From b49942fd9f45634446a615e087577465c03b776e Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Wed, 11 Nov 2026 22:21:12 -0800 Subject: [PATCH 004/100] plugins: API 29 - the world held still (world_pause, world_step), the controller read as a plugin's own (pad, pad_take) and who else is in the world (world_state) What a photo mode needs from the host, so that one can be built without writing the game's code: - world_pause holds the world with the game's own pause, the one it holds while it leaves a world: the in-game update's two bytes at +0x150 (the world) and +0x151 (its effects and cloth), written by a hook at the update's entry (sub_1d3ac10) while any plugin asks. Frames go on being drawn and on_view goes on being called, because the update's camera part runs either way. The hook clears only what it set itself, never while the game is leaving (+0x153), and lets every hold go when a load makes a new in-game step, so a world never starts held. The held update reads the camera root's debug camera (+0x110, +0xd0) without a check, so a world whose root has none is not held. world_step lets a number of updates run, one a frame, then holds again: a frame advance. - pad reads the controller as the plugin's own: the buttons as the menus' bits, whatever the player's bindings make of them in play, the sticks with the dead zones applied, the triggers' travel, and the presses latched between reads. pad_take keeps buttons, sticks and triggers from the game while pad still reads them. A test's taps count as the controller's, and a taken tap does not reach the game either. - world_state says whether a world is loaded, loading, in a cutscene, behind one of the game's menus or held, the game's session role (the session manager's +0x124), the other players' characters in the world (the world character manager's player set) and the players on their way in (the session's members not in the world yet). tools/api29_probe.c, built beside the tests and never into plugins/, calls them in a running game for a harness. In a render-min client at Central Yharnam: held, the hunter stood through 22 s of the left stick pushed up (the probe read it at -1), moved 0 and 8 mm in two steps of two updates, and walked 4.3 m once the world ran again; with Cross and the left stick taken, 12 s of the stick moved the hunter 0 m and Cross never reached the game while the probe read both; given back, the stick walked the hunter 4.8 m; the game's menu read as BB_WORLD_MENU and a load as BB_WORLD_LOADING; offline, session 0 with nobody else and nobody arriving. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 7 ++ docs/plugins.md | 42 ++++++++++- include/bbhost_plugin.h | 99 +++++++++++++++++++++++- src/engine/loading.cpp | 3 + src/engine/loading.h | 3 + src/engine/world_pause.cpp | 150 +++++++++++++++++++++++++++++++++++++ src/engine/world_pause.h | 38 ++++++++++ src/hle/system.cpp | 19 +++++ src/host/plugins.cpp | 114 ++++++++++++++++++++++++++++ src/host/window.cpp | 103 +++++++++++++++++++++++-- src/host/window.h | 25 +++++++ tests/plugin_abi_test.c | 23 +++++- tools/api29_probe.c | 122 ++++++++++++++++++++++++++++++ 13 files changed, 734 insertions(+), 14 deletions(-) create mode 100644 src/engine/world_pause.cpp create mode 100644 src/engine/world_pause.h create mode 100644 tools/api29_probe.c diff --git a/CMakeLists.txt b/CMakeLists.txt index 23f52855..489555ff 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -145,6 +145,7 @@ add_executable(bbhost src/engine/live_resolution.cpp src/engine/render_scale.cpp src/engine/loading.cpp + src/engine/world_pause.cpp src/engine/camera.cpp src/engine/mouse_camera.cpp src/engine/mouse_camera_stubs.cpp @@ -750,6 +751,12 @@ if(UNIX) add_dependencies(mapval_probe_test mapval_probe) add_test(NAME mapval_probe_test COMMAND mapval_probe_test $) set_tests_properties(mapval_probe_test PROPERTIES SKIP_RETURN_CODE 77) + # Plugin API 29's world_pause, world_step, pad, pad_take and world_state in a + # running game, for a harness (tools/api29_probe.c). Built beside the tests, + # never into plugins/, where bbhost would load it. + add_library(api29_probe MODULE tools/api29_probe.c) + target_include_directories(api29_probe PRIVATE include) + set_target_properties(api29_probe PROPERTIES PREFIX "") # The boss rush plugin's travel and fog warp on a pretend host whose loads # are slow (plugins/boss_rush): nothing moves the player inside a loading # screen, and only a travel that truly fails stops the run. diff --git a/docs/plugins.md b/docs/plugins.md index 0f6f121b..2b5d10cb 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -82,7 +82,7 @@ log line. Everything a plugin logs is prefixed with `plugin:`. The API only ever grows. A plugin checks that `api->version` is at least the version whose calls it makes, and `api->size` for fields a newer host -appended. The current version is 28 (`BB_PLUGIN_API_VERSION`). +appended. The current version is 29 (`BB_PLUGIN_API_VERSION`). ## Addresses @@ -191,6 +191,46 @@ gives the Binary Ninja address. recompiled one, a plugin still needs its own camera hooks. One plugin owns it: 1 outside image setup, for NULL, or once taken; 0 otherwise. +**The world held still, the controller, and who else is in the world** (v29) + +What a photo mode needs: the world stopped while its own camera flies, the +controller read as the plugin's own while the game reads none of what it +takes, and a way to know that nobody else is in the world. + +- `world_pause(name, paused)`: holds the world - its characters, physics, AI, + events, effects and cloth - while frames go on being drawn and `on_view` + goes on being called. It is the game's own pause, the one it holds while it + leaves a world, taken at the world's next update. `name` is the plugin's + `BbPluginInfo` name; the world is held while any plugin asks. A load lets + every hold go, so a world never starts held, and so does turning the plugin + off. `set_time_scale` cannot do this: it stops at 0.1, and at frame rates + above 30 what the game counts in frames keeps real time. +- `world_step(name, updates)`: while the plugin holds the world, that many + more updates run, one a frame, and then it is held again - a frame advance. +- `pad(&pad)`: the controller as `BbPad` (set `pad.size` first): its own + buttons as `BB_PAD_*` bits, whatever the player's bindings make of them in + play, the sticks from -1 to 1 with the player's dead zones applied, the + triggers from 0 to 1, and the presses since the last read, latched so that + a press shorter than a frame still counts. One reader, from the main + thread. While bbhost's own menus, a binding being chosen or a text box have + the controller, nothing reads as held. A test's taps (`BBHOST_AUTOPRESS`, + the `tap` request) count as the controller's. +- `pad_take(buttons, axes)`: the game reads those buttons let go and those + axes (`BB_PAD_LEFT_STICK`, `BB_PAD_RIGHT_STICK`, `BB_PAD_TRIGGERS`) at rest - + whatever they are bound to in play is not pressed - while `pad` still reads + them. Keys stay `input_take`'s. A call replaces the last; `0, 0` gives + everything back. +- `world_state(&state)`: `BbWorldState` (set `state.size` first). `flags`: + `BB_WORLD_IN` (a world is loaded and running, or held), `BB_WORLD_LOADING`, + `BB_WORLD_CUTSCENE` (one plays or is queued), `BB_WORLD_MENU` (one of the + game's menus or dialogs has the controls), `BB_WORLD_PAUSED` (a plugin holds + the world), `BB_WORLD_VISITING` (the player is in another player's world or + on the way there) and `BB_WORLD_OPEN` (the player's world is open to others: + a sign or a bell is up, or others are in it). `others`: other players' + characters in this world now - co-operators, invaders, the host one visits. + `arriving`: players on their way in, members of the world's session who are + not in it yet. `session`: the game's own session role (`BB_SESSION_*`). + **Settings, UI and files** - `bb_plugin_options` (v9): a table of headings, switches, numbers, choices, diff --git a/include/bbhost_plugin.h b/include/bbhost_plugin.h index 745c57c2..269580eb 100644 --- a/include/bbhost_plugin.h +++ b/include/bbhost_plugin.h @@ -1,4 +1,4 @@ -/* bbhost plugin API, version 28. +/* bbhost plugin API, version 29. * * A plugin is a shared library (.so on Linux, .dll on Windows) in * /plugins or /plugins. The host loads every one at start and @@ -38,7 +38,7 @@ extern "C" { #endif -#define BB_PLUGIN_API_VERSION 28 +#define BB_PLUGIN_API_VERSION 29 #if defined(_WIN32) #define BB_PLUGIN_EXPORT __declspec(dllexport) @@ -357,6 +357,66 @@ typedef void (*BbRenderFn)(const BbRenderCall* call, void* user); DLSS nor the game's own anti-aliasing pass, and draws the 3D at the Resolution, as with Upscaling Off; the menus name the plugin */ +/* Version 29: the controller as a plugin with controls of its own reads it + * (pad) - its own buttons, sticks and triggers, whatever the player's bindings + * make of them in the game - and what it takes from the game (pad_take). */ +#define BB_PAD_L3 0x0002u +#define BB_PAD_R3 0x0004u +#define BB_PAD_OPTIONS 0x0008u +#define BB_PAD_UP 0x0010u +#define BB_PAD_RIGHT 0x0020u +#define BB_PAD_DOWN 0x0040u +#define BB_PAD_LEFT 0x0080u +#define BB_PAD_L2 0x0100u /* the trigger past a quarter of its travel */ +#define BB_PAD_R2 0x0200u +#define BB_PAD_L1 0x0400u +#define BB_PAD_R1 0x0800u +#define BB_PAD_TRIANGLE 0x1000u +#define BB_PAD_CIRCLE 0x2000u +#define BB_PAD_CROSS 0x4000u +#define BB_PAD_SQUARE 0x8000u +#define BB_PAD_TOUCHPAD 0x100000u /* the touchpad's press, or a controller's Back (Select, Share) */ +#define BB_PAD_LEFT_STICK 1u /* pad_take's axes */ +#define BB_PAD_RIGHT_STICK 2u +#define BB_PAD_TRIGGERS 4u /* L2's and R2's travel (their presses are BB_PAD_L2 and BB_PAD_R2) */ + +typedef struct BbPad { + uint32_t size; /* set to sizeof(BbPad) before the call: the host fills as much as both know */ + uint32_t buttons; /* BB_PAD_* held */ + uint32_t pressed; /* BB_PAD_* that went down since the last read - latched, so a press shorter than a + frame is still seen */ + int32_t connected; /* 1 while a controller is there */ + float lx, ly, rx, ry; /* the sticks, -1..1, right and down positive, the player's dead zones applied */ + float l2, r2; /* the triggers' travel, 0..1 */ +} BbPad; + +/* Version 29: what the world is doing and who else is in it (world_state). */ +#define BB_WORLD_IN 1u /* a world is loaded and running - or held by world_pause */ +#define BB_WORLD_LOADING 2u /* a loading screen is up */ +#define BB_WORLD_CUTSCENE 4u /* a cutscene plays, or one is queued */ +#define BB_WORLD_MENU 8u /* one of the game's menus or dialogs has the controls */ +#define BB_WORLD_PAUSED 16u /* world_pause holds the world (any plugin's) */ +#define BB_WORLD_VISITING 32u /* the player is in another player's world, or on the way there */ +#define BB_WORLD_OPEN 64u /* the player's world is open to others: a sign or a bell is up, or others are in it */ + +/* BbWorldState.session: the game's own session role. */ +#define BB_SESSION_NONE 0 +#define BB_SESSION_HOSTING 1 /* the world being opened to others (a bell rung, a sign seen) */ +#define BB_SESSION_HOST_FAILED 2 +#define BB_SESSION_HOST 3 /* the world's own session, others in it or let in */ +#define BB_SESSION_JOINING 4 /* on the way into another player's world */ +#define BB_SESSION_JOIN_FAILED 5 +#define BB_SESSION_GUEST 6 /* in another player's world */ +#define BB_SESSION_LEAVING 7 + +typedef struct BbWorldState { + uint32_t size; /* set to sizeof(BbWorldState) before the call: the host fills as much as both know */ + uint32_t flags; /* BB_WORLD_* */ + uint32_t others; /* other players' characters in this world now: co-operators, invaders, the host one visits */ + uint32_t arriving; /* players on their way in: members of the world's session who are not in it yet */ + int32_t session; /* BB_SESSION_* */ +} BbWorldState; + typedef struct BbHostApi { uint32_t version; /* BB_PLUGIN_API_VERSION */ uint32_t size; /* sizeof(BbHostApi): a newer host may append fields */ @@ -883,6 +943,41 @@ typedef struct BbHostApi { * Native-camera builds still require the plugin's native camera hooks. * 0 on success; 1 outside image setup, for NULL, or if already owned. */ int (*on_camera_target)(void* (*fn)(void* character, void* user), void* user); + + /* Version 29: the world held still, the controller, and who else is in + * the world (a photo mode's). */ + /* The world held still - its characters, physics, AI, events, effects and + * cloth - while frames go on being drawn and on_view goes on being called: + * the game's own pause, the one it holds while it leaves a world. `paused` + * 1 asks for it for the plugin named `name` (its BbPluginInfo name), 0 lets + * it go; the world is held while any plugin asks. It takes hold at the + * world's next update. A load lets every hold go (a new world starts + * running), and so does the plugin being turned off. Any thread. 0 on + * success; 1 for another eboot or an unknown plugin. */ + int (*world_pause)(const char* name, int paused); + /* While the plugin holds the world: `updates` more of its updates run, one + * a frame, and then it is held again (a frame advance). A later call adds + * to what is left. Any thread. 0 on success; 1 when the plugin holds no + * pause. */ + int (*world_step)(const char* name, uint32_t updates); + /* The controller, into *out (set out->size first): its own buttons and + * sticks - the dead zones applied, the player's key bindings not - pressed + * or not, as the game would read them before pad_take takes any; a test's + * taps (BBHOST_AUTOPRESS, the "tap" request) count as the controller's. One + * reader: the presses are the caller's once read. While bbhost's own menus + * or a text box have the controller it reads nothing held. Main thread. 0 + * on success; 1 for a size under 8. */ + int (*pad)(BbPad* out); + /* Takes the controller's buttons (BB_PAD_*) and axes (BB_PAD_LEFT_STICK, + * BB_PAD_RIGHT_STICK, BB_PAD_TRIGGERS) from the game: the game reads them + * let go and at rest - whatever they are bound to in play is not pressed - + * while pad still reads them. Keys are input_take's. A call replaces the last; + * 0, 0 gives everything back. Any thread. 0 on success. */ + int (*pad_take)(uint32_t buttons, uint32_t axes); + /* What the world is doing and who else is in it (BbWorldState), into *out + * (set out->size first). Main thread. 0 on success; 1 for another eboot or + * a size under 8. */ + int (*world_state)(BbWorldState* out); } BbHostApi; #define BB_SNAP_PIXELS 0xffffffffu /* version 18: scene_snap's grid the 3D's own pixels */ diff --git a/src/engine/loading.cpp b/src/engine/loading.cpp index fd555894..4d6a1e83 100755 --- a/src/engine/loading.cpp +++ b/src/engine/loading.cpp @@ -21,6 +21,7 @@ constexpr std::uint64_t kNowLoadingHelper = 0x593e8b8; // CSNowLoadingHelper // load it follows keeps the cap. constexpr std::uint64_t kSprjRemo = 0x5940058; std::atomic g_fast{false}; +std::atomic g_cutscene{false}; const bool g_fast_enabled = [] { const char* e = std::getenv("BBHOST_FAST_LOADING"); return !(e && e[0] == '0'); @@ -48,6 +49,7 @@ void loading_bind(std::uint64_t slide) { bool loading_screen_up() { return g_loading.load(std::memory_order_relaxed); } bool loading_in_world() { return g_in_world.load(std::memory_order_relaxed); } bool loading_fast_now() { return g_fast.load(std::memory_order_relaxed); } +bool loading_cutscene() { return g_cutscene.load(std::memory_order_relaxed); } void loading_tick(std::uint64_t flip) { if (!g_slide) return; @@ -68,6 +70,7 @@ void loading_tick(std::uint64_t flip) { cutscene = (at(man + 0x168) & 1) != 0 || at(man + 0xf8) != 0; } } + g_cutscene.store(cutscene, std::memory_order_relaxed); const bool fast = g_fast_enabled && loading && !cutscene && frame_rate_converted(); // every converted rate if (g_fast.exchange(fast, std::memory_order_relaxed) != fast) hle_video_set_loading_uncapped(fast); if (loading && !was) { diff --git a/src/engine/loading.h b/src/engine/loading.h index aafbd6d5..6b8a7eb9 100755 --- a/src/engine/loading.h +++ b/src/engine/loading.h @@ -31,3 +31,6 @@ bool loading_in_world(); // run as fast as the machine allows - the community's fast-loading patch, // done natively. BBHOST_FAST_LOADING=0 turns it off. bool loading_fast_now(); +// The last tick's answer: a cutscene (a Remo) plays, or one is queued - the +// SprjRemo manager's running bit or its queue (plugin API 29 world_state). +bool loading_cutscene(); diff --git a/src/engine/world_pause.cpp b/src/engine/world_pause.cpp new file mode 100644 index 00000000..0aecbb9c --- /dev/null +++ b/src/engine/world_pause.cpp @@ -0,0 +1,150 @@ +#include "engine/world_pause.h" + +#include "core/elf.h" +#include "core/memory.h" +#include "core/portable.h" +#include "engine/addr.h" +#include "engine/graphics_patch.h" +#include "guest_abi.h" +#include "log.h" + +#include +#include +#include +#include +#include + +namespace { + +// sub_1d3ac10, the in-game update: push rbp; mov rbp, rsp; push r15..r12; +// push rbx; sub rsp, 0x1c8 - none of it rip-relative. +constexpr std::uint64_t kInGameUpdate = 0x1d3ac10; +constexpr std::uint8_t kInGameUpdatePrologue[20] = {0x55, 0x48, 0x89, 0xe5, 0x41, 0x57, 0x41, 0x56, 0x41, 0x55, + 0x41, 0x54, 0x53, 0x48, 0x81, 0xec, 0xc8, 0x01, 0x00, 0x00}; +// The step's bytes: the world held, its effects and cloth held with it, and the +// game's own leaving (which holds the world itself); the camera root and its +// debug free camera, which the held update reads with no check. +constexpr std::uint64_t kHeld = 0x150, kHeldEffects = 0x151, kLeaving = 0x153; +constexpr std::uint64_t kCameraRoot = 0x110, kDebugCamera = 0xd0; + +bool g_installed = false; +std::mutex g_mu; +std::map g_holds; // under g_mu: each plugin that asks +std::atomic g_want{false}; // any of them +std::atomic g_steps{0}; // updates still to run while held +std::atomic g_held{false}; + +// The update thread's own state. +std::uint64_t g_step = 0; // the step seen last +bool g_ours = false; // the bytes are ours: we set them +bool g_told = false; // "held" logged, until the world runs again + +std::uint64_t read64(std::uint64_t at) { + std::uint64_t v = 0; + return at && host_read_safe(reinterpret_cast(static_cast(at)), &v, sizeof(v)) ? v : 0; +} + +void want_update_locked() { + bool any = false; + for (const auto& [name, on] : g_holds) any = any || on; + g_want.store(any, std::memory_order_relaxed); + if (!any) g_steps.store(0, std::memory_order_relaxed); +} + +GUEST_ABI std::int64_t in_game_update_hook(std::uint64_t, const std::uint64_t* saved) { + const std::uint64_t step = saved[5]; // rdi + if (!step) return 0; + auto* bytes = reinterpret_cast(static_cast(step)); + if (step != g_step) { + // A load made a new step: what was ours went with the old one, and + // every hold is let go - a world never starts held. + if (g_step && g_want.load(std::memory_order_relaxed)) { + std::lock_guard lk(g_mu); + g_holds.clear(); + want_update_locked(); + host_log("world pause: a new world (in-game step %llx): every hold let go", static_cast(step)); + } + g_step = step; + g_ours = false; + g_told = false; + g_held.store(false, std::memory_order_relaxed); + } + if (!g_want.load(std::memory_order_relaxed) && !g_ours) return 0; + const bool leaving = bytes[kLeaving] != 0; + bool hold = g_want.load(std::memory_order_relaxed) && !leaving; + if (hold) { + // A frame advance: this update runs. + std::uint32_t left = g_steps.load(std::memory_order_relaxed); + while (left && !g_steps.compare_exchange_weak(left, left - 1, std::memory_order_relaxed)) { + } + if (left) hold = false; + } + if (hold && !read64(read64(step + kCameraRoot) + kDebugCamera)) { + static bool told = false; + if (!told) host_log("world pause: this world's camera root has no debug camera, which the held update reads; not held"); + told = true; + hold = false; + } + if (hold) { + if (!g_told) host_log("world pause: the world held (in-game step %llx)", static_cast(step)); + g_told = true; + bytes[kHeld] = 1; + bytes[kHeldEffects] = 1; + g_ours = true; + } else if (g_ours) { + if (!leaving) { + bytes[kHeld] = 0; + bytes[kHeldEffects] = 0; + } + g_ours = false; + } + if (g_told && !g_want.load(std::memory_order_relaxed)) { + host_log("world pause: the world runs again"); + g_told = false; + } + g_held.store(g_ours, std::memory_order_relaxed); + return 0; +} + +} // namespace + +void world_pause_install(ElfImage* image) { + if (g_installed || !image) return; + const std::uint64_t at = image->mem.slide + (kInGameUpdate - kPreferredGuestSlide); + if (!engine_prologue_hook(image, at, kInGameUpdatePrologue, sizeof(kInGameUpdatePrologue), + reinterpret_cast(&in_game_update_hook))) { + host_log("world pause: 0x%llx is not the in-game update as expected; world_pause does nothing", + static_cast(kInGameUpdate)); + return; + } + g_installed = true; +} + +bool world_pause_set(const std::string& owner, bool on) { + if (!g_installed || owner.empty()) return false; + std::lock_guard lk(g_mu); + const bool was = g_holds.count(owner) && g_holds[owner]; + if (on) g_holds[owner] = true; + else g_holds.erase(owner); + if (was != on) host_log("world pause: %s %s", owner.c_str(), on ? "holds the world" : "lets the world go"); + want_update_locked(); + return true; +} + +bool world_pause_step(const std::string& owner, std::uint32_t updates) { + if (!g_installed) return false; + std::lock_guard lk(g_mu); + const auto it = g_holds.find(owner); + if (it == g_holds.end() || !it->second) return false; + g_steps.fetch_add(updates, std::memory_order_relaxed); + host_log("world pause: %s lets %u more update(s) run", owner.c_str(), updates); + return true; +} + +bool world_pause_held() { return g_held.load(std::memory_order_relaxed); } + +void world_pause_drop(const std::string& owner) { + std::lock_guard lk(g_mu); + if (g_holds.erase(owner)) host_log("world pause: %s turned off; its hold let go", owner.c_str()); + want_update_locked(); +} diff --git a/src/engine/world_pause.h b/src/engine/world_pause.h new file mode 100644 index 00000000..fff97cc0 --- /dev/null +++ b/src/engine/world_pause.h @@ -0,0 +1,38 @@ +#pragma once + +// The world held still (plugin API 29's world_pause and world_step): the game's +// own pause, the one it holds while it leaves a world. +// +// The in-game update (sub_1d3ac10, the in-game step in rdi) reads two bytes of +// the step as it starts (0x1d3b125): +0x150 holds the world - no physics, AI, +// bullets or events, the characters only posed again where they stand +// (sub_1d18880) - and +0x151 the effects and the cloth with it (SprjSfx +0x8c, +// SprjCloth +0x40). Its camera section runs either way, so the view - on_view's +// included - is drawn every frame. The game sets +0x150 itself while it leaves +// a world, with +0x153; the debug camera's community patch set it to fly a +// camera over a held world. A hook at the update's entry writes both bytes +// before they are read, for as long as any plugin asks: +// - it clears only what it set itself, and never while +0x153 holds them; +// - a load makes a new in-game step, and the first update of a new one lets +// every hold go, so a world never starts held; +// - the held update reads the step's camera root +0xd0 (the debug free +// camera, which the game makes with the root) with no check, so a world +// whose root has none is not held (logged). + +#include +#include + +struct ElfImage; + +// The hook on the in-game update's entry. Only after the eboot's SHA-256 check. +void world_pause_install(ElfImage* image); +// A plugin's hold, by its name: asked for (on) or let go. False when the hook +// is not in (another eboot, a prologue that differs). +bool world_pause_set(const std::string& owner, bool on); +// While `owner` holds the world: `updates` more updates run (one a frame), then +// it is held again. False when `owner` holds none. +bool world_pause_step(const std::string& owner, std::uint32_t updates); +// The world was held at its last update. +bool world_pause_held(); +// Every hold of `owner` let go (the plugin turned off). +void world_pause_drop(const std::string& owner); diff --git a/src/hle/system.cpp b/src/hle/system.cpp index 18bd10af..ff3af8e4 100755 --- a/src/hle/system.cpp +++ b/src/hle/system.cpp @@ -2006,6 +2006,9 @@ GUEST_ABI int hle_pad_read(int handle, std::uint8_t* st) { return v > 0 ? v : 500; }(); + // What the taps and the autopress below add stands for the controller + // (plugin API 29: a plugin reads it, and what it takes the game does not). + const PadState before_taps = p; // Taps the port itself asks for (hle_pad_tap): a press the game reads as // the player's, for a few polls - on a pad that is there. With no window // and no controller (a headless test run) the record is a disconnected @@ -2090,6 +2093,22 @@ GUEST_ABI int hle_pad_read(int handle, std::uint8_t* st) { } p.timestamp = static_cast(ms) * 1000; } + { + const std::uint32_t tapped = p.buttons & ~before_taps.buttons; + const auto moved = [](std::uint8_t now, std::uint8_t was) { return now != was ? now : kStickRest; }; + host_plugin_pad_test(tapped, moved(p.lx, before_taps.lx), moved(p.ly, before_taps.ly), moved(p.rx, before_taps.rx), + moved(p.ry, before_taps.ry)); + const std::uint32_t take_axes = host_plugin_pad_taken_axes(); + p.buttons &= ~(tapped & host_plugin_pad_taken_buttons()); + if (take_axes & kPadTakeLeftStick) { + p.lx = before_taps.lx; + p.ly = before_taps.ly; + } + if (take_axes & kPadTakeRightStick) { + p.rx = before_taps.rx; + p.ry = before_taps.ry; + } + } // BBHOST_TRACE_PAD=1: every read that sees a button change, with the // flip count and the reads-per-flip rate (double-press investigations). static const bool trace_pad = [] { diff --git a/src/host/plugins.cpp b/src/host/plugins.cpp index b4b35cde..08038212 100644 --- a/src/host/plugins.cpp +++ b/src/host/plugins.cpp @@ -23,6 +23,8 @@ #include "engine/world_chr.h" #include "engine/lua_events.h" #include "engine/loading.h" +#include "engine/menu_pointer.h" +#include "engine/world_pause.h" #include "engine/paramdef.h" #include "engine/params.h" #include "engine/patch_manifest.h" @@ -1475,6 +1477,115 @@ void api_audio_crush(int rate_hz, int bits, float lowpass_hz) { static_cast(lowpass_hz)); } +// Version 29: the world held still, the controller, and who else is in the +// world. +bool plugin_named(const char* name) { + if (!name || !name[0]) return false; + for (const Plugin& p : g_plugins) { + if (p.name == name && !p.visitor) return true; + } + return false; +} + +int api_world_pause(const char* name, int paused) { + if (!g_image || !api_eboot_is_109() || !plugin_named(name)) return 1; + return world_pause_set(name, paused != 0) ? 0 : 1; +} + +int api_world_step(const char* name, std::uint32_t updates) { + if (!plugin_named(name)) return 1; + return world_pause_step(name, updates) ? 0 : 1; +} + +int api_pad(BbPad* out) { + if (!out || out->size < 8) return 1; + PluginPad pad; + host_plugin_pad(pad); + const auto axis = [](std::uint8_t v) { + return std::clamp((static_cast(v) - static_cast(kStickRest)) / 127.0f, -1.0f, 1.0f); + }; + BbPad o{}; + o.buttons = pad.buttons; + o.pressed = pad.pressed; + o.connected = pad.connected ? 1 : 0; + o.lx = axis(pad.lx); + o.ly = axis(pad.ly); + o.rx = axis(pad.rx); + o.ry = axis(pad.ry); + o.l2 = static_cast(pad.l2) / 255.0f; + o.r2 = static_cast(pad.r2) / 255.0f; + o.size = std::min(out->size, sizeof(BbPad)); + std::memcpy(out, &o, o.size); + return 0; +} + +int api_pad_take(std::uint32_t buttons, std::uint32_t axes) { + static_assert(BB_PAD_LEFT_STICK == kPadTakeLeftStick && BB_PAD_RIGHT_STICK == kPadTakeRightStick && + BB_PAD_TRIGGERS == kPadTakeTriggers, + "pad_take's axes"); + host_plugin_pad_take(buttons, axes & (BB_PAD_LEFT_STICK | BB_PAD_RIGHT_STICK | BB_PAD_TRIGGERS)); + return 0; +} + +// Other players' characters in this world: the player set's entries after the +// main player's (WorldChrMan +0x30: the local player, then up to four remote +// ones, bbhost/engine/sprj/world_chr_man.hpp), each a character still there. +std::uint32_t other_players() { + const std::uint64_t man = world_chr_man(); + const std::uint64_t main = man ? rp(man + 0x60) : 0; + if (!main) return 0; + std::uint32_t cap = 0; + const std::uint64_t entries = rp(man + 0x38); + if (!entries || !rd(man + 0x30, &cap) || cap > 16) return 0; + std::uint32_t n = 0; + for (std::uint32_t k = 0; k < cap; ++k) { + const std::uint64_t ins = rp(entries + k * 0x38); + if (ins && ins != main && rp(ins)) ++n; + } + return n; +} + +// The session's members besides the player: SprjSessionManager's route +// configurations (+0xf0, one a member, 0x20 bytes each - the in-game update's +// own "two or more" test at its start reads them) less one. +std::uint32_t session_members(std::uint64_t sm) { + const std::uint64_t begin = rp(sm + 0xf8), end = rp(sm + 0x100); + if (!begin || end < begin || (end - begin) % 0x20 || (end - begin) > 0x20 * 16) return 0; + const std::uint32_t routes = static_cast((end - begin) / 0x20); + return routes > 1 ? routes - 1 : 0; +} + +int api_world_state(BbWorldState* out) { + if (!out || out->size < 8 || !g_image || !api_eboot_is_109()) return 1; + BbWorldState w{}; + if (loading_in_world()) w.flags |= BB_WORLD_IN; + if (loading_screen_up()) w.flags |= BB_WORLD_LOADING; + if (loading_cutscene()) w.flags |= BB_WORLD_CUTSCENE; + if (menu_pointer_in_menu()) w.flags |= BB_WORLD_MENU; + if (world_pause_held()) w.flags |= BB_WORLD_PAUSED; + w.others = other_players(); + std::uint32_t members = 0; + if (const std::uint64_t sm = rp(runtime_of(bb::SPRJ_SESSION_MANAGER_SINGLETON_PTR.bn(), 8))) { + std::int32_t role = 0; + if (rd(sm + 0x124, &role) && role >= BB_SESSION_NONE && role <= BB_SESSION_LEAVING) w.session = role; + members = session_members(sm); + } + if (w.session == BB_SESSION_JOINING || w.session == BB_SESSION_GUEST) w.flags |= BB_WORLD_VISITING; + if (w.session == BB_SESSION_HOSTING || w.session == BB_SESSION_HOST || w.others) w.flags |= BB_WORLD_OPEN; + w.arriving = members > w.others ? members - w.others : 0; + // Logged as who else is in the world changes (the menus, loads and cutscenes + // come and go too often to log each). + static BbWorldState logged{}; + if (w.others != logged.others || w.arriving != logged.arriving || w.session != logged.session) { + host_log("plugin: world state: session %d, %u other player(s), %u arriving (flags %x)", w.session, w.others, w.arriving, + w.flags); + logged = w; + } + w.size = std::min(out->size, sizeof(BbWorldState)); + std::memcpy(out, &w, w.size); + return 0; +} + const BbHostApi g_api = { BB_PLUGIN_API_VERSION, sizeof(BbHostApi), &api_log, &api_config, &api_data_dir, &api_mods_dir, &api_register_hle, &api_eboot_sha256, &api_eboot_is_109, &api_guest_addr, &api_read, &api_write, &api_patch, &api_hook, @@ -1506,6 +1617,7 @@ const BbHostApi g_api = { &api_aa_claim, &api_shader_override, &api_shader_folder, &api_shader_state, &api_shader_source, &api_shader_data, &api_on_camera_target, + &api_world_pause, &api_world_step, &api_pad, &api_pad_take, &api_world_state, }; std::string read_file(const std::string& path) { @@ -1736,6 +1848,7 @@ void plugins_load() { void plugins_image(ElfImage* image) { g_image = image; if (!g_plugins.empty() && api_eboot_is_109()) { + world_pause_install(image); // plugin API 29's world_pause static const std::uint8_t prologue[17] = {0x55, 0x48, 0x89, 0xe5, 0x41, 0x57, 0x41, 0x56, 0x41, 0x55, 0x41, 0x54, 0x53, 0x48, 0x83, 0xec, 0x28}; if (api_hook2(0x18235e0, prologue, sizeof(prologue), &layout_request_hook, nullptr) != 0) @@ -1808,6 +1921,7 @@ void plugins_frame() { p.dormant = !on; gpu::overrides_owner_on(p.shader_owner, on); // its shader overrides with it } + if (!on) world_pause_drop(r.name); // and its hold on the world host_log("plugin: %s turned %s", r.name.c_str(), on ? "on" : "off"); if (render_hooks_plugin_on(r.name, on)) republish_settings(); aa_update(); diff --git a/src/host/window.cpp b/src/host/window.cpp index f8409007..d6315025 100755 --- a/src/host/window.cpp +++ b/src/host/window.cpp @@ -102,6 +102,19 @@ std::uint8_t g_plugin_keys[512] = {}; // under g_take_mu std::atomic g_take_any_key{false}; std::atomic g_take_buttons{0}; std::atomic g_take_wheel{false}, g_take_motion{false}; +// Plugin API 29: the controller as a plugin reads it (host_plugin_pad), a test's +// taps beside it, the presses latched for the reader, and what it takes. +std::mutex g_ppad_mu; +PluginPad g_ppad; // under g_ppad_mu: the controller at the last pad update +PluginPad g_ppad_test; // under g_ppad_mu: a test's taps at the last pad read +std::uint32_t g_ppad_prev = 0; // under g_ppad_mu: what was held, for the presses +std::uint32_t g_ppad_pressed = 0; // under g_ppad_mu: went down since the reader's last call +std::atomic g_ppad_take_buttons{0}, g_ppad_take_axes{0}; +static void ppad_latch_locked() { + const std::uint32_t held = g_ppad.buttons | g_ppad_test.buttons; + g_ppad_pressed |= held & ~g_ppad_prev; + g_ppad_prev = held; +} float g_plugin_dx = 0.0f, g_plugin_dy = 0.0f, g_plugin_wheel = 0.0f; // under g_mouse_mu std::uint32_t g_plugin_pressed = 0; // under g_mouse_mu // BBHOST_IME_TEST: opens the text box once at startup and again on F11. @@ -1760,6 +1773,13 @@ void update_pad() { if (host_options_open() || ingame_menu_open() || binding || typing) { p.connected = true; g_key_strong.store(false, std::memory_order_relaxed); + { + // A plugin reads the controller let go while these have it. + std::lock_guard lock(g_ppad_mu); + g_ppad = PluginPad{}; + g_ppad.connected = !g_pads.empty(); + ppad_latch_locked(); + } std::lock_guard lock(g_pad_mu); g_pad = p; return; @@ -1778,8 +1798,14 @@ void update_pad() { // Each pad's buttons are or-ed together, and each stick axis and trigger // is whichever pad pushes it furthest, so two pads never fight. bool touch_done = false, back_held = false; + // A plugin's view of the controller, before what it takes from the game + // (plugin API 29: host_plugin_pad, host_plugin_pad_take). + PluginPad ctl; + const std::uint32_t take_buttons = g_ppad_take_buttons.load(std::memory_order_relaxed); + const std::uint32_t take_axes = g_ppad_take_axes.load(std::memory_order_relaxed); for (SDL_Gamepad* g_gamepad : g_pads) { p.connected = true; + ctl.connected = true; // The sixteen buttons, the triggers past a quarter of their travel, each // giving in play the press it is bound to (host/bindings.h host_pad_*): // a rebound one's play press goes to play_buttons, which a menu takes @@ -1801,14 +1827,32 @@ void update_pad() { hs.stick_inner[0], hs.stick_outer[0], &lx, &ly); stick_deadzone(SDL_GetGamepadAxis(g_gamepad, SDL_GAMEPAD_AXIS_RIGHTX), SDL_GetGamepadAxis(g_gamepad, SDL_GAMEPAD_AXIS_RIGHTY), hs.stick_inner[1], hs.stick_outer[1], &rx, &ry); - p.lx = further(p.lx, lx); - p.ly = further(p.ly, ly); - p.rx = further(p.rx, rx); - p.ry = further(p.ry, ry); - const std::int16_t lt = SDL_GetGamepadAxis(g_gamepad, SDL_GAMEPAD_AXIS_LEFT_TRIGGER); - const std::int16_t rt = SDL_GetGamepadAxis(g_gamepad, SDL_GAMEPAD_AXIS_RIGHT_TRIGGER); + ctl.lx = further(ctl.lx, lx); + ctl.ly = further(ctl.ly, ly); + ctl.rx = further(ctl.rx, rx); + ctl.ry = further(ctl.ry, ry); + // A stick a plugin takes stays centred for the game. + if (!(take_axes & kPadTakeLeftStick)) { + p.lx = further(p.lx, lx); + p.ly = further(p.ly, ly); + } + if (!(take_axes & kPadTakeRightStick)) { + p.rx = further(p.rx, rx); + p.ry = further(p.ry, ry); + } + std::int16_t lt = SDL_GetGamepadAxis(g_gamepad, SDL_GAMEPAD_AXIS_LEFT_TRIGGER); + std::int16_t rt = SDL_GetGamepadAxis(g_gamepad, SDL_GAMEPAD_AXIS_RIGHT_TRIGGER); held[kPadL2] = lt > 8000; held[kPadR2] = rt > 8000; + ctl.l2 = std::max(ctl.l2, static_cast(std::max(lt, 0) / 128)); + ctl.r2 = std::max(ctl.r2, static_cast(std::max(rt, 0) / 128)); + if (take_axes & kPadTakeTriggers) lt = rt = 0; + // The plugin reads every button; one it takes presses nothing in the game. + for (int i = 0; i < kPadInputs; ++i) { + if (!held[i]) continue; + ctl.buttons |= host_pad_input_bit(i); + if (take_buttons & host_pad_input_bit(i)) held[i] = false; + } for (int i = 0; i < kPadInputs; ++i) { if (!held[i]) continue; const std::uint32_t play = host_pad_play_bit(i), menu = host_pad_menu_bit(i); @@ -1864,7 +1908,8 @@ void update_pad() { // where the keyboard's Gestures key puts one (bindings.cpp), since the game // reads the side from the finger. Its own stable id, so holding it is one // touch and it can be held with the key. - if (back_held) { + if (back_held) ctl.buttons |= kTouchPad; + if (back_held && !(take_buttons & kTouchPad)) { p.buttons |= kTouchPad; if (p.touch_count < 2) { PadState::Touch& t = p.touch[p.touch_count++]; @@ -1951,6 +1996,11 @@ void update_pad() { if (!g_pads.empty() || g_window) { p.connected = true; // a window means a player is present } + { + std::lock_guard lock(g_ppad_mu); + g_ppad = ctl; + ppad_latch_locked(); + } std::lock_guard lock(g_pad_mu); g_pad = p; } @@ -3169,6 +3219,45 @@ void host_plugin_input_take(const std::uint16_t* scancodes, std::size_t n, std:: g_take_motion.store(motion, std::memory_order_relaxed); } +void host_plugin_pad(PluginPad& out) { + std::lock_guard lock(g_ppad_mu); + const PluginPad& a = g_ppad; + const PluginPad& t = g_ppad_test; + // A test's tap holds a stick over for the controller it stands for. + const auto pick = [](std::uint8_t pad, std::uint8_t tap) { return tap != kStickRest ? tap : pad; }; + out.buttons = a.buttons | t.buttons; + out.lx = pick(a.lx, t.lx); + out.ly = pick(a.ly, t.ly); + out.rx = pick(a.rx, t.rx); + out.ry = pick(a.ry, t.ry); + out.l2 = std::max(a.l2, t.l2); + out.r2 = std::max(a.r2, t.r2); + out.connected = a.connected || t.connected; + out.pressed = g_ppad_pressed; + g_ppad_pressed = 0; +} + +void host_plugin_pad_take(std::uint32_t buttons, std::uint32_t axes) { + const std::uint32_t was_b = g_ppad_take_buttons.exchange(buttons, std::memory_order_relaxed); + const std::uint32_t was_a = g_ppad_take_axes.exchange(axes, std::memory_order_relaxed); + if (was_b != buttons || was_a != axes) + host_log("pad: a plugin takes buttons %05x and axes %x from the game (was %05x, %x)", buttons, axes, was_b, was_a); +} + +std::uint32_t host_plugin_pad_taken_buttons() { return g_ppad_take_buttons.load(std::memory_order_relaxed); } +std::uint32_t host_plugin_pad_taken_axes() { return g_ppad_take_axes.load(std::memory_order_relaxed); } + +void host_plugin_pad_test(std::uint32_t buttons, std::uint8_t lx, std::uint8_t ly, std::uint8_t rx, std::uint8_t ry) { + std::lock_guard lock(g_ppad_mu); + g_ppad_test.buttons = buttons; + g_ppad_test.lx = lx; + g_ppad_test.ly = ly; + g_ppad_test.rx = rx; + g_ppad_test.ry = ry; + if (buttons || lx != kStickRest || ly != kStickRest || rx != kStickRest || ry != kStickRest) g_ppad_test.connected = true; + ppad_latch_locked(); +} + std::uint32_t host_plugin_taken_buttons() { return g_take_buttons.load(std::memory_order_relaxed); } bool host_plugin_taken_wheel() { return g_take_wheel.load(std::memory_order_relaxed); } bool host_plugin_taken_motion() { return g_take_motion.load(std::memory_order_relaxed); } diff --git a/src/host/window.h b/src/host/window.h index 7b3f299f..5f0b3f1a 100755 --- a/src/host/window.h +++ b/src/host/window.h @@ -134,6 +134,31 @@ bool host_plugin_input(PluginInput& out); // `wheel`, and the mouse no longer turns the game's camera when `motion`. A // call replaces the last; nothing taken gives everything back. void host_plugin_input_take(const std::uint16_t* scancodes, std::size_t n, std::uint32_t buttons, bool wheel, bool motion); +// The controller as a plugin reads it (plugin API 29's pad): its own buttons +// (BB_PAD_* bits - the menus' bits, whatever the bindings make of them in +// play), sticks and triggers as the last pad update saw them, before +// host_plugin_pad_take takes any, and the presses since the last call - one +// reader. Nothing held while bbhost's menus, a binding capture or a text box +// have the controller. A test's taps join it (host_plugin_pad_test). +struct PluginPad { + std::uint32_t buttons = 0, pressed = 0; + std::uint8_t lx = kStickRest, ly = kStickRest, rx = kStickRest, ry = kStickRest; + std::uint8_t l2 = 0, r2 = 0; + bool connected = false; +}; +void host_plugin_pad(PluginPad& out); +// What a plugin takes from the game (plugin API 29's pad_take): those buttons +// read let go, those sticks centred and the triggers at rest - the press +// they are bound to in play never made. A call replaces the last. +constexpr std::uint32_t kPadTakeLeftStick = 1, kPadTakeRightStick = 2, kPadTakeTriggers = 4; +void host_plugin_pad_take(std::uint32_t buttons, std::uint32_t axes); +std::uint32_t host_plugin_pad_taken_buttons(); +std::uint32_t host_plugin_pad_taken_axes(); +// A test's presses (the pad read's taps and BBHOST_AUTOPRESS, which stand for +// the controller): `buttons` held and the sticks they hold over (kStickRest +// where they hold none), joined to the plugin's view of the controller. +void host_plugin_pad_test(std::uint32_t buttons, std::uint8_t lx, std::uint8_t ly, std::uint8_t rx, std::uint8_t ry); + // For the pad read (hle/system.cpp). std::uint32_t host_plugin_taken_buttons(); bool host_plugin_taken_wheel(); diff --git a/tests/plugin_abi_test.c b/tests/plugin_abi_test.c index 0ccefd4e..59665e57 100755 --- a/tests/plugin_abi_test.c +++ b/tests/plugin_abi_test.c @@ -1,8 +1,9 @@ -/* The plugin API's version 28 structures as a C compiler lays them out - the +/* The plugin API's version 29 structures as a C compiler lays them out - the * layout plugins are built against, which a host may append to and never * move: their sizes, the places of the fields read most, and the API table's * version 27 calls right after version 26's camera_zoom - the frame's three, - * then the shaders' five, followed by version 28's camera target hook. + * then the shaders' five, followed by version 28's camera target hook and + * version 29's world pause, controller and world state. * Built as C99, so the header stays C. */ #include "bbhost_plugin.h" @@ -42,7 +43,21 @@ _Static_assert(offsetof(BbHostApi, shader_state) == offsetof(BbHostApi, shader_f _Static_assert(offsetof(BbHostApi, shader_source) == offsetof(BbHostApi, shader_state) + sizeof(void*), "shader_source after shader_state"); _Static_assert(offsetof(BbHostApi, shader_data) == offsetof(BbHostApi, shader_source) + sizeof(void*), "shader_data after shader_source"); _Static_assert(offsetof(BbHostApi, on_camera_target) == offsetof(BbHostApi, shader_data) + sizeof(void*), "on_camera_target after shader_data"); -_Static_assert(sizeof(BbHostApi) == offsetof(BbHostApi, on_camera_target) + sizeof(void*), "on_camera_target ends the API table"); +_Static_assert(offsetof(BbHostApi, world_pause) == offsetof(BbHostApi, on_camera_target) + sizeof(void*), "world_pause after on_camera_target"); +_Static_assert(offsetof(BbHostApi, world_step) == offsetof(BbHostApi, world_pause) + sizeof(void*), "world_step after world_pause"); +_Static_assert(offsetof(BbHostApi, pad) == offsetof(BbHostApi, world_step) + sizeof(void*), "pad after world_step"); +_Static_assert(offsetof(BbHostApi, pad_take) == offsetof(BbHostApi, pad) + sizeof(void*), "pad_take after pad"); +_Static_assert(offsetof(BbHostApi, world_state) == offsetof(BbHostApi, pad_take) + sizeof(void*), "world_state after pad_take"); +_Static_assert(sizeof(BbHostApi) == offsetof(BbHostApi, world_state) + sizeof(void*), "world_state ends the API table"); +_Static_assert(sizeof(BbPad) == 40, "BbPad"); +_Static_assert(offsetof(BbPad, pressed) == 8 && offsetof(BbPad, connected) == 12, "BbPad's presses"); +_Static_assert(offsetof(BbPad, lx) == 16 && offsetof(BbPad, r2) == 36, "BbPad's axes"); +_Static_assert(sizeof(BbWorldState) == 20, "BbWorldState"); +_Static_assert(offsetof(BbWorldState, others) == 8 && offsetof(BbWorldState, session) == 16, "BbWorldState's fields"); +_Static_assert(BB_PAD_CROSS == 0x4000u && BB_PAD_CIRCLE == 0x2000u && BB_PAD_L1 == 0x400u && BB_PAD_R1 == 0x800u && + BB_PAD_L3 == 0x2u && BB_PAD_R3 == 0x4u && BB_PAD_OPTIONS == 0x8u && BB_PAD_TOUCHPAD == 0x100000u, + "the controller's buttons"); +_Static_assert(BB_SESSION_NONE == 0 && BB_SESSION_HOST == 3 && BB_SESSION_GUEST == 6 && BB_SESSION_LEAVING == 7, "the session roles"); _Static_assert(BB_SHADER_NONE == 0 && BB_SHADER_WAITING == 1 && BB_SHADER_TAKEN == 2 && BB_SHADER_REFUSED == 3 && BB_SHADER_SHADOWED == 4 && BB_SHADER_OFF == 5, "shader_state's values"); @@ -50,5 +65,5 @@ _Static_assert(BB_SHADER_DATA_BYTES == 65536u, "a plugin's shader data"); int main(void) { printf("plugin_abi_test: version %d's structures as plugins see them\n", BB_PLUGIN_API_VERSION); - return BB_PLUGIN_API_VERSION >= 28 ? 0 : 1; + return BB_PLUGIN_API_VERSION >= 29 ? 0 : 1; } diff --git a/tools/api29_probe.c b/tools/api29_probe.c new file mode 100644 index 00000000..1fdf4d4d --- /dev/null +++ b/tools/api29_probe.c @@ -0,0 +1,122 @@ +/* Plugin API 29 probe: world_pause, world_step, pad, pad_take and world_state + * in a running game, for a test harness. Test-only: built beside the tests, + * never into plugins/. + * + * From the first frame in the world it logs, once a second and whenever one + * changes, + * api29 t pos state session others arriving + * and every controller press it reads (pad), as it reads it, + * api29 t pad pressed held l r l2 r2 + * and it carries out BBHOST_API29_PROBE, a list of ":" separated by + * commas, seconds after that first frame: + * pause / run world_pause(name, 1 / 0) + * step world_step(name, n) + * take pad_take(buttons, axes); "take 0 0" gives them back + * For example "8:pause,14:step 2,16:step 2,20:run,24:take 4000 1,32:take 0 0". + * Each step's result is logged: api29 t step -> . */ +#include "bbhost_plugin.h" + +#include +#include +#include +#include + +static const BbHostApi* g_api; +static double g_world_at = -1.0; +static double g_last_log = -10.0; +static BbWorldState g_last_state; +static float g_last_pos[3]; + +BB_PLUGIN_EXPORT const BbPluginInfo bb_plugin_info = { + BB_PLUGIN_API_VERSION, 0, "api29_probe", "API 29 probe", "1", "bbhost", + "Test-only: plugin API 29's world_pause, world_step, pad, pad_take and world_state in a running game."}; + +static double now_s(void) { + struct timespec t; + clock_gettime(CLOCK_MONOTONIC, &t); + return (double)t.tv_sec + (double)t.tv_nsec / 1e9; +} + +/* The steps, parsed once. */ +typedef struct { + double at; + char text[48]; + int done; +} Step; +static Step g_steps[64]; +static int g_nsteps; + +static void parse_steps(void) { + const char* e = getenv("BBHOST_API29_PROBE"); + while (e && *e && g_nsteps < 64) { + char* end = NULL; + const double at = strtod(e, &end); + if (!end || *end != ':') break; + const char* text = end + 1; + const char* comma = strchr(text, ','); + const size_t n = comma ? (size_t)(comma - text) : strlen(text); + Step* s = &g_steps[g_nsteps++]; + s->at = at; + snprintf(s->text, sizeof(s->text), "%.*s", (int)n, text); + e = comma ? comma + 1 : NULL; + } +} + +static int run_step(const char* text) { + unsigned a = 0, b = 0; + if (strcmp(text, "pause") == 0) return g_api->world_pause("api29_probe", 1); + if (strcmp(text, "run") == 0) return g_api->world_pause("api29_probe", 0); + if (sscanf(text, "step %u", &a) == 1) return g_api->world_step("api29_probe", a); + if (sscanf(text, "take %x %u", &a, &b) == 2) return g_api->pad_take(a, b); + return -1; +} + +static void on_frame(void* user) { + (void)user; + BbWorldState w; + memset(&w, 0, sizeof(w)); + w.size = sizeof(w); + if (g_api->world_state(&w) != 0) return; + const double now = now_s(); + if (g_world_at < 0.0) { + if (!(w.flags & BB_WORLD_IN) || (w.flags & BB_WORLD_LOADING)) return; + g_world_at = now; + g_api->log("api29 world: the first frame in the world; %d step(s) to run", g_nsteps); + } + const double t = now - g_world_at; + for (int i = 0; i < g_nsteps; ++i) { + Step* s = &g_steps[i]; + if (s->done || t < s->at) continue; + s->done = 1; + g_api->log("api29 t %.1f step %s -> %d", t, s->text, run_step(s->text)); + } + BbPad pad; + memset(&pad, 0, sizeof(pad)); + pad.size = sizeof(pad); + if (g_api->pad(&pad) == 0 && pad.pressed) + g_api->log("api29 t %.1f pad pressed %05x held %05x l %.2f %.2f r %.2f %.2f l2 %.2f r2 %.2f", t, pad.pressed, pad.buttons, + (double)pad.lx, (double)pad.ly, (double)pad.rx, (double)pad.ry, (double)pad.l2, (double)pad.r2); + float pos[3] = {0, 0, 0}; + g_api->player_position(pos, NULL); + const int changed = w.flags != g_last_state.flags || w.session != g_last_state.session || w.others != g_last_state.others || + w.arriving != g_last_state.arriving; + if (changed || t - g_last_log >= 1.0) { + g_api->log("api29 t %.1f pos %.3f %.3f %.3f state %x session %d others %u arriving %u pad %05x l %.2f %.2f", t, (double)pos[0], + (double)pos[1], (double)pos[2], w.flags, w.session, w.others, w.arriving, pad.buttons, (double)pad.lx, (double)pad.ly); + g_last_log = t; + g_last_state = w; + memcpy(g_last_pos, pos, sizeof(pos)); + } +} + +BB_PLUGIN_EXPORT int bb_plugin_image(const BbHostApi* api) { + if (api->version < 29 || api->size < offsetof(BbHostApi, world_state) + sizeof(void*)) { + api->log("api29 probe: this host is older than plugin API 29"); + return 1; + } + g_api = api; + parse_steps(); + api->on_frame(on_frame, NULL); + api->log("api29 probe: ready, %d step(s)", g_nsteps); + return 0; +} From 88a7b6d09a6517d6d820fbcdb7e25992a364d533 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Wed, 11 Nov 2026 23:32:41 -0800 Subject: [PATCH 005/100] plugins: API 29's hud_hide - the game's HUD left out of the picture where it is put together - and who is coming counted from the matchmaking room; the controller's presses are the frame's - hud_hide(name, hidden): the game draws its HUD, menus and prompts as always, and they are left out where the picture is put together for the screen. The picture in the 2D's target is kept at the HUD's first draw (frame generation's HUD-less point, render.cpp) and copied back before the display buffer's pass reads that target, so nothing of the game's state changes and its HUD option keeps its value; bbhost's overlay and menus are drawn as always. Two copies of the target a frame while any plugin asks; turning the plugin off lets go. A run's list part stops at both points, as it does for the HUD-less copy. - world_state's arriving also counts the other members of the matchmaking room the session is in (hle_np_room_others): a player coming in counts from the server's word that they joined the room, before the game has made anything of them, so a plugin that holds the world lets go before the newcomer's game needs it. - pad's presses are the frame's: latched between frames and the same for every plugin that reads in one, where they were the first reader's. - BB_WORLD_OPEN and the session roles say what two games on a local bench showed: a bell rung alone leaves the role at none; the game makes its session (hosting, then host) when matchmaking finds a player, before that player joins the room (8 to 84 s before, in four runs). In a rendered game at Central Yharnam with the photo mode plugin: the picture with the world held showed none of the 2D layer, the same with the plugin's HUD option on showed it again, and the HUD was back after. Two games on a local server: the host's arriving went to 1 within 0.1 s of the server's member-joined event, 1.3 to 4.5 s before the joining game became a guest. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 31 ++++++++++------ include/bbhost_plugin.h | 31 ++++++++++------ src/hle/np.h | 4 +++ src/hle/np_matching2.cpp | 8 +++++ src/host/gpu_internal.h | 6 ++++ src/host/plugins.cpp | 24 ++++++++++--- src/host/render.cpp | 14 +++++++- src/host/scene_look.cpp | 21 +++++++++++ src/host/scene_look.h | 11 ++++++ src/host/upscale_pass.cpp | 75 +++++++++++++++++++++++++++++++++++++++ src/host/window.cpp | 10 ++++-- src/host/window.h | 10 ++++-- tests/plugin_abi_test.c | 3 +- 13 files changed, 217 insertions(+), 31 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index 2b5d10cb..5fe82805 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -210,11 +210,12 @@ takes, and a way to know that nobody else is in the world. - `pad(&pad)`: the controller as `BbPad` (set `pad.size` first): its own buttons as `BB_PAD_*` bits, whatever the player's bindings make of them in play, the sticks from -1 to 1 with the player's dead zones applied, the - triggers from 0 to 1, and the presses since the last read, latched so that - a press shorter than a frame still counts. One reader, from the main - thread. While bbhost's own menus, a binding being chosen or a text box have - the controller, nothing reads as held. A test's taps (`BBHOST_AUTOPRESS`, - the `tap` request) count as the controller's. + triggers from 0 to 1, and the presses since the last frame, latched so that + a press shorter than a frame still counts - the same for every plugin that + reads in that frame. From the main thread (`on_frame`). While bbhost's own + menus, a binding being chosen or a text box have the controller, nothing + reads as held. A test's taps (`BBHOST_AUTOPRESS`, the `tap` request) count + as the controller's. - `pad_take(buttons, axes)`: the game reads those buttons let go and those axes (`BB_PAD_LEFT_STICK`, `BB_PAD_RIGHT_STICK`, `BB_PAD_TRIGGERS`) at rest - whatever they are bound to in play is not pressed - while `pad` still reads @@ -225,11 +226,21 @@ takes, and a way to know that nobody else is in the world. `BB_WORLD_CUTSCENE` (one plays or is queued), `BB_WORLD_MENU` (one of the game's menus or dialogs has the controls), `BB_WORLD_PAUSED` (a plugin holds the world), `BB_WORLD_VISITING` (the player is in another player's world or - on the way there) and `BB_WORLD_OPEN` (the player's world is open to others: - a sign or a bell is up, or others are in it). `others`: other players' - characters in this world now - co-operators, invaders, the host one visits. - `arriving`: players on their way in, members of the world's session who are - not in it yet. `session`: the game's own session role (`BB_SESSION_*`). + on the way there) and `BB_WORLD_OPEN` (the world's own session is up: + players matched to it, or in it - a bell rung alone does not open it; the + game makes the session when matchmaking finds a player). `others`: other + players' characters in this world now - co-operators, invaders, the host one + visits. `arriving`: players on their way in - members of the world's session + or of its matchmaking room who are not in the world yet, counted from the + server's word that one joined the room. `session`: the game's own session + role (`BB_SESSION_*`). +- `hud_hide(name, hidden)`: the game's HUD, menus and prompts left out of the + picture. The game draws them as always; they are left out where the + picture is put together for the screen - the point frame generation takes + its picture without the HUD from - so nothing of the game's own state + changes, and its HUD option keeps its value. bbhost's overlay and menus are + drawn as always. The HUD is left out while any plugin asks; turning the + plugin off lets go. It costs two copies of the picture a frame while on. **Settings, UI and files** diff --git a/include/bbhost_plugin.h b/include/bbhost_plugin.h index 269580eb..34d8625c 100644 --- a/include/bbhost_plugin.h +++ b/include/bbhost_plugin.h @@ -383,8 +383,8 @@ typedef void (*BbRenderFn)(const BbRenderCall* call, void* user); typedef struct BbPad { uint32_t size; /* set to sizeof(BbPad) before the call: the host fills as much as both know */ uint32_t buttons; /* BB_PAD_* held */ - uint32_t pressed; /* BB_PAD_* that went down since the last read - latched, so a press shorter than a - frame is still seen */ + uint32_t pressed; /* BB_PAD_* that went down since the last frame - latched, so a press shorter than a + frame is still seen, and the same for every plugin reading in that frame */ int32_t connected; /* 1 while a controller is there */ float lx, ly, rx, ry; /* the sticks, -1..1, right and down positive, the player's dead zones applied */ float l2, r2; /* the triggers' travel, 0..1 */ @@ -397,13 +397,13 @@ typedef struct BbPad { #define BB_WORLD_MENU 8u /* one of the game's menus or dialogs has the controls */ #define BB_WORLD_PAUSED 16u /* world_pause holds the world (any plugin's) */ #define BB_WORLD_VISITING 32u /* the player is in another player's world, or on the way there */ -#define BB_WORLD_OPEN 64u /* the player's world is open to others: a sign or a bell is up, or others are in it */ +#define BB_WORLD_OPEN 64u /* the world's own session is up: players matched to it, or in it */ /* BbWorldState.session: the game's own session role. */ #define BB_SESSION_NONE 0 -#define BB_SESSION_HOSTING 1 /* the world being opened to others (a bell rung, a sign seen) */ +#define BB_SESSION_HOSTING 1 /* the world's session being made for players matched to it - before they join */ #define BB_SESSION_HOST_FAILED 2 -#define BB_SESSION_HOST 3 /* the world's own session, others in it or let in */ +#define BB_SESSION_HOST 3 /* the world's own session, others in it or matched to come */ #define BB_SESSION_JOINING 4 /* on the way into another player's world */ #define BB_SESSION_JOIN_FAILED 5 #define BB_SESSION_GUEST 6 /* in another player's world */ @@ -413,7 +413,8 @@ typedef struct BbWorldState { uint32_t size; /* set to sizeof(BbWorldState) before the call: the host fills as much as both know */ uint32_t flags; /* BB_WORLD_* */ uint32_t others; /* other players' characters in this world now: co-operators, invaders, the host one visits */ - uint32_t arriving; /* players on their way in: members of the world's session who are not in it yet */ + uint32_t arriving; /* players on their way in: members of the world's session or of its matchmaking room + who are not in the world yet (from the server's word that one joined the room) */ int32_t session; /* BB_SESSION_* */ } BbWorldState; @@ -963,10 +964,10 @@ typedef struct BbHostApi { /* The controller, into *out (set out->size first): its own buttons and * sticks - the dead zones applied, the player's key bindings not - pressed * or not, as the game would read them before pad_take takes any; a test's - * taps (BBHOST_AUTOPRESS, the "tap" request) count as the controller's. One - * reader: the presses are the caller's once read. While bbhost's own menus - * or a text box have the controller it reads nothing held. Main thread. 0 - * on success; 1 for a size under 8. */ + * taps (BBHOST_AUTOPRESS, the "tap" request) count as the controller's. The + * presses are the frame's: every plugin reading in it sees the same. While + * bbhost's own menus or a text box have the controller it reads nothing + * held. Main thread (on_frame). 0 on success; 1 for a size under 8. */ int (*pad)(BbPad* out); /* Takes the controller's buttons (BB_PAD_*) and axes (BB_PAD_LEFT_STICK, * BB_PAD_RIGHT_STICK, BB_PAD_TRIGGERS) from the game: the game reads them @@ -978,6 +979,16 @@ typedef struct BbHostApi { * (set out->size first). Main thread. 0 on success; 1 for another eboot or * a size under 8. */ int (*world_state)(BbWorldState* out); + /* The game's HUD, menus and prompts left out of the picture: the game + * draws them as always and they are left out where the picture is put + * together for the screen (the point frame generation takes its picture + * without the HUD from), so nothing of the game's own state changes - its + * HUD option keeps its value. bbhost's own overlay and menus are drawn as + * always. `hidden` 1 asks for it for the plugin named `name`, 0 lets it + * go; it is left out while any plugin asks, and the plugin being turned + * off lets go. From the next frame; while on, two copies of the picture a + * frame. Any thread. 0 on success; 1 for an unknown plugin. */ + int (*hud_hide)(const char* name, int hidden); } BbHostApi; #define BB_SNAP_PIXELS 0xffffffffu /* version 18: scene_snap's grid the 3D's own pixels */ diff --git a/src/hle/np.h b/src/hle/np.h index d7388dce..ec3abb33 100644 --- a/src/hle/np.h +++ b/src/hle/np.h @@ -15,6 +15,10 @@ std::string hle_np_online_status(); // True once the game has started its Matching2 context (it read its NpId before that, // so an account logged in afterwards only takes effect on the next launch). bool hle_np_context_started(); +// The other members of the room this session is in (0 outside one): a player +// on the way in counts from the server's member-joined event, before the game +// has made anything of them (plugin API 29's world_state). +std::uint32_t hle_np_room_others(); void hle_register_np_signaling(); // NpSignaling learns a peer's address: fires ESTABLISHED/ACTIVE for a diff --git a/src/hle/np_matching2.cpp b/src/hle/np_matching2.cpp index d2d2b4b6..f6a267c3 100644 --- a/src/hle/np_matching2.cpp +++ b/src/hle/np_matching2.cpp @@ -1202,6 +1202,14 @@ void hle_register_np_matching2() { REG("sceNpMatching2SignalingGetPingInfo", m2_signaling_get_ping_info); } +std::uint32_t hle_np_room_others() { + std::lock_guard lk(g.mu); + if (!g.in_room) return 0; + std::uint32_t n = 0; + for (const net::Peer& p : room_peers()) n += p.member_id != g.member_id; + return n; +} + void hle_np_matching2_peer_closed(const std::string& online_id) { std::uint64_t room = 0; std::uint16_t member = 0; diff --git a/src/host/gpu_internal.h b/src/host/gpu_internal.h index 7834aa36..67e6968e 100644 --- a/src/host/gpu_internal.h +++ b/src/host/gpu_internal.h @@ -2009,6 +2009,12 @@ void upscale_pass_hudless_locked(RtImage& display); // HUD's target then goes to (the frame's prepare done with). bool upscale_pass_hudless_copied_locked(); void upscale_pass_hudless_bind_locked(std::uint64_t display_va, std::uint32_t display_w, std::uint32_t display_h); +// Plugin API 29's hud_hide (host/scene_look.h scene_look_hud_hidden): the +// picture in the game's 2D's target kept before its first 2D draw, then put +// back before the display buffer's pass reads that target. +void hud_hide_save_locked(RtImage& target); +bool hud_hide_saved_locked(); +void hud_hide_restore_locked(RtImage& target); // Under render scale: the upscaler's picture, at the output size, for YEBIS's // copy to sample in place of a scene of scene_w x scene_h; null when there is // none (no upscale of that size has run, or the picture went back into the diff --git a/src/host/plugins.cpp b/src/host/plugins.cpp index 08038212..8514b3a0 100644 --- a/src/host/plugins.cpp +++ b/src/host/plugins.cpp @@ -34,6 +34,7 @@ #include "guest_abi.h" #include "hle/fs.h" #include "hle/modules.h" +#include "hle/np.h" #include "host/audio_crush.h" #include "host/bindings.h" #include "host/options.h" @@ -1555,6 +1556,14 @@ std::uint32_t session_members(std::uint64_t sm) { return routes > 1 ? routes - 1 : 0; } +int api_hud_hide(const char* name, int hidden) { + if (!plugin_named(name)) return 1; + const bool was = scene_look_hud_hidden(); + scene_look_set_hud_hidden(name, hidden != 0); + if (was != scene_look_hud_hidden()) host_log("plugin: the game's HUD %s (%s)", scene_look_hud_hidden() ? "left out of the picture" : "shown", name); + return 0; +} + int api_world_state(BbWorldState* out) { if (!out || out->size < 8 || !g_image || !api_eboot_is_109()) return 1; BbWorldState w{}; @@ -1564,11 +1573,14 @@ int api_world_state(BbWorldState* out) { if (menu_pointer_in_menu()) w.flags |= BB_WORLD_MENU; if (world_pause_held()) w.flags |= BB_WORLD_PAUSED; w.others = other_players(); - std::uint32_t members = 0; + // Who is on the way: the matchmaking room's other members - the earliest a + // player coming in shows, at the server's member-joined event - or the + // game's session's, whichever counts more. + std::uint32_t members = hle_np_room_others(); if (const std::uint64_t sm = rp(runtime_of(bb::SPRJ_SESSION_MANAGER_SINGLETON_PTR.bn(), 8))) { std::int32_t role = 0; if (rd(sm + 0x124, &role) && role >= BB_SESSION_NONE && role <= BB_SESSION_LEAVING) w.session = role; - members = session_members(sm); + members = std::max(members, session_members(sm)); } if (w.session == BB_SESSION_JOINING || w.session == BB_SESSION_GUEST) w.flags |= BB_WORLD_VISITING; if (w.session == BB_SESSION_HOSTING || w.session == BB_SESSION_HOST || w.others) w.flags |= BB_WORLD_OPEN; @@ -1617,7 +1629,7 @@ const BbHostApi g_api = { &api_aa_claim, &api_shader_override, &api_shader_folder, &api_shader_state, &api_shader_source, &api_shader_data, &api_on_camera_target, - &api_world_pause, &api_world_step, &api_pad, &api_pad_take, &api_world_state, + &api_world_pause, &api_world_step, &api_pad, &api_pad_take, &api_world_state, &api_hud_hide, }; std::string read_file(const std::string& path) { @@ -1921,7 +1933,10 @@ void plugins_frame() { p.dormant = !on; gpu::overrides_owner_on(p.shader_owner, on); // its shader overrides with it } - if (!on) world_pause_drop(r.name); // and its hold on the world + if (!on) { + world_pause_drop(r.name); // and its hold on the world + scene_look_drop_hud(r.name.c_str()); // and on the HUD + } host_log("plugin: %s turned %s", r.name.c_str(), on ? "on" : "off"); if (render_hooks_plugin_on(r.name, on)) republish_settings(); aa_update(); @@ -1948,6 +1963,7 @@ void plugins_frame() { for (const WorldLoadCallback& c : loads) c.fn(block, c.user); } } + host_plugin_pad_frame(); // the controller's presses since the last frame, the same for every reader (pad) for (const FrameCallback& c : now) c.fn(c.user); } diff --git a/src/host/render.cpp b/src/host/render.cpp index 61316983..352e5cf2 100644 --- a/src/host/render.cpp +++ b/src/host/render.cpp @@ -27069,8 +27069,12 @@ static bool draw_impl(const GpuDraw& d) { // is in it, and the copy handed over with the display buffer the pass then // writes. A plugin's dither (scene_dither) goes over the target at the // same point, before the copy. + // A plugin's hidden HUD (hud_hide) the same way: the picture kept at the + // HUD's first draw, and put back into the target before the display + // buffer's pass reads it. const std::uint32_t dither = scene_look_dither(); - if ((upscale_pass_hudless_due_locked() || dither) && s.color[0]) { + const bool hud_hidden = scene_look_hud_hidden(); + if ((upscale_pass_hudless_due_locked() || dither || hud_hidden || hud_hide_saved_locked()) && s.color[0]) { static std::uint64_t hud_target = 0; // The target's last write (RtImage::last_write) as the display // buffer's pass read it: a write since is the next frame's. @@ -27089,6 +27093,13 @@ static bool draw_impl(const GpuDraw& d) { break; } } + if (hud_hide_saved_locked()) { + if (part) { + run_part_stop(kRunStopOrder); + return false; + } + if (RtImage* t = hud_target ? find_render_target(hud_target) : nullptr) hud_hide_restore_locked(*t); + } if (upscale_pass_hudless_due_locked()) upscale_pass_hudless_bind_locked(dst, s.color[0]->width, s.color[0]->height); } target_written = false; @@ -27112,6 +27123,7 @@ static bool draw_impl(const GpuDraw& d) { hud_begun = true; if (dither) scene_dither_locked(*s.color[0], dither); if (upscale_pass_hudless_due_locked() && !upscale_pass_hudless_copied_locked()) upscale_pass_hudless_locked(*s.color[0]); + if (hud_hidden) hud_hide_save_locked(*s.color[0]); } } } diff --git a/src/host/scene_look.cpp b/src/host/scene_look.cpp index a013453b..7455abc3 100644 --- a/src/host/scene_look.cpp +++ b/src/host/scene_look.cpp @@ -4,10 +4,13 @@ #include "host/pixel_cutaway.h" #include "host/upscaler.h" +#include #include #include #include #include +#include +#include namespace { @@ -93,6 +96,24 @@ std::atomic g_dither{0}; void scene_look_set_dither(std::uint32_t bits) { g_dither.store(bits >= 1 && bits <= 8 ? bits : 0, std::memory_order_relaxed); } std::uint32_t scene_look_dither() { return g_dither.load(std::memory_order_relaxed); } +// The HUD left out (plugin API 29's hud_hide): the plugins that ask, by name. +namespace { +std::mutex g_hud_mu; +std::vector g_hud_owners; // under g_hud_mu +std::atomic g_hud_hidden{false}; +} // namespace + +void scene_look_set_hud_hidden(const char* owner, bool hidden) { + if (!owner || !owner[0]) return; + std::lock_guard lk(g_hud_mu); + const auto it = std::find(g_hud_owners.begin(), g_hud_owners.end(), owner); + if (hidden && it == g_hud_owners.end()) g_hud_owners.emplace_back(owner); + if (!hidden && it != g_hud_owners.end()) g_hud_owners.erase(it); + g_hud_hidden.store(!g_hud_owners.empty(), std::memory_order_relaxed); +} +bool scene_look_hud_hidden() { return g_hud_hidden.load(std::memory_order_relaxed); } +void scene_look_drop_hud(const char* owner) { scene_look_set_hud_hidden(owner, false); } + bool scene_look_pixel_cut(PixelCut* out) { if (!g_pixel_cut_on.load(std::memory_order_acquire)) return false; if (out) { diff --git a/src/host/scene_look.h b/src/host/scene_look.h index 198ad289..f00b2431 100644 --- a/src/host/scene_look.h +++ b/src/host/scene_look.h @@ -53,6 +53,17 @@ bool scene_look_scale(std::uint32_t* lines = nullptr); // API 25, host/upscale_pass.cpp scene_dither_locked): 0 off. void scene_look_set_dither(std::uint32_t bits); std::uint32_t scene_look_dither(); +// The game's HUD, menus and prompts left out of the picture (plugin API 29 +// hud_hide), held by each plugin that asks, by name: render.cpp keeps the +// picture as it was before the game's first 2D draw into its target (frame +// generation's HUD-less point) and puts it back before the display buffer's +// pass composites that target (host/upscale_pass.cpp hud_hide_*_locked). The +// game's own state - its HUD option - is untouched. +void scene_look_set_hud_hidden(const char* owner, bool hidden); +bool scene_look_hud_hidden(); +// Every hold of `owner` let go (the plugin turned off). +void scene_look_drop_hud(const char* owner); + // The scene's colour targets RGBA8. void scene_look_set_colour_8bit(bool on); bool scene_look_colour_8bit(); diff --git a/src/host/upscale_pass.cpp b/src/host/upscale_pass.cpp index 397432c7..6cf706ef 100644 --- a/src/host/upscale_pass.cpp +++ b/src/host/upscale_pass.cpp @@ -2435,6 +2435,81 @@ void upscale_pass_hudless_locked(RtImage& display) { // `display`: the HUD's ta bool upscale_pass_hudless_copied_locked() { return g_fg_copy != VK_NULL_HANDLE; } +// Plugin API 29's hud_hide (host/scene_look.h): the picture in the game's 2D's +// target kept before its first 2D draw, and put back before the display +// buffer's pass reads the target - so the game's HUD, menus and prompts are +// drawn as always and composited away. One image: the frame's copy back is in +// its command buffer before the next frame's copy in, and each copy waits on +// the last (the barriers cover what came before in the queue). +namespace { +OwnImage g_hud_copy; +VkFormat g_hud_copy_format = VK_FORMAT_UNDEFINED; +std::uint32_t g_hud_copy_w = 0, g_hud_copy_h = 0; +bool g_hud_saved = false; // this frame's picture is kept and not yet put back +} // namespace + +void hud_hide_save_locked(RtImage& target) { + if (g_hud_copy.image && (g_hud_copy_format != target.format || g_hud_copy_w != target.width || g_hud_copy_h != target.height)) + drop(g_hud_copy); + if (!g_hud_copy.image) { + if (!make(g_hud_copy, target.format, VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT, target.width, + target.height)) { + static bool told = false; + if (!told) host_log("plugin: no image to keep the picture in; the HUD stays"); + told = true; + return; + } + g_hud_copy_format = target.format; + g_hud_copy_w = target.width; + g_hud_copy_h = target.height; + } + begin_recording_locked(); + if (target.view_clear) view_clear_apply_locked(target); + render_end_pass_locked(); + VkCommandBuffer cb = g_cmd(); + barrier(cb, target.image, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_GENERAL, + VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT | VK_ACCESS_SHADER_WRITE_BIT | VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_TRANSFER_READ_BIT); + barrier(cb, g_hud_copy.image, VK_IMAGE_ASPECT_COLOR_BIT, g_hud_copy.initialised ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_UNDEFINED, + VK_IMAGE_LAYOUT_GENERAL, VK_ACCESS_TRANSFER_READ_BIT, VK_ACCESS_TRANSFER_WRITE_BIT); + VkImageCopy r{}; + r.srcSubresource = r.dstSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1}; + r.extent = {target.width, target.height, 1}; + vkCmdCopyImage(cb, target.image, VK_IMAGE_LAYOUT_GENERAL, g_hud_copy.image, VK_IMAGE_LAYOUT_GENERAL, 1, &r); + barrier(cb, target.image, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_GENERAL, VK_ACCESS_TRANSFER_READ_BIT, + VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT | VK_ACCESS_SHADER_READ_BIT); + barrier(cb, g_hud_copy.image, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_GENERAL, VK_ACCESS_TRANSFER_WRITE_BIT, + VK_ACCESS_TRANSFER_READ_BIT); + g_hud_copy.initialised = true; + g_hud_saved = true; +} + +bool hud_hide_saved_locked() { return g_hud_saved; } + +void hud_hide_restore_locked(RtImage& target) { + const bool saved = g_hud_saved; + g_hud_saved = false; + if (!saved || !g_hud_copy.image || g_hud_copy_w != target.width || g_hud_copy_h != target.height || + g_hud_copy_format != target.format) + return; + begin_recording_locked(); + if (target.view_clear) view_clear_apply_locked(target); + render_end_pass_locked(); + VkCommandBuffer cb = g_cmd(); + barrier(cb, target.image, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_GENERAL, + VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT | VK_ACCESS_SHADER_WRITE_BIT | VK_ACCESS_TRANSFER_WRITE_BIT | + VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | VK_ACCESS_SHADER_READ_BIT, + VK_ACCESS_TRANSFER_WRITE_BIT); + VkImageCopy r{}; + r.srcSubresource = r.dstSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1}; + r.extent = {target.width, target.height, 1}; + vkCmdCopyImage(cb, g_hud_copy.image, VK_IMAGE_LAYOUT_GENERAL, target.image, VK_IMAGE_LAYOUT_GENERAL, 1, &r); + barrier(cb, target.image, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_GENERAL, VK_ACCESS_TRANSFER_WRITE_BIT, + VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT | VK_ACCESS_SHADER_READ_BIT | + VK_ACCESS_TRANSFER_READ_BIT); + static std::uint64_t frames = 0; + if (++frames == 1) host_log("plugin: the game's HUD left out of the picture (%ux%u)", target.width, target.height); +} + void upscale_pass_hudless_bind_locked(std::uint64_t display_va, std::uint32_t display_w, std::uint32_t display_h) { if (g_fg_pending && g_fg_copy) framegen_note_hudless(display_va, g_fg_pending, g_fg_copy, g_fg_copy_format, g_fg_copy_w, g_fg_copy_h, display_w, display_h); diff --git a/src/host/window.cpp b/src/host/window.cpp index d6315025..53076f0f 100755 --- a/src/host/window.cpp +++ b/src/host/window.cpp @@ -108,7 +108,8 @@ std::mutex g_ppad_mu; PluginPad g_ppad; // under g_ppad_mu: the controller at the last pad update PluginPad g_ppad_test; // under g_ppad_mu: a test's taps at the last pad read std::uint32_t g_ppad_prev = 0; // under g_ppad_mu: what was held, for the presses -std::uint32_t g_ppad_pressed = 0; // under g_ppad_mu: went down since the reader's last call +std::uint32_t g_ppad_pressed = 0; // under g_ppad_mu: went down since the frame began +std::uint32_t g_ppad_frame = 0; // under g_ppad_mu: the frame's presses (host_plugin_pad_frame) std::atomic g_ppad_take_buttons{0}, g_ppad_take_axes{0}; static void ppad_latch_locked() { const std::uint32_t held = g_ppad.buttons | g_ppad_test.buttons; @@ -3233,7 +3234,12 @@ void host_plugin_pad(PluginPad& out) { out.l2 = std::max(a.l2, t.l2); out.r2 = std::max(a.r2, t.r2); out.connected = a.connected || t.connected; - out.pressed = g_ppad_pressed; + out.pressed = g_ppad_frame; +} + +void host_plugin_pad_frame() { + std::lock_guard lock(g_ppad_mu); + g_ppad_frame = g_ppad_pressed; g_ppad_pressed = 0; } diff --git a/src/host/window.h b/src/host/window.h index 5f0b3f1a..01f92b5c 100755 --- a/src/host/window.h +++ b/src/host/window.h @@ -137,9 +137,10 @@ void host_plugin_input_take(const std::uint16_t* scancodes, std::size_t n, std:: // The controller as a plugin reads it (plugin API 29's pad): its own buttons // (BB_PAD_* bits - the menus' bits, whatever the bindings make of them in // play), sticks and triggers as the last pad update saw them, before -// host_plugin_pad_take takes any, and the presses since the last call - one -// reader. Nothing held while bbhost's menus, a binding capture or a text box -// have the controller. A test's taps join it (host_plugin_pad_test). +// host_plugin_pad_take takes any, and the frame's presses (host_plugin_pad_frame), +// the same for every reader. Nothing held while bbhost's menus, a binding +// capture or a text box have the controller. A test's taps join it +// (host_plugin_pad_test). struct PluginPad { std::uint32_t buttons = 0, pressed = 0; std::uint8_t lx = kStickRest, ly = kStickRest, rx = kStickRest, ry = kStickRest; @@ -147,6 +148,9 @@ struct PluginPad { bool connected = false; }; void host_plugin_pad(PluginPad& out); +// A new frame for the plugins (before their on_frame callbacks): the presses +// latched since the last one become the frame's. +void host_plugin_pad_frame(); // What a plugin takes from the game (plugin API 29's pad_take): those buttons // read let go, those sticks centred and the triggers at rest - the press // they are bound to in play never made. A call replaces the last. diff --git a/tests/plugin_abi_test.c b/tests/plugin_abi_test.c index 59665e57..1dc1c570 100755 --- a/tests/plugin_abi_test.c +++ b/tests/plugin_abi_test.c @@ -48,7 +48,8 @@ _Static_assert(offsetof(BbHostApi, world_step) == offsetof(BbHostApi, world_paus _Static_assert(offsetof(BbHostApi, pad) == offsetof(BbHostApi, world_step) + sizeof(void*), "pad after world_step"); _Static_assert(offsetof(BbHostApi, pad_take) == offsetof(BbHostApi, pad) + sizeof(void*), "pad_take after pad"); _Static_assert(offsetof(BbHostApi, world_state) == offsetof(BbHostApi, pad_take) + sizeof(void*), "world_state after pad_take"); -_Static_assert(sizeof(BbHostApi) == offsetof(BbHostApi, world_state) + sizeof(void*), "world_state ends the API table"); +_Static_assert(offsetof(BbHostApi, hud_hide) == offsetof(BbHostApi, world_state) + sizeof(void*), "hud_hide after world_state"); +_Static_assert(sizeof(BbHostApi) == offsetof(BbHostApi, hud_hide) + sizeof(void*), "hud_hide ends the API table"); _Static_assert(sizeof(BbPad) == 40, "BbPad"); _Static_assert(offsetof(BbPad, pressed) == 8 && offsetof(BbPad, connected) == 12, "BbPad's presses"); _Static_assert(offsetof(BbPad, lx) == 16 && offsetof(BbPad, r2) == 36, "BbPad's axes"); From f0f43d0aa8b41a952fdf6fea440084f1c6b25a34 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Wed, 11 Nov 2026 23:32:41 -0800 Subject: [PATCH 006/100] plugins: photo mode - a free camera over the world held still or running, flown by the controller or the keyboard and mouse, with the HUD out of the picture; only with nobody else in the world Nox-'s bbphoto rebuilt on the plugin API: nothing in it writes the game's code, patches its bytes or hooks an address of its own. - Hold Cross and press L3, or press P, to start it; the same again or Escape ends it. It always starts Frozen. - Frozen holds the world still (world_pause), and Cross or N lets two more updates run - a frame advance. Static keeps the camera where it is while the hunter plays on: the controller and the keys are the game's again but for Options, the touchpad and photo mode's own keys. Live flies the camera over the running world while the hunter stands. - The left stick or WASD moves the camera the way it looks, the right stick or the mouse turns it, L2 and R2 (Left Ctrl and Space) take it down and up, L1 and R1 (the mouse buttons) make it slower and faster, in eight steps from 0.25 to 32 m/s. What the camera flies with is taken from the game (pad_take, input_take), so the hunter does not move with it. - The view is the scene's camera (on_view). The game's own camera - the one the follow camera keeps and the controls move by - is untouched, so ending photo mode puts the game's view back as it was. - The game's HUD, menus and prompts are left out of the picture (hud_hide); the HUD option shows them. - Only with nobody else in the world (world_state): it does not start while another player is in it or on the way, nor in another player's world, and it ends as soon as one is coming - when matchmaking finds one (the game starts hosting its session then, before they join the room) or, at the latest, at the server's word that they joined the room - so the world runs before their game needs it. Not with one of the game's menus open, in a cutscene, at a loading screen, while the session closes, or in the world's first two seconds (the loading screen's page fades out over them, and a held world would hold it there). - Not a gameplay plugin and not opt-in: on by default, outside the session's online rules and which worlds it matches. tests/photo_mode_plugin_test.cpp drives it on a pretend host: what it takes and gives back in each mode, the camera's start and flight, the frame advance, the refusals and the endings. In a render-min client at Central Yharnam, by the controller: Cross held and L3 started it with the world held; the hunter stood while 6 s of the sticks flew the camera; Cross ran two updates; in Static the hunter walked 2.5 m and Options opened nothing; in Live 3 s of the stick moved the camera and not the hunter; the chord ended it 11.7 m from where the camera started, and with the game's menu open it was refused. Two games on a local server (two runs): the host in photo mode with its bell rung for 82 and 146 s; it ended in the frame the match came (session hosting), 84 s before the guest joined the room - and, in the first run's build, which ended it only at the room join, 0.08 s after the server's word; the guest's room join to its load into the host's world took 15.9 and 26.3 s, against 18.6 and 23.5 s in two runs without photo mode. With the guest in, both refused it ("another player is in the world", "in another player's world"). Every game, the plugin on by default, logged its online rules as vanilla. Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 9 + plugins/photo_mode/photo_mode.cpp | 416 +++++++++++++++++++++++++++ tests/photo_mode_plugin_test.cpp | 461 ++++++++++++++++++++++++++++++ 3 files changed, 886 insertions(+) create mode 100644 plugins/photo_mode/photo_mode.cpp create mode 100644 tests/photo_mode_plugin_test.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 489555ff..11a3b4e7 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -293,6 +293,7 @@ bb_plugin(quake plugins/quake/quake.cpp) bb_plugin(lohit plugins/lohit/lohit.cpp) bb_plugin(ps1 plugins/ps1/ps1.cpp) bb_plugin(iso plugins/iso/iso.cpp) +bb_plugin(photo_mode plugins/photo_mode/photo_mode.cpp) # The Debug Menu plugin carries its glyphs (plugins/debug_menu/font14.bin, # tools/make_debug_font.py) as bytes: build/gen/debug_font14.inc, rewritten # only when the file changes. @@ -784,6 +785,14 @@ if(UNIX) target_link_libraries(ps1_plugin_test PRIVATE ${CMAKE_DL_LIBS}) add_dependencies(ps1_plugin_test bb_plugin_ps1) add_test(NAME ps1_plugin_test COMMAND ps1_plugin_test $) + # The photo mode plugin on a pretend host (plugins/photo_mode): when it starts + # and ends - nobody else in the world - and what it asks of the host meanwhile. + add_executable(photo_mode_plugin_test tests/photo_mode_plugin_test.cpp) + target_include_directories(photo_mode_plugin_test PRIVATE include) + target_compile_features(photo_mode_plugin_test PRIVATE cxx_std_17) + target_link_libraries(photo_mode_plugin_test PRIVATE ${CMAKE_DL_LIBS}) + add_dependencies(photo_mode_plugin_test bb_plugin_photo_mode) + add_test(NAME photo_mode_plugin_test COMMAND photo_mode_plugin_test $) # The shader overrides' example on a pretend host (examples/plugins/shader_tint): # its own source asked for until met, patched, on and off by turns, its # strength in its shader data each frame; nothing asked of an older host. diff --git a/plugins/photo_mode/photo_mode.cpp b/plugins/photo_mode/photo_mode.cpp new file mode 100644 index 00000000..4485b714 --- /dev/null +++ b/plugins/photo_mode/photo_mode.cpp @@ -0,0 +1,416 @@ +// Photo mode: a free camera over the world, for pictures. Based on Nox's +// bbphoto, rebuilt on bbhost's plugin API: nothing in it writes the game's code +// or reads an address of its own. +// +// Hold Cross and press L3, or press P, to start it; the same again (or Escape) +// ends it. Three modes: +// Frozen the world held still (world_pause) while the camera flies; Cross +// (N on the keyboard) lets it run two more updates - a frame advance. +// Static the camera stays where it is and the hunter plays on: the +// controller and the keys are the game's again, but for photo mode's +// own. +// Live the camera flies while the world runs; the hunter stands, since +// the camera has the controls (pad_take, input_take). +// The left stick (WASD) moves the camera the way it looks, the right stick (the +// mouse) turns it, L2 and R2 (Left Ctrl and Space) take it down and up, L1 and +// R1 (the right and left mouse buttons) make it slower and faster. The view is +// the scene's camera (on_view): the game's own - the one the follow camera +// keeps and the controls move by - is untouched, so ending photo mode puts the +// game's view back as it was. The game's HUD, menus and prompts are left out +// of the picture while it runs (hud_hide). +// +// Only with nobody else in the world (world_state): it does not start while +// another player is in it or on the way, nor in another player's world, and it +// ends as soon as one is coming - when matchmaking finds one (the game hosts its +// session from then on, before they join the room) or when one joins the room - +// so the world runs before their game needs it. It also ends at a loading +// screen, a cutscene or one of the game's menus. +#include "bbhost_plugin.h" + +#include +#include +#include +#include +#include +#include + +namespace { + +constexpr const char* kName = "photo_mode"; +constexpr float kPi = 3.14159265358979f; + +const BbHostApi* api = nullptr; + +enum Mode : int { kFrozen = 0, kStatic = 1, kLive = 2 }; + +// SDL scancodes (the USB HID usages BbInput's keys are indexed by). +constexpr std::uint16_t kKeyA = 4, kKeyD = 7, kKeyN = 17, kKeyP = 19, kKeyS = 22, kKeyW = 26; +constexpr std::uint16_t kKeyEscape = 41, kKeyTab = 43, kKeySpace = 44; +constexpr std::uint16_t kKeyLCtrl = 224, kKeyLShift = 225, kKeyLAlt = 226, kKeyRShift = 229, kKeyRAlt = 230; +// The mouse's buttons in BbInput.buttons. +constexpr std::uint32_t kMouseLeft = 1, kMouseRight = 2; + +// What the camera does with the controls. +constexpr float kSpeeds[] = {0.25f, 0.5f, 1.0f, 2.0f, 4.0f, 8.0f, 16.0f, 32.0f}; // metres a second +constexpr int kSpeedCount = static_cast(sizeof(kSpeeds) / sizeof(kSpeeds[0])); +constexpr int kSpeedStart = 3; +constexpr float kTurnRate = 2.2f; // radians a second at a full stick, at a 60 degree field of view +constexpr float kMouseTurn = 0.0035f; // radians a count, as Dark Souls III's mouse (at 60 degrees) +constexpr float kPitchLimit = 1.53f; // short of straight up and down +constexpr std::uint32_t kStepUpdates = 2; +// The world up this long before photo mode starts: the loading screen's page +// fades out over the world's first frames, and a held world would hold it there. +constexpr float kWorldSettle = 2.0f; + +struct Camera { + float pos[3] = {0, 0, 0}; + float yaw = 0, pitch = 0, roll = 0; // radians: yaw about the world's up, pitch below the horizon positive + float fov = 43.0f * kPi / 180.0f; // vertical, radians + float right_sign = 1.0f; // the game's basis: right = up x forward, or its opposite + float up_sign = 1.0f; +}; + +struct State { + bool on = false; + int mode = kFrozen; + bool seed = false; // the next on_view takes the game's view as the camera's start + bool seeded = false; + Camera cam; + float start_pos[3] = {0, 0, 0}; // where the camera started, for the log + int speed = kSpeedStart; + bool cross_armed = false; // Cross let go since the start (it was held to start) + std::chrono::steady_clock::time_point last; + bool have_last = false; + float look_x = 0, look_y = 0; // the mouse's counts since the last frame + bool hud = false; // the game's HUD shown in photo mode + bool world_up = false; // a world in and no loading screen, since world_since + std::chrono::steady_clock::time_point world_since; +} st; + +void normalise(float* v) { + const float l = std::sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2]); + if (l > 1e-6f) { + for (int i = 0; i < 3; ++i) v[i] /= l; + } +} + +void cross(const float* a, const float* b, float* out) { + out[0] = a[1] * b[2] - a[2] * b[1]; + out[1] = a[2] * b[0] - a[0] * b[2]; + out[2] = a[0] * b[1] - a[1] * b[0]; +} + +float dot(const float* a, const float* b) { return a[0] * b[0] + a[1] * b[1] + a[2] * b[2]; } + +// The camera's basis from its angles, turned the way the game's own is. +void basis(const Camera& c, float* right, float* up, float* fwd) { + const float sy = std::sin(c.yaw), cy = std::cos(c.yaw), sp = std::sin(c.pitch), cp = std::cos(c.pitch); + fwd[0] = sy * cp; + fwd[1] = -sp; + fwd[2] = cy * cp; + float u[3] = {sy * sp, cp, cy * sp}; + float r[3]; + cross(u, fwd, r); + normalise(r); + for (int i = 0; i < 3; ++i) { + r[i] *= c.right_sign; + u[i] *= c.up_sign; + } + // The roll: right and up turned about forward. + const float cr = std::cos(c.roll), sr = std::sin(c.roll); + for (int i = 0; i < 3; ++i) { + right[i] = r[i] * cr + u[i] * sr; + up[i] = u[i] * cr - r[i] * sr; + } +} + +// The camera's start: the game's view as it is drawn this frame. +void seed_from(const BbCamera* view) { + Camera& c = st.cam; + float f[3] = {view->forward[0], view->forward[1], view->forward[2]}; + normalise(f); + c.yaw = std::atan2(f[0], f[2]); + c.pitch = std::asin(std::clamp(-f[1], -1.0f, 1.0f)); + c.pitch = std::clamp(c.pitch, -kPitchLimit, kPitchLimit); + c.roll = 0; + for (int i = 0; i < 3; ++i) c.pos[i] = st.start_pos[i] = view->position[i]; + c.fov = view->fov_y > 0.05f && view->fov_y < 3.0f ? view->fov_y : c.fov; + // Which way the game's right and up point against ours. + c.right_sign = c.up_sign = 1.0f; + float r[3], u[3], fw[3]; + basis(c, r, u, fw); + c.right_sign = dot(r, view->right) < 0 ? -1.0f : 1.0f; + c.up_sign = dot(u, view->up) < 0 ? -1.0f : 1.0f; + st.seeded = true; +} + +void on_view(BbCamera* view, void*) { + if (!st.on) return; + if (st.seed) { + st.seed = false; + seed_from(view); + api->log("photo mode: the camera starts at %.2f %.2f %.2f, field of view %.1f degrees", static_cast(st.cam.pos[0]), + static_cast(st.cam.pos[1]), static_cast(st.cam.pos[2]), static_cast(st.cam.fov * 180.0f / kPi)); + } + if (!st.seeded) return; + float r[3], u[3], f[3]; + basis(st.cam, r, u, f); + for (int i = 0; i < 3; ++i) { + view->right[i] = r[i]; + view->up[i] = u[i]; + view->forward[i] = f[i]; + view->position[i] = st.cam.pos[i]; + } + view->right[3] = view->up[3] = view->forward[3] = 0.0f; + view->position[3] = 1.0f; + view->fov_y = st.cam.fov; +} + +// What photo mode takes from the game in each mode. +void take_controls() { + if (!st.on) { + api->pad_take(0, 0); + api->input_take(nullptr, 0, 0, 0, 0); + return; + } + // Photo mode's own keys always (Escape ends it, so the game's menu does not + // open over the picture); the camera's too while it flies, when Shift and + // Alt (the strong attack and the walk) do nothing either. + static const std::uint16_t own[] = {kKeyP, kKeyEscape, kKeyTab}; + static const std::uint16_t flying[] = {kKeyP, kKeyEscape, kKeyTab, kKeyN, kKeyW, kKeyA, kKeyS, kKeyD, + kKeySpace, kKeyLCtrl, kKeyLShift, kKeyRShift, kKeyLAlt, kKeyRAlt}; + if (st.mode == kStatic) { + // The hunter plays: the controller is the game's but for Options (the + // game's menu would open over the picture) and the touchpad's. + api->pad_take(BB_PAD_OPTIONS | BB_PAD_TOUCHPAD, 0); + api->input_take(own, sizeof(own) / sizeof(own[0]), 0, 0, 0); + } else { + api->pad_take(0xffffffffu, BB_PAD_LEFT_STICK | BB_PAD_RIGHT_STICK | BB_PAD_TRIGGERS); + api->input_take(flying, sizeof(flying) / sizeof(flying[0]), kMouseLeft | kMouseRight, 1, 1); + } +} + +void apply_mode() { + api->world_pause(kName, st.on && st.mode == kFrozen ? 1 : 0); + take_controls(); +} + +const char* mode_name(int m) { return m == kFrozen ? "Frozen" : m == kStatic ? "Static" : "Live"; } + +void set_mode(int m) { + if (m == st.mode) return; + st.mode = m; + if (st.on) { + apply_mode(); + api->log("photo mode: %s", mode_name(m)); + } +} + +void start() { + st.on = true; + st.seed = true; + st.seeded = false; + st.mode = kFrozen; // it always starts with the world held + st.cross_armed = false; + st.have_last = false; + st.look_x = st.look_y = 0; + apply_mode(); + api->hud_hide(kName, st.hud ? 0 : 1); + api->log("photo mode: on (%s)", mode_name(st.mode)); +} + +void stop(const char* why) { + if (!st.on) return; + st.on = false; + float d2 = 0; + for (int i = 0; i < 3; ++i) d2 += (st.cam.pos[i] - st.start_pos[i]) * (st.cam.pos[i] - st.start_pos[i]); + const bool seeded = st.seeded; + st.seeded = false; + api->world_pause(kName, 0); + take_controls(); + api->hud_hide(kName, 0); + if (seeded) + api->log("photo mode: off (%s); the camera ended %.2f m from where it started", why, static_cast(std::sqrt(d2))); + else + api->log("photo mode: off (%s)", why); +} + +// Why photo mode cannot run now; nullptr when it can. +const char* refused(const BbWorldState& w) { + if (!(w.flags & BB_WORLD_IN) || (w.flags & BB_WORLD_LOADING)) return "no world"; + if (!st.on && std::chrono::duration(std::chrono::steady_clock::now() - st.world_since).count() < kWorldSettle) + return "the world is still coming in"; + if (w.flags & BB_WORLD_CUTSCENE) return "a cutscene"; + if (w.flags & BB_WORLD_MENU) return "a menu is open"; + if (w.flags & BB_WORLD_VISITING) return "in another player's world"; + if (w.others) return "another player is in the world"; + // A player on the way: in the world's room already, or matched to come - + // the game hosts its session from the match on, before they join the room. + if (w.arriving || w.session == BB_SESSION_HOSTING || w.session == BB_SESSION_HOST) return "a player is on the way"; + if (w.session == BB_SESSION_LEAVING) return "the session is closing"; + return nullptr; +} + +// What the player is told when photo mode will not start, for refused()'s reasons. +const char* refusal_message(const char* why) { + if (!std::strcmp(why, "a menu is open")) return "Photo mode: close the menu first"; + if (!std::strcmp(why, "a cutscene")) return "Photo mode: not during a cutscene"; + if (!std::strcmp(why, "no world") || !std::strcmp(why, "the world is still coming in")) + return "Photo mode: not while the world loads"; + return "Photo mode needs the world to yourself"; +} + +float axis_dead(float v) { return std::fabs(v) < 0.08f ? 0.0f : v; } + +void fly(const BbPad& pad, const BbInput& in, bool keys_ok, float dt) { + Camera& c = st.cam; + // Speed: L1 and R1, or the mouse's buttons. + std::uint32_t clicks = keys_ok ? in.pressed : 0; + if ((pad.pressed & BB_PAD_R1) || (clicks & kMouseLeft)) st.speed = std::min(st.speed + 1, kSpeedCount - 1); + if ((pad.pressed & BB_PAD_L1) || (clicks & kMouseRight)) st.speed = std::max(st.speed - 1, 0); + const float speed = kSpeeds[st.speed]; + // Turning: the right stick, and the mouse's counts, slower when zoomed in. + const float zoom = c.fov / (60.0f * kPi / 180.0f); + const float rx = axis_dead(pad.rx), ry = axis_dead(pad.ry); + float yaw = rx * kTurnRate * zoom * dt, pitch = ry * kTurnRate * zoom * dt; + yaw += st.look_x * kMouseTurn * zoom; + pitch += st.look_y * kMouseTurn * zoom; + st.look_x = st.look_y = 0; + c.yaw += yaw * c.right_sign; + c.pitch = std::clamp(c.pitch + pitch, -kPitchLimit, kPitchLimit); + // Moving: the left stick and WASD along where the camera looks, L2 and R2 + // (Left Ctrl and Space) along the world's up. + float mx = axis_dead(pad.lx), mz = -axis_dead(pad.ly), my = pad.r2 - pad.l2; + if (keys_ok) { + mx += (in.key[kKeyD] ? 1.0f : 0.0f) - (in.key[kKeyA] ? 1.0f : 0.0f); + mz += (in.key[kKeyW] ? 1.0f : 0.0f) - (in.key[kKeyS] ? 1.0f : 0.0f); + my += (in.key[kKeySpace] ? 1.0f : 0.0f) - (in.key[kKeyLCtrl] ? 1.0f : 0.0f); + } + mx = std::clamp(mx, -1.0f, 1.0f); + mz = std::clamp(mz, -1.0f, 1.0f); + my = std::clamp(my, -1.0f, 1.0f); + float r[3], u[3], f[3]; + Camera level = c; + level.roll = 0; + basis(level, r, u, f); + for (int i = 0; i < 3; ++i) c.pos[i] += (f[i] * mz + r[i] * mx) * speed * dt; + c.pos[1] += my * speed * dt; +} + +void on_frame(void*) { + BbWorldState w{}; + w.size = sizeof(w); + if (api->world_state(&w) != 0) return; + const bool world_up = (w.flags & BB_WORLD_IN) && !(w.flags & BB_WORLD_LOADING); + if (world_up && !st.world_up) st.world_since = std::chrono::steady_clock::now(); + st.world_up = world_up; + BbPad pad{}; + pad.size = sizeof(pad); + api->pad(&pad); + BbInput in{}; + const bool have_keys = api->input(&in) == 0; + // The keyboard's presses: on the frame a key goes down. + static std::uint8_t prev_keys[512]; + auto key_down = [&](std::uint16_t k) { return have_keys && in.key[k] && !prev_keys[k]; }; + const bool p_down = key_down(kKeyP), escape_down = key_down(kKeyEscape), n_down = key_down(kKeyN); + if (have_keys) std::memcpy(prev_keys, in.key, sizeof(prev_keys)); + + // Start and end: hold Cross and press L3, or P; Escape ends it too. + const bool chord = (pad.buttons & BB_PAD_CROSS) && (pad.pressed & BB_PAD_L3); + const bool toggle = chord || p_down; + if (!st.on) { + if (toggle) { + if (const char* why = refused(w)) { + api->log("photo mode: not started - %s", why); + api->show_message(refusal_message(why), 3.0f); + } else { + start(); + } + } + } else if (const char* why = refused(w)) { + stop(why); + const bool player = !std::strcmp(why, "a player is on the way") || !std::strcmp(why, "another player is in the world"); + api->show_message(player ? "Photo mode ended: another player is coming" : "Photo mode ended", 2.0f); + } else if (toggle || escape_down) { + stop("asked"); + } + if (!st.on) { + st.have_last = false; + return; + } + + const auto now = std::chrono::steady_clock::now(); + float dt = st.have_last ? std::chrono::duration(now - st.last).count() : 0.0f; + st.last = now; + st.have_last = true; + dt = std::clamp(dt, 0.0f, 0.25f); // a hitch moves the camera no further than a quarter second's way + + // The frame advance: Cross (once let go since the start) or N. + if (!(pad.buttons & BB_PAD_CROSS)) st.cross_armed = true; + const bool step = (st.cross_armed && (pad.pressed & BB_PAD_CROSS) && !chord) || n_down; + if (step && st.mode == kFrozen) api->world_step(kName, kStepUpdates); + + const bool keys_ok = have_keys && in.playing; + if (keys_ok) { + st.look_x += in.dx; + st.look_y += in.dy; + } + if (st.mode != kStatic && st.seeded) fly(pad, in, keys_ok, dt); +} + +void on_option(const char* key, const char* value, void*) { + if (!key || !value) return; + if (std::strcmp(key, "mode") == 0) { + set_mode(std::strcmp(value, "Static") == 0 ? kStatic : std::strcmp(value, "Live") == 0 ? kLive : kFrozen); + } else if (std::strcmp(key, "hud") == 0) { + st.hud = std::strcmp(value, "true") == 0; + if (st.on) api->hud_hide(kName, st.hud ? 0 : 1); + } +} + +void read_options() { + st.hud = std::strcmp(api->config("photo_mode.hud"), "true") == 0; +} + +} // namespace + +extern "C" BB_PLUGIN_EXPORT const BbOption bb_plugin_options[] = { + {BB_OPT_CHOICE | BB_OPT_LIVE, "mode", "Mode", + "Frozen holds the world still while the camera flies; Static keeps the camera where it is while you play on; Live " + "flies the camera while the world runs. Photo mode always starts Frozen.", + "Frozen", 0, 0, "Frozen|Static|Live"}, + {BB_OPT_BOOL | BB_OPT_LIVE, "hud", "HUD", "Show the game's HUD, menus and prompts in photo mode. Off leaves them out of the picture.", + "false"}, + {0}}; + +extern "C" BB_PLUGIN_EXPORT const BbPluginInfo bb_plugin_info = { + BB_PLUGIN_API_VERSION, + 0, + "photo_mode", + "Photo mode", + "1.0.0", + "Nox-", + "A free camera for pictures: the world held still or running, the camera flown by the controller or the keyboard " + "and mouse, the HUD out of the way. Hold Cross and press L3, or press P. Only with nobody else in your world.", +}; + +extern "C" BB_PLUGIN_EXPORT int bb_plugin_image(const BbHostApi* host) { + if (host->version < 29 || host->size < offsetof(BbHostApi, hud_hide) + sizeof(void*)) { + host->log("photo mode: needs plugin API 29; this host has %u", host->version); + return 1; + } + api = host; + if (!api->eboot_is_109()) { + api->log("photo mode: not the 1.09 eboot"); + return 1; + } + read_options(); + api->on_option(kName, &on_option, nullptr); + if (api->on_view(&on_view, nullptr) != 0 || api->on_frame(&on_frame, nullptr) != 0) { + api->log("photo mode: the host would not call it each frame"); + return 1; + } + if (api->key_bound(kKeyP)) api->log("photo mode: P is also one of the game's keys; it starts photo mode as well"); + api->log("photo mode: ready - hold Cross and press L3, or press P"); + return 0; +} diff --git a/tests/photo_mode_plugin_test.cpp b/tests/photo_mode_plugin_test.cpp new file mode 100644 index 00000000..b79506d4 --- /dev/null +++ b/tests/photo_mode_plugin_test.cpp @@ -0,0 +1,461 @@ +// plugins/photo_mode on a host of our own: no game, no GPU. The plugin is +// loaded as the host loads plugins and driven frame by frame - the world's +// state, the controller and the keyboard as the test sets them - while every +// plugin API 29 call it makes is recorded. Checked: on a host older than API 29 +// it refuses before asking anything; it starts on P and on Cross held with L3 +// pressed, Frozen, with the world held, the controls taken and the HUD out of +// the picture; the camera starts at the game's view and flies the way it looks; +// Cross (once let go) and N advance a held world by two updates; Static gives +// the controls back but Options and the touchpad, Live flies over a running +// world; it ends on Escape, P and the chord, and at a loading screen, a +// cutscene or a menu, giving everything back; it does not start, and it ends, +// with another player in the world or on the way, or in another's world; the +// HUD option shows the HUD. Its options table is whole. +// +// photo_mode_plugin_test +#include "bbhost_plugin.h" + +#if defined(_WIN32) +#include +#else +#include +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +static int g_failures = 0; +#define CHECK(cond) \ + do { \ + if (!(cond)) { \ + std::fprintf(stderr, "%s:%d: CHECK failed: %s\n", __FILE__, __LINE__, #cond); \ + ++g_failures; \ + } \ + } while (0) + +namespace { + +constexpr std::uint16_t kP = 19, kN = 17, kW = 26, kEscape = 41; + +struct Host { + std::map config; + std::vector log, messages; + void (*frame_fn)(void*) = nullptr; + void* frame_user = nullptr; + void (*view_fn)(BbCamera*, void*) = nullptr; + void* view_user = nullptr; + void (*option_fn)(const char*, const char*, void*) = nullptr; + void* option_user = nullptr; + // What the plugin asked for last. + int paused = 0, hud_hidden = 0, steps = 0; + std::uint32_t take_buttons = 0, take_axes = 0; + std::vector taken_keys; + std::uint32_t taken_mouse = 0; + int taken_motion = 0; + // What the host reports. + BbWorldState world{}; + BbPad pad{}; + BbInput input{}; + int calls = 0; // every call that asks for something (pause, take, hide, step) +} H; + +void fake_log(const char* fmt, ...) { + char b[512]; + va_list ap; + va_start(ap, fmt); + std::vsnprintf(b, sizeof b, fmt, ap); + va_end(ap); + H.log.push_back(b); +} +const char* fake_config(const char* key) { + static std::string v; + const auto it = H.config.find(key); + v = it == H.config.end() ? "" : it->second; + return v.c_str(); +} +int fake_eboot_is_109() { return 1; } +int fake_on_frame(void (*fn)(void*), void* user) { + H.frame_fn = fn; + H.frame_user = user; + return 0; +} +int fake_on_view(void (*fn)(BbCamera*, void*), void* user) { + H.view_fn = fn; + H.view_user = user; + return 0; +} +int fake_on_option(const char* name, void (*fn)(const char*, const char*, void*), void* user) { + CHECK(std::strcmp(name, "photo_mode") == 0); + H.option_fn = fn; + H.option_user = user; + return 0; +} +int fake_key_bound(std::uint16_t) { return 0; } +int fake_show_message(const char* text, float) { + H.messages.push_back(text); + return 0; +} +int fake_world_pause(const char* name, int paused) { + CHECK(std::strcmp(name, "photo_mode") == 0); + H.paused = paused; + ++H.calls; + return 0; +} +int fake_world_step(const char* name, std::uint32_t updates) { + CHECK(std::strcmp(name, "photo_mode") == 0); + H.steps += static_cast(updates); + ++H.calls; + return H.paused ? 0 : 1; +} +int fake_pad(BbPad* out) { + CHECK(out->size == sizeof(BbPad)); + *out = H.pad; + out->size = sizeof(BbPad); + H.pad.pressed = 0; // the frame's presses, read once a frame + return 0; +} +int fake_pad_take(std::uint32_t buttons, std::uint32_t axes) { + H.take_buttons = buttons; + H.take_axes = axes; + ++H.calls; + return 0; +} +int fake_input(BbInput* out) { + *out = H.input; + H.input.pressed = 0; + H.input.dx = H.input.dy = 0; + return 0; +} +int fake_input_take(const std::uint16_t* sc, std::size_t n, std::uint32_t buttons, int, int motion) { + H.taken_keys.assign(sc, sc + n); + H.taken_mouse = buttons; + H.taken_motion = motion; + ++H.calls; + return 0; +} +int fake_world_state(BbWorldState* out) { + CHECK(out->size == sizeof(BbWorldState)); + *out = H.world; + out->size = sizeof(BbWorldState); + return 0; +} +int fake_hud_hide(const char* name, int hidden) { + CHECK(std::strcmp(name, "photo_mode") == 0); + H.hud_hidden = hidden; + ++H.calls; + return 0; +} +int fake_player_position(float xyz[3], float* yaw) { + if (xyz) xyz[0] = xyz[1] = xyz[2] = 0; + if (yaw) *yaw = 0; + return 0; +} + +struct Plugin { +#if defined(_WIN32) + HMODULE handle = nullptr; + void* sym(const char* name) { return reinterpret_cast(GetProcAddress(handle, name)); } +#else + void* handle = nullptr; + void* sym(const char* name) { return dlsym(handle, name); } +#endif + int (*image)(const BbHostApi*) = nullptr; + const BbOption* options = nullptr; + const BbPluginInfo* info = nullptr; +}; + +Plugin load(const char* path) { + Plugin p; +#if defined(_WIN32) + p.handle = LoadLibraryA(path); +#else + p.handle = dlopen(path, RTLD_NOW | RTLD_LOCAL); +#endif + if (!p.handle) return p; + p.image = reinterpret_cast(p.sym("bb_plugin_image")); + p.options = static_cast(p.sym("bb_plugin_options")); + p.info = static_cast(p.sym("bb_plugin_info")); + return p; +} + +BbHostApi make_api(std::uint32_t version) { + BbHostApi api; + std::memset(&api, 0, sizeof api); + api.version = version; + api.size = sizeof(BbHostApi); + api.log = &fake_log; + api.config = &fake_config; + api.eboot_is_109 = &fake_eboot_is_109; + api.on_frame = &fake_on_frame; + api.on_view = &fake_on_view; + api.on_option = &fake_on_option; + api.key_bound = &fake_key_bound; + api.show_message = &fake_show_message; + api.input = &fake_input; + api.input_take = &fake_input_take; + api.player_position = &fake_player_position; + if (version >= 29) { + api.world_pause = &fake_world_pause; + api.world_step = &fake_world_step; + api.pad = &fake_pad; + api.pad_take = &fake_pad_take; + api.world_state = &fake_world_state; + api.hud_hide = &fake_hud_hide; + } else { + api.size = static_cast(offsetof(BbHostApi, on_camera_target) + sizeof(void*)); + } + return api; +} + +void frame() { + std::this_thread::sleep_for(std::chrono::milliseconds(5)); + H.frame_fn(H.frame_user); +} +// A key held for one frame, then let go for the next. +void tap_key(std::uint16_t k) { + H.input.key[k] = 1; + frame(); + H.input.key[k] = 0; + frame(); +} +void tap_pad(std::uint32_t b) { + H.pad.buttons |= b; + H.pad.pressed |= b; + frame(); + H.pad.buttons &= ~b; + frame(); +} +// The world in for longer than the plugin's settle (the loading screen's page +// fades out over its first frames). +void settle() { + frame(); + std::this_thread::sleep_for(std::chrono::milliseconds(2100)); + frame(); +} +// The game's view, as on_view hands it: looking along +z from (1, 2, 3). +BbCamera game_view() { + BbCamera c{}; + c.right[0] = 1; // the game's right for a camera looking along +z, up +y + c.up[1] = 1; + c.forward[2] = 1; + c.position[0] = 1; + c.position[1] = 2; + c.position[2] = 3; + c.position[3] = 1; + c.fov_y = 0.75f; + c.aspect = 16.0f / 9.0f; + c.near_z = 0.1f; + c.far_z = 1000.0f; + return c; +} +bool logged(const char* text) { + for (const std::string& l : H.log) { + if (l.find(text) != std::string::npos) return true; + } + return false; +} + +} // namespace + +int main(int argc, char** argv) { + if (argc < 2) { + std::fprintf(stderr, "usage: photo_mode_plugin_test \n"); + return 2; + } + Plugin p = load(argv[1]); + CHECK(p.handle && p.image && p.info && p.options); + if (!p.handle || !p.image) return 1; + + // Its info and options: not a gameplay plugin (no session rules), not opt-in. + CHECK(std::strcmp(p.info->name, "photo_mode") == 0); + CHECK((p.info->flags & BB_PLUGIN_GAMEPLAY) == 0); + CHECK((p.info->flags & BB_PLUGIN_OPT_IN) == 0); + { + std::map keys; + for (const BbOption* o = p.options; o->type; ++o) { + if ((o->type & 0xff) == BB_OPT_HEADING || (o->type & 0xff) == BB_OPT_ACTION) continue; + CHECK(o->key && o->label && o->help && o->help[0]); // every row says what it does + CHECK(keys[o->key]++ == 0); + if ((o->type & 0xff) == BB_OPT_CHOICE) CHECK(std::strstr(o->choices, o->def) != nullptr); + } + } + + // An API 28 host: refused before asking for anything. + { + const BbHostApi old = make_api(28); + CHECK(p.image(&old) != 0); + CHECK(H.frame_fn == nullptr && H.calls == 0); + } + + const BbHostApi api = make_api(29); + CHECK(p.image(&api) == 0); + CHECK(H.frame_fn && H.view_fn && H.option_fn); + H.world.flags = BB_WORLD_IN; + H.pad.connected = 1; + H.input.playing = 1; + for (int i = 0; i < 5; ++i) frame(); + CHECK(H.calls == 0); // asks for nothing until started + // Not in the world's first two seconds. + tap_key(kP); + CHECK(H.paused == 0 && logged("the world is still coming in")); + settle(); + + // P starts it: Frozen, the world held, the controller and the camera's keys taken, the HUD out. + tap_key(kP); + CHECK(H.paused == 1); + CHECK(H.hud_hidden == 1); + CHECK((H.take_buttons & (BB_PAD_CROSS | BB_PAD_L1 | BB_PAD_R1 | BB_PAD_OPTIONS)) == (BB_PAD_CROSS | BB_PAD_L1 | BB_PAD_R1 | BB_PAD_OPTIONS)); + CHECK(H.take_axes == (BB_PAD_LEFT_STICK | BB_PAD_RIGHT_STICK | BB_PAD_TRIGGERS)); + CHECK(H.taken_motion == 1); + { + bool w = false; + for (std::uint16_t k : H.taken_keys) w = w || k == kW; + CHECK(w); + } + // The camera starts at the game's view and flies the way it looks. + BbCamera view = game_view(); + H.view_fn(&view, H.view_user); + CHECK(std::fabs(view.position[0] - 1) < 1e-4f && std::fabs(view.position[2] - 3) < 1e-4f); + CHECK(std::fabs(view.forward[2] - 1) < 1e-4f && std::fabs(view.right[0] - 1) < 1e-4f && std::fabs(view.up[1] - 1) < 1e-4f); + CHECK(std::fabs(view.fov_y - 0.75f) < 1e-4f); + H.pad.ly = -1.0f; // the stick up: forward + for (int i = 0; i < 10; ++i) frame(); + H.pad.ly = 0.0f; + view = game_view(); + H.view_fn(&view, H.view_user); + CHECK(view.position[2] > 3.01f); + CHECK(std::fabs(view.position[0] - 1) < 1e-3f && std::fabs(view.position[1] - 2) < 1e-3f); + H.pad.lx = 1.0f; // right: along the game's right + for (int i = 0; i < 10; ++i) frame(); + H.pad.lx = 0.0f; + view = game_view(); + H.view_fn(&view, H.view_user); + CHECK(view.position[0] > 1.01f); + + // The frame advance: Cross (it was not held to start) and N, two updates each. + tap_pad(BB_PAD_CROSS); + CHECK(H.steps == 2); + tap_key(kN); + CHECK(H.steps == 4); + + // Static: the world runs, the controller is the game's but Options and the touchpad; Live flies over it. + H.option_fn("mode", "Static", H.option_user); + CHECK(H.paused == 0); + CHECK(H.take_buttons == (BB_PAD_OPTIONS | BB_PAD_TOUCHPAD) && H.take_axes == 0); + CHECK(H.taken_motion == 0); + view = game_view(); + H.view_fn(&view, H.view_user); + const float static_z = view.position[2]; + H.pad.ly = -1.0f; + for (int i = 0; i < 6; ++i) frame(); + H.pad.ly = 0.0f; + view = game_view(); + H.view_fn(&view, H.view_user); + CHECK(std::fabs(view.position[2] - static_z) < 1e-5f); // the camera stays + H.option_fn("mode", "Live", H.option_user); + CHECK(H.paused == 0 && H.take_axes == (BB_PAD_LEFT_STICK | BB_PAD_RIGHT_STICK | BB_PAD_TRIGGERS)); + const int steps_before = H.steps; + tap_key(kN); + CHECK(H.steps == steps_before); // no frame advance over a running world + + // Escape ends it: everything given back. + tap_key(kEscape); + CHECK(H.paused == 0 && H.hud_hidden == 0 && H.take_buttons == 0 && H.take_axes == 0 && H.taken_keys.empty() && H.taken_motion == 0); + view = game_view(); + H.view_fn(&view, H.view_user); + CHECK(std::fabs(view.position[2] - 3) < 1e-5f); // the game's view again + + // The chord: Cross held, L3 pressed - it starts Frozen whatever the mode was. + H.pad.buttons = BB_PAD_CROSS; + frame(); + H.pad.pressed = BB_PAD_L3; + H.pad.buttons = BB_PAD_CROSS | BB_PAD_L3; + frame(); + H.pad.buttons = 0; + frame(); + CHECK(H.paused == 1); + // ... Cross was held to start: no frame advance until it has been let go. + CHECK(H.steps == steps_before); + + // Another player on the way: it ends at once, and does not start again. + H.world.arriving = 1; + frame(); + CHECK(H.paused == 0 && H.hud_hidden == 0 && H.take_buttons == 0); + CHECK(logged("a player is on the way")); + tap_key(kP); + CHECK(H.paused == 0); + H.world.arriving = 0; + H.world.others = 1; + tap_key(kP); + CHECK(H.paused == 0); + CHECK(logged("another player is in the world")); + CHECK(!H.messages.empty()); + H.world.others = 0; + // Matched to a player: the game hosts its session before they join the room. + H.world.flags = BB_WORLD_IN | BB_WORLD_OPEN; + for (const int role : {BB_SESSION_HOSTING, BB_SESSION_HOST, BB_SESSION_LEAVING}) { + H.world.session = role; + tap_key(kP); + CHECK(H.paused == 0); + } + H.world.flags = BB_WORLD_IN; + H.world.session = BB_SESSION_NONE; + tap_key(kP); + CHECK(H.paused == 1); // nobody coming: it starts + H.world.session = BB_SESSION_HOSTING; + H.world.flags = BB_WORLD_IN | BB_WORLD_OPEN; + frame(); + CHECK(H.paused == 0 && H.hud_hidden == 0 && H.take_buttons == 0); // a match ends it + H.world.session = BB_SESSION_NONE; + H.world.flags = BB_WORLD_IN | BB_WORLD_VISITING; + tap_key(kP); + CHECK(H.paused == 0); + H.world.flags = BB_WORLD_IN | BB_WORLD_MENU; + tap_key(kP); + CHECK(H.paused == 0); + H.world.flags = BB_WORLD_IN | BB_WORLD_CUTSCENE; + tap_key(kP); + CHECK(H.paused == 0); + H.world.flags = BB_WORLD_LOADING; + tap_key(kP); + CHECK(H.paused == 0); + + // A loading screen, a menu or a cutscene ends it. + for (const std::uint32_t flags : {BB_WORLD_LOADING, BB_WORLD_IN | BB_WORLD_MENU, BB_WORLD_IN | BB_WORLD_CUTSCENE}) { + const bool from_load = H.world.flags & BB_WORLD_LOADING; + H.world.flags = BB_WORLD_IN; + if (from_load) settle(); + tap_key(kP); + CHECK(H.paused == 1); + H.world.flags = flags; + frame(); + CHECK(H.paused == 0 && H.hud_hidden == 0 && H.take_buttons == 0); + } + + // The HUD option shows the HUD in photo mode, live. + H.world.flags = BB_WORLD_IN; + tap_key(kP); + CHECK(H.hud_hidden == 1); + H.option_fn("hud", "true", H.option_user); + CHECK(H.hud_hidden == 0); + tap_key(kP); + CHECK(H.paused == 0); + H.config["photo_mode.hud"] = "true"; + + if (g_failures) { + std::fprintf(stderr, "photo_mode_plugin_test: %d failure(s)\n", g_failures); + for (const std::string& l : H.log) std::fprintf(stderr, " log: %s\n", l.c_str()); + return 1; + } + std::printf("photo_mode_plugin_test: ok\n"); + return 0; +} From 5be777ba8fdf2e255f7e0d8d35e611707b4a80d1 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Wed, 11 Nov 2026 23:43:19 -0800 Subject: [PATCH 007/100] graphics: the comment on the post-process block's +0x1ec says what it is - an int, the motion blur's sample count (4 in Central Yharnam), the first integer the apply hands the blur's parameters - not "Yebis-MotionBlurScale" Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- src/engine/graphics_patch.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/engine/graphics_patch.cpp b/src/engine/graphics_patch.cpp index b7b0258c..75de3eac 100755 --- a/src/engine/graphics_patch.cpp +++ b/src/engine/graphics_patch.cpp @@ -193,11 +193,14 @@ std::atomic g_made_any{false}; // FilmicContrast mostly moves the overall brightness, which the game's own // Brightness already does. // -// Nor does motion blur's strength, though "Yebis-MotionBlurScale" (+0x1ec) is -// right there: at half and at double the area's value the game never fades in -// from its loading screen (twice at half, three times at double; the glare -// that eases in as the world starts stays at its first value), while 0, 1x -// and 1.4x load normally. Motion blur keeps its on/off setting. +// Nor does motion blur's strength - and +0x1ec, once taken here for +// "Yebis-MotionBlurScale", is not it: it is an int, the blur's sample count +// (4 in Central Yharnam), the first integer the apply hands the blur's +// parameters (ppfx_sub_fb38f0). Scaled there as a float, to half and to +// double, the game never faded in from its loading screen (twice at half, +// three times at double; the glare that eases in as the world starts stayed +// at its first value), while 0, 1x and 1.4x loaded normally. Motion blur +// keeps its on/off setting. constexpr std::uint64_t kYebisRecord = 0x25d4860; // push rbp; mov rbp, rsp; push r15..r12; push rbx; sub rsp, 0x28; mov r13, r9 const std::uint8_t kYebisRecordPrologue[] = {0x55, 0x48, 0x89, 0xe5, 0x41, 0x57, 0x41, 0x56, 0x41, 0x55, From 69e22717ac2c961e9384f584e5f3d2c82f504f13 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 00:24:49 -0800 Subject: [PATCH 008/100] plugins: API 29's post_look - the picture's look over the area's own: tone, vignette, depth of field, chromatic aberration, motion blur and fog, written each view into the numbers the area gives the post-processing and the fog A plugin's BbLook applies the groups it sets, every view, where bbhost's own settings already change the area's numbers: at YEBIS's record (yebis_record_hook, after the settings) in the post-process block, and at the fog table's upload (fog_upload_hook). Nothing of the game's is kept or put back; NULL or set 0 is the area's own from the next view. One look for all plugins, the last call's; turning its plugin off takes it away. - Tone: the exposure times the area's (the eye adaptation's middle grey while it adapts, the fixed exposure +0x98 otherwise), gamma +0x9c, saturation +0xc8, value +0xcc ("brightness") and contrast +0x248. - The vignette's power +0xd0. - Chromatic aberration: on +0xac (written after the setting's mask, so it shows with the setting off too) and its four dispersions +0xb4..+0xc0. - Depth of field: on +0x1ac, manual focus (+0x188 0), the focus distance +0x1b0, the aperture +0x1b4 and the blur's levels +0x1d0/+0x1d4; +0x1ac is written after the setting's Off has cleared it, so the look's on shows with the setting off too, and its off leaves the passes out. - Motion blur: on +0x1dc, its times +0x1e4/+0x1e8, samples +0x1ec and the camera blur's scale +0x350, with the velocity switch and the shader patch following the look over the setting. - Fog: 1/Dist ([1], [10]) divided by the distance factor, the three opacities times the density, the contrasts ([7], [19]) times the contrast, DistOffset [9] and HeightOffset [13] added. - available: the groups that can show now - Performance mode jumps past every depth of field pass and leaves the scene's motion blur off, and rebuilt motion vectors leave the blur nothing to read; depth of field also needs YEBIS's own part of it made (the post effect's +0x140, which its setters check). - Values outside what the post effect's setters take are clamped (the middle grey inside 0..1, as SetAutoExposureMiddleGray asserts). tools/api29_probe.c gains "look" steps. A/B frames on a rendered game at Central Yharnam (lavapipe, the world held, the camera still; mean level 48 of 255, two frames of the area's own 0.3 apart): exposure x2 71; gamma x1.3 69 and less saturated; saturation 0 grey; brightness x1.5 58; contrast x1.1 13 (crushed); vignette 1.5 the corners 55 -> 14; chromatic aberration on with lateral 0.05, colour fringes (the area has none); fog distance x0.3 and density x3 more haze far off (its sharpness 1570 -> 1317 and 1079), contrast x2 the far street 52 -> 44, distance offset +30 less haze (2184), height offset -100 more (1205), +200 and +30 none. Depth of field: the look switches YEBIS's on and off (the effect's enable byte follows, 1 -> 0) and its focus, aperture and levels reach the apply, but no depth of field shows in Central Yharnam - neither the area's own (on, f/5.6) nor f/0.5 at 1 m and at 1000 m with levels 7, held three minutes - so the aperture is not confirmed by a picture yet. Motion blur's fields are written as logged; it needs motion to be seen. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 24 +++- include/bbhost_plugin.h | 45 ++++++++ src/engine/graphics_patch.cpp | 211 ++++++++++++++++++++++++++++++++-- src/engine/graphics_patch.h | 29 +++++ src/host/plugins.cpp | 83 ++++++++++++- src/host/shader_patch.cpp | 27 ++++- src/host/shader_patch.h | 5 + tests/plugin_abi_test.c | 8 +- tests/settings_store_test.cpp | 11 ++ tools/api29_probe.c | 63 +++++++++- 10 files changed, 488 insertions(+), 18 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index 5fe82805..ea176883 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -191,11 +191,12 @@ gives the Binary Ninja address. recompiled one, a plugin still needs its own camera hooks. One plugin owns it: 1 outside image setup, for NULL, or once taken; 0 otherwise. -**The world held still, the controller, and who else is in the world** (v29) +**The world held still, the controller, who else is in the world, the HUD and the look** (v29) What a photo mode needs: the world stopped while its own camera flies, the controller read as the plugin's own while the game reads none of what it -takes, and a way to know that nobody else is in the world. +takes, a way to know that nobody else is in the world, the HUD out of the +picture and a look of its own over the area's. - `world_pause(name, paused)`: holds the world - its characters, physics, AI, events, effects and cloth - while frames go on being drawn and `on_view` @@ -241,6 +242,25 @@ takes, and a way to know that nobody else is in the world. changes, and its HUD option keeps its value. bbhost's overlay and menus are drawn as always. The HUD is left out while any plugin asks; turning the plugin off lets go. It costs two copies of the picture a frame while on. +- `post_look(name, &look, &available)`: the picture's look over the area's + own, as `BbLook` (set `look.size` first): the groups in `set` apply - tone + (exposure, gamma, saturation, brightness and contrast, each times the + area's; the exposure is the eye adaptation's target while it adapts, the + fixed exposure otherwise), the vignette's power, depth of field (off, or on + with a focus distance, an aperture and the blur's levels in front of and + behind the focus), chromatic aberration (off, or on with its lateral and + uniform dispersions), motion blur (off, or on with its times, scale and + samples) and the fog (its distance, density and contrast times the area's, + its distance and height offsets added) - and the rest stay the area's. It is + written every view into the numbers the area gives the post-processing and + the fog, so nothing of the game's is kept or put back: `NULL` or `set` 0 is + the area's own from the next frame. One look for all plugins - the last + call's - and turning its plugin off takes it away. Depth of field and motion + blur show while the look sets them on whatever the Graphics settings say, + and are left out while it sets them off; Performance mode jumps past every + depth of field pass and leaves the scene's motion blur off, so `available` + (may be `NULL`) leaves those two out then. Values outside what the post + effect takes are clamped. **Settings, UI and files** diff --git a/include/bbhost_plugin.h b/include/bbhost_plugin.h index 34d8625c..b89f8b46 100644 --- a/include/bbhost_plugin.h +++ b/include/bbhost_plugin.h @@ -409,6 +409,38 @@ typedef struct BbPad { #define BB_SESSION_GUEST 6 /* in another player's world */ #define BB_SESSION_LEAVING 7 +/* Version 29: the picture's look over the area's own (post_look): each group + * applies while its bit is in `set`, every view, on the numbers the area gives + * the post-processing and the fog that view; the rest stay the area's. */ +#define BB_LOOK_TONE 1u /* exposure, gamma, saturation, brightness and contrast: times the area's */ +#define BB_LOOK_VIGNETTE 2u /* the vignette's power (0 is none) */ +#define BB_LOOK_DOF 4u /* depth of field: off, or on with the focus, the aperture and the blur levels */ +#define BB_LOOK_ABERRATION 8u /* chromatic aberration: off, or on with its four dispersions */ +#define BB_LOOK_MOTION_BLUR 16u /* motion blur: off, or on with its two times, the camera blur's scale and samples */ +#define BB_LOOK_FOG 32u /* the fog: its distance, density and contrast times the area's, its offsets added */ + +typedef struct BbLook { + uint32_t size; /* sizeof(BbLook) as the plugin knows it */ + uint32_t set; /* BB_LOOK_* */ + float exposure, gamma, saturation, brightness, contrast; /* BB_LOOK_TONE: 1 is the area's own; the exposure is + the eye adaptation's target while it adapts; the + contrast is steep (1.1 crushes Central Yharnam's + shadows to black) */ + float vignette; /* BB_LOOK_VIGNETTE */ + int32_t dof; /* BB_LOOK_DOF: 0 off, 1 on with the four below */ + float dof_focus; /* the distance in focus (Central Yharnam's 1) */ + float dof_aperture; /* an f-number: the smaller, the more blurred away from the focus (Central Yharnam's 5.6) */ + int32_t dof_near_levels, dof_far_levels; /* the blur's levels in front of and behind the focus, 0-7 */ + int32_t aberration; /* BB_LOOK_ABERRATION: 0 off, 1 on with the four below */ + float lateral[2], uniform[2]; /* its dispersions, -1..1 (Central Yharnam's lateral[0] is 0.006) */ + int32_t motion_blur; /* BB_LOOK_MOTION_BLUR: 0 off, 1 on with the four below */ + float blur_time, blur_length; /* the blur's two times (0.06-0.095 and 0.1-0.2 in Central Yharnam's views) */ + float blur_scale; /* times blur_length, the camera blur's amount (0-4 there) */ + int32_t blur_samples; /* 1-16 (3 or 4 there) */ + float fog_distance, fog_density, fog_contrast; /* BB_LOOK_FOG: times the area's */ + float fog_distance_offset, fog_height_offset; /* metres added */ +} BbLook; + typedef struct BbWorldState { uint32_t size; /* set to sizeof(BbWorldState) before the call: the host fills as much as both know */ uint32_t flags; /* BB_WORLD_* */ @@ -989,6 +1021,19 @@ typedef struct BbHostApi { * off lets go. From the next frame; while on, two copies of the picture a * frame. Any thread. 0 on success; 1 for an unknown plugin. */ int (*hud_hide)(const char* name, int hidden); + /* The picture's look over the area's own (BbLook): written every view + * into the numbers the area gives the post-processing and the fog, so + * nothing of the game's is kept or written back - `look` NULL (or `set` + * 0) gives the area's own from the next frame. One look for all plugins: + * the last call holds, and the plugin being turned off takes its look + * away. Depth of field and motion blur show while the look sets them on + * whatever the Graphics settings say, and are left out while it sets + * them off; Performance mode jumps past every depth of field pass and + * leaves the scene's motion blur off, so those two cannot show then. + * `available` (may be NULL) gets the BB_LOOK_* groups that can show now. + * Values outside what the post effect takes are clamped. Any thread. 0 on + * success; 1 for an unknown plugin or a size under 8. */ + int (*post_look)(const char* name, const BbLook* look, uint32_t* available); } BbHostApi; #define BB_SNAP_PIXELS 0xffffffffu /* version 18: scene_snap's grid the 3D's own pixels */ diff --git a/src/engine/graphics_patch.cpp b/src/engine/graphics_patch.cpp index 75de3eac..36018f4f 100755 --- a/src/engine/graphics_patch.cpp +++ b/src/engine/graphics_patch.cpp @@ -21,6 +21,7 @@ #include "host/plugins.h" #include "host/scene_look.h" #include "host/settings.h" +#include "host/shader_patch.h" #include "host/upscaler.h" #include "host/window.h" #include "log.h" @@ -225,6 +226,42 @@ std::uint8_t* g_post_block = nullptr; std::atomic g_bloom{1.0f}, g_saturation{1.0f}; std::atomic g_vignette{true}, g_dof{true}; +// A plugin's look (plugin API 29's post_look, graphics_look_set): the fields +// it writes in the block, each a 4-byte cell, as YEBIS's apply (sub_25d5f80) +// hands them to the post effect's setters (decomp/yebis/ppfx_setters.cpp): +// +// +0x50 auto exposure on; +0x54 its middle grey (0..1: what the eye +// adaptation brings the scene's luminance to; +// SetAutoExposureMiddleGray) +// +0x98 the exposure while auto exposure is off (with it on, the apply +// writes the adapted one there itself); +0x9c gamma (both +// SetTonemapParameters) +// +0xc8 saturation, +0xcc value ("Yebis-ColorS", "-ColorV"), +0x248 +// contrast ("-Contrust"): colour-matrix multiplies, skipped at 1 +// +0xd0 the vignette's power (ppfx_sub_fb3670, with +0xd4) +// +0xac chromatic aberration on (1.0 where an area's lens has it - +// Central Yharnam's has not; SetChromaticAberrationEnable), +// +0xb4/+0xb8 its lateral and +0xbc/+0xc0 its uniform dispersion +// +0x1ac depth of field on (the cmp before the je at 0x25d7bbc), +0x188 +// its auto focus (0: the focus distance below), +0x1b0 the focus +// distance, +0x1b4 the aperture (an f-number), +0x1d0 and +0x1d4 the +// blur's levels in front of and behind the focus +// +0x1dc motion blur on (SetMotionBlurEnable), +0x1e4 and +0x1e8 its two +// times, +0x1ec its sample count (an int), +0x350 what the apply +// multiplies +0x1e8 by into the camera blur's amount +constexpr std::size_t kAutoExposure = 0x50, kMiddleGrey = 0x54, kExposure = 0x98, kGamma = 0x9c, kValue = 0xcc, + kContrast = 0x248; +constexpr std::size_t kAberration = 0xac, kAberrationDispersion = 0xb4; +// kDofOn is the setting's switch (kDofEnable): the look writes it after the +// setting's Off has cleared it, so the look's depth of field wins either way. +constexpr std::size_t kDofAuto = 0x188, kDofOn = kDofEnable, kDofFocus = 0x1b0, kDofAperture = 0x1b4, kDofNear = 0x1d0, + kDofFar = 0x1d4; +constexpr std::size_t kBlurOn = 0x1dc, kBlurTime = 0x1e4, kBlurLength = 0x1e8, kBlurSamples = 0x1ec, kBlurScale = 0x350; +std::mutex g_look_mu; +GraphicsLook g_look; // under g_look_mu +std::atomic g_look_set{0}; // its groups: one load a view while there is none +std::atomic g_look_logged{true}; // the area's own values logged since the look changed + // Ambient occlusion strength. The SSAO bank (+0x5968) is blended the same way // (sub_1285500, into a 0x6c-byte block) and copied into the SSAO object the // renderer keeps at +0x10d0 - to its +0x14c, unless its +0x148 byte holds it - @@ -457,6 +494,23 @@ void graphics_ssr_live_in() { namespace { +// Motion blur's velocity switch (motion_blur_apply): the setting's, unless a +// plugin's look sets motion blur on or off (graphics_look_set). Called from +// the settings' thread and the look's, one at a time. +std::atomic g_blur_setting{true}; +std::atomic g_blur_look{-1}; +void blur_update() { + static std::mutex mu; + std::lock_guard lk(mu); + static bool was = true; // the constructor's own + const int look = g_blur_look.load(std::memory_order_relaxed); + const bool want = look >= 0 ? look != 0 : g_blur_setting.load(std::memory_order_relaxed); + if (want != was) { + was = want; + motion_blur_apply(want); + } +} + // The settings' listener (host_settings_listen, from live_install): told each // change once, on the thread that made it (the store calls its listeners one // at a time), it keeps the values the hooks below apply - the hooks read these @@ -502,13 +556,9 @@ void settings_changed(const HostSettings& hs) { g_ssr_off.store(!hs.ssr, std::memory_order_relaxed); g_dyn_shadows_off.store(!hs.dynamic_shadows || hs.performance_mode, std::memory_order_relaxed); // Performance mode's blur off (its velocity map kept for the upscaler). - static bool blur_was = true; // Rebuilt motion vectors hold what the blur cannot read: it goes too. - const bool blur = hs.motion_blur && !hs.performance_mode && !host_opt_motion_rebuilt_bits(); - if (blur != blur_was) { - blur_was = blur; - motion_blur_apply(blur); - } + g_blur_setting.store(hs.motion_blur && !hs.performance_mode && !host_opt_motion_rebuilt_bits()); + blur_update(); set_chromatic_aberration(hs.chromatic_aberration && !hs.performance_mode); g_bloom.store(hs.bloom); g_saturation.store(hs.saturation); @@ -662,6 +712,83 @@ void log_glare(float glare, float power, float bloom, bool vignette) { l.skipped = skipped; } +int yebis_dof_ready(); // below, beside the slide they read +int yebis_dof_on(); + +// A plugin's look over this view's block (graphics_look_set), after the +// settings: the area's numbers times its factors, or its own where it sets +// them. +void apply_look(std::uint8_t* b) { + GraphicsLook l; + { + std::lock_guard lk(g_look_mu); + l = g_look; + } + const auto getf = [b](std::size_t at) { + float v = 0; + std::memcpy(&v, b + at, 4); + return v; + }; + const auto geti = [b](std::size_t at) { + std::int32_t v = 0; + std::memcpy(&v, b + at, 4); + return v; + }; + const auto setf = [b](std::size_t at, float v) { std::memcpy(b + at, &v, 4); }; + const auto seti = [b](std::size_t at, std::int32_t v) { std::memcpy(b + at, &v, 4); }; + if (!g_look_logged.exchange(true)) { + host_log("graphics: a look over the area's exposure %g (auto %d, middle grey %g), gamma %g, saturation %g, value %g, " + "contrast %g, vignette %g; aberration %g (%g %g, %g %g); depth of field %d (auto focus %d, focus %g, aperture " + "%g, levels %d %d; the post effect's part %d, on %d); motion blur %d (%g %g, %d samples, scale %g)", + getf(kExposure), geti(kAutoExposure), getf(kMiddleGrey), getf(kGamma), getf(kSaturation), getf(kValue), + getf(kContrast), getf(kVignettePower), getf(kAberration), getf(kAberrationDispersion), + getf(kAberrationDispersion + 4), getf(kAberrationDispersion + 8), getf(kAberrationDispersion + 12), + geti(kDofOn), geti(kDofAuto), getf(kDofFocus), getf(kDofAperture), geti(kDofNear), geti(kDofFar), + yebis_dof_ready(), yebis_dof_on(), geti(kBlurOn), getf(kBlurTime), getf(kBlurLength), geti(kBlurSamples), + getf(kBlurScale)); + } + if (l.set & kLookTone) { + // The exposure: the adapted one's target with auto exposure on (the + // middle grey, which SetAutoExposureMiddleGray keeps inside 0..1), + // the fixed one with it off. + if (geti(kAutoExposure) != 0) + setf(kMiddleGrey, std::clamp(getf(kMiddleGrey) * l.exposure, 0.001f, 0.999f)); + else + setf(kExposure, getf(kExposure) * l.exposure); + setf(kGamma, getf(kGamma) * l.gamma); + setf(kSaturation, getf(kSaturation) * l.saturation); + setf(kValue, getf(kValue) * l.brightness); + setf(kContrast, getf(kContrast) * l.contrast); + } + if (l.set & kLookVignette) setf(kVignettePower, l.vignette); + if (l.set & kLookAberration) { + setf(kAberration, l.aberration ? 1.0f : 0.0f); + setf(kAberrationDispersion, l.lateral[0]); + setf(kAberrationDispersion + 4, l.lateral[1]); + setf(kAberrationDispersion + 8, l.uniform[0]); + setf(kAberrationDispersion + 12, l.uniform[1]); + } + if (l.set & kLookDof) { + seti(kDofOn, l.dof ? 1 : 0); + if (l.dof) { + seti(kDofAuto, 0); + setf(kDofFocus, l.dof_focus); + setf(kDofAperture, l.dof_aperture); + seti(kDofNear, l.dof_near_levels); + seti(kDofFar, l.dof_far_levels); + } + } + if (l.set & kLookMotionBlur) { + seti(kBlurOn, l.motion_blur ? 1 : 0); + if (l.motion_blur) { + setf(kBlurTime, l.blur_time); + setf(kBlurLength, l.blur_length); + seti(kBlurSamples, l.blur_samples); + setf(kBlurScale, l.blur_scale); + } + } +} + // sub_25d4860's entry: the YEBIS object in rdi. GUEST_ABI std::int64_t yebis_record_hook(std::uint64_t, const std::uint64_t* saved) { const auto* yebis = reinterpret_cast(static_cast(saved[5])); @@ -697,6 +824,7 @@ GUEST_ABI std::int64_t yebis_record_hook(std::uint64_t, const std::uint64_t* sav for (int i = 0; i < g_post_poke.n; ++i) { std::memcpy(g_post_block + g_post_poke.off[i], &g_post_poke.value[i], 4); } + if (g_look_set.load(std::memory_order_acquire)) apply_look(g_post_block); return 0; } @@ -737,6 +865,25 @@ const BankLookup kBanks[12] = { }; std::uint64_t g_slide = 0; +// YEBIS's post effect (s_pSinglePostEffect) and its +0x140 byte: depth of +// field's part made at its initialisation. Without it the effect's setters +// keep the pass off whatever they are handed (sub_fd2a90 writes its enable +// byte, +0x940, only while it is set). +constexpr std::uint64_t kSinglePostEffect = 0x5865ed0; +constexpr std::size_t kEffectDofReady = 0x140, kEffectDofOn = 0x940; +std::uint64_t yebis_effect() { + std::uint64_t effect = 0; + if (g_slide) + std::memcpy(&effect, reinterpret_cast(static_cast(g_slide + (kSinglePostEffect - kPreferredGuestSlide))), 8); + return effect; +} +int yebis_effect_byte(std::size_t at) { // -1 before the effect is made + const std::uint64_t effect = yebis_effect(); + return effect ? *reinterpret_cast(static_cast(effect + at)) : -1; +} +int yebis_dof_ready() { return yebis_effect_byte(kEffectDofReady) > 0 ? 1 : yebis_effect_byte(kEffectDofReady); } +int yebis_dof_on() { return yebis_effect_byte(kEffectDofOn); } // as the last view's apply left it + // BBHOST_DRAWPARAM_POKE=:::: write that float // into both entries a view asks that bank for, every view - to see whether a // field is read live, before anything is built on it. It is also how to test a @@ -903,7 +1050,13 @@ void drawparam_probe(const std::uint8_t* mgr, const std::uint8_t* r) { // written. GUEST_ABI std::int64_t fog_upload_hook(std::uint64_t, const std::uint64_t* saved) { const float k = g_fog.load(std::memory_order_relaxed); - if (k == 1.0f && g_fog_test.n == 0) return 0; + GraphicsLook look; + if (g_look_set.load(std::memory_order_acquire) & kLookFog) { + std::lock_guard lk(g_look_mu); + look = g_look; + } + const bool look_fog = look.set & kLookFog; + if (k == 1.0f && g_fog_test.n == 0 && !look_fog) return 0; std::uint64_t gm = 0, fm = 0; std::memcpy(&gm, reinterpret_cast(static_cast(g_slide + (kGraphicsManager - kPreferredGuestSlide))), 8); if (gm) std::memcpy(&fm, reinterpret_cast(static_cast(gm)) + kFogManager, 8); @@ -919,6 +1072,21 @@ GUEST_ABI std::int64_t fog_upload_hook(std::uint64_t, const std::uint64_t* saved for (std::uint32_t i = 0; i < count; ++i) { float* b = blocks + i * (kFogBlock / 4); for (int o : kFogOpacity) b[o] *= k; + if (look_fog) { + // A plugin's look (post_look): the distance (1/Dist at [1] and + // [10]), the density (the three opacities), the contrast ([7], the + // colour's, and [19], the height colour's) and the offsets + // (DistOffset [9], HeightOffset [13]). + if (look.fog_distance > 0.0f) { + b[1] /= look.fog_distance; + b[10] /= look.fog_distance; + } + for (int o : kFogOpacity) b[o] *= look.fog_density; + b[7] *= look.fog_contrast; + b[19] *= look.fog_contrast; + b[9] += look.fog_distance_offset; + b[13] += look.fog_height_offset; + } for (int t = 0; t < g_fog_test.n; ++t) { float& v = b[g_fog_test.index[t]]; v = g_fog_test.add[t] ? v + g_fog_test.mul[t] : v * g_fog_test.mul[t]; @@ -1799,6 +1967,35 @@ std::string graphics_glare_report() { return buf; } +std::uint32_t graphics_look_available() { + const HostSettings& hs = host_settings_ref(); + std::uint32_t a = kLookAll; + if (hs.performance_mode || yebis_dof_ready() == 0) a &= ~kLookDof; + if (hs.performance_mode) a &= ~kLookMotionBlur; + if (host_opt_motion_rebuilt_bits()) a &= ~kLookMotionBlur; // what the blur cannot read + return a; +} + +void graphics_look_set(const GraphicsLook& look) { + const std::uint32_t avail = graphics_look_available(); + GraphicsLook l = look; + l.set &= kLookAll; + { + std::lock_guard lk(g_look_mu); + g_look = l; + } + g_look_logged.store(l.set == 0); + g_look_set.store(l.set, std::memory_order_release); + // Motion blur on or off whatever its setting says: its shader patches + // (host/shader_patch.h) and the blur's velocity switch, where it can show + // at all. Depth of field needs nothing here: apply_look writes the + // block's enable after the setting's Off has cleared it (kDofOn). + const int blur = (l.set & kLookMotionBlur) && (avail & kLookMotionBlur) ? (l.motion_blur ? 1 : 0) : -1; + shader_patch_look(blur); + g_blur_look.store(blur, std::memory_order_relaxed); + blur_update(); +} + void graphics_patch_install(ElfImage* image) { resolution_patch(image, live_resolution_install(image)); menu_memory_install(image); diff --git a/src/engine/graphics_patch.h b/src/engine/graphics_patch.h index 00034c45..f0e721c8 100755 --- a/src/engine/graphics_patch.h +++ b/src/engine/graphics_patch.h @@ -54,6 +54,35 @@ void graphics_scene_context_made(std::uint64_t ctx); // have taken it from the patched code. void graphics_ssr_live_in(); +// Plugin API 29's post_look (host/plugins.cpp): a look over the area's own, +// written each view into the numbers the area gives YEBIS (the post-process +// block, at its record) and the fog (its table, at the upload) - nothing kept, +// nothing restored; `set` 0 is the area's own from the next view. The groups +// are BbLook's (kLook* = BB_LOOK_*). Depth of field and motion blur show +// while the look sets them on, whatever their settings say, and are left out +// while it sets them off. +constexpr std::uint32_t kLookTone = 1, kLookVignette = 2, kLookDof = 4, kLookAberration = 8, kLookMotionBlur = 16, + kLookFog = 32, kLookAll = 63; +struct GraphicsLook { + std::uint32_t set = 0; + float exposure = 1, gamma = 1, saturation = 1, brightness = 1, contrast = 1; // times the area's + float vignette = 0; // the vignette's power + bool dof = false; + float dof_focus = 0, dof_aperture = 0; + std::int32_t dof_near_levels = 0, dof_far_levels = 0; + bool aberration = false; + float lateral[2] = {0, 0}, uniform[2] = {0, 0}; + bool motion_blur = false; + float blur_time = 0, blur_length = 0, blur_scale = 0; + std::int32_t blur_samples = 0; + float fog_distance = 1, fog_density = 1, fog_contrast = 1; // times the area's + float fog_distance_offset = 0, fog_height_offset = 0; // metres added +}; +void graphics_look_set(const GraphicsLook& look); +// The groups a look can show now: Performance mode jumps past every depth of +// field pass (0x25d7bbc) and leaves the scene's motion blur off. +std::uint32_t graphics_look_available(); + // A hook at a guest function's entry (core/thunk.h's prologue stub): `host` // runs with the argument registers first. `prologue` is the `n` (>= 14) bytes // expected there, none rip-relative; false when they are not. Only after the diff --git a/src/host/plugins.cpp b/src/host/plugins.cpp index 8514b3a0..aaebc8a6 100644 --- a/src/host/plugins.cpp +++ b/src/host/plugins.cpp @@ -1556,6 +1556,86 @@ std::uint32_t session_members(std::uint64_t sm) { return routes > 1 ? routes - 1 : 0; } +// The picture's look over the area's own (engine/graphics_patch.h): one for +// all plugins, the last call's, and its plugin, whose turning off takes it away. +std::mutex g_look_mu; +std::string g_look_owner; // under g_look_mu + +float look_value(float v, float lo, float hi, float otherwise) { return std::isfinite(v) ? std::clamp(v, lo, hi) : otherwise; } + +int api_post_look(const char* name, const BbLook* look, std::uint32_t* available) { + static_assert(BB_LOOK_TONE == kLookTone && BB_LOOK_VIGNETTE == kLookVignette && BB_LOOK_DOF == kLookDof && + BB_LOOK_ABERRATION == kLookAberration && BB_LOOK_MOTION_BLUR == kLookMotionBlur && BB_LOOK_FOG == kLookFog, + "post_look's groups"); + if (!plugin_named(name) || (look && look->size < 8)) return 1; + GraphicsLook l; + if (look && look->set) { + BbLook b{}; + std::memcpy(&b, look, std::min(look->size, sizeof(BbLook))); + // A group the plugin's BbLook does not reach to the end of stays the area's. + const std::uint32_t size = look->size; + std::uint32_t set = b.set & kLookAll; + if (size < offsetof(BbLook, vignette)) set &= ~kLookTone; + if (size < offsetof(BbLook, dof)) set &= ~kLookVignette; + if (size < offsetof(BbLook, aberration)) set &= ~kLookDof; + if (size < offsetof(BbLook, motion_blur)) set &= ~kLookAberration; + if (size < offsetof(BbLook, fog_distance)) set &= ~kLookMotionBlur; + if (size < sizeof(BbLook)) set &= ~kLookFog; + l.set = set; + // Inside what the post effect's setters take (some assert outside it). + l.exposure = look_value(b.exposure, 0.0f, 16.0f, 1.0f); + l.gamma = look_value(b.gamma, 0.05f, 16.0f, 1.0f); + l.saturation = look_value(b.saturation, 0.0f, 16.0f, 1.0f); + l.brightness = look_value(b.brightness, 0.0f, 16.0f, 1.0f); + l.contrast = look_value(b.contrast, 0.0f, 16.0f, 1.0f); + l.vignette = look_value(b.vignette, 0.0f, 4.0f, 0.0f); + l.dof = b.dof != 0; + l.dof_focus = look_value(b.dof_focus, 0.01f, 10000.0f, 10.0f); + l.dof_aperture = look_value(b.dof_aperture, 0.5f, 64.0f, 5.6f); + l.dof_near_levels = std::clamp(b.dof_near_levels, 0, 7); + l.dof_far_levels = std::clamp(b.dof_far_levels, 0, 7); + l.aberration = b.aberration != 0; + for (int i = 0; i < 2; ++i) { + l.lateral[i] = look_value(b.lateral[i], -1.0f, 1.0f, 0.0f); + l.uniform[i] = look_value(b.uniform[i], -1.0f, 1.0f, 0.0f); + } + l.motion_blur = b.motion_blur != 0; + l.blur_time = look_value(b.blur_time, 0.0f, 100.0f, 0.0f); + l.blur_length = look_value(b.blur_length, 0.0f, 100.0f, 0.0f); + l.blur_scale = look_value(b.blur_scale, 0.0f, 100.0f, 0.0f); + l.blur_samples = std::clamp(b.blur_samples, 1, 16); + l.fog_distance = look_value(b.fog_distance, 0.01f, 100.0f, 1.0f); + l.fog_density = look_value(b.fog_density, 0.0f, 16.0f, 1.0f); + l.fog_contrast = look_value(b.fog_contrast, 0.0f, 16.0f, 1.0f); + l.fog_distance_offset = look_value(b.fog_distance_offset, -10000.0f, 10000.0f, 0.0f); + l.fog_height_offset = look_value(b.fog_height_offset, -10000.0f, 10000.0f, 0.0f); + } + std::uint32_t was = 0; + { + std::lock_guard lk(g_look_mu); + static std::uint32_t groups = 0; + was = groups; + groups = l.set; + g_look_owner = l.set ? name : std::string(); + } + graphics_look_set(l); + const std::uint32_t avail = graphics_look_available(); + if (available) *available = avail; + if (was != l.set) host_log("plugin: %s's look over the area's: groups %x (%x can show now)", name, l.set, avail); + return 0; +} + +// The plugin's look taken away as it is turned off. +void drop_look(const std::string& name) { + { + std::lock_guard lk(g_look_mu); + if (g_look_owner != name) return; + g_look_owner.clear(); + } + graphics_look_set(GraphicsLook{}); + host_log("plugin: %s turned off; its look taken away", name.c_str()); +} + int api_hud_hide(const char* name, int hidden) { if (!plugin_named(name)) return 1; const bool was = scene_look_hud_hidden(); @@ -1629,7 +1709,7 @@ const BbHostApi g_api = { &api_aa_claim, &api_shader_override, &api_shader_folder, &api_shader_state, &api_shader_source, &api_shader_data, &api_on_camera_target, - &api_world_pause, &api_world_step, &api_pad, &api_pad_take, &api_world_state, &api_hud_hide, + &api_world_pause, &api_world_step, &api_pad, &api_pad_take, &api_world_state, &api_hud_hide, &api_post_look, }; std::string read_file(const std::string& path) { @@ -1936,6 +2016,7 @@ void plugins_frame() { if (!on) { world_pause_drop(r.name); // and its hold on the world scene_look_drop_hud(r.name.c_str()); // and on the HUD + drop_look(r.name); // and its look } host_log("plugin: %s turned %s", r.name.c_str(), on ? "on" : "off"); if (render_hooks_plugin_on(r.name, on)) republish_settings(); diff --git a/src/host/shader_patch.cpp b/src/host/shader_patch.cpp index 66bd5cd2..bfeb575c 100644 --- a/src/host/shader_patch.cpp +++ b/src/host/shader_patch.cpp @@ -6,6 +6,7 @@ #include #include +#include namespace { @@ -39,6 +40,23 @@ const Patch kPatches[] = { constexpr std::size_t kCount = sizeof(kPatches) / sizeof(kPatches[0]); std::atomic g_mask{0}; +std::atomic g_settings_mask{0}; // what the settings call for +std::atomic g_look_blur{-1}; // shader_patch_look + +// The settings' mask with a plugin's look over it (the settings' thread and +// the look's call it, one at a time). +void mask_update() { + static std::mutex mu; + std::lock_guard lk(mu); + std::uint32_t m = g_settings_mask.load(std::memory_order_acquire); + const int blur = g_look_blur.load(std::memory_order_relaxed); + for (std::size_t i = 0; i < kCount; ++i) { + const int look = kPatches[i].setting == &HostSettings::motion_blur ? blur : -1; + if (look == 1) m &= ~(1u << i); + if (look == 0) m |= 1u << i; + } + g_mask.store(m, std::memory_order_release); +} // The settings' listener: which patches they call for, kept for every draw. void settings_changed(const HostSettings& hs) { @@ -51,7 +69,8 @@ void settings_changed(const HostSettings& hs) { (hs.performance_mode || host_opt_motion_rebuilt_bits())); if (off) m |= 1u << i; } - g_mask.store(m, std::memory_order_release); + g_settings_mask.store(m, std::memory_order_release); + mask_update(); } } // namespace @@ -63,6 +82,12 @@ std::uint32_t shader_patch_mask() { return g_mask.load(std::memory_order_acquire); } +void shader_patch_look(int motion_blur) { + (void)shader_patch_mask(); // the settings' listener in first + g_look_blur.store(motion_blur, std::memory_order_relaxed); + mask_update(); +} + bool shader_patch_touches(const std::string& name) { for (const Patch& p : kPatches) { if (name == p.name) return true; diff --git a/src/host/shader_patch.h b/src/host/shader_patch.h index 96af95ba..b1119a1f 100644 --- a/src/host/shader_patch.h +++ b/src/host/shader_patch.h @@ -34,3 +34,8 @@ void shader_patch_apply(const std::string& name, std::vector& wor std::uint32_t shader_patch_mask(); // Whether a program with this name is one a patch applies to. bool shader_patch_touches(const std::string& name); +// A plugin's look (plugin API 29's post_look, engine/graphics_patch.h) over +// the settings' motion blur: 1 shows the blur (its patches off), 0 leaves it +// out (its patches on), -1 leaves it to its setting. (A look's depth of field +// is the block's own enable, written after the setting's Off has cleared it.) +void shader_patch_look(int motion_blur); diff --git a/tests/plugin_abi_test.c b/tests/plugin_abi_test.c index 1dc1c570..21fbf933 100755 --- a/tests/plugin_abi_test.c +++ b/tests/plugin_abi_test.c @@ -49,7 +49,13 @@ _Static_assert(offsetof(BbHostApi, pad) == offsetof(BbHostApi, world_step) + siz _Static_assert(offsetof(BbHostApi, pad_take) == offsetof(BbHostApi, pad) + sizeof(void*), "pad_take after pad"); _Static_assert(offsetof(BbHostApi, world_state) == offsetof(BbHostApi, pad_take) + sizeof(void*), "world_state after pad_take"); _Static_assert(offsetof(BbHostApi, hud_hide) == offsetof(BbHostApi, world_state) + sizeof(void*), "hud_hide after world_state"); -_Static_assert(sizeof(BbHostApi) == offsetof(BbHostApi, hud_hide) + sizeof(void*), "hud_hide ends the API table"); +_Static_assert(offsetof(BbHostApi, post_look) == offsetof(BbHostApi, hud_hide) + sizeof(void*), "post_look after hud_hide"); +_Static_assert(sizeof(BbHostApi) == offsetof(BbHostApi, post_look) + sizeof(void*), "post_look ends the API table"); +_Static_assert(sizeof(BbLook) == 112, "BbLook"); +_Static_assert(offsetof(BbLook, vignette) == 28 && offsetof(BbLook, dof) == 32 && offsetof(BbLook, aberration) == 52, "BbLook's groups"); +_Static_assert(offsetof(BbLook, motion_blur) == 72 && offsetof(BbLook, blur_samples) == 88 && offsetof(BbLook, fog_distance) == 92 && + offsetof(BbLook, fog_height_offset) == 108, + "BbLook's last groups"); _Static_assert(sizeof(BbPad) == 40, "BbPad"); _Static_assert(offsetof(BbPad, pressed) == 8 && offsetof(BbPad, connected) == 12, "BbPad's presses"); _Static_assert(offsetof(BbPad, lx) == 16 && offsetof(BbPad, r2) == 36, "BbPad's axes"); diff --git a/tests/settings_store_test.cpp b/tests/settings_store_test.cpp index 86c8e6e1..f824cd09 100644 --- a/tests/settings_store_test.cpp +++ b/tests/settings_store_test.cpp @@ -89,6 +89,17 @@ int main() { CHECK(shader_patch_mask() == 3); store().publish(HostSettings{}); CHECK(shader_patch_mask() == 0); + // A plugin's look over them (post_look): motion blur shown or left out + // whatever the setting says, and back to it after. + shader_patch_look(0); + CHECK(shader_patch_mask() == 3); + store().publish(blur_off); + shader_patch_look(1); + CHECK(shader_patch_mask() == 0); + shader_patch_look(-1); + CHECK(shader_patch_mask() == 3); + store().publish(HostSettings{}); + CHECK(shader_patch_mask() == 0); // A full table refuses the next listener rather than dropping one. int added = 0; diff --git a/tools/api29_probe.c b/tools/api29_probe.c index 1fdf4d4d..b4a9f812 100644 --- a/tools/api29_probe.c +++ b/tools/api29_probe.c @@ -1,6 +1,6 @@ -/* Plugin API 29 probe: world_pause, world_step, pad, pad_take and world_state - * in a running game, for a test harness. Test-only: built beside the tests, - * never into plugins/. +/* Plugin API 29 probe: world_pause, world_step, pad, pad_take, world_state and + * post_look in a running game, for a test harness. Test-only: built beside the + * tests, never into plugins/. * * From the first frame in the world it logs, once a second and whenever one * changes, @@ -12,6 +12,13 @@ * pause / run world_pause(name, 1 / 0) * step world_step(name, n) * take pad_take(buttons, axes); "take 0 0" gives them back + * look post_look with that one group (the rest the + * area's): tone , vignette , dof , ca , blur , fog + * ; "look off" gives the area's own * For example "8:pause,14:step 2,16:step 2,20:run,24:take 4000 1,32:take 0 0". * Each step's result is logged: api29 t step -> . */ #include "bbhost_plugin.h" @@ -29,7 +36,7 @@ static float g_last_pos[3]; BB_PLUGIN_EXPORT const BbPluginInfo bb_plugin_info = { BB_PLUGIN_API_VERSION, 0, "api29_probe", "API 29 probe", "1", "bbhost", - "Test-only: plugin API 29's world_pause, world_step, pad, pad_take and world_state in a running game."}; + "Test-only: plugin API 29's world_pause, world_step, pad, pad_take, world_state and post_look in a running game."}; static double now_s(void) { struct timespec t; @@ -40,7 +47,7 @@ static double now_s(void) { /* The steps, parsed once. */ typedef struct { double at; - char text[48]; + char text[64]; int done; } Step; static Step g_steps[64]; @@ -62,12 +69,56 @@ static void parse_steps(void) { } } +static int run_look(const char* spec) { + BbLook l; + float v[5] = {0, 0, 0, 0, 0}; + char group[16] = ""; + uint32_t avail = 0; + int rc; + memset(&l, 0, sizeof(l)); + l.size = sizeof(l); + if (sscanf(spec, "%15s %f %f %f %f %f", group, &v[0], &v[1], &v[2], &v[3], &v[4]) < 1) return -1; + if (strcmp(group, "off") == 0) { + rc = g_api->post_look("api29_probe", NULL, &avail); + g_api->log("api29 look off -> %d (available %x)", rc, avail); + return rc; + } + if (strcmp(group, "tone") == 0) { + l.set = BB_LOOK_TONE; + l.exposure = v[0], l.gamma = v[1], l.saturation = v[2], l.brightness = v[3], l.contrast = v[4]; + } else if (strcmp(group, "vignette") == 0) { + l.set = BB_LOOK_VIGNETTE; + l.vignette = v[0]; + } else if (strcmp(group, "dof") == 0) { + l.set = BB_LOOK_DOF; + l.dof = (int32_t)v[0], l.dof_focus = v[1], l.dof_aperture = v[2], l.dof_near_levels = (int32_t)v[3], + l.dof_far_levels = (int32_t)v[4]; + } else if (strcmp(group, "ca") == 0) { + l.set = BB_LOOK_ABERRATION; + l.aberration = (int32_t)v[0], l.lateral[0] = v[1], l.lateral[1] = v[2], l.uniform[0] = v[3], l.uniform[1] = v[4]; + } else if (strcmp(group, "blur") == 0) { + l.set = BB_LOOK_MOTION_BLUR; + l.motion_blur = (int32_t)v[0], l.blur_time = v[1], l.blur_length = v[2], l.blur_scale = v[3], + l.blur_samples = (int32_t)v[4]; + } else if (strcmp(group, "fog") == 0) { + l.set = BB_LOOK_FOG; + l.fog_distance = v[0], l.fog_density = v[1], l.fog_contrast = v[2], l.fog_distance_offset = v[3], + l.fog_height_offset = v[4]; + } else { + return -1; + } + rc = g_api->post_look("api29_probe", &l, &avail); + g_api->log("api29 look %s -> %d (available %x)", spec, rc, avail); + return rc; +} + static int run_step(const char* text) { unsigned a = 0, b = 0; if (strcmp(text, "pause") == 0) return g_api->world_pause("api29_probe", 1); if (strcmp(text, "run") == 0) return g_api->world_pause("api29_probe", 0); if (sscanf(text, "step %u", &a) == 1) return g_api->world_step("api29_probe", a); if (sscanf(text, "take %x %u", &a, &b) == 2) return g_api->pad_take(a, b); + if (strncmp(text, "look ", 5) == 0) return run_look(text + 5); return -1; } @@ -110,7 +161,7 @@ static void on_frame(void* user) { } BB_PLUGIN_EXPORT int bb_plugin_image(const BbHostApi* api) { - if (api->version < 29 || api->size < offsetof(BbHostApi, world_state) + sizeof(void*)) { + if (api->version < 29 || api->size < offsetof(BbHostApi, post_look) + sizeof(void*)) { api->log("api29 probe: this host is older than plugin API 29"); return 1; } From 5692fd6487fe7c8b298b8435a3df4e5e9f267681 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 01:00:13 -0800 Subject: [PATCH 009/100] plugins: API 29's panel - a plugin's options as pages over the game, driven by the controller, the keyboard or the pointer (BB_OPT_PANEL, panel_show, panel_state), and option_set; a key or button a plugin takes stays taken until let go - A BB_OPT_HEADING with BB_OPT_PANEL starts a page: it and the rows under it, up to the next heading, are the plugin's panel and not in the menus. panel_show puts the panel up at the bottom right (host/plugin_panel.cpp, drawn with the menus' ImGui while no menu is up): the page's title between its turns, the rows with their own widgets, a Defaults row (BB_PANEL_DEFAULTS), the help of the row in use, and the plugin's guide for the device used last. Changes go to on_option as the menus' do. - The controller drives it - the d-pad up and down to a row, left and right to change it, Cross to set or press, L1 and R1 the pages, Circle closes it - as do the keyboard (the arrows, Enter, Page Up and Down or Q and E by their place on the keyboard, Escape) and the pointer, which is free while the panel is up. Those buttons and keys are the panel's while it is up and until let go after: neither the game nor the plugins' pad and input read them, so the Escape or Circle that closes it presses nothing else. A key let go while it is down is told to ImGui, which otherwise took the next Escape for one still held. - panel_state: up or not, closed by the player since the last call, and the page. option_set: an option set as the menus set it. - pad_take and input_take: a button or key held as a take ends stays taken until it is let go - the Escape that ends a photo mode no longer opens the game's menu once the keys are given back, nor does the chord's Cross press Interact. On lavapipe under a private Xvfb display, driven by real key events and a virtual controller (photo mode's panel): the panel opened on its first row; the arrows and the d-pad moved and changed rows (the field of view +2, saturation 98 and 99), Q/E and R1 turned the pages, Escape and Circle hid it with photo mode running on, Tab and R3 showed it again at the page it had, and the next Escape and the chord ended photo mode with the game reading none of their presses. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 1 + docs/plugins.md | 33 +++- include/bbhost_plugin.h | 49 ++++- src/hle/system.cpp | 3 +- src/host/ingame_menu.cpp | 189 ++++++++++++++---- src/host/plugin_panel.cpp | 396 ++++++++++++++++++++++++++++++++++++++ src/host/plugin_panel.h | 50 +++++ src/host/plugin_ui.cpp | 10 +- src/host/plugins.cpp | 52 +++++ src/host/plugins.h | 1 + src/host/window.cpp | 73 +++++-- tests/plugin_abi_test.c | 8 +- tools/api29_probe.c | 15 ++ 13 files changed, 820 insertions(+), 60 deletions(-) create mode 100644 src/host/plugin_panel.cpp create mode 100644 src/host/plugin_panel.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 11a3b4e7..9398d2f7 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -174,6 +174,7 @@ add_executable(bbhost src/host/overlay.cpp src/host/present_pass.cpp src/host/ingame_menu.cpp + src/host/plugin_panel.cpp src/host/controls_page.cpp src/host/framegen.cpp src/host/options.cpp diff --git a/docs/plugins.md b/docs/plugins.md index ea176883..64a42549 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -167,7 +167,9 @@ gives the Binary Ninja address. playing, those keys and mouse buttons stop pressing what they are bound to, the wheel's notches stay out of the game, and the mouse stops turning the game's camera - the plugin reads them all through `input`. The menus keep - every key. A call replaces the last; nothing taken gives everything back. + every key. A call replaces the last; nothing taken gives everything back, + but a key held then stays taken until it is let go (since v29), so the + game never sees it go down. - `on_camera(fn, user)`: each frame once the game has placed the player's camera - the follow camera's update and the camera manager's blend of the cameras it owns - and before the scene is drawn from it or a scripted camera @@ -191,12 +193,13 @@ gives the Binary Ninja address. recompiled one, a plugin still needs its own camera hooks. One plugin owns it: 1 outside image setup, for NULL, or once taken; 0 otherwise. -**The world held still, the controller, who else is in the world, the HUD and the look** (v29) +**The world held still, the controller, who else is in the world, the HUD, the look and a panel** (v29) What a photo mode needs: the world stopped while its own camera flies, the controller read as the plugin's own while the game reads none of what it takes, a way to know that nobody else is in the world, the HUD out of the -picture and a look of its own over the area's. +picture, a look of its own over the area's, and a panel of its settings +over the game. - `world_pause(name, paused)`: holds the world - its characters, physics, AI, events, effects and cloth - while frames go on being drawn and `on_view` @@ -221,7 +224,7 @@ picture and a look of its own over the area's. axes (`BB_PAD_LEFT_STICK`, `BB_PAD_RIGHT_STICK`, `BB_PAD_TRIGGERS`) at rest - whatever they are bound to in play is not pressed - while `pad` still reads them. Keys stay `input_take`'s. A call replaces the last; `0, 0` gives - everything back. + everything back, but a button held then stays taken until it is let go. - `world_state(&state)`: `BbWorldState` (set `state.size` first). `flags`: `BB_WORLD_IN` (a world is loaded and running, or held), `BB_WORLD_LOADING`, `BB_WORLD_CUTSCENE` (one plays or is queued), `BB_WORLD_MENU` (one of the @@ -261,6 +264,28 @@ picture and a look of its own over the area's. depth of field pass and leaves the scene's motion blur off, so `available` (may be `NULL`) leaves those two out then. Values outside what the post effect takes are clamped. +- `panel_show(name, &panel)`: the plugin's panel up (`BbPanel`) or down + (`NULL`). Its pages are the plugin's own options table: a `BB_OPT_HEADING` + with `BB_OPT_PANEL` or-ed in starts a page, the rows under it up to the next + heading are on it, and neither shows in the menus. It is drawn over the game + at the bottom right with the rows' own widgets, its changes going to + `on_option` as the menus' do (so its rows want `BB_OPT_LIVE`), the help of + the row in use under them, then `guide` or `guide_keys` - whichever device + the player used last. The controller drives it (the d-pad up and down to a + row, left and right to change it, Cross to set a switch or press a button, + L1 and R1 the pages, Circle closes it), as do the keyboard (the arrows, + Enter, Page Up and Page Down or Q and E, Escape) and the pointer, which is + free while it is up. While it is up neither the game nor the plugins' `pad` + and `input` read those buttons and keys; everything else is as it was. + `BB_PANEL_DEFAULTS` ends each page with a Defaults row. One panel at a time; + turning the plugin off takes it down. +- `panel_state(name, &state)`: `BbPanelState` (set `state.size` first) - + whether the panel is up, whether the player closed it (Circle, Escape) since + the last call, and the page shown or shown last, by its heading's key. +- `option_set(name, key, value)`: one of the plugin's options set as the menus + set it - kept in the player's config, and handed to `on_option` from the + next frame - for a row the plugin changes itself (a mode it always starts + in). **Settings, UI and files** diff --git a/include/bbhost_plugin.h b/include/bbhost_plugin.h index b89f8b46..77995cb1 100644 --- a/include/bbhost_plugin.h +++ b/include/bbhost_plugin.h @@ -163,6 +163,10 @@ typedef struct BbPluginInfo { plugin's option `key` holds that value (older hosts show it as always). On a HEADING it covers the rows under it, up to the next heading. */ +#define BB_OPT_PANEL 0x400u /* version 29, or-ed into a HEADING's type: it and the rows + under it, up to the next heading, are a page of the + plugin's panel (panel_show) - drawn over the game while + the plugin shows it - and not in the menus */ typedef struct BbOption { uint32_t type; /* BB_OPT_*, maybe | BB_OPT_LIVE */ const char* key; /* the config key; an action's id */ @@ -441,6 +445,22 @@ typedef struct BbLook { float fog_distance_offset, fog_height_offset; /* metres added */ } BbLook; +/* Version 29: a plugin's panel (panel_show, panel_state). */ +#define BB_PANEL_DEFAULTS 1u /* each page ends with a Defaults row: its rows back to their defaults */ +typedef struct BbPanel { + uint32_t size; /* sizeof(BbPanel) as the plugin knows it */ + uint32_t flags; /* BB_PANEL_* */ + const char* page; /* the page to show: its heading's key; NULL or "" for the one shown last */ + const char* guide; /* a line under the rows while the controller is in use (may be NULL) */ + const char* guide_keys; /* the same while the keyboard and mouse are (may be NULL) */ +} BbPanel; +typedef struct BbPanelState { + uint32_t size; /* set to sizeof(BbPanelState) before the call: the host fills as much as both know */ + int32_t shown; /* 1 while the panel is up */ + int32_t closed; /* 1 when the player closed it (Circle, Escape) since the last call */ + char page[32]; /* the page shown or shown last: its heading's key */ +} BbPanelState; + typedef struct BbWorldState { uint32_t size; /* set to sizeof(BbWorldState) before the call: the host fills as much as both know */ uint32_t flags; /* BB_WORLD_* */ @@ -691,7 +711,8 @@ typedef struct BbHostApi { * `wheel` nonzero keeps the wheel's notches from the game, and `motion` * nonzero keeps the mouse from turning the game's camera. The menus keep * every key. A call replaces the last; nothing taken gives everything - * back. Any thread. 0 on success. */ + * back - a key held then stays taken until it is let go (version 29), so + * the game never sees it go down. Any thread. 0 on success. */ int (*input_take)(const uint16_t* scancodes, size_t n, uint32_t buttons, int wheel, int motion); /* fn(cam, user) each frame once the game has placed the player's camera * (its follow camera and the blend of the cameras it owns) and before @@ -1005,7 +1026,8 @@ typedef struct BbHostApi { * BB_PAD_RIGHT_STICK, BB_PAD_TRIGGERS) from the game: the game reads them * let go and at rest - whatever they are bound to in play is not pressed - * while pad still reads them. Keys are input_take's. A call replaces the last; - * 0, 0 gives everything back. Any thread. 0 on success. */ + * 0, 0 gives everything back - a button held then stays taken until it is + * let go, so the game never sees it go down. Any thread. 0 on success. */ int (*pad_take)(uint32_t buttons, uint32_t axes); /* What the world is doing and who else is in it (BbWorldState), into *out * (set out->size first). Main thread. 0 on success; 1 for another eboot or @@ -1034,6 +1056,29 @@ typedef struct BbHostApi { * Values outside what the post effect takes are clamped. Any thread. 0 on * success; 1 for an unknown plugin or a size under 8. */ int (*post_look)(const char* name, const BbLook* look, uint32_t* available); + /* The plugin's panel up (BbPanel) or down (NULL): the pages of its options + * table it marks with BB_OPT_PANEL, drawn over the game at the bottom + * right with the rows' own widgets, their changes going to on_option as + * the menus' do (the rows want BB_OPT_LIVE). The controller drives it - + * the d-pad up and down to a row, left and right to change it, Cross to + * set a switch or press a button, L1 and R1 the pages, Circle closes it - + * as do the keyboard (the arrows, Enter, Page Up and Page Down or Q and E, + * Escape) and the pointer, which is free while it is up. While it is up + * the game reads none of those buttons and keys, and neither do the + * plugin's pad and input: the panel has them. One panel at a time - a + * later call replaces another plugin's - and the plugin being turned off + * takes it down. Main thread. 0 on success; 1 for an unknown plugin, a + * size under 8, a page it has not got, or none at all. */ + int (*panel_show)(const char* name, const BbPanel* panel); + /* Whether the plugin's panel is up, whether the player closed it since + * the last call, and its page (BbPanelState; set out->size first). Main + * thread. 0 on success; 1 for an unknown plugin or a size under 8. */ + int (*panel_state)(const char* name, BbPanelState* out); + /* One of the plugin's options set to `value` (text, as the config holds + * it) as the menus set it: kept in the player's config, and on_option + * called with it from the next frame. Any thread. 0 on success; 1 for an + * unknown plugin or option. */ + int (*option_set)(const char* name, const char* key, const char* value); } BbHostApi; #define BB_SNAP_PIXELS 0xffffffffu /* version 18: scene_snap's grid the 3D's own pixels */ diff --git a/src/hle/system.cpp b/src/hle/system.cpp index ff3af8e4..4e7ee2fa 100755 --- a/src/hle/system.cpp +++ b/src/hle/system.cpp @@ -20,6 +20,7 @@ #include "host/options.h" #include "host/settings.h" #include "host/window.h" +#include "host/plugin_panel.h" #include "net/account.h" #include "net/session.h" #include "core/config.h" @@ -1749,7 +1750,7 @@ GUEST_ABI int hle_pad_read(int handle, std::uint8_t* st) { // who wants the pad to own the camera. const HostSettings& hs = host_settings_ref(); // the snapshot as published: no copy, no lock const bool want = hs.mouse_camera && !host_options_open() && !ingame_menu_open() && - !menu_pointer_in_menu() && !host_text_entry_open(); + !menu_pointer_in_menu() && !host_text_entry_open() && !plugin_panel_shown(); // What the follow camera turns by, and whether its own turns as the // character moves are held: the keyboard and mouse used last, the // mouse turning the camera, and Mouse auto-rotation off. A controller diff --git a/src/host/ingame_menu.cpp b/src/host/ingame_menu.cpp index 8a254518..d462c9b3 100644 --- a/src/host/ingame_menu.cpp +++ b/src/host/ingame_menu.cpp @@ -10,9 +10,11 @@ #include "host/controls_page.h" #include "host/launcher_ui.h" #include "host/options.h" +#include "host/plugin_panel.h" #include "host/plugin_ui.h" #include "host/settings.h" #include "host/slow_calls.h" +#include "host/window.h" #include "log.h" #include "imgui.h" @@ -84,6 +86,8 @@ ImGuiKey key_of(SDL_Keycode k) { case SDLK_RSHIFT: return ImGuiKey_RightShift; case SDLK_A: return ImGuiKey_A; case SDLK_C: return ImGuiKey_C; + case SDLK_E: return ImGuiKey_E; + case SDLK_Q: return ImGuiKey_Q; case SDLK_V: return ImGuiKey_V; case SDLK_X: return ImGuiKey_X; default: return ImGuiKey_None; @@ -625,6 +629,103 @@ void menu_key(bool patches) { if (!open) host_options_set_open(true); } +// A plugin's panel up (host/plugin_panel.h) and no menu: its keys, the +// controller's buttons it takes and the pointer go to ImGui as well. Nothing +// is taken from the window - the game and the plugins are kept from them +// where the pad and keys are read (host/window.cpp). +void panel_event(const SDL_Event& e, float ratio) { + static bool was = false; + const bool up = plugin_panel_shown(); + if (up && !was) { + // Where the pointer is now: it has been the camera's until this. + Input focus; + focus.kind = Input::Focus; + push(focus); + Input in; + SDL_GetMouseState(&in.x, &in.y); + in.x *= ratio; + in.y *= ratio; + push(in); + } + was = up; + if (!up) { + // A key or button of the panel's let go while it is down (the Escape + // or Circle that closed it): ImGui is told, or it would take the next + // press for one still held when the panel comes back. + Input in; + in.kind = Input::Key; + in.down = false; + if (e.type == SDL_EVENT_KEY_UP && plugin_panel_key(e.key.scancode)) { + in.key = e.key.scancode == SDL_SCANCODE_Q ? ImGuiKey_Q : e.key.scancode == SDL_SCANCODE_E ? ImGuiKey_E : key_of(e.key.key); + if (in.key != ImGuiKey_None) push(in); + } else if (e.type == SDL_EVENT_GAMEPAD_BUTTON_UP) { + in.key = pad_key_of(e.gbutton.button); + if (in.key != ImGuiKey_None) push(in); + } + return; + } + switch (e.type) { + case SDL_EVENT_KEY_DOWN: + case SDL_EVENT_KEY_UP: + if (!plugin_panel_key(e.key.scancode)) return; + // Q and E where they are on the keyboard, whatever its layout calls them. + if (const ImGuiKey k = e.key.scancode == SDL_SCANCODE_Q ? ImGuiKey_Q + : e.key.scancode == SDL_SCANCODE_E ? ImGuiKey_E + : key_of(e.key.key); + k != ImGuiKey_None) { + Input in; + in.kind = Input::Key; + in.key = k; + in.down = e.type == SDL_EVENT_KEY_DOWN; + push(in); + } + return; + case SDL_EVENT_MOUSE_MOTION: { + Input in; + in.kind = Input::Move; + in.x = e.motion.x * ratio; + in.y = e.motion.y * ratio; + push(in); + return; + } + case SDL_EVENT_MOUSE_BUTTON_DOWN: + case SDL_EVENT_MOUSE_BUTTON_UP: { + Input in; + in.kind = Input::Button; + in.x = e.button.x * ratio; + in.y = e.button.y * ratio; + in.button = e.button.button == SDL_BUTTON_LEFT ? 0 : e.button.button == SDL_BUTTON_RIGHT ? 1 : 2; + in.down = e.type == SDL_EVENT_MOUSE_BUTTON_DOWN; + push(in); + return; + } + case SDL_EVENT_MOUSE_WHEEL: { + Input in; + in.kind = Input::Wheel; + in.x = e.wheel.x; + in.y = e.wheel.y; + push(in); + return; + } + case SDL_EVENT_GAMEPAD_BUTTON_DOWN: + case SDL_EVENT_GAMEPAD_BUTTON_UP: { + const ImGuiKey k = pad_key_of(e.gbutton.button); + const bool panel_button = k == ImGuiKey_GamepadDpadUp || k == ImGuiKey_GamepadDpadDown || k == ImGuiKey_GamepadDpadLeft || + k == ImGuiKey_GamepadDpadRight || k == ImGuiKey_GamepadFaceDown || k == ImGuiKey_GamepadFaceRight || + k == ImGuiKey_GamepadL1 || k == ImGuiKey_GamepadR1; + if (!panel_button) return; + Input in; + in.kind = Input::Key; + in.key = k; + in.down = e.type == SDL_EVENT_GAMEPAD_BUTTON_DOWN; + push(in); + return; + } + default: + return; + } +} + } // namespace bool ingame_menu_open() { return host_options_open(); } @@ -655,6 +756,7 @@ bool ingame_menu_event(const SDL_Event& e, float ratio) { } if (!ingame_menu_open()) { controls_menu_closed(); + panel_event(e, ratio); return false; } // A binding being chosen on the Controls page takes the next press first. @@ -828,16 +930,60 @@ void ingame_menu_shutdown() { namespace { +// The frame's end, the menu's or a plugin's panel's: rendered to draw data, +// coloured, and ImGui's texture uploads done under the queue's lock. +bool finish_frame() { + ImGui::Render(); + // Menu hue and Menu vibrance, on everything the menus draw. + float hue = 0.0f, vibrance = 0.0f; + host_opt_menu_colour(&hue, &vibrance); + ui::set_colour(hue, vibrance); + ui::recolour(ImGui::GetDrawData()); + // ImGui's own texture uploads - the font atlas when the menu first opens, + // and again whenever 1.92 adds glyphs to it - submit on the renderer's + // queue and then wait for that queue to go idle. Left to RenderDrawData + // they ran on this thread with no lock, beside the submission thread's + // vkQueueSubmit on the same queue, which Vulkan requires the caller to + // keep apart. Done here under the queue's lock (as the overlay's atlas + // is, host/overlay.cpp), RenderDrawData then finds nothing to upload. A + // frame with no texture to change - nearly all of them - takes no lock. + ImDrawData* dd = ImGui::GetDrawData(); + bool uploads = false; + if (dd && dd->Textures) { + for (ImTextureData* tex : *dd->Textures) uploads = uploads || tex->Status != ImTextureStatus_OK; + } + if (uploads) { + // A submission and a wait for the queue to go idle, inside ImGui's backend. + static constexpr slow_calls::Site kMenuUploads{slow_calls::kQueueIdle, "the menus' texture uploads"}; + host_gpu_queue_lock(); + { + slow_calls::Scope timed(kMenuUploads); + for (ImTextureData* tex : *dd->Textures) { + if (tex->Status != ImTextureStatus_OK) ImGui_ImplVulkan_UpdateTexture(tex); + } + } + host_gpu_queue_unlock(); + } + return true; +} + // ImGui's frame for the menu, built and rendered to draw data; false when // neither menu is open (no ImGui frame at all, so a closed menu costs the // presenter nothing but this check). bool build_frame(VkExtent2D extent) { - if (!g_vk_ready || !host_options_open()) { + const bool menu = host_options_open(); + const bool panel = !menu && plugin_panel_shown(); // a plugin's panel (host/plugin_panel.h) while no menu is up + if (!g_vk_ready || (!menu && !panel)) { g_ui.scanned = false; // read the files again when it next opens g_patches.read = false; g_was_up = false; return false; } + if (!menu) { + g_ui.scanned = false; + g_patches.read = false; + g_was_up = false; + } ImGui::SetCurrentContext(g_ctx); ImGuiIO& io = ImGui::GetIO(); const auto now = std::chrono::steady_clock::now(); @@ -875,11 +1021,15 @@ bool build_frame(VkExtent2D extent) { case Input::Focus: io.AddFocusEvent(true); break; } } + ImGui_ImplVulkan_NewFrame(); + ImGui::NewFrame(); + if (panel) { + plugin_panel_draw(ui::scale(), host_input_device() == InputDevice::Pad); + return finish_frame(); + } const int n = static_cast(menu_pages().size()); if (const int p = g_test_page.exchange(-1); p >= 0 && p < n) g_page = p; if (g_jump.exchange(-1) == -2) g_page = g_patches_page; - ImGui_ImplVulkan_NewFrame(); - ImGui::NewFrame(); if (!g_was_up) { g_shown_at = ImGui::GetTime(); g_page_at = g_shown_at; @@ -897,38 +1047,7 @@ bool build_frame(VkExtent2D extent) { close = draw_menu() || close; ImGui::PopStyleVar(); if (close) host_options_close(); - ImGui::Render(); - // Menu hue and Menu vibrance, on everything the menus draw. - float hue = 0.0f, vibrance = 0.0f; - host_opt_menu_colour(&hue, &vibrance); - ui::set_colour(hue, vibrance); - ui::recolour(ImGui::GetDrawData()); - // ImGui's own texture uploads - the font atlas when the menu first opens, - // and again whenever 1.92 adds glyphs to it - submit on the renderer's - // queue and then wait for that queue to go idle. Left to RenderDrawData - // they ran on this thread with no lock, beside the submission thread's - // vkQueueSubmit on the same queue, which Vulkan requires the caller to - // keep apart. Done here under the queue's lock (as the overlay's atlas - // is, host/overlay.cpp), RenderDrawData then finds nothing to upload. A - // frame with no texture to change - nearly all of them - takes no lock. - ImDrawData* dd = ImGui::GetDrawData(); - bool uploads = false; - if (dd && dd->Textures) { - for (ImTextureData* tex : *dd->Textures) uploads = uploads || tex->Status != ImTextureStatus_OK; - } - if (uploads) { - // A submission and a wait for the queue to go idle, inside ImGui's backend. - static constexpr slow_calls::Site kMenuUploads{slow_calls::kQueueIdle, "the menus' texture uploads"}; - host_gpu_queue_lock(); - { - slow_calls::Scope timed(kMenuUploads); - for (ImTextureData* tex : *dd->Textures) { - if (tex->Status != ImTextureStatus_OK) ImGui_ImplVulkan_UpdateTexture(tex); - } - } - host_gpu_queue_unlock(); - } - return true; + return finish_frame(); } } // namespace diff --git a/src/host/plugin_panel.cpp b/src/host/plugin_panel.cpp new file mode 100644 index 00000000..a6b7e9ab --- /dev/null +++ b/src/host/plugin_panel.cpp @@ -0,0 +1,396 @@ +#define IMGUI_DEFINE_MATH_OPERATORS +#include "host/plugin_panel.h" + +#include "bbhost_plugin.h" +#include "host/plugins.h" +#include "log.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#if defined(BBHOST_HAVE_SDL3) +#include "imgui.h" +#include "imgui_internal.h" +#endif + +namespace { + +struct Panel { + std::string owner; // the plugin whose panel is up; empty: none + std::shared_ptr entry; // its options, as they were when it was shown + std::vector pages; // its pages' heading keys, in order + int page = 0; + std::string guide, guide_keys; + bool defaults = false; +}; +std::mutex g_mu; +Panel g_panel; // under g_mu +std::map g_closed; // under g_mu: closed by the player since its plugin last asked +std::map g_last_page; // under g_mu: the page each plugin's panel showed last +std::atomic g_shown{false}; +std::atomic g_appeared{false}; // shown since the last frame drew it: give it the focus + +} // namespace + +bool plugin_panel_show(const std::string& name, const PluginPanelShow& how) { + PluginEntry entry; + bool found = false; + for (PluginEntry& e : plugins_catalog()) { + if (e.name == name && !e.visitor) { + entry = std::move(e); + found = true; + break; + } + } + if (!found) return false; + std::vector pages; + for (const PluginOptionDesc& o : entry.options) { + if (o.type == BB_OPT_HEADING && !o.page.empty() && o.page == o.key) pages.push_back(o.key); + } + if (pages.empty()) return false; + std::lock_guard lk(g_mu); + std::string want = how.page.empty() ? g_last_page[name] : how.page; + int page = 0; + if (!want.empty()) { + const auto it = std::find(pages.begin(), pages.end(), want); + if (it == pages.end()) { + if (!how.page.empty()) return false; // a page it has not got + } else { + page = static_cast(it - pages.begin()); + } + } + const bool was = g_shown.load() && g_panel.owner == name; + g_panel.owner = name; + g_panel.entry = std::make_shared(std::move(entry)); + g_panel.pages = std::move(pages); + g_panel.page = page; + g_panel.guide = how.guide; + g_panel.guide_keys = how.guide_keys; + g_panel.defaults = how.defaults; + g_last_page[name] = g_panel.pages[static_cast(page)]; + if (!was) { + g_appeared.store(true); + host_log("plugin: %s's panel up at its page %s", name.c_str(), g_last_page[name].c_str()); + } + g_shown.store(true); + return true; +} + +void plugin_panel_hide(const std::string& name) { + std::lock_guard lk(g_mu); + if (g_panel.owner != name) return; + g_panel.owner.clear(); + if (g_shown.exchange(false)) host_log("plugin: %s's panel down", name.c_str()); +} + +void plugin_panel_state(const std::string& name, PluginPanelState& out) { + std::lock_guard lk(g_mu); + out.shown = g_shown.load() && g_panel.owner == name; + auto it = g_closed.find(name); + out.closed = it != g_closed.end() && it->second; + if (it != g_closed.end()) it->second = false; + out.page = g_last_page[name]; +} + +bool plugin_panel_shown() { return g_shown.load(std::memory_order_relaxed); } + +bool plugin_panel_key(int sc) { + // SDL scancodes (USB usages): the arrows, Enter (and the keypad's), Page + // Up, Page Down, Q, E and Escape. + switch (sc) { + case 79: case 80: case 81: case 82: // right, left, down, up + case 40: case 88: // Return, keypad Enter + case 75: case 78: // Page Up, Page Down + case 20: case 8: // Q, E + case 41: // Escape + return true; + default: + return false; + } +} + +#if defined(BBHOST_HAVE_SDL3) + +namespace { + +std::vector split(const std::string& s, char sep) { + std::vector out; + std::string cur; + std::istringstream in(s); + while (std::getline(in, cur, sep)) out.push_back(cur); + return out; +} + +// A row's value as text for the config (plugins_set_option). +std::string number_text(const PluginOptionDesc& o, double v) { + char t[32]; + if (o.type == BB_OPT_INT) std::snprintf(t, sizeof(t), "%d", static_cast(std::lround(v))); + else std::snprintf(t, sizeof(t), "%.3g", v); + return t; +} + +// Greyed out (BB_OPT_WHEN) unless another of the plugin's options holds one of its values. +bool greyed(const PluginEntry& p, const PluginOptionDesc& o) { + const std::size_t eq = o.when.find('='); + if (eq == std::string::npos) return false; + const std::string key = o.when.substr(0, eq); + const std::vector want = split(o.when.substr(eq + 1), '|'); + for (const PluginOptionDesc& other : p.options) { + if (other.key == key) return std::find(want.begin(), want.end(), plugins_option_value(p, other)) == want.end(); + } + return false; +} + +// A step left or right on the row with the focus: the d-pad or the arrows, held to repeat. +int step_pressed() { + int d = 0; + if (ImGui::IsKeyPressed(ImGuiKey_GamepadDpadLeft, true) || ImGui::IsKeyPressed(ImGuiKey_LeftArrow, true)) d -= 1; + if (ImGui::IsKeyPressed(ImGuiKey_GamepadDpadRight, true) || ImGui::IsKeyPressed(ImGuiKey_RightArrow, true)) d += 1; + return d; +} + +// The value a number row shows while the pointer drags it: set when it lets go. +std::map g_drag; + +// One row: its label at the left, its widget at the right. Returns its help +// when it has the focus. +// The nav cursor onto the item just drawn, as the d-pad would put it there: +// SetKeyboardFocusHere would open a slider's text field instead. +void take_cursor(bool now) { + if (!now) return; + ImGui::SetFocusID(ImGui::GetItemID(), ImGui::GetCurrentWindow()); + ImGui::SetNavCursorVisible(true); +} + +void row(const PluginEntry& p, const PluginOptionDesc& o, float label_w, float widget_w, std::string* focused_help, bool cursor) { + ImGui::PushID(o.key.c_str()); + const std::string value = plugins_option_value(p, o); + const bool grey = greyed(p, o); + ImGui::BeginDisabled(grey); + ImGui::AlignTextToFramePadding(); + if (o.type != BB_OPT_ACTION) { + ImGui::TextUnformatted(o.label.c_str()); + ImGui::SameLine(label_w); + } + ImGui::SetNextItemWidth(widget_w); + bool hot = false; // the row's widget has the cursor or the pointer: its help shows + switch (o.type) { + case BB_OPT_BOOL: { + bool on = value == "true" || value == "1"; + bool flip = ImGui::Checkbox("##v", &on); + take_cursor(cursor); + hot = ImGui::IsItemFocused() || ImGui::IsItemHovered(); + if (!flip && ImGui::IsItemFocused() && !grey && step_pressed() != 0) { + on = !on; + flip = true; + } + if (flip) plugins_set_option(p.name, o.key, on ? "true" : "false"); + ImGui::SameLine(); + ImGui::TextDisabled("%s", on ? "On" : "Off"); + break; + } + case BB_OPT_INT: + case BB_OPT_FLOAT: { + const std::string id = p.name + "." + o.key; + const auto it = g_drag.find(id); + double v = it != g_drag.end() ? it->second : std::atof(value.c_str()); + bool changed = false; + if (o.type == BB_OPT_INT) { + int iv = static_cast(std::lround(v)); + if (ImGui::SliderInt("##v", &iv, static_cast(o.min), static_cast(o.max))) g_drag[id] = iv; + v = iv; + } else { + float fv = static_cast(v); + if (ImGui::SliderFloat("##v", &fv, static_cast(o.min), static_cast(o.max), "%.2f")) g_drag[id] = fv; + v = fv; + } + take_cursor(cursor); + hot = ImGui::IsItemFocused() || ImGui::IsItemHovered(); + if (ImGui::IsItemDeactivatedAfterEdit()) { + changed = true; + g_drag.erase(id); + } + if (!ImGui::IsItemActive() && ImGui::IsItemFocused() && !grey) { + if (const int d = step_pressed()) { + const double step = o.type == BB_OPT_INT ? 1.0 : (o.max - o.min) / 100.0; + v = std::clamp(v + d * step, o.min, o.max); + changed = true; + } + } + if (changed) plugins_set_option(p.name, o.key, number_text(o, v)); + break; + } + case BB_OPT_CHOICE: { + const std::vector choices = split(o.choices, '|'); + int cur = 0; + for (std::size_t i = 0; i < choices.size(); ++i) { + if (choices[i] == value) cur = static_cast(i); + } + const int n = static_cast(choices.size()); + int to = cur; + const std::string shown = "< " + (n ? choices[static_cast(cur)] : std::string()) + " >"; + if (ImGui::Button(shown.c_str(), ImVec2(widget_w, 0)) && n) to = (cur + 1) % n; + take_cursor(cursor); + hot = ImGui::IsItemFocused() || ImGui::IsItemHovered(); + if (ImGui::IsItemFocused() && !grey && n) { + if (const int d = step_pressed()) to = (cur + d + n) % n; + } + if (to != cur) plugins_set_option(p.name, o.key, choices[static_cast(to)]); + break; + } + case BB_OPT_ACTION: + if (ImGui::Button(o.label.c_str(), ImVec2(label_w + widget_w, 0))) plugins_run_action(p.name, o.key); + take_cursor(cursor); + hot = ImGui::IsItemFocused() || ImGui::IsItemHovered(); + break; + default: + ImGui::TextDisabled("%s", value.c_str()); + break; + } + if (hot) *focused_help = o.help; + ImGui::EndDisabled(); + ImGui::PopID(); +} + +} // namespace + +void plugin_panel_draw(float scale, bool pad) { + if (!g_shown.load(std::memory_order_relaxed)) return; + Panel p; + { + std::lock_guard lk(g_mu); + if (g_panel.owner.empty()) return; + p = g_panel; + } + const int n = static_cast(p.pages.size()); + // The pages: L1 and R1, Page Up and Page Down, Q and E. + int turn = 0; + if (ImGui::IsKeyPressed(ImGuiKey_GamepadL1, false) || ImGui::IsKeyPressed(ImGuiKey_PageUp, false) || + ImGui::IsKeyPressed(ImGuiKey_Q, false)) + turn = -1; + if (ImGui::IsKeyPressed(ImGuiKey_GamepadR1, false) || ImGui::IsKeyPressed(ImGuiKey_PageDown, false) || + ImGui::IsKeyPressed(ImGuiKey_E, false)) + turn = 1; + bool refocus = g_appeared.exchange(false); + if (turn && n > 1) { + p.page = (p.page + turn + n) % n; + refocus = true; + std::lock_guard lk(g_mu); + if (g_panel.owner == p.owner) { + g_panel.page = p.page; + g_last_page[p.owner] = p.pages[static_cast(p.page)]; + } + } + const std::string& page_key = p.pages[static_cast(p.page)]; + std::string title; + std::string page_help; + for (const PluginOptionDesc& o : p.entry->options) { + if (o.type == BB_OPT_HEADING && o.key == page_key) { + title = o.label; + page_help = o.help; + } + } + // Circle and Escape close it, unless a row holds them (a slider dragged). + bool close = !ImGui::IsAnyItemActive() && + (ImGui::IsKeyPressed(ImGuiKey_GamepadFaceRight, false) || ImGui::IsKeyPressed(ImGuiKey_Escape, false)); + + const ImGuiViewport* vp = ImGui::GetMainViewport(); + const float margin = 24.0f * scale; + const float width = 470.0f * scale; + ImGui::SetNextWindowPos(vp->WorkPos + vp->WorkSize - ImVec2(margin, margin), ImGuiCond_Always, ImVec2(1.0f, 1.0f)); + ImGui::SetNextWindowSize(ImVec2(width, 0.0f), ImGuiCond_Always); + ImGui::SetNextWindowBgAlpha(0.86f); + if (refocus) ImGui::SetNextWindowFocus(); + const ImGuiWindowFlags flags = ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoSavedSettings | + ImGuiWindowFlags_NoMove; + int click = 0; // a page arrow clicked: the page turns from the next frame + if (ImGui::Begin("##plugin_panel", nullptr, flags)) { + // The page's title between its turns, and where it is among them. The + // turns are the pointer's: the d-pad's cursor goes over the rows only + // (L1 and R1 turn the pages), so it starts on the first. + const float x0 = ImGui::GetCursorPosX(), full = ImGui::GetContentRegionAvail().x; + ImGui::PushItemFlag(ImGuiItemFlags_NoNav, true); + if (ImGui::ArrowButton("##prev", ImGuiDir_Left)) click = -1; + ImGui::SameLine(); + const float title_w = ImGui::CalcTextSize(title.c_str()).x; + ImGui::SetCursorPosX(x0 + std::max(0.0f, (full - title_w) * 0.5f)); + ImGui::AlignTextToFramePadding(); + ImGui::TextUnformatted(title.c_str()); + ImGui::SameLine(); + ImGui::SetCursorPosX(x0 + full - ImGui::GetFrameHeight()); + if (ImGui::ArrowButton("##next", ImGuiDir_Right)) click = 1; + ImGui::PopItemFlag(); + if (n > 1) { + char where[32]; + std::snprintf(where, sizeof(where), "%d / %d", p.page + 1, n); + ImGui::SetCursorPosX(x0 + std::max(0.0f, (full - ImGui::CalcTextSize(where).x) * 0.5f)); + ImGui::TextDisabled("%s", where); + } + ImGui::Separator(); + // Its rows. + const float label_w = width * 0.42f; + const float widget_w = width - label_w - ImGui::GetStyle().WindowPadding.x * 2.0f; + std::string help = page_help; + bool first = true; + for (const PluginOptionDesc& o : p.entry->options) { + if (o.page != page_key || o.type == BB_OPT_HEADING) continue; + row(*p.entry, o, label_w, widget_w, &help, first && refocus); + first = false; + } + // Defaults: the page's rows back to theirs. + if (p.defaults) { + ImGui::Spacing(); + if (ImGui::Button("Defaults", ImVec2(label_w + widget_w, 0))) { + for (const PluginOptionDesc& o : p.entry->options) { + if (o.page == page_key && o.type != BB_OPT_HEADING && o.type != BB_OPT_ACTION) plugins_set_option(p.entry->name, o.key, o.def); + } + } + if (ImGui::IsItemFocused() || ImGui::IsItemHovered()) help = "Every row on this page back to its default."; + } + // The help of the row with the focus, and the controls. + ImGui::Separator(); + if (!help.empty()) { + ImGui::PushTextWrapPos(0.0f); + ImGui::TextWrapped("%s", help.c_str()); + ImGui::PopTextWrapPos(); + } + const std::string& guide = pad ? p.guide : p.guide_keys; + if (!guide.empty()) { + ImGui::PushTextWrapPos(0.0f); + ImGui::TextDisabled("%s", guide.c_str()); + ImGui::PopTextWrapPos(); + } + } + ImGui::End(); + if (click && n > 1) { + std::lock_guard lk(g_mu); + if (g_panel.owner == p.owner) { + g_panel.page = (p.page + click + n) % n; + g_last_page[p.owner] = g_panel.pages[static_cast(g_panel.page)]; + g_appeared.store(true); + } + } + if (close) { + std::lock_guard lk(g_mu); + if (g_panel.owner == p.owner) { + g_closed[p.owner] = true; + g_panel.owner.clear(); + g_shown.store(false); + host_log("plugin: %s's panel closed by the player", p.owner.c_str()); + } + } +} + +#else + +void plugin_panel_draw(float, bool) {} + +#endif diff --git a/src/host/plugin_panel.h b/src/host/plugin_panel.h new file mode 100644 index 00000000..f40746ad --- /dev/null +++ b/src/host/plugin_panel.h @@ -0,0 +1,50 @@ +#pragma once + +// A plugin's panel (plugin API 29's panel_show and panel_state): the pages of +// its options table it marks (BB_OPT_PANEL headings), drawn over the game at +// the bottom right with the menus' ImGui (host/ingame_menu.cpp) while no menu +// is up. The controller drives it - the d-pad up and down to a row, left and +// right to change it, Cross to set a switch or press a button, L1 and R1 the +// pages, Circle closes it - as do the keyboard (the arrows, Enter, Page Up and +// Page Down or Q and E, Escape) and the pointer, which is free while it is up +// (hle/system.cpp). While it is up the game reads none of those buttons and +// keys, and neither do the plugins' pad and input (host/window.cpp): the panel +// has them. One panel at a time. + +#include +#include + +struct PluginPanelShow { + std::string page; // its heading's key; empty: the page shown last + std::string guide, guide_keys; // a line under the rows, for the controller and for the keyboard + bool defaults = false; // BB_PANEL_DEFAULTS: each page ends with a Defaults row +}; +// The panel of the plugin named `name` up, at `how.page`: false when the +// plugin has no such page (or none at all). It replaces another plugin's. +bool plugin_panel_show(const std::string& name, const PluginPanelShow& how); +// Its panel down (panel_show with NULL, the plugin turned off). Not "closed": +// that is the player's. +void plugin_panel_hide(const std::string& name); + +struct PluginPanelState { + bool shown = false; + bool closed = false; // the player closed it since the last call + std::string page; +}; +// Whether `name`'s panel is up, whether the player closed it since the last +// call (which clears that), and the page shown or shown last. +void plugin_panel_state(const std::string& name, PluginPanelState& out); + +// Any plugin's panel is up: the pad, the keys and the pointer go to it. +bool plugin_panel_shown(); +// The controller's buttons the panel takes while up (the menus' bits, as +// host_pad_input_bit gives them): the d-pad, Cross, Circle, L1 and R1. +constexpr std::uint32_t kPanelPadButtons = 0x10u | 0x20u | 0x40u | 0x80u | 0x4000u | 0x2000u | 0x400u | 0x800u; +// A key the panel takes while up (SDL scancode): the arrows, Enter, Page Up, +// Page Down, Q, E and Escape. +bool plugin_panel_key(int scancode); + +// Draws it into the current ImGui frame (the menus' context), at `scale`: +// the presenter's thread, while no menu is up. `pad` is the controller in use +// (the guide for it). +void plugin_panel_draw(float scale, bool pad); diff --git a/src/host/plugin_ui.cpp b/src/host/plugin_ui.cpp index 89bfccf9..cbded956 100644 --- a/src/host/plugin_ui.cpp +++ b/src/host/plugin_ui.cpp @@ -328,11 +328,15 @@ void plugin_ui_draw(PluginUi& ui, float scale, float height) { ImGui::SameLine(); ImGui::TextColored(ImVec4(0.95f, 0.70f, 0.30f, 1.0f), p.enabled ? "starts with the next launch" : "stops at the next launch"); } - if (!p.options.empty()) { + // A panel's pages (BB_OPT_PANEL) are the plugin's to show over the game. + const bool any = std::any_of(p.options.begin(), p.options.end(), [](const PluginOptionDesc& o) { return o.page.empty(); }); + if (any) { ImGui::Spacing(); - for (const PluginOptionDesc& o : p.options) option_row(ui, p, o, scale); + for (const PluginOptionDesc& o : p.options) { + if (o.page.empty()) option_row(ui, p, o, scale); + } } else { - ImGui::TextDisabled("No settings."); + ImGui::TextDisabled(p.options.empty() ? "No settings." : "Its settings are in its own panel, over the game."); } } ImGui::EndChild(); diff --git a/src/host/plugins.cpp b/src/host/plugins.cpp index aaebc8a6..675bf2b5 100644 --- a/src/host/plugins.cpp +++ b/src/host/plugins.cpp @@ -38,6 +38,7 @@ #include "host/audio_crush.h" #include "host/bindings.h" #include "host/options.h" +#include "host/plugin_panel.h" #include "host/ruleset.h" #include "host/pixel_cutaway.h" #include "host/render_api.h" @@ -1636,6 +1637,51 @@ void drop_look(const std::string& name) { host_log("plugin: %s turned off; its look taken away", name.c_str()); } +// The plugin's panel (host/plugin_panel.h). +int api_panel_show(const char* name, const BbPanel* panel) { + if (!plugin_named(name)) return 1; + if (!panel) { + plugin_panel_hide(name); + return 0; + } + if (panel->size < 8) return 1; + BbPanel b{}; + std::memcpy(&b, panel, std::min(panel->size, sizeof(BbPanel))); + PluginPanelShow how; + how.page = b.page ? b.page : ""; + how.guide = b.guide ? b.guide : ""; + how.guide_keys = b.guide_keys ? b.guide_keys : ""; + how.defaults = (b.flags & BB_PANEL_DEFAULTS) != 0; + return plugin_panel_show(name, how) ? 0 : 1; +} + +int api_panel_state(const char* name, BbPanelState* out) { + if (!out || out->size < 8 || !plugin_named(name)) return 1; + PluginPanelState st; + plugin_panel_state(name, st); + BbPanelState o{}; + o.shown = st.shown ? 1 : 0; + o.closed = st.closed ? 1 : 0; + std::snprintf(o.page, sizeof(o.page), "%s", st.page.c_str()); + o.size = std::min(out->size, sizeof(BbPanelState)); + std::memcpy(out, &o, o.size); + return 0; +} + +int api_option_set(const char* name, const char* key, const char* value) { + if (!key || !value || !plugin_named(name)) return 1; + for (const Plugin& p : g_plugins) { + if (p.name != name || p.visitor) continue; + for (const BbOption* o = p.options; o && o->type != BB_OPT_END; ++o) { + if (o->key && std::strcmp(o->key, key) == 0 && (o->type & 0xffu) != BB_OPT_HEADING && (o->type & 0xffu) != BB_OPT_ACTION) { + plugins_set_option(name, key, value); + return 0; + } + } + } + return 1; +} + int api_hud_hide(const char* name, int hidden) { if (!plugin_named(name)) return 1; const bool was = scene_look_hud_hidden(); @@ -1710,6 +1756,7 @@ const BbHostApi g_api = { &api_shader_override, &api_shader_folder, &api_shader_state, &api_shader_source, &api_shader_data, &api_on_camera_target, &api_world_pause, &api_world_step, &api_pad, &api_pad_take, &api_world_state, &api_hud_hide, &api_post_look, + &api_panel_show, &api_panel_state, &api_option_set, }; std::string read_file(const std::string& path) { @@ -1758,6 +1805,7 @@ PluginEntry entry_of(const std::string& file_name, const std::string& path, cons } if (e.title.empty()) e.title = e.name; std::string group_when; // the last heading's BB_OPT_WHEN + std::string group_page; // the last heading's key, when it starts a panel page (BB_OPT_PANEL) for (const BbOption* o = options; o && o->type != BB_OPT_END; ++o) { PluginOptionDesc d; d.type = o->type & 0xffu; @@ -1771,6 +1819,9 @@ PluginEntry entry_of(const std::string& file_name, const std::string& path, cons // A heading's condition covers the rows under it, up to the next heading. if (d.type == BB_OPT_HEADING) group_when = d.when; else if (d.when.empty()) d.when = group_when; + // A panel page: its heading and the rows under it, up to the next heading. + if (d.type == BB_OPT_HEADING) group_page = (o->type & BB_OPT_PANEL) && !d.key.empty() ? d.key : std::string(); + d.page = group_page; d.min = o->min; d.max = o->max; e.options.push_back(std::move(d)); @@ -2017,6 +2068,7 @@ void plugins_frame() { world_pause_drop(r.name); // and its hold on the world scene_look_drop_hud(r.name.c_str()); // and on the HUD drop_look(r.name); // and its look + plugin_panel_hide(r.name); // and its panel } host_log("plugin: %s turned %s", r.name.c_str(), on ? "on" : "off"); if (render_hooks_plugin_on(r.name, on)) republish_settings(); diff --git a/src/host/plugins.h b/src/host/plugins.h index 023520dc..3421bc62 100644 --- a/src/host/plugins.h +++ b/src/host/plugins.h @@ -31,6 +31,7 @@ struct PluginOptionDesc { std::string key, label, help, def, choices; std::string when; // BB_OPT_WHEN: "key=a|b", greyed out unless that option is one of them double min = 0, max = 0; + std::string page; // BB_OPT_PANEL: the key of the panel page's heading it is on (or is); empty in the menus }; // A plugin file the manager shows: its info, settings and state. struct PluginEntry { diff --git a/src/host/window.cpp b/src/host/window.cpp index 53076f0f..98dd78d8 100755 --- a/src/host/window.cpp +++ b/src/host/window.cpp @@ -1,4 +1,5 @@ #include "host/window.h" +#include "host/plugin_panel.h" #include "core/host_clock.h" #include "core/portable.h" @@ -1803,6 +1804,18 @@ void update_pad() { // (plugin API 29: host_plugin_pad, host_plugin_pad_take). PluginPad ctl; const std::uint32_t take_buttons = g_ppad_take_buttons.load(std::memory_order_relaxed); + // A plugin's panel up (host/plugin_panel.h): the buttons and keys it moves + // by are its own - neither the game nor the plugins' pad and input read them. + const bool panel = plugin_panel_shown(); + // A button or key the panel had stays its own until let go: the Circle or + // Escape that closes it must not then press anything (end photo mode, + // open the game's menu). + static std::uint32_t panel_held_pad = 0; + // The same for a button a plugin takes (pad_take): one held as the take + // ends - the chord or Cross that ends a photo mode - stays the plugin's + // until let go, so the game never sees it go down. + static std::uint32_t taken_held_pad = 0; + std::uint32_t held_now = 0; const std::uint32_t take_axes = g_ppad_take_axes.load(std::memory_order_relaxed); for (SDL_Gamepad* g_gamepad : g_pads) { p.connected = true; @@ -1851,8 +1864,14 @@ void update_pad() { // The plugin reads every button; one it takes presses nothing in the game. for (int i = 0; i < kPadInputs; ++i) { if (!held[i]) continue; - ctl.buttons |= host_pad_input_bit(i); - if (take_buttons & host_pad_input_bit(i)) held[i] = false; + const std::uint32_t bit = host_pad_input_bit(i); + held_now |= bit; + if ((panel && (bit & kPanelPadButtons)) || (panel_held_pad & bit)) { + held[i] = false; + continue; + } + ctl.buttons |= bit; + if ((take_buttons | taken_held_pad) & bit) held[i] = false; } for (int i = 0; i < kPadInputs; ++i) { if (!held[i]) continue; @@ -1920,6 +1939,8 @@ void update_pad() { t.down = true; } } + panel_held_pad = ((panel ? kPanelPadButtons : 0u) | panel_held_pad) & held_now; + taken_held_pad = (take_buttons | taken_held_pad) & held_now; // The keyboard, DS3-shaped and rebindable (host/bindings.h): each action // held sets its pad bit or stick direction. // @@ -1937,35 +1958,59 @@ void update_pad() { // The key that ended a text entry stays out of the pad until released. const int end_key = g_text_end_key.load(std::memory_order_relaxed); if (end_key >= 0 && !(keys && end_key < nkeys && keys[end_key])) g_text_end_key.store(-1, std::memory_order_relaxed); + // The panel's keys while it is up, and any of them still held since. + static bool panel_held_key[SDL_SCANCODE_COUNT] = {}; + bool panel_keys = false; + for (int i = 0; i < SDL_SCANCODE_COUNT; ++i) { + const bool down_now = keys && i < nkeys && keys[i]; + panel_held_key[i] = down_now && ((panel && plugin_panel_key(i)) || panel_held_key[i]); + panel_keys = panel_keys || panel_held_key[i]; + } if (keys && (SDL_GetKeyboardFocus() == g_window || scripted)) { auto down = [&](SDL_Scancode sc) { return sc < nkeys && keys[sc] && static_cast(sc) != g_text_end_key.load(std::memory_order_relaxed); }; - if (down(SDL_SCANCODE_UP)) p.menu_buttons |= kUp; - if (down(SDL_SCANCODE_DOWN)) p.menu_buttons |= kDown; - if (down(SDL_SCANCODE_LEFT)) p.menu_buttons |= kLeft; - if (down(SDL_SCANCODE_RIGHT)) p.menu_buttons |= kRight; + // The panel's keys are the panel's while it is up, and until let go. + const auto menu_down = [&](SDL_Scancode sc) { return down(sc) && !panel_held_key[sc]; }; + if (menu_down(SDL_SCANCODE_UP)) p.menu_buttons |= kUp; + if (menu_down(SDL_SCANCODE_DOWN)) p.menu_buttons |= kDown; + if (menu_down(SDL_SCANCODE_LEFT)) p.menu_buttons |= kLeft; + if (menu_down(SDL_SCANCODE_RIGHT)) p.menu_buttons |= kRight; // OK and Return are whichever buttons the game's region decides and // returns with (engine/menu_pointer.h). - if (down(SDL_SCANCODE_RETURN) || down(SDL_SCANCODE_KP_ENTER)) p.menu_buttons |= menu_confirm_button(); + if (menu_down(SDL_SCANCODE_RETURN) || menu_down(SDL_SCANCODE_KP_ENTER)) p.menu_buttons |= menu_confirm_button(); if (down(SDL_SCANCODE_BACKSPACE)) p.menu_buttons |= menu_back_button(); - if (down(SDL_SCANCODE_ESCAPE)) p.menu_buttons |= kOptions; + if (menu_down(SDL_SCANCODE_ESCAPE)) p.menu_buttons |= kOptions; if (p.menu_buttons) p.connected = true; // A plugin's own read of the keys, and the ones it takes from the game // while the mouse turns the camera. const bool take = g_take_any_key.load(std::memory_order_relaxed) && - g_mouse_relative_applied.load(std::memory_order_relaxed); + (g_mouse_relative_applied.load(std::memory_order_relaxed) || panel); + // A key a plugin takes stays its own until let go, even once the take + // ends (the Escape that ends a photo mode must not open the game's menu). + static bool taken_held_key[SDL_SCANCODE_COUNT] = {}; + bool taken_keys = false; { std::lock_guard lock(g_take_mu); - for (int i = 0; i < 512; ++i) g_plugin_keys[i] = i < nkeys && keys[i] ? 1 : 0; + for (int i = 0; i < SDL_SCANCODE_COUNT; ++i) { + const bool down_now = i < nkeys && keys[i]; + taken_held_key[i] = down_now && ((take && i < 512 && g_take_key[i]) || taken_held_key[i]); + taken_keys = taken_keys || taken_held_key[i]; + } + } + { + std::lock_guard lock(g_take_mu); + for (int i = 0; i < 512; ++i) g_plugin_keys[i] = i < nkeys && keys[i] && !(i < SDL_SCANCODE_COUNT && panel_held_key[i]) ? 1 : 0; } bool held[kBindCount]; const int masked_key = g_text_end_key.load(std::memory_order_relaxed); - if (((masked_key >= 0 && masked_key < nkeys) || take) && nkeys <= SDL_SCANCODE_COUNT) { + if (((masked_key >= 0 && masked_key < nkeys) || taken_keys || panel_keys) && nkeys <= SDL_SCANCODE_COUNT) { bool masked[SDL_SCANCODE_COUNT]; std::memcpy(masked, keys, static_cast(nkeys) * sizeof(bool)); if (masked_key >= 0 && masked_key < nkeys) masked[masked_key] = false; - if (take) { - std::lock_guard lock(g_take_mu); - for (int i = 0; i < nkeys && i < 512; ++i) masked[i] = masked[i] && !g_take_key[i]; + if (taken_keys) { + for (int i = 0; i < nkeys; ++i) masked[i] = masked[i] && !taken_held_key[i]; + } + if (panel_keys) { + for (int i = 0; i < nkeys; ++i) masked[i] = masked[i] && !panel_held_key[i]; } host_bindings_keys_held(masked, nkeys, held); } else { diff --git a/tests/plugin_abi_test.c b/tests/plugin_abi_test.c index 21fbf933..4151d22e 100755 --- a/tests/plugin_abi_test.c +++ b/tests/plugin_abi_test.c @@ -50,7 +50,13 @@ _Static_assert(offsetof(BbHostApi, pad_take) == offsetof(BbHostApi, pad) + sizeo _Static_assert(offsetof(BbHostApi, world_state) == offsetof(BbHostApi, pad_take) + sizeof(void*), "world_state after pad_take"); _Static_assert(offsetof(BbHostApi, hud_hide) == offsetof(BbHostApi, world_state) + sizeof(void*), "hud_hide after world_state"); _Static_assert(offsetof(BbHostApi, post_look) == offsetof(BbHostApi, hud_hide) + sizeof(void*), "post_look after hud_hide"); -_Static_assert(sizeof(BbHostApi) == offsetof(BbHostApi, post_look) + sizeof(void*), "post_look ends the API table"); +_Static_assert(offsetof(BbHostApi, panel_show) == offsetof(BbHostApi, post_look) + sizeof(void*), "panel_show after post_look"); +_Static_assert(offsetof(BbHostApi, panel_state) == offsetof(BbHostApi, panel_show) + sizeof(void*), "panel_state after panel_show"); +_Static_assert(offsetof(BbHostApi, option_set) == offsetof(BbHostApi, panel_state) + sizeof(void*), "option_set after panel_state"); +_Static_assert(sizeof(BbHostApi) == offsetof(BbHostApi, option_set) + sizeof(void*), "option_set ends the API table"); +_Static_assert(BB_OPT_PANEL == 0x400u && BB_PANEL_DEFAULTS == 1u, "the panel's flags"); +_Static_assert(offsetof(BbPanel, page) == 8 && sizeof(BbPanel) == 8 + 3 * sizeof(void*), "BbPanel"); +_Static_assert(sizeof(BbPanelState) == 44 && offsetof(BbPanelState, page) == 12, "BbPanelState"); _Static_assert(sizeof(BbLook) == 112, "BbLook"); _Static_assert(offsetof(BbLook, vignette) == 28 && offsetof(BbLook, dof) == 32 && offsetof(BbLook, aberration) == 52, "BbLook's groups"); _Static_assert(offsetof(BbLook, motion_blur) == 72 && offsetof(BbLook, blur_samples) == 88 && offsetof(BbLook, fog_distance) == 92 && diff --git a/tools/api29_probe.c b/tools/api29_probe.c index b4a9f812..400720f2 100644 --- a/tools/api29_probe.c +++ b/tools/api29_probe.c @@ -141,6 +141,21 @@ static void on_frame(void* user) { s->done = 1; g_api->log("api29 t %.1f step %s -> %d", t, s->text, run_step(s->text)); } + if (getenv("BBHOST_API29_KEYS")) { + /* BBHOST_API29_KEYS=1: P, Escape and Tab as the plugins' input reads them, at each change */ + static int was[3] = {-1, -1, -1}; + static const int codes[3] = {19, 41, 43}; + BbInput in; + memset(&in, 0, sizeof(in)); + if (g_api->input(&in) == 0) { + for (int i = 0; i < 3; ++i) { + if (in.key[codes[i]] != was[i]) { + g_api->log("api29 t %.1f key %d %s (playing %d)", t, codes[i], in.key[codes[i]] ? "down" : "up", in.playing); + was[i] = in.key[codes[i]]; + } + } + } + } BbPad pad; memset(&pad, 0, sizeof(pad)); pad.size = sizeof(pad); From 697a3f68a1afd402a3cfc15d73b63d9ec1535ecd Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 01:00:13 -0800 Subject: [PATCH 010/100] plugins: photo mode's panel - six pages of its options over the game (the camera, the picture, depth of field, chromatic aberration, the fog, motion blur), their look over the area's own while it runs Its options are six panel pages (BB_OPT_PANEL), each row live and each with its help, after one heading the menus show (how to start, end and drive it): - Camera: Mode (Frozen, Static, Live; back to Frozen at each start), Field of view (degrees off the game's view), Roll, HUD, Vignette (the area's own, or none to heavy). - Picture: saturation, brightness, exposure, gamma and contrast in % of the area's own (the contrast steep: 110 crushes most shadows). - Depth of field, Chromatic aberration and Motion blur: the area's own, on with the rows under them, or off; those rows greyed out unless On. Performance mode leaves depth of field and motion blur out, and the log says so when a row asks for them. - Fog: distance, density and contrast in % of the area's, the start and the height fog's height in metres added. The rows go over the area's look while photo mode runs (post_look) and nowhere else: only the groups that differ from the area's own are set, and ending photo mode gives the area's look back. The panel opens with photo mode; R3 or Tab shows it again once Circle or Escape has hidden it. Q and E are taken while the camera flies (the game's Lock On and Interact), and R3 in Static (the panel's). Photo mode waits three seconds after a world comes in now: the loading screen's page stays some 75 frames. tests/photo_mode_plugin_test.cpp: the panel opens at the start with its Defaults rows, the Mode row back to Frozen; the rows' look as they change and none once every row is the area's again; R3 and Tab hide and show it; the panel down and the look gone at the end; six pages, every row on one, live and with its help. Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- plugins/photo_mode/photo_mode.cpp | 308 +++++++++++++++++++++++++++--- tests/photo_mode_plugin_test.cpp | 111 ++++++++++- 2 files changed, 385 insertions(+), 34 deletions(-) diff --git a/plugins/photo_mode/photo_mode.cpp b/plugins/photo_mode/photo_mode.cpp index 4485b714..fd387852 100644 --- a/plugins/photo_mode/photo_mode.cpp +++ b/plugins/photo_mode/photo_mode.cpp @@ -19,6 +19,12 @@ // game's view back as it was. The game's HUD, menus and prompts are left out // of the picture while it runs (hud_hide). // +// Its panel (panel_show) opens with it: six pages of its options - the +// camera, the picture, depth of field, chromatic aberration, the fog and +// motion blur - whose look goes over the area's own while photo mode runs +// (post_look) and nowhere else. R3 or Tab shows it again once Circle or +// Escape has hidden it; the camera flies either way. +// // Only with nobody else in the world (world_state): it does not start while // another player is in it or on the way, nor in another player's world, and it // ends as soon as one is coming - when matchmaking finds one (the game hosts its @@ -44,7 +50,7 @@ const BbHostApi* api = nullptr; enum Mode : int { kFrozen = 0, kStatic = 1, kLive = 2 }; // SDL scancodes (the USB HID usages BbInput's keys are indexed by). -constexpr std::uint16_t kKeyA = 4, kKeyD = 7, kKeyN = 17, kKeyP = 19, kKeyS = 22, kKeyW = 26; +constexpr std::uint16_t kKeyA = 4, kKeyD = 7, kKeyE = 8, kKeyN = 17, kKeyP = 19, kKeyQ = 20, kKeyS = 22, kKeyW = 26; constexpr std::uint16_t kKeyEscape = 41, kKeyTab = 43, kKeySpace = 44; constexpr std::uint16_t kKeyLCtrl = 224, kKeyLShift = 225, kKeyLAlt = 226, kKeyRShift = 229, kKeyRAlt = 230; // The mouse's buttons in BbInput.buttons. @@ -59,13 +65,36 @@ constexpr float kMouseTurn = 0.0035f; // radians a count, as Dark Souls III's constexpr float kPitchLimit = 1.53f; // short of straight up and down constexpr std::uint32_t kStepUpdates = 2; // The world up this long before photo mode starts: the loading screen's page -// fades out over the world's first frames, and a held world would hold it there. -constexpr float kWorldSettle = 2.0f; +// stays and fades out over the world's first frames - some 75 of them, two +// and a half seconds at 30 - and a held world would hold it there. +constexpr float kWorldSettle = 3.0f; + +// The options (bb_plugin_options): what the panel's rows hold. +struct Settings { + int mode = 0; // Mode, as Mode + int fov_offset = 0; // degrees more or less than the game's view + int roll = 0; // degrees + bool hud = false; + int vignette = 0; // Area's own, None, Light, Medium, Strong, Heavy + int saturation = 100, brightness = 100, exposure = 100, gamma = 100, contrast = 100; // % of the area's + int dof = 0; // Area's own, On, Off + int dof_focus = 30; // (it / 10) squared metres + float dof_aperture = 5.6f; + int dof_near = 0, dof_far = 1; + int ca = 0; // Area's own, On, Off + int ca_lateral[2] = {6, 0}, ca_uniform[2] = {0, 0}; // thousandths + int fog_distance = 100, fog_density = 100, fog_contrast = 100; // % of the area's + int fog_start = 0, fog_height = 0; // metres added + int blur = 0; // Area's own, On, Off + int blur_time = 9, blur_length = 19; // hundredths + int blur_scale = 40; // tenths + int blur_samples = 4; +} set; struct Camera { float pos[3] = {0, 0, 0}; float yaw = 0, pitch = 0, roll = 0; // radians: yaw about the world's up, pitch below the horizon positive - float fov = 43.0f * kPi / 180.0f; // vertical, radians + float fov = 43.0f * kPi / 180.0f; // vertical, radians: the game's at the start, then the Field of view row's float right_sign = 1.0f; // the game's basis: right = up x forward, or its opposite float up_sign = 1.0f; }; @@ -82,7 +111,8 @@ struct State { std::chrono::steady_clock::time_point last; bool have_last = false; float look_x = 0, look_y = 0; // the mouse's counts since the last frame - bool hud = false; // the game's HUD shown in photo mode + float game_fov = 43.0f * kPi / 180.0f; // the game's view's field of view when the camera started + bool panel = false; // its panel up (as last asked or told) bool world_up = false; // a world in and no loading screen, since world_since std::chrono::steady_clock::time_point world_since; } st; @@ -134,13 +164,15 @@ void seed_from(const BbCamera* view) { c.pitch = std::clamp(c.pitch, -kPitchLimit, kPitchLimit); c.roll = 0; for (int i = 0; i < 3; ++i) c.pos[i] = st.start_pos[i] = view->position[i]; - c.fov = view->fov_y > 0.05f && view->fov_y < 3.0f ? view->fov_y : c.fov; + st.game_fov = view->fov_y > 0.05f && view->fov_y < 3.0f ? view->fov_y : st.game_fov; + c.fov = std::clamp(st.game_fov + set.fov_offset * kPi / 180.0f, 10.0f * kPi / 180.0f, 120.0f * kPi / 180.0f); // Which way the game's right and up point against ours. c.right_sign = c.up_sign = 1.0f; float r[3], u[3], fw[3]; basis(c, r, u, fw); c.right_sign = dot(r, view->right) < 0 ? -1.0f : 1.0f; c.up_sign = dot(u, view->up) < 0 ? -1.0f : 1.0f; + c.roll = set.roll * kPi / 180.0f; // the Roll row's, now the signs are the game's st.seeded = true; } @@ -177,12 +209,13 @@ void take_controls() { // open over the picture); the camera's too while it flies, when Shift and // Alt (the strong attack and the walk) do nothing either. static const std::uint16_t own[] = {kKeyP, kKeyEscape, kKeyTab}; - static const std::uint16_t flying[] = {kKeyP, kKeyEscape, kKeyTab, kKeyN, kKeyW, kKeyA, kKeyS, kKeyD, - kKeySpace, kKeyLCtrl, kKeyLShift, kKeyRShift, kKeyLAlt, kKeyRAlt}; + static const std::uint16_t flying[] = {kKeyP, kKeyEscape, kKeyTab, kKeyN, kKeyW, kKeyA, kKeyS, kKeyD, kKeyQ, + kKeyE, kKeySpace, kKeyLCtrl, kKeyLShift, kKeyRShift, kKeyLAlt, kKeyRAlt}; if (st.mode == kStatic) { // The hunter plays: the controller is the game's but for Options (the - // game's menu would open over the picture) and the touchpad's. - api->pad_take(BB_PAD_OPTIONS | BB_PAD_TOUCHPAD, 0); + // game's menu would open over the picture), the touchpad's and R3, + // which shows the panel. + api->pad_take(BB_PAD_OPTIONS | BB_PAD_TOUCHPAD | BB_PAD_R3, 0); api->input_take(own, sizeof(own) / sizeof(own[0]), 0, 0, 0); } else { api->pad_take(0xffffffffu, BB_PAD_LEFT_STICK | BB_PAD_RIGHT_STICK | BB_PAD_TRIGGERS); @@ -206,6 +239,85 @@ void set_mode(int m) { } } +// The panel (panel_show): its guide for the controller and for the keyboard. +constexpr const char* kGuide = "L1 R1: page d-pad: choose and change Circle: hide R3: show"; +constexpr const char* kGuideKeys = "Q E: page arrows: choose and change Esc: hide Tab: show"; + +void show_panel(bool up) { + if (up) { + BbPanel p{}; + p.size = sizeof(p); + p.flags = BB_PANEL_DEFAULTS; + p.page = nullptr; // the page it showed last + p.guide = kGuide; + p.guide_keys = kGuideKeys; + st.panel = api->panel_show(kName, &p) == 0; + } else { + api->panel_show(kName, nullptr); + st.panel = false; + } +} + +// The look the rows make (post_look): only what differs from the area's own. +constexpr float kVignettePower[] = {0.0f, 0.0f, 0.3f, 0.6f, 1.0f, 1.5f}; // by the Vignette row, Area's own first +void post_look() { + BbLook l{}; + l.size = sizeof(l); + if (set.saturation != 100 || set.brightness != 100 || set.exposure != 100 || set.gamma != 100 || set.contrast != 100) { + l.set |= BB_LOOK_TONE; + l.exposure = set.exposure / 100.0f; + l.gamma = set.gamma / 100.0f; + l.saturation = set.saturation / 100.0f; + l.brightness = set.brightness / 100.0f; + l.contrast = set.contrast / 100.0f; + } + if (set.vignette > 0) { + l.set |= BB_LOOK_VIGNETTE; + l.vignette = kVignettePower[std::clamp(set.vignette, 0, 5)]; + } + if (set.dof > 0) { + l.set |= BB_LOOK_DOF; + l.dof = set.dof == 1; + const float d = set.dof_focus / 10.0f; + l.dof_focus = d * d; + l.dof_aperture = set.dof_aperture; + l.dof_near_levels = set.dof_near; + l.dof_far_levels = set.dof_far; + } + if (set.ca > 0) { + l.set |= BB_LOOK_ABERRATION; + l.aberration = set.ca == 1; + for (int i = 0; i < 2; ++i) { + l.lateral[i] = set.ca_lateral[i] / 1000.0f; + l.uniform[i] = set.ca_uniform[i] / 1000.0f; + } + } + if (set.blur > 0) { + l.set |= BB_LOOK_MOTION_BLUR; + l.motion_blur = set.blur == 1; + l.blur_time = set.blur_time / 100.0f; + l.blur_length = set.blur_length / 100.0f; + l.blur_scale = set.blur_scale / 10.0f; + l.blur_samples = set.blur_samples; + } + if (set.fog_distance != 100 || set.fog_density != 100 || set.fog_contrast != 100 || set.fog_start != 0 || set.fog_height != 0) { + l.set |= BB_LOOK_FOG; + l.fog_distance = set.fog_distance / 100.0f; + l.fog_density = set.fog_density / 100.0f; + l.fog_contrast = set.fog_contrast / 100.0f; + l.fog_distance_offset = static_cast(set.fog_start); + l.fog_height_offset = static_cast(set.fog_height); + } + std::uint32_t available = 0; + api->post_look(kName, l.set ? &l : nullptr, &available); + static std::uint32_t told = 0; + const std::uint32_t missing = l.set & ~available & (BB_LOOK_DOF | BB_LOOK_MOTION_BLUR); + if (missing && missing != told) + api->log("photo mode: %s cannot show now (Performance mode leaves it out)", + missing == BB_LOOK_DOF ? "depth of field" : missing == BB_LOOK_MOTION_BLUR ? "motion blur" : "depth of field and motion blur"); + told = missing; +} + void start() { st.on = true; st.seed = true; @@ -215,7 +327,10 @@ void start() { st.have_last = false; st.look_x = st.look_y = 0; apply_mode(); - api->hud_hide(kName, st.hud ? 0 : 1); + api->option_set(kName, "mode", "Frozen"); // the panel's row says so too + api->hud_hide(kName, set.hud ? 0 : 1); + post_look(); + show_panel(true); api->log("photo mode: on (%s)", mode_name(st.mode)); } @@ -229,6 +344,8 @@ void stop(const char* why) { api->world_pause(kName, 0); take_controls(); api->hud_hide(kName, 0); + api->post_look(kName, nullptr, nullptr); + show_panel(false); if (seeded) api->log("photo mode: off (%s); the camera ended %.2f m from where it started", why, static_cast(std::sqrt(d2))); else @@ -312,7 +429,7 @@ void on_frame(void*) { // The keyboard's presses: on the frame a key goes down. static std::uint8_t prev_keys[512]; auto key_down = [&](std::uint16_t k) { return have_keys && in.key[k] && !prev_keys[k]; }; - const bool p_down = key_down(kKeyP), escape_down = key_down(kKeyEscape), n_down = key_down(kKeyN); + const bool p_down = key_down(kKeyP), escape_down = key_down(kKeyEscape), n_down = key_down(kKeyN), key_down_tab = key_down(kKeyTab); if (have_keys) std::memcpy(prev_keys, in.key, sizeof(prev_keys)); // Start and end: hold Cross and press L3, or P; Escape ends it too. @@ -339,6 +456,13 @@ void on_frame(void*) { return; } + // The panel: up or hidden (Circle and Escape hide it - the host's), and + // R3 or Tab to show or hide it. + BbPanelState ps{}; + ps.size = sizeof(ps); + if (api->panel_state(kName, &ps) == 0) st.panel = ps.shown != 0; + if ((pad.pressed & BB_PAD_R3) || key_down_tab) show_panel(!st.panel); + const auto now = std::chrono::steady_clock::now(); float dt = st.have_last ? std::chrono::duration(now - st.last).count() : 0.0f; st.last = now; @@ -358,30 +482,162 @@ void on_frame(void*) { if (st.mode != kStatic && st.seeded) fly(pad, in, keys_ok, dt); } +// A row's value into the settings; false for a key that is not one. +bool take_option(const char* key, const char* value) { + std::string v = value ? value : ""; + if (v.size() >= 2 && v.front() == '"' && v.back() == '"') v = v.substr(1, v.size() - 2); + const auto num = [&](int lo, int hi, int* out) { *out = std::clamp(std::atoi(v.c_str()), lo, hi); }; + const auto choice = [&](const char* const* names, int n, int* out) { + for (int i = 0; i < n; ++i) { + if (v == names[i]) *out = i; + } + }; + static const char* const kModes[] = {"Frozen", "Static", "Live"}; + static const char* const kVignettes[] = {"Area's own", "None", "Light", "Medium", "Strong", "Heavy"}; + static const char* const kSwitch[] = {"Area's own", "On", "Off"}; + const std::string k = key; + if (k == "mode") choice(kModes, 3, &set.mode); + else if (k == "fov") num(-40, 60, &set.fov_offset); + else if (k == "roll") num(-90, 90, &set.roll); + else if (k == "hud") set.hud = v == "true"; + else if (k == "vignette") choice(kVignettes, 6, &set.vignette); + else if (k == "saturation") num(0, 200, &set.saturation); + else if (k == "brightness") num(20, 250, &set.brightness); + else if (k == "exposure") num(10, 250, &set.exposure); + else if (k == "gamma") num(50, 150, &set.gamma); + else if (k == "contrast") num(80, 120, &set.contrast); + else if (k == "dof") choice(kSwitch, 3, &set.dof); + else if (k == "dof_focus") num(5, 200, &set.dof_focus); + else if (k == "dof_aperture") set.dof_aperture = std::clamp(static_cast(std::atof(v.c_str())), 0.7f, 32.0f); + else if (k == "dof_near") num(0, 7, &set.dof_near); + else if (k == "dof_far") num(0, 7, &set.dof_far); + else if (k == "ca") choice(kSwitch, 3, &set.ca); + else if (k == "ca_lateral_x") num(-100, 100, &set.ca_lateral[0]); + else if (k == "ca_lateral_y") num(-100, 100, &set.ca_lateral[1]); + else if (k == "ca_uniform_x") num(-100, 100, &set.ca_uniform[0]); + else if (k == "ca_uniform_y") num(-100, 100, &set.ca_uniform[1]); + else if (k == "fog_distance") num(10, 200, &set.fog_distance); + else if (k == "fog_density") num(0, 200, &set.fog_density); + else if (k == "fog_contrast") num(0, 200, &set.fog_contrast); + else if (k == "fog_start") num(-100, 100, &set.fog_start); + else if (k == "fog_height") num(-200, 200, &set.fog_height); + else if (k == "blur") choice(kSwitch, 3, &set.blur); + else if (k == "blur_time") num(0, 100, &set.blur_time); + else if (k == "blur_length") num(0, 100, &set.blur_length); + else if (k == "blur_scale") num(0, 100, &set.blur_scale); + else if (k == "blur_samples") num(1, 16, &set.blur_samples); + else return false; + return true; +} + void on_option(const char* key, const char* value, void*) { - if (!key || !value) return; + if (!key || !value || !take_option(key, value)) return; if (std::strcmp(key, "mode") == 0) { - set_mode(std::strcmp(value, "Static") == 0 ? kStatic : std::strcmp(value, "Live") == 0 ? kLive : kFrozen); + set_mode(set.mode); } else if (std::strcmp(key, "hud") == 0) { - st.hud = std::strcmp(value, "true") == 0; - if (st.on) api->hud_hide(kName, st.hud ? 0 : 1); + if (st.on) api->hud_hide(kName, set.hud ? 0 : 1); + } else if (std::strcmp(key, "fov") == 0) { + st.cam.fov = std::clamp(st.game_fov + set.fov_offset * kPi / 180.0f, 10.0f * kPi / 180.0f, 120.0f * kPi / 180.0f); + } else if (std::strcmp(key, "roll") == 0) { + st.cam.roll = set.roll * kPi / 180.0f; + } else if (st.on) { + post_look(); } } -void read_options() { - st.hud = std::strcmp(api->config("photo_mode.hud"), "true") == 0; -} - } // namespace +// The menus show the first heading; the panel's six pages are BB_OPT_PANEL +// headings and the rows under them. Every row is live, and every row says what +// it does. +#define PANEL(key, label, help) {BB_OPT_HEADING | BB_OPT_PANEL, key, label, help, "", 0, 0, nullptr} +#define LIVE_INT(key, label, help, def, lo, hi) {BB_OPT_INT | BB_OPT_LIVE, key, label, help, def, lo, hi, nullptr} +#define LIVE_INT_WHEN(key, label, help, def, lo, hi, when) {BB_OPT_INT | BB_OPT_LIVE | BB_OPT_WHEN, key, label, help, def, lo, hi, when} extern "C" BB_PLUGIN_EXPORT const BbOption bb_plugin_options[] = { + {BB_OPT_HEADING, "about", "Photo mode", + "Hold Cross and press L3, or press P, to start photo mode and to end it (Escape ends it too). Its panel opens with it: " + "L1 and R1 (Q and E) turn its pages, the d-pad (the arrows) chooses and changes a row, Circle (Escape) hides it and R3 " + "(Tab) shows it again. Only with nobody else in your world.", + "", 0, 0, nullptr}, + + PANEL("camera", "Camera", "How photo mode's camera sees, and what the world does meanwhile."), {BB_OPT_CHOICE | BB_OPT_LIVE, "mode", "Mode", - "Frozen holds the world still while the camera flies; Static keeps the camera where it is while you play on; Live " - "flies the camera while the world runs. Photo mode always starts Frozen.", + "Frozen holds the world still while the camera flies (Cross or N lets it run two more updates). Static keeps the " + "camera where it is while you play on. Live flies the camera while the world runs. Photo mode always starts Frozen.", "Frozen", 0, 0, "Frozen|Static|Live"}, - {BB_OPT_BOOL | BB_OPT_LIVE, "hud", "HUD", "Show the game's HUD, menus and prompts in photo mode. Off leaves them out of the picture.", - "false"}, - {0}}; + LIVE_INT("fov", "Field of view", "Degrees more or less than the game's own view: 0 keeps it, less zooms in.", "0", -40, 60), + LIVE_INT("roll", "Roll", "Tilts the camera, in degrees: 0 keeps it level.", "0", -90, 90), + {BB_OPT_BOOL | BB_OPT_LIVE, "hud", "HUD", "Shows the game's HUD, menus and prompts in photo mode. Off leaves them out of the picture.", + "false", 0, 0, nullptr}, + {BB_OPT_CHOICE | BB_OPT_LIVE, "vignette", "Vignette", + "Darkens the picture's corners. Area's own keeps the area's (most have none).", "Area's own", 0, 0, + "Area's own|None|Light|Medium|Strong|Heavy"}, + + PANEL("picture", "Picture", "The picture's tone, in % of the area's own: 100 keeps the area's."), + LIVE_INT("saturation", "Saturation", "% of the area's own colour: 0 is black and white, 200 twice as vivid.", "100", 0, 200), + LIVE_INT("brightness", "Brightness", "% of the area's own brightness, after the tone map.", "100", 20, 250), + LIVE_INT("exposure", "Exposure", "% of the area's own exposure, before the tone map: the light the picture is made from.", "100", 10, 250), + LIVE_INT("gamma", "Gamma", "% of the area's own gamma: more lifts the shadows and pales the colours.", "100", 50, 150), + LIVE_INT("contrast", "Contrast", + "% of the area's own contrast. Steep: a few percent goes a long way, and 110 crushes most shadows to black.", "100", 80, 120), + + PANEL("dof", "Depth of field", + "The blur away from the focus. Performance mode leaves it out, and with it these rows do nothing."), + {BB_OPT_CHOICE | BB_OPT_LIVE, "dof", "Depth of field", + "Area's own keeps the area's depth of field. On uses the rows below; Off leaves it out. Performance mode leaves it out " + "whatever this says.", + "Area's own", 0, 0, "Area's own|On|Off"}, + LIVE_INT_WHEN("dof_focus", "Focus", "Where it is sharp: 10 is 1 m, 30 is 9 m, 100 is 100 m (the number over ten, squared).", + "30", 5, 200, "dof=On"), + {BB_OPT_FLOAT | BB_OPT_LIVE | BB_OPT_WHEN, "dof_aperture", "Aperture", + "The lens's f-number: the smaller, the more blurred away from the focus. The areas use 5.6.", "5.6", 0.7, 32, "dof=On"}, + LIVE_INT_WHEN("dof_near", "Blur in front", "How far the blur in front of the focus spreads: 0 to 7.", "0", 0, 7, "dof=On"), + LIVE_INT_WHEN("dof_far", "Blur behind", "How far the blur behind the focus spreads: 0 to 7.", "1", 0, 7, "dof=On"), + + PANEL("ca", "Chromatic aberration", "Colour fringes towards the picture's edges, as a lens makes them."), + {BB_OPT_CHOICE | BB_OPT_LIVE, "ca", "Chromatic aberration", + "Area's own keeps the area's (most have none). On uses the rows below; Off leaves it out.", "Area's own", 0, 0, + "Area's own|On|Off"}, + LIVE_INT_WHEN("ca_lateral_x", "Lateral, across", "Fringes growing towards the edges, across the picture, in thousandths (an area's is 6).", + "6", -100, 100, "ca=On"), + LIVE_INT_WHEN("ca_lateral_y", "Lateral, up and down", "The same up and down, in thousandths.", "0", -100, 100, "ca=On"), + LIVE_INT_WHEN("ca_uniform_x", "Uniform, across", "Fringes the same all over, across the picture, in thousandths.", "0", -100, 100, "ca=On"), + LIVE_INT_WHEN("ca_uniform_y", "Uniform, up and down", "The same up and down, in thousandths.", "0", -100, 100, "ca=On"), + + PANEL("fog", "Fog", "The area's fog and haze: 100% and 0 m keep the area's."), + LIVE_INT("fog_distance", "Distance", "% of the area's distance to the fog: less brings it closer.", "100", 10, 200), + LIVE_INT("fog_density", "Density", "% of the area's fog: 0 clears it, 200 doubles it.", "100", 0, 200), + LIVE_INT("fog_contrast", "Contrast", "% of the area's fog contrast: more darkens what the fog covers.", "100", 0, 200), + LIVE_INT("fog_start", "Start", "Metres added to where the fog begins: more pushes it away.", "0", -100, 100), + LIVE_INT("fog_height", "Height fog", "Metres added to the height fog's height: less raises the fog over the ground.", "0", -200, 200), + + PANEL("blur", "Motion blur", + "The blur of what moves, as the camera sees it. Performance mode leaves it out, and with it these rows do nothing."), + {BB_OPT_CHOICE | BB_OPT_LIVE, "blur", "Motion blur", + "Area's own keeps the area's. On uses the rows below; Off leaves it out. Performance mode leaves it out whatever this says.", + "Area's own", 0, 0, "Area's own|On|Off"}, + LIVE_INT_WHEN("blur_time", "Time", "How long a moment the blur covers, in hundredths (an area's is about 9).", "9", 0, 100, "blur=On"), + LIVE_INT_WHEN("blur_length", "Length", "The longest a streak gets, in hundredths (an area's is about 19).", "19", 0, 100, "blur=On"), + LIVE_INT_WHEN("blur_scale", "Camera blur", "How much the camera's own turning blurs, in tenths (an area's is up to 40).", "40", 0, 100, "blur=On"), + LIVE_INT_WHEN("blur_samples", "Samples", "Steps along each streak: more is smoother and slower.", "4", 1, 16, "blur=On"), + {0, nullptr, nullptr, nullptr, nullptr, 0, 0, nullptr}}; +#undef PANEL +#undef LIVE_INT +#undef LIVE_INT_WHEN + +namespace { + +// The rows as the player's config holds them, or their defaults. +void read_options() { + for (const BbOption* o = bb_plugin_options; o->type != BB_OPT_END; ++o) { + if ((o->type & 0xffu) == BB_OPT_HEADING || !o->key) continue; + const std::string key = std::string(kName) + "." + o->key; + const char* v = api->config(key.c_str()); + take_option(o->key, v && v[0] ? v : o->def); + } +} + +} // namespace extern "C" BB_PLUGIN_EXPORT const BbPluginInfo bb_plugin_info = { BB_PLUGIN_API_VERSION, @@ -395,7 +651,7 @@ extern "C" BB_PLUGIN_EXPORT const BbPluginInfo bb_plugin_info = { }; extern "C" BB_PLUGIN_EXPORT int bb_plugin_image(const BbHostApi* host) { - if (host->version < 29 || host->size < offsetof(BbHostApi, hud_hide) + sizeof(void*)) { + if (host->version < 29 || host->size < offsetof(BbHostApi, option_set) + sizeof(void*)) { host->log("photo mode: needs plugin API 29; this host has %u", host->version); return 1; } diff --git a/tests/photo_mode_plugin_test.cpp b/tests/photo_mode_plugin_test.cpp index b79506d4..2b6045fa 100644 --- a/tests/photo_mode_plugin_test.cpp +++ b/tests/photo_mode_plugin_test.cpp @@ -6,11 +6,13 @@ // pressed, Frozen, with the world held, the controls taken and the HUD out of // the picture; the camera starts at the game's view and flies the way it looks; // Cross (once let go) and N advance a held world by two updates; Static gives -// the controls back but Options and the touchpad, Live flies over a running -// world; it ends on Escape, P and the chord, and at a loading screen, a +// the controls back but Options, the touchpad and R3, Live flies over a +// running world; it ends on Escape, P and the chord, and at a loading screen, a // cutscene or a menu, giving everything back; it does not start, and it ends, // with another player in the world or on the way, or in another's world; the -// HUD option shows the HUD. Its options table is whole. +// HUD option shows the HUD; its panel opens with it, R3 hides and shows it, +// and the panel's rows go over the area's look while it runs and nowhere +// else. Its options table is whole, every row with its help. // // photo_mode_plugin_test #include "bbhost_plugin.h" @@ -44,7 +46,7 @@ static int g_failures = 0; namespace { -constexpr std::uint16_t kP = 19, kN = 17, kW = 26, kEscape = 41; +constexpr std::uint16_t kP = 19, kN = 17, kW = 26, kEscape = 41, kTab = 43; struct Host { std::map config; @@ -66,6 +68,13 @@ struct Host { BbPad pad{}; BbInput input{}; int calls = 0; // every call that asks for something (pause, take, hide, step) + // The look and the panel. + int looks = 0; // post_look calls + bool look_on = false; // the last one set a look (not NULL) + BbLook look{}; + bool panel_up = false; + std::uint32_t panel_flags = 0; + std::vector> sets; // option_set calls } H; void fake_log(const char* fmt, ...) { @@ -148,6 +157,40 @@ int fake_world_state(BbWorldState* out) { out->size = sizeof(BbWorldState); return 0; } +int fake_post_look(const char* name, const BbLook* look, std::uint32_t* available) { + CHECK(std::strcmp(name, "photo_mode") == 0); + ++H.looks; + H.look_on = look != nullptr; + if (look) { + CHECK(look->size == sizeof(BbLook)); + H.look = *look; + } + if (available) *available = 63; + return 0; +} +int fake_panel_show(const char* name, const BbPanel* panel) { + CHECK(std::strcmp(name, "photo_mode") == 0); + H.panel_up = panel != nullptr; + if (panel) { + CHECK(panel->size == sizeof(BbPanel)); + H.panel_flags = panel->flags; + CHECK(panel->guide && panel->guide_keys); + } + return 0; +} +int fake_panel_state(const char* name, BbPanelState* out) { + CHECK(std::strcmp(name, "photo_mode") == 0); + CHECK(out->size == sizeof(BbPanelState)); + out->shown = H.panel_up ? 1 : 0; + out->closed = 0; + std::snprintf(out->page, sizeof out->page, "camera"); + return 0; +} +int fake_option_set(const char* name, const char* key, const char* value) { + CHECK(std::strcmp(name, "photo_mode") == 0); + H.sets.emplace_back(key, value); + return 0; +} int fake_hud_hide(const char* name, int hidden) { CHECK(std::strcmp(name, "photo_mode") == 0); H.hud_hidden = hidden; @@ -210,6 +253,10 @@ BbHostApi make_api(std::uint32_t version) { api.pad_take = &fake_pad_take; api.world_state = &fake_world_state; api.hud_hide = &fake_hud_hide; + api.post_look = &fake_post_look; + api.panel_show = &fake_panel_show; + api.panel_state = &fake_panel_state; + api.option_set = &fake_option_set; } else { api.size = static_cast(offsetof(BbHostApi, on_camera_target) + sizeof(void*)); } @@ -238,7 +285,7 @@ void tap_pad(std::uint32_t b) { // fades out over its first frames). void settle() { frame(); - std::this_thread::sleep_for(std::chrono::milliseconds(2100)); + std::this_thread::sleep_for(std::chrono::milliseconds(3100)); frame(); } // The game's view, as on_view hands it: looking along +z from (1, 2, 3). @@ -286,7 +333,21 @@ int main(int argc, char** argv) { CHECK(o->key && o->label && o->help && o->help[0]); // every row says what it does CHECK(keys[o->key]++ == 0); if ((o->type & 0xff) == BB_OPT_CHOICE) CHECK(std::strstr(o->choices, o->def) != nullptr); + CHECK(o->type & BB_OPT_LIVE); // the panel changes them as photo mode runs } + // Six pages, every row on one; the menus get only the first heading. + int pages = 0; + bool on_page = false; + for (const BbOption* o = p.options; o->type; ++o) { + if ((o->type & 0xff) == BB_OPT_HEADING) { + on_page = (o->type & BB_OPT_PANEL) != 0; + pages += on_page; + CHECK(o->key && o->label && o->help && o->help[0]); + } else { + CHECK(on_page); + } + } + CHECK(pages == 6); } // An API 28 host: refused before asking for anything. @@ -304,7 +365,7 @@ int main(int argc, char** argv) { H.input.playing = 1; for (int i = 0; i < 5; ++i) frame(); CHECK(H.calls == 0); // asks for nothing until started - // Not in the world's first two seconds. + // Not in the world's first three seconds. tap_key(kP); CHECK(H.paused == 0 && logged("the world is still coming in")); settle(); @@ -341,6 +402,31 @@ int main(int argc, char** argv) { H.view_fn(&view, H.view_user); CHECK(view.position[0] > 1.01f); + // Its panel opened with it, the Mode row back to Frozen, and no look over + // the area's until a row says otherwise. + CHECK(H.panel_up && (H.panel_flags & BB_PANEL_DEFAULTS)); + CHECK(!H.sets.empty() && H.sets.back().first == "mode" && H.sets.back().second == "Frozen"); + CHECK(H.looks >= 1 && !H.look_on); + // The rows' look, as they change. + H.option_fn("saturation", "50", H.option_user); + CHECK(H.look_on && (H.look.set & BB_LOOK_TONE) && std::fabs(H.look.saturation - 0.5f) < 1e-6f && H.look.exposure == 1.0f); + H.option_fn("dof", "On", H.option_user); + CHECK((H.look.set & BB_LOOK_DOF) && H.look.dof == 1 && std::fabs(H.look.dof_focus - 9.0f) < 1e-4f && H.look.dof_far_levels == 1); + H.option_fn("fog_height", "-50", H.option_user); + CHECK((H.look.set & BB_LOOK_FOG) && H.look.fog_height_offset == -50.0f && H.look.fog_distance == 1.0f); + H.option_fn("vignette", "Strong", H.option_user); + CHECK((H.look.set & BB_LOOK_VIGNETTE) && std::fabs(H.look.vignette - 1.0f) < 1e-6f); + H.option_fn("saturation", "100", H.option_user); + H.option_fn("dof", "Area's own", H.option_user); + H.option_fn("fog_height", "0", H.option_user); + H.option_fn("vignette", "Area's own", H.option_user); + CHECK(!H.look_on); // every row the area's again: no look + // R3 and Tab hide and show the panel. + tap_pad(BB_PAD_R3); + CHECK(!H.panel_up); + tap_key(kTab); + CHECK(H.panel_up); + // The frame advance: Cross (it was not held to start) and N, two updates each. tap_pad(BB_PAD_CROSS); CHECK(H.steps == 2); @@ -350,7 +436,7 @@ int main(int argc, char** argv) { // Static: the world runs, the controller is the game's but Options and the touchpad; Live flies over it. H.option_fn("mode", "Static", H.option_user); CHECK(H.paused == 0); - CHECK(H.take_buttons == (BB_PAD_OPTIONS | BB_PAD_TOUCHPAD) && H.take_axes == 0); + CHECK(H.take_buttons == (BB_PAD_OPTIONS | BB_PAD_TOUCHPAD | BB_PAD_R3) && H.take_axes == 0); CHECK(H.taken_motion == 0); view = game_view(); H.view_fn(&view, H.view_user); @@ -367,9 +453,18 @@ int main(int argc, char** argv) { tap_key(kN); CHECK(H.steps == steps_before); // no frame advance over a running world - // Escape ends it: everything given back. + // Escape ends it: everything given back, the panel down and no look. + H.option_fn("exposure", "150", H.option_user); + CHECK(H.look_on); tap_key(kEscape); CHECK(H.paused == 0 && H.hud_hidden == 0 && H.take_buttons == 0 && H.take_axes == 0 && H.taken_keys.empty() && H.taken_motion == 0); + CHECK(!H.look_on && !H.panel_up); + { + // A row changed while it is off goes over nothing. + const int looks = H.looks; + H.option_fn("exposure", "100", H.option_user); + CHECK(H.looks == looks); + } view = game_view(); H.view_fn(&view, H.view_user); CHECK(std::fabs(view.position[2] - 3) < 1e-5f); // the game's view again From b9cc78a80fbe987da25e06462941feeab8d0a3f2 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 01:13:58 -0800 Subject: [PATCH 011/100] plugins: photo mode ships with the official plugins - packed and signed with them, built by the release and portable scripts, in the docs' table and the packages' notes, on by default - tools/package_plugins.sh packs and signs photo_mode with the others (and, like them, fails a package without it); the Windows package's target and the portable and MSYS2 build scripts build it. - docs/plugins.md lists it among the official plugins, made from Nox-'s bbphoto, and why it is not in the session's rules: it runs only with nobody else in the world. - The Linux and Windows packages' notes say it is on without a line, and that photo_mode = false under [plugins] turns it off. Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 2 +- docs/plugins.md | 5 +++-- tools/linux_portable_build.sh | 2 +- tools/package_linux.sh | 4 +++- tools/package_plugins.sh | 2 +- tools/win_build_msys2.sh | 2 +- tools/win_package.sh | 4 +++- 7 files changed, 13 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9398d2f7..95ae11be 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1523,7 +1523,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows" AND CMAKE_CROSSCOMPILING) WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} # The official plugins too: the package carries them, and a CI build makes # nothing it is not asked for (v0.2.0's Windows zip shipped without them). - DEPENDS bbhost bb_plugin_randomizer bb_plugin_boss_rush bb_plugin_mutators bb_plugin_quake bb_plugin_lohit bb_plugin_ps1 bb_plugin_iso bb_plugin_debug_menu + DEPENDS bbhost bb_plugin_randomizer bb_plugin_boss_rush bb_plugin_mutators bb_plugin_quake bb_plugin_lohit bb_plugin_ps1 bb_plugin_iso bb_plugin_photo_mode bb_plugin_debug_menu USES_TERMINAL) else() add_custom_target(smoke diff --git a/docs/plugins.md b/docs/plugins.md index 64a42549..ce4cc944 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -769,10 +769,11 @@ setup window can download the latest signed plugins from the newest release. | `quake` | Off until turned on. First person with Quake 3's movement and view: strafe jumping, bunny hopping (hold jump to keep hopping), crouching, the walls only characters meet (the invisible ones along ledges) as solid as the rest, creatures as solid as Quake 3's players, and a choice of physics - Quake 3 (VQ3, the default), CPMA, Quake 1 + CPMA, QuakeWorld and DeFRaG's. Five guns made of Bloodborne's (Cannon, Church Cannon, Piercing Rifle, Blunderbuss, Gatling Gun), always +10, firing from the view with each gun's own flash and sound: rockets and grenades at Quake 3's speeds (the grenade bouncing until its fuse), the Blunderbuss's and the Gatling Gun's own bullets, and a plasma of A Call Beyond's star or Blacksky Eye's shard; their blasts throw the player (rocket and grenade jumps, plasma climbing), and the gun that is up is drawn at the lower right with Quake 3's bob and kick. Field of view, mouse sensitivity, gravity and knockback are settings. | | `lohit` | Off until turned on. The map's lo-hit collision drawn in place of the map's own geometry (the game's own WorldHitMan debug draw, with GROUP MASK > Map off): every part loaded (Whole map, the default), or the part you stand on and the parts connected to it, one step out; Hi-hit shows the detailed collision characters and objects use instead. Each mesh is built once into a vertex buffer of its own and drawn with two draws a frame, where the game's debug draw rebuilt every triangle each frame and copied it twice (the triangles' edges the game drew over the faces, a second draw costing the GPU more than the faces, are left out). Its depth (plugin API 17) is drawn ahead of the scene's objects too, so the game's occlusion culling skips what is behind its walls, as the map's own geometry would. It is drawn inside the scene ahead of its effects so fire, sparks, blood and mist show over it, by default in the launcher's deep violet (walls) and dark blue (floors); the Colours sliders set both (0-255, as they come out on the screen) for the lo-hit and the hi-hit. Pair it with Performance mode (the setup window's main page) for the post-effects off. | | `ps1` | Off until turned on. Bloodborne PS1: the 3D drawn as the first PlayStation drew it, the HUD and the menus left sharp at the window's size: its vertices snapped to a grid of the screen as it moves (Vertex snap: 240p, the PS1's own screen, by default; 480p, 360p, 120p or off), its textures unfiltered (no bilinear, trilinear or anisotropic filtering), its colour targets 8 bits a channel (8-bit colour, as the rgba8f patch makes them; the colour grading then steps between its table's entries too, where it is smooth without it), and the 3D at its own Resolution - Native (the Resolution setting, at most the window's), 480p, 360p or 240p, each as wide as the window's shape gives - brought up to the window pixel for pixel, with no smoothing. Upscaling and the anti-aliasing stand aside while it is on. Old-hardware sound (off by default) makes everything the game plays sound like an old console's sound chip: PS1 (22050 Hz, 12 bits, muffled above 10 kHz), Crunchy (11025 Hz, 8 bits, no low-pass going in, so it aliases) or Custom (a rate and bits of its own). Each option changes in the game (F9). | +| `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, made from Nox's bbphoto: hold Cross and press L3, or press P, for a free camera over the world held still (Frozen; Cross or N lets it run two more updates), the hunter playing on (Static) or the world running (Live), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field, chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. | | `debug_menu` | Restores the developers' debug menu (`` ` `` opens it), in English or the developers' Japanese, and makes the debug font it draws with from the public-domain X11 fonts k14 and 7x14, so nothing has to be downloaded. Cheating against other players with it gets an account banned; trying it out online with friends is fine. | The gameplay plugins - all five - announce themselves in the session's ruleset, so the server keeps their players' messages, bloodstains and statistics apart from those of players without them. Lo-Hit and Bloodborne PS1 -change only the picture: they are not in the rules, and their players meet -everyone. +change only the picture, and Photo mode runs only with nobody else in the +world: they are not in the rules, and their players meet everyone. diff --git a/tools/linux_portable_build.sh b/tools/linux_portable_build.sh index 6a83bd13..ea1db3f7 100755 --- a/tools/linux_portable_build.sh +++ b/tools/linux_portable_build.sh @@ -141,6 +141,6 @@ cmake -S /src -B "$W/build" -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_EXE_LINKER_FLAGS="-static-libstdc++ -static-libgcc -fuse-ld=lld" \ -DCMAKE_MODULE_LINKER_FLAGS="-static-libgcc -fuse-ld=lld" > "$W/bbhost-configure.log" grep -E "^-- bbhost" "$W/bbhost-configure.log" || true -cmake --build "$W/build" --target bbhost bb_plugin_hello bb_plugin_randomizer bb_plugin_boss_rush bb_plugin_mutators bb_plugin_quake bb_plugin_lohit bb_plugin_ps1 bb_plugin_iso bb_plugin_debug_menu ${PORTABLE_TARGETS:-} -j"$(nproc)" > "$W/bbhost-build.log" 2>&1 \ +cmake --build "$W/build" --target bbhost bb_plugin_hello bb_plugin_randomizer bb_plugin_boss_rush bb_plugin_mutators bb_plugin_quake bb_plugin_lohit bb_plugin_ps1 bb_plugin_iso bb_plugin_photo_mode bb_plugin_debug_menu ${PORTABLE_TARGETS:-} -j"$(nproc)" > "$W/bbhost-build.log" 2>&1 \ || { grep -E "error|undefined" "$W/bbhost-build.log" | head -30; exit 1; } echo "portable build: $W/build/bbhost" diff --git a/tools/package_linux.sh b/tools/package_linux.sh index facd46e7..83638ff6 100755 --- a/tools/package_linux.sh +++ b/tools/package_linux.sh @@ -276,8 +276,10 @@ Plugins ps1 = true # the 3D drawn as the first PlayStation drew it iso = true # an isometric camera, the walls in its way cut away debug_menu = true # the developers' debug menu: \` opens it + photo_mode = false # Photo mode is on without this (P, or hold Cross and + # press L3, for a free camera); false turns it off Each one's settings go in a section of its own name ([randomizer], - [boss_rush], [mutators], [quake], [lohit], [ps1], [iso]); docs/plugins.md in the repository lists them. + [boss_rush], [mutators], [quake], [lohit], [ps1], [iso], [photo_mode]); docs/plugins.md in the repository lists them. Use the boss rush on a save of its own. Cheating against other players with the debug menu gets an account banned; trying it out online with friends is fine. diff --git a/tools/package_plugins.sh b/tools/package_plugins.sh index 0520fdb4..93b313ff 100755 --- a/tools/package_plugins.sh +++ b/tools/package_plugins.sh @@ -8,7 +8,7 @@ # secret) or RELEASE_SIGNING_KEY_FILE; without either the plugins ship unsigned. set -eu from=$1; to=$2 -plugins="randomizer boss_rush mutators quake lohit ps1 iso debug_menu" +plugins="randomizer boss_rush mutators quake lohit ps1 iso photo_mode debug_menu" mkdir -p "$to" key="" if [ -n "${RELEASE_SIGNING_KEY:-}" ]; then diff --git a/tools/win_build_msys2.sh b/tools/win_build_msys2.sh index 4b9e7806..7e24675b 100644 --- a/tools/win_build_msys2.sh +++ b/tools/win_build_msys2.sh @@ -17,6 +17,6 @@ if [ ! -f "$b/build.ninja" ]; then || { tail -40 "$b.configure.log"; exit 1; } grep -E "^-- bbhost" "$b.configure.log" || true fi -cmake --build "$b" --target bbhost bb_plugin_debug_menu bb_plugin_mutators bb_plugin_randomizer bb_plugin_boss_rush bb_plugin_quake bb_plugin_lohit bb_plugin_ps1 bb_plugin_iso -j"$(nproc)" 2>&1 | tee "$b.build.log" | grep -E "error|FAILED|warning: unused" | head -60 +cmake --build "$b" --target bbhost bb_plugin_debug_menu bb_plugin_mutators bb_plugin_randomizer bb_plugin_boss_rush bb_plugin_quake bb_plugin_lohit bb_plugin_ps1 bb_plugin_iso bb_plugin_photo_mode -j"$(nproc)" 2>&1 | tee "$b.build.log" | grep -E "error|FAILED|warning: unused" | head -60 [ "${PIPESTATUS[0]}" = 0 ] || { echo "build failed (log: $b.build.log)"; exit 1; } ls -la "$b/bbhost.exe" diff --git a/tools/win_package.sh b/tools/win_package.sh index e823177b..c044f18d 100755 --- a/tools/win_package.sh +++ b/tools/win_package.sh @@ -182,8 +182,10 @@ Plugins ps1 = true # the 3D drawn as the first PlayStation drew it iso = true # an isometric camera, the walls in its way cut away debug_menu = true # the developers' debug menu: \` opens it + photo_mode = false # Photo mode is on without this (P, or hold Cross and + # press L3, for a free camera); false turns it off Each one's settings go in a section of its own name ([randomizer], - [boss_rush], [mutators], [quake], [lohit], [ps1], [iso]); docs/plugins.md in the repository lists them. + [boss_rush], [mutators], [quake], [lohit], [ps1], [iso], [photo_mode]); docs/plugins.md in the repository lists them. Use the boss rush on a save of its own. Cheating against other players with the debug menu gets an account banned; trying it out online with friends is fine. From 8d8e04501ceab0a6fc8263183a446237cda323bb Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 03:23:47 -0800 Subject: [PATCH 012/100] options: the Debug camera is gone - it never worked in a release, and photo mode takes its place The setting switched the "Restore Debug Camera" patch manifest (patches/debug-camera.toml, its option debug.free_camera), which no package has carried, so in every release it did nothing. Photo mode (the photo_mode plugin, on by default) is the free camera now. Gone with it: - the setting (host/options.cpp) and host_settings().debug_camera; - the debug.free_camera option a manifest could follow (engine/patch_manifest.cpp), and its switch on the Patches pages of the setup window and the in-game menu (launcher.cpp, ingame_menu.cpp); - main.cpp's warning about it beside the debug menu. An options file that saved it loads as before: the key is set aside as the loader reads it (logged when it was On), and the next save leaves it out, as v0.2.9's old_hunters is. Nothing else reads by the file's version, so the version stays; the options self-test (options_file_test) now reads an old file with debug_camera = "On" and checks the line is gone after the save. The Debug Menu plugin's own camera rows are untouched. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- bbhost.example.toml | 2 +- src/engine/patch_manifest.cpp | 1 - src/host/ingame_menu.cpp | 6 ++---- src/host/launcher.cpp | 5 +---- src/host/options.cpp | 21 +++++++++++---------- src/host/settings.h | 1 - src/main.cpp | 3 --- 7 files changed, 15 insertions(+), 24 deletions(-) diff --git a/bbhost.example.toml b/bbhost.example.toml index 30e06287..ddc1f2d4 100755 --- a/bbhost.example.toml +++ b/bbhost.example.toml @@ -182,7 +182,7 @@ all_post_processors = false # [patches] # The patch manifests (patches/*.toml, a mod's /patches), by name: every # shipped one is off until true puts it in. The setup window's Patches tab -# writes these; a manifest tied to a setting (skip-intro, debug-camera, ...) +# writes these; a manifest tied to a setting (skip-intro, performance-mode, ...) # follows that setting instead. # fov-uncap = true diff --git a/src/engine/patch_manifest.cpp b/src/engine/patch_manifest.cpp index dc1a69fb..0c275d63 100644 --- a/src/engine/patch_manifest.cpp +++ b/src/engine/patch_manifest.cpp @@ -77,7 +77,6 @@ bool option_on(const std::string& option, bool* known) { if (option == "startup.skip_intro") return config().skip_intro; if (option == "loading.quick_reentry") return config().quick_reentry; if (option == "streaming.all_post_processors") return config().all_post_processors; - if (option == "debug.free_camera") return host_settings().debug_camera; // F10 > Game, read once if (option == "startup.performance_mode") return host_settings().performance_mode; // F10 > Game, read once if (option == "graphics.ssr") return host_settings().ssr; // F10 > GRAPHICS, read once if (option == "graphics.hd_motion_blur") return host_settings().hd_motion_blur; // F10 > GRAPHICS, read once diff --git a/src/host/ingame_menu.cpp b/src/host/ingame_menu.cpp index d462c9b3..1c6a4905 100644 --- a/src/host/ingame_menu.cpp +++ b/src/host/ingame_menu.cpp @@ -352,13 +352,12 @@ bool toml_bool(const char* key, bool fallback) { return v.empty() ? fallback : v == "true" || v == "1"; } -// The switch a patch follows: a setting for the four that follow one (the -// setup window's same four), [patches] for the rest. +// The switch a patch follows: a setting for those that follow one (the setup +// window's same ones), [patches] for the rest. bool switch_of(const PatchListing& p) { const std::string& o = p.option; if (o == "startup.skip_intro") return host_opt_get("skip_logos"); if (o == "startup.performance_mode") return host_opt_get("performance_mode"); - if (o == "debug.free_camera") return host_opt_get("debug_camera"); if (o == "loading.quick_reentry") return toml_bool("loading.quick_reentry", config().quick_reentry); if (o == "streaming.all_post_processors") return toml_bool("streaming.all_post_processors", config().all_post_processors); return patch_manifest_on(p.name, p.enabled); @@ -370,7 +369,6 @@ void save_switch(const PatchRow& r) { host_options_post([o = r.p.option, name = r.p.name, on = r.on] { if (o == "startup.skip_intro") return host_opt_set("skip_logos", on); if (o == "startup.performance_mode") return host_opt_set("performance_mode", on); - if (o == "debug.free_camera") return host_opt_set("debug_camera", on); std::string section = "patches", key = name; if (o == "loading.quick_reentry") section = "loading", key = "quick_reentry"; if (o == "streaming.all_post_processors") section = "streaming", key = "all_post_processors"; diff --git a/src/host/launcher.cpp b/src/host/launcher.cpp index f8869be7..db34dfbb 100644 --- a/src/host/launcher.cpp +++ b/src/host/launcher.cpp @@ -317,7 +317,6 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo bool stay_borderless = host_opt_get("stay_borderless"); // Windows' switch under the Window row, for Borderless bool skip_logos = host_opt_get("skip_logos"); bool performance_mode = host_opt_get("performance_mode"); - bool debug_camera = host_opt_get("debug_camera"); int frame_cap = host_opt_frame_cap(); // The Native frame clock (experimental, off): F10's DISPLAY row, read as the // game starts (engine/frame_rate.cpp; BBHOST_FRAME_CLOCK=0|1 wins). @@ -406,7 +405,7 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo // The Patches page: every manifest the loader would read // (engine/patch_manifest.h), each with its switch. One that follows a // setting (its `option`) shows that setting - the Game page's Skip company - // logos, the debug camera - so a patch has one switch; the rest (The Old + // logos, Performance mode - so a patch has one switch; the rest (The Old // Hunters among them) are [patches] = true or false in bbhost.toml. bool quick_reentry = cfg.quick_reentry, all_post_processors = cfg.all_post_processors; bool quick_reentry_was = quick_reentry, all_post_processors_was = all_post_processors; @@ -434,7 +433,6 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo const std::string& o = r.p.option; if (o == "startup.skip_intro") return &skip_logos; if (o == "startup.performance_mode") return &performance_mode; - if (o == "debug.free_camera") return &debug_camera; if (o == "loading.quick_reentry") return &quick_reentry; if (o == "streaming.all_post_processors") return &all_post_processors; return &r.on; @@ -611,7 +609,6 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo host_opt_set("stay_borderless", stay_borderless); host_opt_set("skip_logos", skip_logos); host_opt_set("performance_mode", performance_mode); - host_opt_set("debug_camera", debug_camera); host_opt_set_frame_cap(kCaps[cap_choice]); // unticks Custom limit, set again next host_opt_set_frame_cap_custom(cap_custom, cap_custom_fps); host_opt_set("frame_clock", frame_clock); diff --git a/src/host/options.cpp b/src/host/options.cpp index 3d102b65..1dbec64f 100755 --- a/src/host/options.cpp +++ b/src/host/options.cpp @@ -157,7 +157,6 @@ enum SettingId { kSkipLogos, kPerformanceMode, kDebugMenu, - kDebugCamera, kChangeAppearance, kRebirth, kFivePlayers, @@ -644,11 +643,6 @@ Setting g_set[kSettingCount] = { // plugin replaced (engine/debug_menu.h): no row shows it, and an "On" an // older bbhost saved turns the plugin on once (main.cpp). {"debug_menu", "Debug menu", {"Off", "On"}, 0, "Replaced by the Debug Menu plugin.", true}, - // Lance McDonald's "Restore Debug Camera" (patches/debug-camera.toml). Its - // code takes the place of a debug-only load-test step, so the debug menu's - // LOAD TEST and DUNGEON MOVEMAP TEST crash while it is on. - {"debug_camera", "Debug camera", {"Off", "On"}, 0, - "Requires a restart. Hold Interact (E) and press L3 (Left Ctrl) to cycle the free camera's modes.", true}, // The PC enhancements: additions to the game itself, each read once at // start (main.cpp hands them to config_set_enhancements), all on unless // bbhost.toml's [world] says otherwise. Off, all of them, is the game as it @@ -1393,7 +1387,6 @@ void apply(int id) { } case kSkipLogos: case kDebugMenu: - case kDebugCamera: case kChangeAppearance: case kRebirth: case kFivePlayers: @@ -1569,7 +1562,6 @@ void rebuild_settings() { h.skip_logos = on_of(kSkipLogos); h.performance_mode = on_of(kPerformanceMode); h.debug_menu = on_of(kDebugMenu); - h.debug_camera = on_of(kDebugCamera); h.change_appearance = on_of(kChangeAppearance); h.rebirth = on_of(kRebirth); h.five_players = on_of(kFivePlayers); @@ -1765,6 +1757,13 @@ void host_options_load() { continue; } if (key == "old_hunters") continue; // v0.2.9's PC enhancement: The Old Hunters is always on now + // The Debug camera: it switched a patch manifest no package carries + // (patches/debug-camera.toml), and photo mode (plugins/photo_mode) + // took its place. A saved one is set aside; the next save drops it. + if (key == "debug_camera") { + if (val == "On") host_log("options: the Debug camera is gone - photo mode is its place (P, or hold Cross and press L3); the saved On is set aside"); + continue; + } // Looked at again once the file's version is known (below). if (key == "frame_cap") frame_cap_val = val; if (key == "window_mode") window_mode_val = val; @@ -2995,14 +2994,15 @@ void host_options_save_now() { int host_options_selftest(const std::string& dir) { // An options file as v0.2.31 wrote it, Character motion at Off (then - // called Velocity map) and one other setting away from its default. + // called Velocity map) and one other setting away from its default - and + // the Debug camera on, a setting that is gone. const std::string path = dir + "/bbhost-options.toml"; std::error_code ec; std::filesystem::create_directories(dir, ec); { std::ofstream f(path, std::ios::binary | std::ios::trunc); f << "# bbhost PC port options. Written by the options screen (F10).\n[options]\nversion = \"8\"\n" - "char_motion = \"Velocity map\"\nssr_quality = \"Half\"\n"; + "char_motion = \"Velocity map\"\ndebug_camera = \"On\"\nssr_quality = \"Half\"\n"; if (!f) { std::printf("options selftest: cannot write %s\n", path.c_str()); return 1; @@ -3032,6 +3032,7 @@ int host_options_selftest(const std::string& dir) { check(text.find("\nchar_motion = \"Off\"\n") != std::string::npos, "written back as char_motion = \"Off\""); check(text.find("Velocity map") == std::string::npos, "with no Velocity map left in the file"); check(text.find("\nssr_quality = \"Half\"\n") != std::string::npos, "and ssr_quality = \"Half\" kept"); + check(text.find("debug_camera") == std::string::npos, "and the Debug camera's line, a setting that is gone, left out"); std::printf("options selftest: %s (%s)\n", failed ? "FAILED" : "passed", path.c_str()); return failed ? 1 : 0; } diff --git a/src/host/settings.h b/src/host/settings.h index d3df7051..2e9ab3a5 100644 --- a/src/host/settings.h +++ b/src/host/settings.h @@ -136,7 +136,6 @@ struct HostSettings { bool skip_logos = false; bool performance_mode = false; // the post-effects and YEBIS passes off (engine/patch_manifest.cpp) bool debug_menu = false; - bool debug_camera = false; // patches/debug-camera.toml (Lance McDonald's free camera) // The PC enhancements (also read once, through config_set_enhancements) bool change_appearance = true; bool rebirth = true; diff --git a/src/main.cpp b/src/main.cpp index 7425a4dc..76a6351c 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -1368,9 +1368,6 @@ int main(int argc, char** argv) { } #endif plugins_load(); // before the HLE table is bound: a plugin may replace an import - if (host_settings().debug_camera && plugins_active("debug_menu")) - host_log("debug camera: on with the debug menu - its LOAD TEST and DUNGEON MOVEMAP TEST crash the game " - "(the camera's code takes their step's place)"); register_hle(); ElfImage image{}; From 2ccfdfa7e645a74be678cc48c372ccbb428c11c9 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 05:20:48 -0800 Subject: [PATCH 013/100] plugins: API 29's controls are each plugin's own - pad_take and the new input_take_as hold one plugin's take beside the others', input_as gives a plugin reads of the mouse of its own, BbPad.play is the buttons as the player's bindings make them, and world_state counts the debug menu as a menu Photo mode is on by default, so it runs beside every other plugin, and two of the API's controls were one for all plugins: - input hands out the mouse's motion, presses and wheel once: photo mode, reading every frame for P, took them from the Quake plugin's mouse look. input_as (version 29) gives a plugin reads of its own, counted from its own last read; input is the read of the plugins that do not name themselves. - input_take's "a call replaces the last": photo mode ending gave back the Quake plugin's movement keys and mouse with its own. pad_take now takes the plugin's name, as the other version 29 calls do, and input_take_as is a take of one plugin's own; the takes add up, a call replaces only its plugin's last, and turning a plugin off gives its take back. input_take is the take of the plugins that do not name themselves. A key or button held as a plugin's take ends altogether still stays taken until it is let go (the Escape that ends a photo mode must not open the game's menu); one a take leaves out as it goes on taking others is the game's again at once, as it was before version 29 - the Quake plugin hands its movement keys to the game on a ladder with W held. BbPad.play is what the held buttons press in play under the player's bindings, for a plugin whose controls follow the game's own. world_state's BB_WORLD_MENU counts the developers' debug menu while it has the controls. Photo mode makes its takes and reads as itself; the API 29 probe can take keys both ways (keys, legacy) and logs the camera and the hunter's HP. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 52 ++++++--- include/bbhost_plugin.h | 63 ++++++++--- plugins/photo_mode/photo_mode.cpp | 18 ++-- src/host/plugins.cpp | 34 ++++-- src/host/window.cpp | 168 ++++++++++++++++++++++++------ src/host/window.h | 26 +++-- tests/photo_mode_plugin_test.cpp | 27 ++++- tests/plugin_abi_test.c | 6 +- tools/api29_probe.c | 44 ++++++-- 9 files changed, 339 insertions(+), 99 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index ce4cc944..571ce3f4 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -162,14 +162,19 @@ gives the Binary Ninja address. Space, 224 Left Ctrl), the mouse's buttons held and pressed since the last read, its motion in its own counts and the wheel's notches - and `playing`, 1 while the mouse turns the camera (in the world, no menu up). One reader: - the motion, presses and notches are the caller's once read. + the motion, presses and notches are the caller's once read - since v29 + `input_as` gives a plugin reads of its own, and `input` is the read of the + plugins that do not name themselves. - `input_take(scancodes, n, buttons, wheel, motion)`: while the player is playing, those keys and mouse buttons stop pressing what they are bound to, the wheel's notches stay out of the game, and the mouse stops turning the game's camera - the plugin reads them all through `input`. The menus keep every key. A call replaces the last; nothing taken gives everything back, but a key held then stays taken until it is let go (since v29), so the - game never sees it go down. + game never sees it go down, while a key a call leaves out as it goes on + taking others is the game's again at once. Since v29 this is the take of + the plugins that do not name themselves: `input_take_as` gives a plugin a + take of its own, and the takes add up. - `on_camera(fn, user)`: each frame once the game has placed the player's camera - the follow camera's update and the camera manager's blend of the cameras it owns - and before the scene is drawn from it or a scripted camera @@ -216,19 +221,42 @@ over the game. play, the sticks from -1 to 1 with the player's dead zones applied, the triggers from 0 to 1, and the presses since the last frame, latched so that a press shorter than a frame still counts - the same for every plugin that - reads in that frame. From the main thread (`on_frame`). While bbhost's own - menus, a binding being chosen or a text box have the controller, nothing - reads as held. A test's taps (`BBHOST_AUTOPRESS`, the `tap` request) count - as the controller's. -- `pad_take(buttons, axes)`: the game reads those buttons let go and those - axes (`BB_PAD_LEFT_STICK`, `BB_PAD_RIGHT_STICK`, `BB_PAD_TRIGGERS`) at rest - - whatever they are bound to in play is not pressed - while `pad` still reads - them. Keys stay `input_take`'s. A call replaces the last; `0, 0` gives - everything back, but a button held then stays taken until it is let go. + reads in that frame. `play` is the held buttons as what they press in play + under the player's bindings (Key Bindings' controller column), for controls + that follow the game's own: photo mode's L3 is whichever button presses the + game's L3. From the main thread (`on_frame`). While bbhost's own menus, a + binding being chosen or a text box have the controller, nothing reads as + held. A test's taps (`BBHOST_AUTOPRESS`, the `tap` request) count as the + controller's. +- `pad_take(name, buttons, axes)`: the game reads those buttons (the + controller's own) let go and those axes (`BB_PAD_LEFT_STICK`, + `BB_PAD_RIGHT_STICK`, `BB_PAD_TRIGGERS`) at rest - whatever they are bound + to in play is not pressed - while `pad` still reads them. Keys are + `input_take_as`'s. Each plugin's take is its own and the game loses what any + plugin takes; a call replaces the plugin's last. `0, 0` gives its buttons + back, but a button held then stays taken until it is let go, so the game + never sees it go down; a button a call leaves out as it goes on taking + others is the game's again at once. Turning the plugin off gives its take + back. +- `input_take_as(name, scancodes, n, buttons, wheel, motion)`: `input_take` + for the plugin named `name`. The plugins' takes add up, each call replacing + only that plugin's last, so a plugin giving its keys back leaves another's + taken - photo mode ending leaves the Quake plugin's movement keys and mouse + its own. `input_take` is the take of every plugin that does not name + itself. Nothing taken gives the plugin's back, but a key held then stays + taken until it is let go; a key a call leaves out as it goes on taking + others is the game's again at once (the Quake plugin's movement keys on a + ladder). Turning the plugin off gives its take back. +- `input_as(name, &in)`: `input` for the plugin named `name`: the presses, + motion and wheel since that plugin's own last read, so plugins reading every + frame never take them from one another - photo mode looking for P each frame + leaves the Quake plugin's mouse look whole. `input`'s are the read of every + plugin that does not name itself; a plugin's first read starts its count. - `world_state(&state)`: `BbWorldState` (set `state.size` first). `flags`: `BB_WORLD_IN` (a world is loaded and running, or held), `BB_WORLD_LOADING`, `BB_WORLD_CUTSCENE` (one plays or is queued), `BB_WORLD_MENU` (one of the - game's menus or dialogs has the controls), `BB_WORLD_PAUSED` (a plugin holds + game's menus or dialogs has the controls, its debug menu included), + `BB_WORLD_PAUSED` (a plugin holds the world), `BB_WORLD_VISITING` (the player is in another player's world or on the way there) and `BB_WORLD_OPEN` (the world's own session is up: players matched to it, or in it - a bell rung alone does not open it; the diff --git a/include/bbhost_plugin.h b/include/bbhost_plugin.h index 77995cb1..540229ef 100644 --- a/include/bbhost_plugin.h +++ b/include/bbhost_plugin.h @@ -392,13 +392,15 @@ typedef struct BbPad { int32_t connected; /* 1 while a controller is there */ float lx, ly, rx, ry; /* the sticks, -1..1, right and down positive, the player's dead zones applied */ float l2, r2; /* the triggers' travel, 0..1 */ + uint32_t play; /* BB_PAD_* the held buttons press in play under the player's bindings (Key Bindings' + controller column): a plugin whose controls follow the game's own reads these */ } BbPad; /* Version 29: what the world is doing and who else is in it (world_state). */ #define BB_WORLD_IN 1u /* a world is loaded and running - or held by world_pause */ #define BB_WORLD_LOADING 2u /* a loading screen is up */ #define BB_WORLD_CUTSCENE 4u /* a cutscene plays, or one is queued */ -#define BB_WORLD_MENU 8u /* one of the game's menus or dialogs has the controls */ +#define BB_WORLD_MENU 8u /* one of the game's menus or dialogs has the controls (its debug menu too) */ #define BB_WORLD_PAUSED 16u /* world_pause holds the world (any plugin's) */ #define BB_WORLD_VISITING 32u /* the player is in another player's world, or on the way there */ #define BB_WORLD_OPEN 64u /* the world's own session is up: players matched to it, or in it */ @@ -702,8 +704,10 @@ typedef struct BbHostApi { /* Version 13: controls and a view of a plugin's own (a first-person mode). */ /* What the keyboard and mouse hold now, and the presses, motion and wheel - * since the last read (one reader: two plugins reading would share them). - * Main thread. 0 on success; 1 without a window (headless). */ + * since the last read (one reader: two plugins reading would share them - + * since version 29 input_as gives a plugin reads of its own, and this is + * the read of the plugins that do not name themselves). Main thread. 0 on + * success; 1 without a window (headless). */ int (*input)(BbInput* out); /* Takes inputs from the game while the player is playing * (BbInput.playing): the keys listed (scancodes) no longer press what they @@ -712,7 +716,11 @@ typedef struct BbHostApi { * nonzero keeps the mouse from turning the game's camera. The menus keep * every key. A call replaces the last; nothing taken gives everything * back - a key held then stays taken until it is let go (version 29), so - * the game never sees it go down. Any thread. 0 on success. */ + * the game never sees it go down, while a key a call leaves out as it + * goes on taking others is the game's again at once. Since version 29 this + * is the take of the plugins that do not name themselves: input_take_as's + * named takes add to it, and nothing a plugin does here gives theirs + * back. Any thread. 0 on success. */ int (*input_take)(const uint16_t* scancodes, size_t n, uint32_t buttons, int wheel, int motion); /* fn(cam, user) each frame once the game has placed the player's camera * (its follow camera and the blend of the cameras it owns) and before @@ -1016,19 +1024,26 @@ typedef struct BbHostApi { int (*world_step)(const char* name, uint32_t updates); /* The controller, into *out (set out->size first): its own buttons and * sticks - the dead zones applied, the player's key bindings not - pressed - * or not, as the game would read them before pad_take takes any; a test's - * taps (BBHOST_AUTOPRESS, the "tap" request) count as the controller's. The - * presses are the frame's: every plugin reading in it sees the same. While - * bbhost's own menus or a text box have the controller it reads nothing - * held. Main thread (on_frame). 0 on success; 1 for a size under 8. */ + * or not, as the game would read them before pad_take takes any, and + * (BbPad.play) what the held buttons press in play under the player's + * bindings; a test's taps (BBHOST_AUTOPRESS, the "tap" request) count as + * the controller's. The presses are the frame's: every plugin reading in + * it sees the same. While bbhost's own menus or a text box have the + * controller it reads nothing held. Main thread (on_frame). 0 on success; + * 1 for a size under 8. */ int (*pad)(BbPad* out); - /* Takes the controller's buttons (BB_PAD_*) and axes (BB_PAD_LEFT_STICK, - * BB_PAD_RIGHT_STICK, BB_PAD_TRIGGERS) from the game: the game reads them - * let go and at rest - whatever they are bound to in play is not pressed - - * while pad still reads them. Keys are input_take's. A call replaces the last; - * 0, 0 gives everything back - a button held then stays taken until it is - * let go, so the game never sees it go down. Any thread. 0 on success. */ - int (*pad_take)(uint32_t buttons, uint32_t axes); + /* Takes the controller's buttons (BB_PAD_*, the controller's own) and axes + * (BB_PAD_LEFT_STICK, BB_PAD_RIGHT_STICK, BB_PAD_TRIGGERS) from the game + * for the plugin named `name`: the game reads them let go and at rest - + * whatever they are bound to in play is not pressed - while pad still + * reads them. Keys are input_take_as's. Each plugin's take is its own and + * the game loses what any plugin takes; a call replaces the plugin's last. + * 0, 0 gives its buttons back - one held then stays taken until it is let + * go, so the game never sees it go down - while a button a call leaves + * out as it goes on taking others is the game's again at once. The plugin + * being turned off gives its take back. Any thread. 0 on success; 1 for + * an unknown plugin. */ + int (*pad_take)(const char* name, uint32_t buttons, uint32_t axes); /* What the world is doing and who else is in it (BbWorldState), into *out * (set out->size first). Main thread. 0 on success; 1 for another eboot or * a size under 8. */ @@ -1079,6 +1094,22 @@ typedef struct BbHostApi { * called with it from the next frame. Any thread. 0 on success; 1 for an * unknown plugin or option. */ int (*option_set)(const char* name, const char* key, const char* value); + /* input_take for the plugin named `name`: the plugins' takes add up, each + * call replacing only that plugin's last, so one plugin giving its keys + * back leaves another's taken (input_take's own is the take of every + * plugin that does not name itself). Nothing taken gives the plugin's + * back - a key held then stays taken until it is let go - while a key a + * call leaves out as it goes on taking others is the game's again at + * once. The plugin being turned off gives its take back. Any thread. 0 on + * success; 1 for an unknown plugin. */ + int (*input_take_as)(const char* name, const uint16_t* scancodes, size_t n, uint32_t buttons, int wheel, int motion); + /* input for the plugin named `name`: the presses, motion and wheel since + * that plugin's own last read, so plugins reading each frame never take + * them from one another (input's own are the read of every plugin that + * does not name itself). The first read starts its count. Main thread or + * the game's, as input. 0 on success; 1 for an unknown plugin or without + * a window (headless). */ + int (*input_as)(const char* name, BbInput* out); } BbHostApi; #define BB_SNAP_PIXELS 0xffffffffu /* version 18: scene_snap's grid the 3D's own pixels */ diff --git a/plugins/photo_mode/photo_mode.cpp b/plugins/photo_mode/photo_mode.cpp index fd387852..40a18ff8 100644 --- a/plugins/photo_mode/photo_mode.cpp +++ b/plugins/photo_mode/photo_mode.cpp @@ -10,7 +10,7 @@ // controller and the keys are the game's again, but for photo mode's // own. // Live the camera flies while the world runs; the hunter stands, since -// the camera has the controls (pad_take, input_take). +// the camera has the controls (pad_take, input_take_as). // The left stick (WASD) moves the camera the way it looks, the right stick (the // mouse) turns it, L2 and R2 (Left Ctrl and Space) take it down and up, L1 and // R1 (the right and left mouse buttons) make it slower and faster. The view is @@ -201,8 +201,8 @@ void on_view(BbCamera* view, void*) { // What photo mode takes from the game in each mode. void take_controls() { if (!st.on) { - api->pad_take(0, 0); - api->input_take(nullptr, 0, 0, 0, 0); + api->pad_take(kName, 0, 0); + api->input_take_as(kName, nullptr, 0, 0, 0, 0); return; } // Photo mode's own keys always (Escape ends it, so the game's menu does not @@ -215,11 +215,11 @@ void take_controls() { // The hunter plays: the controller is the game's but for Options (the // game's menu would open over the picture), the touchpad's and R3, // which shows the panel. - api->pad_take(BB_PAD_OPTIONS | BB_PAD_TOUCHPAD | BB_PAD_R3, 0); - api->input_take(own, sizeof(own) / sizeof(own[0]), 0, 0, 0); + api->pad_take(kName, BB_PAD_OPTIONS | BB_PAD_TOUCHPAD | BB_PAD_R3, 0); + api->input_take_as(kName, own, sizeof(own) / sizeof(own[0]), 0, 0, 0); } else { - api->pad_take(0xffffffffu, BB_PAD_LEFT_STICK | BB_PAD_RIGHT_STICK | BB_PAD_TRIGGERS); - api->input_take(flying, sizeof(flying) / sizeof(flying[0]), kMouseLeft | kMouseRight, 1, 1); + api->pad_take(kName, 0xffffffffu, BB_PAD_LEFT_STICK | BB_PAD_RIGHT_STICK | BB_PAD_TRIGGERS); + api->input_take_as(kName, flying, sizeof(flying) / sizeof(flying[0]), kMouseLeft | kMouseRight, 1, 1); } } @@ -425,7 +425,7 @@ void on_frame(void*) { pad.size = sizeof(pad); api->pad(&pad); BbInput in{}; - const bool have_keys = api->input(&in) == 0; + const bool have_keys = api->input_as(kName, &in) == 0; // its own reads: never another plugin's motion // The keyboard's presses: on the frame a key goes down. static std::uint8_t prev_keys[512]; auto key_down = [&](std::uint16_t k) { return have_keys && in.key[k] && !prev_keys[k]; }; @@ -651,7 +651,7 @@ extern "C" BB_PLUGIN_EXPORT const BbPluginInfo bb_plugin_info = { }; extern "C" BB_PLUGIN_EXPORT int bb_plugin_image(const BbHostApi* host) { - if (host->version < 29 || host->size < offsetof(BbHostApi, option_set) + sizeof(void*)) { + if (host->version < 29 || host->size < offsetof(BbHostApi, input_as) + sizeof(void*)) { host->log("photo mode: needs plugin API 29; this host has %u", host->version); return 1; } diff --git a/src/host/plugins.cpp b/src/host/plugins.cpp index 675bf2b5..8dd30d6c 100644 --- a/src/host/plugins.cpp +++ b/src/host/plugins.cpp @@ -11,6 +11,7 @@ #include "engine/addr.h" #include "engine/camera.h" #include "engine/camera_target.h" +#include "engine/debug_menu.h" #include "engine/frame_rate.h" #include "engine/graphics_patch.h" #include "engine/gx_state.h" @@ -1095,10 +1096,9 @@ int api_on_world_rules(const char* name, void (*fn)(const char*, void*), void* u } // Version 13: controls and a view of a plugin's own. -int api_input(BbInput* out) { - if (!out) return 1; +int input_read(const char* reader, BbInput* out) { PluginInput in; - const bool ok = host_plugin_input(in); + const bool ok = host_plugin_input(reader, in); std::memcpy(out->key, in.key, sizeof(out->key)); out->buttons = in.buttons; out->pressed = in.pressed; @@ -1109,9 +1109,13 @@ int api_input(BbInput* out) { return ok ? 0 : 1; } +// The read of the plugins that do not name themselves (input_as names one). +int api_input(BbInput* out) { return out ? input_read("", out) : 1; } + +// The take of the plugins that do not name themselves (input_take_as names one). int api_input_take(const std::uint16_t* scancodes, std::size_t n, std::uint32_t buttons, int wheel, int motion) { if (n && !scancodes) return 1; - host_plugin_input_take(scancodes, n, buttons, wheel != 0, motion != 0); + host_plugin_input_take("", scancodes, n, buttons, wheel != 0, motion != 0); return 0; } @@ -1509,6 +1513,7 @@ int api_pad(BbPad* out) { BbPad o{}; o.buttons = pad.buttons; o.pressed = pad.pressed; + o.play = pad.play; o.connected = pad.connected ? 1 : 0; o.lx = axis(pad.lx); o.ly = axis(pad.ly); @@ -1521,14 +1526,26 @@ int api_pad(BbPad* out) { return 0; } -int api_pad_take(std::uint32_t buttons, std::uint32_t axes) { +int api_pad_take(const char* name, std::uint32_t buttons, std::uint32_t axes) { static_assert(BB_PAD_LEFT_STICK == kPadTakeLeftStick && BB_PAD_RIGHT_STICK == kPadTakeRightStick && BB_PAD_TRIGGERS == kPadTakeTriggers, "pad_take's axes"); - host_plugin_pad_take(buttons, axes & (BB_PAD_LEFT_STICK | BB_PAD_RIGHT_STICK | BB_PAD_TRIGGERS)); + if (!plugin_named(name)) return 1; + host_plugin_pad_take(name, buttons, axes & (BB_PAD_LEFT_STICK | BB_PAD_RIGHT_STICK | BB_PAD_TRIGGERS)); return 0; } +int api_input_take_as(const char* name, const std::uint16_t* scancodes, std::size_t n, std::uint32_t buttons, int wheel, int motion) { + if ((n && !scancodes) || !plugin_named(name)) return 1; + host_plugin_input_take(name, scancodes, n, buttons, wheel != 0, motion != 0); + return 0; +} + +int api_input_as(const char* name, BbInput* out) { + if (!out || !plugin_named(name)) return 1; + return input_read(name, out); +} + // Other players' characters in this world: the player set's entries after the // main player's (WorldChrMan +0x30: the local player, then up to four remote // ones, bbhost/engine/sprj/world_chr_man.hpp), each a character still there. @@ -1696,7 +1713,7 @@ int api_world_state(BbWorldState* out) { if (loading_in_world()) w.flags |= BB_WORLD_IN; if (loading_screen_up()) w.flags |= BB_WORLD_LOADING; if (loading_cutscene()) w.flags |= BB_WORLD_CUTSCENE; - if (menu_pointer_in_menu()) w.flags |= BB_WORLD_MENU; + if (menu_pointer_in_menu() || debug_menu_open()) w.flags |= BB_WORLD_MENU; if (world_pause_held()) w.flags |= BB_WORLD_PAUSED; w.others = other_players(); // Who is on the way: the matchmaking room's other members - the earliest a @@ -1756,7 +1773,7 @@ const BbHostApi g_api = { &api_shader_override, &api_shader_folder, &api_shader_state, &api_shader_source, &api_shader_data, &api_on_camera_target, &api_world_pause, &api_world_step, &api_pad, &api_pad_take, &api_world_state, &api_hud_hide, &api_post_look, - &api_panel_show, &api_panel_state, &api_option_set, + &api_panel_show, &api_panel_state, &api_option_set, &api_input_take_as, &api_input_as, }; std::string read_file(const std::string& path) { @@ -2069,6 +2086,7 @@ void plugins_frame() { scene_look_drop_hud(r.name.c_str()); // and on the HUD drop_look(r.name); // and its look plugin_panel_hide(r.name); // and its panel + host_plugin_take_drop(r.name.c_str()); // and the controls it takes } host_log("plugin: %s turned %s", r.name.c_str(), on ? "on" : "off"); if (render_hooks_plugin_on(r.name, on)) republish_settings(); diff --git a/src/host/window.cpp b/src/host/window.cpp index 98dd78d8..72485c83 100755 --- a/src/host/window.cpp +++ b/src/host/window.cpp @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include @@ -97,8 +98,23 @@ std::atomic g_mouse_relative_applied{false}; // keys, mouse buttons, wheel and motion it takes from the game while the // mouse turns the camera, and its own reads of them - the keys as the last pad // update saw them, and the motion, wheel and presses since it last read. +// Each plugin's take is its own (host_plugin_input_take's owner, "" for the +// plugins that do not name themselves) and the game loses what any of them +// takes: g_take_key and the atomics below are the takes added up. +struct TakeSlot { + std::vector keys; + std::uint32_t mouse = 0; + bool wheel = false, motion = false; + std::uint32_t pad = 0, axes = 0; // plugin API 29's pad_take + bool empty() const { return keys.empty() && !mouse && !wheel && !motion && !pad && !axes; } +}; std::mutex g_take_mu; +std::map g_take_slots; // under g_take_mu: by owner bool g_take_key[512] = {}; // under g_take_mu +// Keys a take left out while it goes on taking others (under g_take_mu): given +// back at once, held or not - Quake's movement keys on a ladder. A key held as +// a take ends altogether stays taken until let go instead. +bool g_take_give_key[512] = {}; std::uint8_t g_plugin_keys[512] = {}; // under g_take_mu std::atomic g_take_any_key{false}; std::atomic g_take_buttons{0}; @@ -111,14 +127,24 @@ PluginPad g_ppad_test; // under g_ppad_mu: a test's taps at the las std::uint32_t g_ppad_prev = 0; // under g_ppad_mu: what was held, for the presses std::uint32_t g_ppad_pressed = 0; // under g_ppad_mu: went down since the frame began std::uint32_t g_ppad_frame = 0; // under g_ppad_mu: the frame's presses (host_plugin_pad_frame) -std::atomic g_ppad_take_buttons{0}, g_ppad_take_axes{0}; +std::atomic g_ppad_take_buttons{0}, g_ppad_take_axes{0}; // the owners' takes added up +// Buttons a take left out while it goes on taking others: given back at once +// (g_take_give_key's for the controller), at the next pad update. +std::atomic g_ppad_give{0}; static void ppad_latch_locked() { const std::uint32_t held = g_ppad.buttons | g_ppad_test.buttons; g_ppad_pressed |= held & ~g_ppad_prev; g_ppad_prev = held; } -float g_plugin_dx = 0.0f, g_plugin_dy = 0.0f, g_plugin_wheel = 0.0f; // under g_mouse_mu -std::uint32_t g_plugin_pressed = 0; // under g_mouse_mu +// The plugins' reads of the mouse (plugin API 13's input, 29's input_as): each +// reader's presses, motion and wheel since its own last read - "" input's, the +// plugins that do not name themselves - so one reading never takes them from +// another (photo mode's every frame from the Quake plugin's mouse look). +struct PluginReads { + float dx = 0.0f, dy = 0.0f, wheel = 0.0f; + std::uint32_t pressed = 0; +}; +std::map g_plugin_reads = {{"", PluginReads{}}}; // under g_mouse_mu // BBHOST_IME_TEST: opens the text box once at startup and again on F11. std::atomic g_ime_test_reopen{true}; @@ -1812,9 +1838,11 @@ void update_pad() { // open the game's menu). static std::uint32_t panel_held_pad = 0; // The same for a button a plugin takes (pad_take): one held as the take - // ends - the chord or Cross that ends a photo mode - stays the plugin's - // until let go, so the game never sees it go down. + // ends - the L3 or Cross that ends a photo mode - stays the plugin's until + // let go, so the game never sees it go down. One a take leaves out while + // it goes on taking others is the game's at once (g_ppad_give). static std::uint32_t taken_held_pad = 0; + taken_held_pad &= ~g_ppad_give.exchange(0, std::memory_order_relaxed); std::uint32_t held_now = 0; const std::uint32_t take_axes = g_ppad_take_axes.load(std::memory_order_relaxed); for (SDL_Gamepad* g_gamepad : g_pads) { @@ -1871,6 +1899,7 @@ void update_pad() { continue; } ctl.buttons |= bit; + ctl.play |= host_pad_play_bit(i); if ((take_buttons | taken_held_pad) & bit) held[i] = false; } for (int i = 0; i < kPadInputs; ++i) { @@ -1928,7 +1957,10 @@ void update_pad() { // where the keyboard's Gestures key puts one (bindings.cpp), since the game // reads the side from the finger. Its own stable id, so holding it is one // touch and it can be held with the key. - if (back_held) ctl.buttons |= kTouchPad; + if (back_held) { + ctl.buttons |= kTouchPad; + ctl.play |= kTouchPad; + } if (back_held && !(take_buttons & kTouchPad)) { p.buttons |= kTouchPad; if (p.touch_count < 2) { @@ -1985,14 +2017,18 @@ void update_pad() { const bool take = g_take_any_key.load(std::memory_order_relaxed) && (g_mouse_relative_applied.load(std::memory_order_relaxed) || panel); // A key a plugin takes stays its own until let go, even once the take - // ends (the Escape that ends a photo mode must not open the game's menu). + // ends (the Escape that ends a photo mode must not open the game's + // menu) - but for one a take leaves out while it goes on taking + // others, which is the game's at once (g_take_give_key). static bool taken_held_key[SDL_SCANCODE_COUNT] = {}; bool taken_keys = false; { std::lock_guard lock(g_take_mu); for (int i = 0; i < SDL_SCANCODE_COUNT; ++i) { const bool down_now = i < nkeys && keys[i]; - taken_held_key[i] = down_now && ((take && i < 512 && g_take_key[i]) || taken_held_key[i]); + const bool give = i < 512 && g_take_give_key[i]; + if (i < 512) g_take_give_key[i] = false; + taken_held_key[i] = down_now && ((take && i < 512 && g_take_key[i]) || (taken_held_key[i] && !give)); taken_keys = taken_keys || taken_held_key[i]; } } @@ -2521,8 +2557,10 @@ bool host_window_pump() { if (!g_take_motion.load(std::memory_order_relaxed)) { mouse_camera::add(mouse_camera::g_counts, e.motion.xrel, e.motion.yrel); } - g_plugin_dx += e.motion.xrel; - g_plugin_dy += e.motion.yrel; + for (auto& [reader, r] : g_plugin_reads) { + r.dx += e.motion.xrel; + r.dy += e.motion.yrel; + } } if (!g_mouse_relative.load(std::memory_order_relaxed)) { mouse_moved_locked(e.motion.x, e.motion.y); @@ -2551,7 +2589,7 @@ bool host_window_pump() { if (e.type == SDL_EVENT_MOUSE_BUTTON_DOWN) { g_mouse.buttons |= bit; g_mouse.pressed |= bit; - g_plugin_pressed |= bit; + for (auto& [reader, r] : g_plugin_reads) r.pressed |= bit; } else { g_mouse.buttons &= ~bit; g_mouse.released |= bit; @@ -2569,7 +2607,7 @@ bool host_window_pump() { } std::lock_guard lock(g_mouse_mu); g_mouse.wheel += e.wheel.y; - g_plugin_wheel += e.wheel.y; + for (auto& [reader, r] : g_plugin_reads) r.wheel += e.wheel.y; g_mouse_last_motion = std::chrono::steady_clock::now(); break; } @@ -3230,20 +3268,21 @@ MouseState host_mouse_state() { return m; } -bool host_plugin_input(PluginInput& out) { +bool host_plugin_input(const char* reader, PluginInput& out) { { std::lock_guard lock(g_take_mu); std::memcpy(out.key, g_plugin_keys, sizeof(out.key)); } std::lock_guard lock(g_mouse_mu); + // A reader's first read starts its own count of what comes after. + PluginReads& r = g_plugin_reads[reader ? reader : ""]; out.buttons = g_mouse.buttons; - out.pressed = g_plugin_pressed; - out.dx = g_plugin_dx; - out.dy = g_plugin_dy; - out.wheel = g_plugin_wheel; + out.pressed = r.pressed; + out.dx = r.dx; + out.dy = r.dy; + out.wheel = r.wheel; out.playing = g_mouse_relative_applied.load(std::memory_order_relaxed); - g_plugin_pressed = 0; - g_plugin_dx = g_plugin_dy = g_plugin_wheel = 0.0f; + r = PluginReads{}; #if defined(BBHOST_HAVE_SDL3) return g_window != nullptr; #else @@ -3251,18 +3290,68 @@ bool host_plugin_input(PluginInput& out) { #endif } -void host_plugin_input_take(const std::uint16_t* scancodes, std::size_t n, std::uint32_t buttons, bool wheel, bool motion) { - { - std::lock_guard lock(g_take_mu); - std::memset(g_take_key, 0, sizeof(g_take_key)); - for (std::size_t i = 0; i < n; ++i) { - if (scancodes[i] < 512) g_take_key[scancodes[i]] = true; - } - g_take_any_key.store(n > 0, std::memory_order_relaxed); - } - g_take_buttons.store(buttons, std::memory_order_relaxed); +namespace { +// The owners' takes added up (under g_take_mu). +void take_sum_locked() { + std::memset(g_take_key, 0, sizeof(g_take_key)); + bool any = false, wheel = false, motion = false; + std::uint32_t mouse = 0, pad = 0, axes = 0; + for (const auto& [owner, s] : g_take_slots) { + for (const std::uint16_t k : s.keys) { + if (k >= 512) continue; + g_take_key[k] = true; + g_take_give_key[k] = false; // taken (again): nothing to give back + any = true; + } + mouse |= s.mouse; + wheel = wheel || s.wheel; + motion = motion || s.motion; + pad |= s.pad; + axes |= s.axes; + } + g_take_any_key.store(any, std::memory_order_relaxed); + g_take_buttons.store(mouse, std::memory_order_relaxed); g_take_wheel.store(wheel, std::memory_order_relaxed); g_take_motion.store(motion, std::memory_order_relaxed); + const std::uint32_t was_b = g_ppad_take_buttons.exchange(pad, std::memory_order_relaxed); + const std::uint32_t was_a = g_ppad_take_axes.exchange(axes, std::memory_order_relaxed); + if (was_b != pad || was_a != axes) + host_log("pad: the plugins take buttons %05x and axes %x from the game (was %05x, %x)", pad, axes, was_b, was_a); +} + +void take_settle_locked(const std::string& owner) { + const auto it = g_take_slots.find(owner); + if (it != g_take_slots.end() && it->second.empty()) g_take_slots.erase(it); + take_sum_locked(); +} +} // namespace + +void host_plugin_input_take(const char* owner, const std::uint16_t* scancodes, std::size_t n, std::uint32_t buttons, bool wheel, + bool motion) { + const std::string who = owner ? owner : ""; + std::lock_guard lock(g_take_mu); + TakeSlot& s = g_take_slots[who]; + std::vector keys; + for (std::size_t i = 0; i < n; ++i) { + if (scancodes[i] < 512) keys.push_back(scancodes[i]); + } + // A key left out of a take that goes on is the game's again at once; one + // held as the take ends altogether stays taken until let go. + if (!keys.empty()) { + for (const std::uint16_t k : s.keys) { + if (std::find(keys.begin(), keys.end(), k) == keys.end()) g_take_give_key[k] = true; + } + } + const bool changed = s.keys != keys || s.mouse != buttons || s.wheel != wheel || s.motion != motion; + s.keys = std::move(keys); + s.mouse = buttons; + s.wheel = wheel; + s.motion = motion; + if (changed) { + host_log("input: %s takes %zu key(s), mouse buttons %x%s%s", who.empty() ? "a plugin" : who.c_str(), s.keys.size(), buttons, + wheel ? ", the wheel" : "", motion ? ", the motion" : ""); + } + take_settle_locked(who); } void host_plugin_pad(PluginPad& out) { @@ -3272,6 +3361,7 @@ void host_plugin_pad(PluginPad& out) { // A test's tap holds a stick over for the controller it stands for. const auto pick = [](std::uint8_t pad, std::uint8_t tap) { return tap != kStickRest ? tap : pad; }; out.buttons = a.buttons | t.buttons; + out.play = a.play | t.buttons; // a test's taps are the game's buttons already out.lx = pick(a.lx, t.lx); out.ly = pick(a.ly, t.ly); out.rx = pick(a.rx, t.rx); @@ -3288,11 +3378,21 @@ void host_plugin_pad_frame() { g_ppad_pressed = 0; } -void host_plugin_pad_take(std::uint32_t buttons, std::uint32_t axes) { - const std::uint32_t was_b = g_ppad_take_buttons.exchange(buttons, std::memory_order_relaxed); - const std::uint32_t was_a = g_ppad_take_axes.exchange(axes, std::memory_order_relaxed); - if (was_b != buttons || was_a != axes) - host_log("pad: a plugin takes buttons %05x and axes %x from the game (was %05x, %x)", buttons, axes, was_b, was_a); +void host_plugin_pad_take(const char* owner, std::uint32_t buttons, std::uint32_t axes) { + const std::string who = owner ? owner : ""; + std::lock_guard lock(g_take_mu); + TakeSlot& s = g_take_slots[who]; + // As the keys: left out of a take that goes on, given back at once. + if (buttons) g_ppad_give.fetch_or(s.pad & ~buttons, std::memory_order_relaxed); + s.pad = buttons; + s.axes = axes; + take_settle_locked(who); +} + +void host_plugin_take_drop(const char* owner) { + const std::string who = owner ? owner : ""; + std::lock_guard lock(g_take_mu); + if (g_take_slots.erase(who)) take_sum_locked(); } std::uint32_t host_plugin_pad_taken_buttons() { return g_ppad_take_buttons.load(std::memory_order_relaxed); } diff --git a/src/host/window.h b/src/host/window.h index 01f92b5c..fbe077c8 100755 --- a/src/host/window.h +++ b/src/host/window.h @@ -127,13 +127,20 @@ struct PluginInput { float dx = 0.0f, dy = 0.0f, wheel = 0.0f; bool playing = false; }; -bool host_plugin_input(PluginInput& out); +// Each reader's presses, motion and wheel are its own: since its own last read +// ("" for API 13's input, the plugins that do not name themselves). +bool host_plugin_input(const char* reader, PluginInput& out); // What a plugin takes from the game while the mouse turns the camera: these // keys no longer press what they are bound to, nor these mouse buttons (bit 0 // left, 1 right, 2 middle, 3 back, 4 forward), the wheel's notches when -// `wheel`, and the mouse no longer turns the game's camera when `motion`. A -// call replaces the last; nothing taken gives everything back. -void host_plugin_input_take(const std::uint16_t* scancodes, std::size_t n, std::uint32_t buttons, bool wheel, bool motion); +// `wheel`, and the mouse no longer turns the game's camera when `motion`. +// Each owner's take is its own - "" for the plugins that do not name +// themselves (API 13's input_take) - and the game loses what any takes; a +// call replaces its owner's last. Nothing taken gives the owner's back, but a +// key held then stays taken until it is let go; a key left out of a take that +// goes on is the game's again at once. +void host_plugin_input_take(const char* owner, const std::uint16_t* scancodes, std::size_t n, std::uint32_t buttons, bool wheel, + bool motion); // The controller as a plugin reads it (plugin API 29's pad): its own buttons // (BB_PAD_* bits - the menus' bits, whatever the bindings make of them in // play), sticks and triggers as the last pad update saw them, before @@ -143,6 +150,7 @@ void host_plugin_input_take(const std::uint16_t* scancodes, std::size_t n, std:: // (host_plugin_pad_test). struct PluginPad { std::uint32_t buttons = 0, pressed = 0; + std::uint32_t play = 0; // the buttons held as what each presses in play (the player's bindings) std::uint8_t lx = kStickRest, ly = kStickRest, rx = kStickRest, ry = kStickRest; std::uint8_t l2 = 0, r2 = 0; bool connected = false; @@ -153,9 +161,15 @@ void host_plugin_pad(PluginPad& out); void host_plugin_pad_frame(); // What a plugin takes from the game (plugin API 29's pad_take): those buttons // read let go, those sticks centred and the triggers at rest - the press -// they are bound to in play never made. A call replaces the last. +// they are bound to in play never made. Owners as host_plugin_input_take's: +// the takes add up, a call replaces its owner's last, a button held as an +// owner's take ends stays taken until let go, one left out of a take that +// goes on is the game's at once. constexpr std::uint32_t kPadTakeLeftStick = 1, kPadTakeRightStick = 2, kPadTakeTriggers = 4; -void host_plugin_pad_take(std::uint32_t buttons, std::uint32_t axes); +void host_plugin_pad_take(const char* owner, std::uint32_t buttons, std::uint32_t axes); +// Everything an owner takes - keys, mouse, controller - given back (a plugin +// switched off); a key or button held then stays taken until let go. +void host_plugin_take_drop(const char* owner); std::uint32_t host_plugin_pad_taken_buttons(); std::uint32_t host_plugin_pad_taken_axes(); // A test's presses (the pad read's taps and BBHOST_AUTOPRESS, which stand for diff --git a/tests/photo_mode_plugin_test.cpp b/tests/photo_mode_plugin_test.cpp index 2b6045fa..c6998fde 100644 --- a/tests/photo_mode_plugin_test.cpp +++ b/tests/photo_mode_plugin_test.cpp @@ -8,7 +8,8 @@ // Cross (once let go) and N advance a held world by two updates; Static gives // the controls back but Options, the touchpad and R3, Live flies over a // running world; it ends on Escape, P and the chord, and at a loading screen, a -// cutscene or a menu, giving everything back; it does not start, and it ends, +// cutscene or a menu, giving everything back; its takes and reads of the +// keyboard and mouse are its own (input_take_as, input_as); it does not start, and it ends, // with another player in the world or on the way, or in another's world; the // HUD option shows the HUD; its panel opens with it, R3 hides and shows it, // and the panel's rows go over the area's look while it runs and nowhere @@ -61,6 +62,8 @@ struct Host { int paused = 0, hud_hidden = 0, steps = 0; std::uint32_t take_buttons = 0, take_axes = 0; std::vector taken_keys; + int unnamed_takes = 0; // input_take calls: photo mode names its takes (input_take_as) + int unnamed_reads = 0; // input calls: photo mode reads as itself (input_as) std::uint32_t taken_mouse = 0; int taken_motion = 0; // What the host reports. @@ -132,19 +135,30 @@ int fake_pad(BbPad* out) { H.pad.pressed = 0; // the frame's presses, read once a frame return 0; } -int fake_pad_take(std::uint32_t buttons, std::uint32_t axes) { +int fake_pad_take(const char* name, std::uint32_t buttons, std::uint32_t axes) { + CHECK(std::strcmp(name, "photo_mode") == 0); H.take_buttons = buttons; H.take_axes = axes; ++H.calls; return 0; } -int fake_input(BbInput* out) { +int fake_input(BbInput*) { + ++H.unnamed_reads; + return 1; +} +int fake_input_as(const char* name, BbInput* out) { + CHECK(std::strcmp(name, "photo_mode") == 0); *out = H.input; H.input.pressed = 0; H.input.dx = H.input.dy = 0; return 0; } -int fake_input_take(const std::uint16_t* sc, std::size_t n, std::uint32_t buttons, int, int motion) { +int fake_input_take(const std::uint16_t*, std::size_t, std::uint32_t, int, int) { + ++H.unnamed_takes; + return 0; +} +int fake_input_take_as(const char* name, const std::uint16_t* sc, std::size_t n, std::uint32_t buttons, int, int motion) { + CHECK(std::strcmp(name, "photo_mode") == 0); H.taken_keys.assign(sc, sc + n); H.taken_mouse = buttons; H.taken_motion = motion; @@ -257,6 +271,8 @@ BbHostApi make_api(std::uint32_t version) { api.panel_show = &fake_panel_show; api.panel_state = &fake_panel_state; api.option_set = &fake_option_set; + api.input_take_as = &fake_input_take_as; + api.input_as = &fake_input_as; } else { api.size = static_cast(offsetof(BbHostApi, on_camera_target) + sizeof(void*)); } @@ -546,6 +562,9 @@ int main(int argc, char** argv) { CHECK(H.paused == 0); H.config["photo_mode.hud"] = "true"; + CHECK(H.unnamed_takes == 0); // every take its own (input_take_as), never another plugin's + CHECK(H.unnamed_reads == 0); // and every read (input_as): the mouse's motion is never taken from another + if (g_failures) { std::fprintf(stderr, "photo_mode_plugin_test: %d failure(s)\n", g_failures); for (const std::string& l : H.log) std::fprintf(stderr, " log: %s\n", l.c_str()); diff --git a/tests/plugin_abi_test.c b/tests/plugin_abi_test.c index 4151d22e..a85d84ba 100755 --- a/tests/plugin_abi_test.c +++ b/tests/plugin_abi_test.c @@ -53,7 +53,9 @@ _Static_assert(offsetof(BbHostApi, post_look) == offsetof(BbHostApi, hud_hide) + _Static_assert(offsetof(BbHostApi, panel_show) == offsetof(BbHostApi, post_look) + sizeof(void*), "panel_show after post_look"); _Static_assert(offsetof(BbHostApi, panel_state) == offsetof(BbHostApi, panel_show) + sizeof(void*), "panel_state after panel_show"); _Static_assert(offsetof(BbHostApi, option_set) == offsetof(BbHostApi, panel_state) + sizeof(void*), "option_set after panel_state"); -_Static_assert(sizeof(BbHostApi) == offsetof(BbHostApi, option_set) + sizeof(void*), "option_set ends the API table"); +_Static_assert(offsetof(BbHostApi, input_take_as) == offsetof(BbHostApi, option_set) + sizeof(void*), "input_take_as after option_set"); +_Static_assert(offsetof(BbHostApi, input_as) == offsetof(BbHostApi, input_take_as) + sizeof(void*), "input_as after input_take_as"); +_Static_assert(sizeof(BbHostApi) == offsetof(BbHostApi, input_as) + sizeof(void*), "input_as ends the API table"); _Static_assert(BB_OPT_PANEL == 0x400u && BB_PANEL_DEFAULTS == 1u, "the panel's flags"); _Static_assert(offsetof(BbPanel, page) == 8 && sizeof(BbPanel) == 8 + 3 * sizeof(void*), "BbPanel"); _Static_assert(sizeof(BbPanelState) == 44 && offsetof(BbPanelState, page) == 12, "BbPanelState"); @@ -62,7 +64,7 @@ _Static_assert(offsetof(BbLook, vignette) == 28 && offsetof(BbLook, dof) == 32 & _Static_assert(offsetof(BbLook, motion_blur) == 72 && offsetof(BbLook, blur_samples) == 88 && offsetof(BbLook, fog_distance) == 92 && offsetof(BbLook, fog_height_offset) == 108, "BbLook's last groups"); -_Static_assert(sizeof(BbPad) == 40, "BbPad"); +_Static_assert(sizeof(BbPad) == 44 && offsetof(BbPad, play) == 40, "BbPad"); _Static_assert(offsetof(BbPad, pressed) == 8 && offsetof(BbPad, connected) == 12, "BbPad's presses"); _Static_assert(offsetof(BbPad, lx) == 16 && offsetof(BbPad, r2) == 36, "BbPad's axes"); _Static_assert(sizeof(BbWorldState) == 20, "BbWorldState"); diff --git a/tools/api29_probe.c b/tools/api29_probe.c index 400720f2..e8e7ae3c 100644 --- a/tools/api29_probe.c +++ b/tools/api29_probe.c @@ -11,7 +11,10 @@ * commas, seconds after that first frame: * pause / run world_pause(name, 1 / 0) * step world_step(name, n) - * take pad_take(buttons, axes); "take 0 0" gives them back + * take pad_take(name, buttons, axes); "take 0 0" gives them back + * keys input_take_as(name, the scancodes); "keys" alone gives them back + * legacy input_take (the take of the plugins that do not name + * themselves) with the scancodes; "legacy" alone gives them back * look post_look with that one group (the rest the * area's): tone , vignette , dof input_take_as("api29_probe", n ? codes : NULL, n, 0, 0, 0) : g_api->input_take(n ? codes : NULL, n, 0, 0, 0); +} + static int run_step(const char* text) { unsigned a = 0, b = 0; if (strcmp(text, "pause") == 0) return g_api->world_pause("api29_probe", 1); if (strcmp(text, "run") == 0) return g_api->world_pause("api29_probe", 0); if (sscanf(text, "step %u", &a) == 1) return g_api->world_step("api29_probe", a); - if (sscanf(text, "take %x %u", &a, &b) == 2) return g_api->pad_take(a, b); + if (sscanf(text, "take %x %u", &a, &b) == 2) return g_api->pad_take("api29_probe", a, b); + if (strncmp(text, "keys", 4) == 0) return run_keys(text, 1); + if (strncmp(text, "legacy", 6) == 0) return run_keys(text, 0); if (strncmp(text, "look ", 5) == 0) return run_look(text + 5); return -1; } @@ -147,7 +167,7 @@ static void on_frame(void* user) { static const int codes[3] = {19, 41, 43}; BbInput in; memset(&in, 0, sizeof(in)); - if (g_api->input(&in) == 0) { + if (g_api->input_as("api29_probe", &in) == 0) { for (int i = 0; i < 3; ++i) { if (in.key[codes[i]] != was[i]) { g_api->log("api29 t %.1f key %d %s (playing %d)", t, codes[i], in.key[codes[i]] ? "down" : "up", in.playing); @@ -160,15 +180,23 @@ static void on_frame(void* user) { memset(&pad, 0, sizeof(pad)); pad.size = sizeof(pad); if (g_api->pad(&pad) == 0 && pad.pressed) - g_api->log("api29 t %.1f pad pressed %05x held %05x l %.2f %.2f r %.2f %.2f l2 %.2f r2 %.2f", t, pad.pressed, pad.buttons, - (double)pad.lx, (double)pad.ly, (double)pad.rx, (double)pad.ry, (double)pad.l2, (double)pad.r2); + g_api->log("api29 t %.1f pad pressed %05x held %05x play %05x l %.2f %.2f r %.2f %.2f l2 %.2f r2 %.2f", t, pad.pressed, + pad.buttons, pad.play, (double)pad.lx, (double)pad.ly, (double)pad.rx, (double)pad.ry, (double)pad.l2, + (double)pad.r2); float pos[3] = {0, 0, 0}; g_api->player_position(pos, NULL); const int changed = w.flags != g_last_state.flags || w.session != g_last_state.session || w.others != g_last_state.others || w.arriving != g_last_state.arriving; if (changed || t - g_last_log >= 1.0) { - g_api->log("api29 t %.1f pos %.3f %.3f %.3f state %x session %d others %u arriving %u pad %05x l %.2f %.2f", t, (double)pos[0], - (double)pos[1], (double)pos[2], w.flags, w.session, w.others, w.arriving, pad.buttons, (double)pad.lx, (double)pad.ly); + float cam[3] = {0, 0, 0}, focus[3] = {0, 0, 0}; + g_api->camera_get(cam, focus); + int64_t hp = -1; + g_api->player_stat_get("hp", &hp); + g_api->log("api29 t %.1f pos %.3f %.3f %.3f state %x session %d others %u arriving %u pad %05x l %.2f %.2f cam %.2f %.2f %.2f " + "focus %.2f %.2f %.2f hp %lld", + t, (double)pos[0], (double)pos[1], (double)pos[2], w.flags, w.session, w.others, w.arriving, pad.buttons, (double)pad.lx, + (double)pad.ly, (double)cam[0], (double)cam[1], (double)cam[2], (double)focus[0], (double)focus[1], (double)focus[2], + (long long)hp); g_last_log = t; g_last_state = w; memcpy(g_last_pos, pos, sizeof(pos)); @@ -176,7 +204,7 @@ static void on_frame(void* user) { } BB_PLUGIN_EXPORT int bb_plugin_image(const BbHostApi* api) { - if (api->version < 29 || api->size < offsetof(BbHostApi, post_look) + sizeof(void*)) { + if (api->version < 29 || api->size < offsetof(BbHostApi, input_as) + sizeof(void*)) { api->log("api29 probe: this host is older than plugin API 29"); return 1; } From ee0baacbf18b74adfc421be2d1553fc1b4364723 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 05:21:01 -0800 Subject: [PATCH 014/100] plugins: a panel lets ImGui know of its own keys let go, and of nothing else - every key and button released in play went into the menus' queue while no panel was up, filling it, and the first events of the menu opened next were dropped While a plugin's panel is down, ImGui is told only of the keys and buttons it was told went down while the panel was up (the Escape or Circle that closed it), so it does not take the next press for one still held; no frame of it runs then to take anything more. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- src/host/ingame_menu.cpp | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/host/ingame_menu.cpp b/src/host/ingame_menu.cpp index 1c6a4905..dff9fdec 100644 --- a/src/host/ingame_menu.cpp +++ b/src/host/ingame_menu.cpp @@ -633,6 +633,16 @@ void menu_key(bool patches) { // where the pad and keys are read (host/window.cpp). void panel_event(const SDL_Event& e, float ratio) { static bool was = false; + // The keys and buttons ImGui was told went down while the panel was up + // and not yet let go. Only their release goes to it while the panel is + // down - no frame of it runs then to take anything else, and the queue + // would fill with the game's play, losing the menu's first events. + static std::vector held; + const auto note = [](ImGuiKey k, bool down) { + const auto it = std::find(held.begin(), held.end(), k); + if (down && it == held.end()) held.push_back(k); + if (!down && it != held.end()) held.erase(it); + }; const bool up = plugin_panel_shown(); if (up && !was) { // Where the pointer is now: it has been the camera's until this. @@ -655,10 +665,12 @@ void panel_event(const SDL_Event& e, float ratio) { in.down = false; if (e.type == SDL_EVENT_KEY_UP && plugin_panel_key(e.key.scancode)) { in.key = e.key.scancode == SDL_SCANCODE_Q ? ImGuiKey_Q : e.key.scancode == SDL_SCANCODE_E ? ImGuiKey_E : key_of(e.key.key); - if (in.key != ImGuiKey_None) push(in); } else if (e.type == SDL_EVENT_GAMEPAD_BUTTON_UP) { in.key = pad_key_of(e.gbutton.button); - if (in.key != ImGuiKey_None) push(in); + } + if (in.key != ImGuiKey_None && std::find(held.begin(), held.end(), in.key) != held.end()) { + push(in); + note(in.key, false); } return; } @@ -676,6 +688,7 @@ void panel_event(const SDL_Event& e, float ratio) { in.key = k; in.down = e.type == SDL_EVENT_KEY_DOWN; push(in); + note(k, in.down); } return; case SDL_EVENT_MOUSE_MOTION: { @@ -717,6 +730,7 @@ void panel_event(const SDL_Event& e, float ratio) { in.key = k; in.down = e.type == SDL_EVENT_GAMEPAD_BUTTON_DOWN; push(in); + note(k, in.down); return; } default: From 2d36f2491fcdb26725e0b5595b2372dfcac64386 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 05:21:01 -0800 Subject: [PATCH 015/100] plugins: Quake holds while another plugin holds the world - photo mode's Frozen stops Quake's time with the world's: the player stays where they were and the view as it was, and what the keys and the mouse do meanwhile is the photo camera's Quake moves the player from its camera callback, which runs while the world is held (the view is drawn every frame), so W flew photo mode's camera and walked the Quake player through the held world at once. Its time now stops while world_state says a plugin holds the world (plugin API 29), read on the main thread each frame; the input it reads meanwhile is dropped. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 2 +- plugins/quake/quake.cpp | 25 +++++++++++++++++++++++-- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index 571ce3f4..383cbb42 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -794,7 +794,7 @@ setup window can download the latest signed plugins from the newest release. | `randomizer` | Shuffles one-time pickups and shop stock from a seed, and optionally enemies: each regular enemy becomes another kind (model, AI and gear together), drawn from its own area or from the whole game, with optional roaming bosses. Writes a spoiler file. | | `boss_rush` | Fights the 19 story bosses back to back, optionally with the ten chalice-dungeon bosses, starting each round outside the boss's fog wall. Tracks time and deaths. Practice fights one boss, picked by name, again and again: once, N times, or until stopped, a death trying again from the fog wall and a win waking the boss for the next fight. Each fight that ends in a win or a death is an attempt, so Once and N times end after that many attempts; Restart starts the fight under way over from the fog wall without counting it. With Refill on, every attempt starts with the most blood vials and quicksilver bullets. A practice can start each fight at the boss's phase 2 or 3: once the fight begins, the boss is put just under the HP at which its own event script or AI changes phase, and the game plays the change itself (Ludwig's cutscene and Holy Blade, Gascoigne's beast, Lady Maria's blood and fire). Attempts, wins, deaths, the best and last clear times and, from phase 1, the time to phase 2 are shown after each fight and written to `results.txt`. Boss HP and Your HP are practice's cheats, for learning a fight: Can't die keeps hits taking HP down to 1 and no further (the debug menu's No Dead), and Infinite also puts the HP back after every hit, so the boss stays in the phase its fight began in and the player stays at full health. A boss that cannot die is not defeated, so its fights end in a death, a Restart or Stop. | | `mutators` | Switchable rules: gravity, game speed, bullet time at low HP, one-hit deaths, blood drain, enemy HP, echo rate, random effects. | -| `quake` | Off until turned on. First person with Quake 3's movement and view: strafe jumping, bunny hopping (hold jump to keep hopping), crouching, the walls only characters meet (the invisible ones along ledges) as solid as the rest, creatures as solid as Quake 3's players, and a choice of physics - Quake 3 (VQ3, the default), CPMA, Quake 1 + CPMA, QuakeWorld and DeFRaG's. Five guns made of Bloodborne's (Cannon, Church Cannon, Piercing Rifle, Blunderbuss, Gatling Gun), always +10, firing from the view with each gun's own flash and sound: rockets and grenades at Quake 3's speeds (the grenade bouncing until its fuse), the Blunderbuss's and the Gatling Gun's own bullets, and a plasma of A Call Beyond's star or Blacksky Eye's shard; their blasts throw the player (rocket and grenade jumps, plasma climbing), and the gun that is up is drawn at the lower right with Quake 3's bob and kick. Field of view, mouse sensitivity, gravity and knockback are settings. | +| `quake` | Off until turned on. First person with Quake 3's movement and view: strafe jumping, bunny hopping (hold jump to keep hopping), crouching, the walls only characters meet (the invisible ones along ledges) as solid as the rest, creatures as solid as Quake 3's players, and a choice of physics - Quake 3 (VQ3, the default), CPMA, Quake 1 + CPMA, QuakeWorld and DeFRaG's. Five guns made of Bloodborne's (Cannon, Church Cannon, Piercing Rifle, Blunderbuss, Gatling Gun), always +10, firing from the view with each gun's own flash and sound: rockets and grenades at Quake 3's speeds (the grenade bouncing until its fuse), the Blunderbuss's and the Gatling Gun's own bullets, and a plasma of A Call Beyond's star or Blacksky Eye's shard; their blasts throw the player (rocket and grenade jumps, plasma climbing), and the gun that is up is drawn at the lower right with Quake 3's bob and kick. Field of view, mouse sensitivity, gravity and knockback are settings. While photo mode holds the world, Quake holds too: the player stays where they were and the view as it was. | | `lohit` | Off until turned on. The map's lo-hit collision drawn in place of the map's own geometry (the game's own WorldHitMan debug draw, with GROUP MASK > Map off): every part loaded (Whole map, the default), or the part you stand on and the parts connected to it, one step out; Hi-hit shows the detailed collision characters and objects use instead. Each mesh is built once into a vertex buffer of its own and drawn with two draws a frame, where the game's debug draw rebuilt every triangle each frame and copied it twice (the triangles' edges the game drew over the faces, a second draw costing the GPU more than the faces, are left out). Its depth (plugin API 17) is drawn ahead of the scene's objects too, so the game's occlusion culling skips what is behind its walls, as the map's own geometry would. It is drawn inside the scene ahead of its effects so fire, sparks, blood and mist show over it, by default in the launcher's deep violet (walls) and dark blue (floors); the Colours sliders set both (0-255, as they come out on the screen) for the lo-hit and the hi-hit. Pair it with Performance mode (the setup window's main page) for the post-effects off. | | `ps1` | Off until turned on. Bloodborne PS1: the 3D drawn as the first PlayStation drew it, the HUD and the menus left sharp at the window's size: its vertices snapped to a grid of the screen as it moves (Vertex snap: 240p, the PS1's own screen, by default; 480p, 360p, 120p or off), its textures unfiltered (no bilinear, trilinear or anisotropic filtering), its colour targets 8 bits a channel (8-bit colour, as the rgba8f patch makes them; the colour grading then steps between its table's entries too, where it is smooth without it), and the 3D at its own Resolution - Native (the Resolution setting, at most the window's), 480p, 360p or 240p, each as wide as the window's shape gives - brought up to the window pixel for pixel, with no smoothing. Upscaling and the anti-aliasing stand aside while it is on. Old-hardware sound (off by default) makes everything the game plays sound like an old console's sound chip: PS1 (22050 Hz, 12 bits, muffled above 10 kHz), Crunchy (11025 Hz, 8 bits, no low-pass going in, so it aliases) or Custom (a rate and bits of its own). Each option changes in the game (F9). | | `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, made from Nox's bbphoto: hold Cross and press L3, or press P, for a free camera over the world held still (Frozen; Cross or N lets it run two more updates), the hunter playing on (Static) or the world running (Live), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field, chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. | diff --git a/plugins/quake/quake.cpp b/plugins/quake/quake.cpp index 96bd543c..5e9ab155 100644 --- a/plugins/quake/quake.cpp +++ b/plugins/quake/quake.cpp @@ -16,7 +16,8 @@ // plasma = "A Call Beyond" # or Blacksky Eye: what the plasma gun fires // // Every setting is live: the launcher's Plugins page and F9's change it while -// playing. +// playing. While another plugin holds the world still (photo mode's Frozen, +// plugin API 29), Quake holds with it. // // Where it sits. The game's state update runs the camera manager's blend // (the follow camera's update, then the blend into the manager's own camera) @@ -70,6 +71,7 @@ #include +#include #include #include #include @@ -322,6 +324,11 @@ const bool g_sounds = [] { return e && e[0] == '1'; }(); +// The world held still by another plugin - a photo mode's (plugin API 29's +// world_pause) - as world_state read it on the main thread this frame; the +// camera reads it on the game's. +std::atomic g_world_held{false}; + // ---- the game ------------------------------------------------------------------ constexpr std::uint64_t kWorldChrMan = 0x593e878; // WorldChrMan*: +0x60 the main player's ChrIns @@ -3182,6 +3189,11 @@ void camera(BbCamera& cam) { g_last = now; g_have_last = true; dt = std::min(dt, kMaxFrame); + // A world another plugin holds still (a photo mode's) holds Quake's time + // too: the player stays where the world was held and the view as it was, + // and what the keys and the mouse do meanwhile is that plugin's camera's. + const bool held = g_world_held.load(std::memory_order_relaxed); + if (held) dt = 0.0; g_now += dt; view.ms = g_now * 1000.0; @@ -3310,7 +3322,8 @@ void camera(BbCamera& cam) { g_off_dump = g_now + 2.0; return; } - const Frame in = read_input(); + Frame in = read_input(); + if (held) in = Frame{}; weapons_frame(in, view.ms); static const bool dmg_log = std::getenv("QUAKE_DMG") != nullptr; if (dmg_log) damage_log(); @@ -3511,6 +3524,14 @@ extern "C" BB_PLUGIN_EXPORT int bb_plugin_image(const BbHostApi* api) { g.log("quake: %s changed to %s (%s physics)", key, value ? value : "?", physics_name()); }, nullptr); g.on_world_load([](std::uint32_t) { g_written_valid = false; }); + // A world another plugin holds still (plugin API 29: a photo mode's). + if (api->version >= 29 && api->size >= offsetof(BbHostApi, world_state) + sizeof(void*)) { + g.every_frame([] { + BbWorldState w{}; + w.size = sizeof(w); + g_world_held.store(g.api->world_state(&w) == 0 && (w.flags & BB_WORLD_PAUSED) != 0, std::memory_order_relaxed); + }); + } // The guns' rows, once the tables are there and whenever the switch moves. g.every_frame([] { static std::uint64_t frame = 0; From 91b1daed45b5f23cda974271952324ebe92083e6 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 05:21:11 -0800 Subject: [PATCH 016/100] plugins: photo mode starts and ends on L3 held half a second, and its Live mode warns that enemies can still attack and holds the world again at the hunter's first hit L3 held half a second, or P, starts photo mode and ends it; Escape ends it too. The chord it had - Cross held, L3 pressed - pressed Interact before L3 came, and Cross acts on lamps, doors, items and NPCs. L3 does nothing in play (the game's own list of its controls names every other button), so holding it moves nothing; it is whichever button the player's bindings make the game's L3 (BbPad.play), so a button moved onto L3 - a sprint, say - is never held into photo mode. One hold does one thing however long it lasts; in one of the game's menus or the debug menu it starts nothing and says why. No default binding is on L3 or P but the keyboard's Left Ctrl, which is the game's L3 and never photo mode's (it reads the controller), and nothing in the official plugins is either. Live stays as it was - the world runs while the camera flies and the hunter stands - and says what that means where it is chosen: its row's help, and a banner on switching to it, say that enemies can still attack the hunter. The first hit, a drop in the hunter's HP, holds the world again: Frozen, the row set back, and a banner saying why, so a second cannot follow. Nothing makes the hunter harder to hurt; that would change the rules. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 2 +- plugins/photo_mode/photo_mode.cpp | 67 ++++++++++++++++----- src/host/options.cpp | 2 +- tests/photo_mode_plugin_test.cpp | 99 +++++++++++++++++++++++++------ tools/package_linux.sh | 4 +- tools/win_package.sh | 4 +- 6 files changed, 138 insertions(+), 40 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index 383cbb42..e98861d0 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -797,7 +797,7 @@ setup window can download the latest signed plugins from the newest release. | `quake` | Off until turned on. First person with Quake 3's movement and view: strafe jumping, bunny hopping (hold jump to keep hopping), crouching, the walls only characters meet (the invisible ones along ledges) as solid as the rest, creatures as solid as Quake 3's players, and a choice of physics - Quake 3 (VQ3, the default), CPMA, Quake 1 + CPMA, QuakeWorld and DeFRaG's. Five guns made of Bloodborne's (Cannon, Church Cannon, Piercing Rifle, Blunderbuss, Gatling Gun), always +10, firing from the view with each gun's own flash and sound: rockets and grenades at Quake 3's speeds (the grenade bouncing until its fuse), the Blunderbuss's and the Gatling Gun's own bullets, and a plasma of A Call Beyond's star or Blacksky Eye's shard; their blasts throw the player (rocket and grenade jumps, plasma climbing), and the gun that is up is drawn at the lower right with Quake 3's bob and kick. Field of view, mouse sensitivity, gravity and knockback are settings. While photo mode holds the world, Quake holds too: the player stays where they were and the view as it was. | | `lohit` | Off until turned on. The map's lo-hit collision drawn in place of the map's own geometry (the game's own WorldHitMan debug draw, with GROUP MASK > Map off): every part loaded (Whole map, the default), or the part you stand on and the parts connected to it, one step out; Hi-hit shows the detailed collision characters and objects use instead. Each mesh is built once into a vertex buffer of its own and drawn with two draws a frame, where the game's debug draw rebuilt every triangle each frame and copied it twice (the triangles' edges the game drew over the faces, a second draw costing the GPU more than the faces, are left out). Its depth (plugin API 17) is drawn ahead of the scene's objects too, so the game's occlusion culling skips what is behind its walls, as the map's own geometry would. It is drawn inside the scene ahead of its effects so fire, sparks, blood and mist show over it, by default in the launcher's deep violet (walls) and dark blue (floors); the Colours sliders set both (0-255, as they come out on the screen) for the lo-hit and the hi-hit. Pair it with Performance mode (the setup window's main page) for the post-effects off. | | `ps1` | Off until turned on. Bloodborne PS1: the 3D drawn as the first PlayStation drew it, the HUD and the menus left sharp at the window's size: its vertices snapped to a grid of the screen as it moves (Vertex snap: 240p, the PS1's own screen, by default; 480p, 360p, 120p or off), its textures unfiltered (no bilinear, trilinear or anisotropic filtering), its colour targets 8 bits a channel (8-bit colour, as the rgba8f patch makes them; the colour grading then steps between its table's entries too, where it is smooth without it), and the 3D at its own Resolution - Native (the Resolution setting, at most the window's), 480p, 360p or 240p, each as wide as the window's shape gives - brought up to the window pixel for pixel, with no smoothing. Upscaling and the anti-aliasing stand aside while it is on. Old-hardware sound (off by default) makes everything the game plays sound like an old console's sound chip: PS1 (22050 Hz, 12 bits, muffled above 10 kHz), Crunchy (11025 Hz, 8 bits, no low-pass going in, so it aliases) or Custom (a rate and bits of its own). Each option changes in the game (F9). | -| `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, made from Nox's bbphoto: hold Cross and press L3, or press P, for a free camera over the world held still (Frozen; Cross or N lets it run two more updates), the hunter playing on (Static) or the world running (Live), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field, chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. | +| `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, made from Nox's bbphoto: hold L3 for half a second, or press P, for a free camera over the world held still (Frozen; Cross or N lets it run two more updates), the hunter playing on (Static) or the world running (Live - enemies can still attack the hunter, and the first hit holds the world again), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field, chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. | | `debug_menu` | Restores the developers' debug menu (`` ` `` opens it), in English or the developers' Japanese, and makes the debug font it draws with from the public-domain X11 fonts k14 and 7x14, so nothing has to be downloaded. Cheating against other players with it gets an account banned; trying it out online with friends is fine. | The gameplay plugins - all five - announce themselves in the session's diff --git a/plugins/photo_mode/photo_mode.cpp b/plugins/photo_mode/photo_mode.cpp index 40a18ff8..1250bff6 100644 --- a/plugins/photo_mode/photo_mode.cpp +++ b/plugins/photo_mode/photo_mode.cpp @@ -2,15 +2,19 @@ // bbphoto, rebuilt on bbhost's plugin API: nothing in it writes the game's code // or reads an address of its own. // -// Hold Cross and press L3, or press P, to start it; the same again (or Escape) -// ends it. Three modes: +// Hold L3 for half a second, or press P, to start it; the same again (or +// Escape) ends it. L3 is the button that presses the game's L3 - the left +// stick's, unless Key Bindings moved it (BbPad.play) - which the game itself +// does nothing with, so holding it never moves the hunter. Three modes: // Frozen the world held still (world_pause) while the camera flies; Cross // (N on the keyboard) lets it run two more updates - a frame advance. // Static the camera stays where it is and the hunter plays on: the // controller and the keys are the game's again, but for photo mode's // own. // Live the camera flies while the world runs; the hunter stands, since -// the camera has the controls (pad_take, input_take_as). +// the camera has the controls (pad_take, input_take_as), and the +// enemies can still attack: the first hit holds the world again +// (Frozen), so a second cannot follow. // The left stick (WASD) moves the camera the way it looks, the right stick (the // mouse) turns it, L2 and R2 (Left Ctrl and Space) take it down and up, L1 and // R1 (the right and left mouse buttons) make it slower and faster. The view is @@ -64,6 +68,7 @@ constexpr float kTurnRate = 2.2f; // radians a second at a full stick, at constexpr float kMouseTurn = 0.0035f; // radians a count, as Dark Souls III's mouse (at 60 degrees) constexpr float kPitchLimit = 1.53f; // short of straight up and down constexpr std::uint32_t kStepUpdates = 2; +constexpr float kHoldToggle = 0.5f; // seconds L3 is held to start or end photo mode // The world up this long before photo mode starts: the loading screen's page // stays and fades out over the world's first frames - some 75 of them, two // and a half seconds at 30 - and a held world would hold it there. @@ -107,7 +112,10 @@ struct State { Camera cam; float start_pos[3] = {0, 0, 0}; // where the camera started, for the log int speed = kSpeedStart; - bool cross_armed = false; // Cross let go since the start (it was held to start) + bool l3_down = false; // L3 held (as the game has it) + bool l3_used = false; // this hold started or ended photo mode: let go before the next + std::chrono::steady_clock::time_point l3_since; + std::int64_t live_hp = -1; // the hunter's HP as Live last saw it; -1 outside Live std::chrono::steady_clock::time_point last; bool have_last = false; float look_x = 0, look_y = 0; // the mouse's counts since the last frame @@ -233,9 +241,11 @@ const char* mode_name(int m) { return m == kFrozen ? "Frozen" : m == kStatic ? " void set_mode(int m) { if (m == st.mode) return; st.mode = m; + st.live_hp = -1; if (st.on) { apply_mode(); api->log("photo mode: %s", mode_name(m)); + if (m == kLive) api->show_message("Live: the world keeps running, and enemies can still attack your hunter", 4.0f); } } @@ -323,7 +333,7 @@ void start() { st.seed = true; st.seeded = false; st.mode = kFrozen; // it always starts with the world held - st.cross_armed = false; + st.live_hp = -1; st.have_last = false; st.look_x = st.look_y = 0; apply_mode(); @@ -431,10 +441,18 @@ void on_frame(void*) { auto key_down = [&](std::uint16_t k) { return have_keys && in.key[k] && !prev_keys[k]; }; const bool p_down = key_down(kKeyP), escape_down = key_down(kKeyEscape), n_down = key_down(kKeyN), key_down_tab = key_down(kKeyTab); if (have_keys) std::memcpy(prev_keys, in.key, sizeof(prev_keys)); + const auto now = std::chrono::steady_clock::now(); - // Start and end: hold Cross and press L3, or P; Escape ends it too. - const bool chord = (pad.buttons & BB_PAD_CROSS) && (pad.pressed & BB_PAD_L3); - const bool toggle = chord || p_down; + // Start and end: L3 held half a second - the button the player's bindings + // make the game's L3, which does nothing in play - or P; Escape ends it + // too. One hold does one: it is let go before the next. + const bool l3 = (pad.play & BB_PAD_L3) != 0; + if (l3 && !st.l3_down) st.l3_since = now; + if (!l3) st.l3_used = false; + st.l3_down = l3; + const bool held = l3 && !st.l3_used && std::chrono::duration(now - st.l3_since).count() >= kHoldToggle; + if (held) st.l3_used = true; + const bool toggle = held || p_down; if (!st.on) { if (toggle) { if (const char* why = refused(w)) { @@ -463,17 +481,32 @@ void on_frame(void*) { if (api->panel_state(kName, &ps) == 0) st.panel = ps.shown != 0; if ((pad.pressed & BB_PAD_R3) || key_down_tab) show_panel(!st.panel); - const auto now = std::chrono::steady_clock::now(); float dt = st.have_last ? std::chrono::duration(now - st.last).count() : 0.0f; st.last = now; st.have_last = true; dt = std::clamp(dt, 0.0f, 0.25f); // a hitch moves the camera no further than a quarter second's way - // The frame advance: Cross (once let go since the start) or N. - if (!(pad.buttons & BB_PAD_CROSS)) st.cross_armed = true; - const bool step = (st.cross_armed && (pad.pressed & BB_PAD_CROSS) && !chord) || n_down; + // The frame advance: Cross or N. + const bool step = (pad.pressed & BB_PAD_CROSS) || n_down; if (step && st.mode == kFrozen) api->world_step(kName, kStepUpdates); + // Live: the hunter stands while the enemies come on. The first hit holds + // the world again, so a second cannot follow. + if (st.mode == kLive) { + std::int64_t hp = -1; + if (api->player_stat_get("hp", &hp) == 0 && hp >= 0) { + if (st.live_hp >= 0 && hp < st.live_hp) { + api->log("photo mode: the hunter was hit in Live (%lld -> %lld HP); the world held again", static_cast(st.live_hp), + static_cast(hp)); + set_mode(kFrozen); + api->option_set(kName, "mode", "Frozen"); // the panel's row says so too + api->show_message("Photo mode: your hunter was hit - the world is held again (Frozen)", 3.0f); + } else { + st.live_hp = hp; + } + } + } + const bool keys_ok = have_keys && in.playing; if (keys_ok) { st.look_x += in.dx; @@ -555,7 +588,7 @@ void on_option(const char* key, const char* value, void*) { #define LIVE_INT_WHEN(key, label, help, def, lo, hi, when) {BB_OPT_INT | BB_OPT_LIVE | BB_OPT_WHEN, key, label, help, def, lo, hi, when} extern "C" BB_PLUGIN_EXPORT const BbOption bb_plugin_options[] = { {BB_OPT_HEADING, "about", "Photo mode", - "Hold Cross and press L3, or press P, to start photo mode and to end it (Escape ends it too). Its panel opens with it: " + "Hold L3 for half a second, or press P, to start photo mode and to end it (Escape ends it too). Its panel opens with it: " "L1 and R1 (Q and E) turn its pages, the d-pad (the arrows) chooses and changes a row, Circle (Escape) hides it and R3 " "(Tab) shows it again. Only with nobody else in your world.", "", 0, 0, nullptr}, @@ -563,7 +596,9 @@ extern "C" BB_PLUGIN_EXPORT const BbOption bb_plugin_options[] = { PANEL("camera", "Camera", "How photo mode's camera sees, and what the world does meanwhile."), {BB_OPT_CHOICE | BB_OPT_LIVE, "mode", "Mode", "Frozen holds the world still while the camera flies (Cross or N lets it run two more updates). Static keeps the " - "camera where it is while you play on. Live flies the camera while the world runs. Photo mode always starts Frozen.", + "camera where it is while you play on. Live flies the camera while the world keeps running: enemies can still attack " + "your hunter, who stands still meanwhile, and the first hit holds the world again (Frozen). Photo mode always starts " + "Frozen.", "Frozen", 0, 0, "Frozen|Static|Live"}, LIVE_INT("fov", "Field of view", "Degrees more or less than the game's own view: 0 keeps it, less zooms in.", "0", -40, 60), LIVE_INT("roll", "Roll", "Tilts the camera, in degrees: 0 keeps it level.", "0", -90, 90), @@ -647,7 +682,7 @@ extern "C" BB_PLUGIN_EXPORT const BbPluginInfo bb_plugin_info = { "1.0.0", "Nox-", "A free camera for pictures: the world held still or running, the camera flown by the controller or the keyboard " - "and mouse, the HUD out of the way. Hold Cross and press L3, or press P. Only with nobody else in your world.", + "and mouse, the HUD out of the way. Hold L3 for half a second, or press P. Only with nobody else in your world.", }; extern "C" BB_PLUGIN_EXPORT int bb_plugin_image(const BbHostApi* host) { @@ -667,6 +702,6 @@ extern "C" BB_PLUGIN_EXPORT int bb_plugin_image(const BbHostApi* host) { return 1; } if (api->key_bound(kKeyP)) api->log("photo mode: P is also one of the game's keys; it starts photo mode as well"); - api->log("photo mode: ready - hold Cross and press L3, or press P"); + api->log("photo mode: ready - hold L3 for half a second, or press P"); return 0; } diff --git a/src/host/options.cpp b/src/host/options.cpp index 1dbec64f..a932d836 100755 --- a/src/host/options.cpp +++ b/src/host/options.cpp @@ -1761,7 +1761,7 @@ void host_options_load() { // (patches/debug-camera.toml), and photo mode (plugins/photo_mode) // took its place. A saved one is set aside; the next save drops it. if (key == "debug_camera") { - if (val == "On") host_log("options: the Debug camera is gone - photo mode is its place (P, or hold Cross and press L3); the saved On is set aside"); + if (val == "On") host_log("options: the Debug camera is gone - photo mode is its place (P, or hold L3); the saved On is set aside"); continue; } // Looked at again once the file's version is known (below). diff --git a/tests/photo_mode_plugin_test.cpp b/tests/photo_mode_plugin_test.cpp index c6998fde..c7d95ac9 100644 --- a/tests/photo_mode_plugin_test.cpp +++ b/tests/photo_mode_plugin_test.cpp @@ -2,14 +2,17 @@ // loaded as the host loads plugins and driven frame by frame - the world's // state, the controller and the keyboard as the test sets them - while every // plugin API 29 call it makes is recorded. Checked: on a host older than API 29 -// it refuses before asking anything; it starts on P and on Cross held with L3 -// pressed, Frozen, with the world held, the controls taken and the HUD out of -// the picture; the camera starts at the game's view and flies the way it looks; -// Cross (once let go) and N advance a held world by two updates; Static gives -// the controls back but Options, the touchpad and R3, Live flies over a -// running world; it ends on Escape, P and the chord, and at a loading screen, a -// cutscene or a menu, giving everything back; its takes and reads of the -// keyboard and mouse are its own (input_take_as, input_as); it does not start, and it ends, +// it refuses before asking anything; it starts on P and on L3 held half a +// second (the game's L3, as the player's bindings make it), Frozen, with the +// world held, the controls taken as its own and the HUD out of the picture; a +// shorter press does nothing and one hold does one thing; the camera starts at +// the game's view and flies the way it looks; Cross and N advance a held world +// by two updates; its takes and reads of the keyboard and mouse are its own +// (input_take_as, input_as); Static gives the controls back but Options, the touchpad and +// R3, Live flies over a running world, warns that enemies can still attack, +// and holds the world again at the hunter's first hit; it ends on Escape, P +// and L3 held, and at a loading screen, a cutscene or a menu, giving +// everything back, and does not start in a menu; it does not start, and it ends, // with another player in the world or on the way, or in another's world; the // HUD option shows the HUD; its panel opens with it, R3 hides and shows it, // and the panel's rows go over the area's look while it runs and nowhere @@ -64,6 +67,7 @@ struct Host { std::vector taken_keys; int unnamed_takes = 0; // input_take calls: photo mode names its takes (input_take_as) int unnamed_reads = 0; // input calls: photo mode reads as itself (input_as) + std::int64_t hp = 100; // the hunter's, as player_stat_get("hp") reads it std::uint32_t taken_mouse = 0; int taken_motion = 0; // What the host reports. @@ -211,6 +215,11 @@ int fake_hud_hide(const char* name, int hidden) { ++H.calls; return 0; } +int fake_player_stat_get(const char* name, std::int64_t* value) { + if (std::strcmp(name, "hp") != 0) return 1; + *value = H.hp; + return 0; +} int fake_player_position(float xyz[3], float* yaw) { if (xyz) xyz[0] = xyz[1] = xyz[2] = 0; if (yaw) *yaw = 0; @@ -260,6 +269,7 @@ BbHostApi make_api(std::uint32_t version) { api.input = &fake_input; api.input_take = &fake_input_take; api.player_position = &fake_player_position; + api.player_stat_get = &fake_player_stat_get; if (version >= 29) { api.world_pause = &fake_world_pause; api.world_step = &fake_world_step; @@ -292,9 +302,23 @@ void tap_key(std::uint16_t k) { } void tap_pad(std::uint32_t b) { H.pad.buttons |= b; + H.pad.play |= b; H.pad.pressed |= b; frame(); H.pad.buttons &= ~b; + H.pad.play &= ~b; + frame(); +} +// A button held for `seconds`, frame by frame, then let go: `button` the +// controller's own, `play` what the player's bindings make it in the game. +void hold(float seconds, std::uint32_t button = BB_PAD_L3, std::uint32_t play = BB_PAD_L3) { + H.pad.buttons |= button; + H.pad.play |= play; + H.pad.pressed |= button; + const auto until = std::chrono::steady_clock::now() + std::chrono::milliseconds(static_cast(seconds * 1000.0f)); + while (std::chrono::steady_clock::now() < until) frame(); + H.pad.buttons &= ~button; + H.pad.play &= ~play; frame(); } // The world in for longer than the plugin's settle (the loading screen's page @@ -465,9 +489,35 @@ int main(int argc, char** argv) { CHECK(std::fabs(view.position[2] - static_z) < 1e-5f); // the camera stays H.option_fn("mode", "Live", H.option_user); CHECK(H.paused == 0 && H.take_axes == (BB_PAD_LEFT_STICK | BB_PAD_RIGHT_STICK | BB_PAD_TRIGGERS)); + CHECK(!H.messages.empty() && H.messages.back().find("enemies can still attack") != std::string::npos); const int steps_before = H.steps; tap_key(kN); CHECK(H.steps == steps_before); // no frame advance over a running world + // The hunter hit in Live: the world held again (Frozen) at once, the + // panel's row says so, and the player is told. + H.hp = 80; + frame(); + CHECK(H.paused == 1); + CHECK(!H.sets.empty() && H.sets.back().first == "mode" && H.sets.back().second == "Frozen"); + CHECK(H.messages.back().find("was hit") != std::string::npos); + CHECK(logged("hit in Live (100 -> 80 HP)")); + H.hp = 60; // held now: no second notice + const std::size_t notices = H.messages.size(); + frame(); + CHECK(H.paused == 1 && H.messages.size() == notices); + // Healed in Live, then hit: the drop counts from where it was. + H.option_fn("mode", "Live", H.option_user); + CHECK(H.paused == 0); + frame(); + H.hp = 90; + frame(); + frame(); + CHECK(H.paused == 0); + H.hp = 89; + frame(); + CHECK(H.paused == 1); + H.hp = 100; + H.option_fn("mode", "Live", H.option_user); // Escape ends it: everything given back, the panel down and no look. H.option_fn("exposure", "150", H.option_user); @@ -485,17 +535,30 @@ int main(int argc, char** argv) { H.view_fn(&view, H.view_user); CHECK(std::fabs(view.position[2] - 3) < 1e-5f); // the game's view again - // The chord: Cross held, L3 pressed - it starts Frozen whatever the mode was. - H.pad.buttons = BB_PAD_CROSS; - frame(); - H.pad.pressed = BB_PAD_L3; - H.pad.buttons = BB_PAD_CROSS | BB_PAD_L3; - frame(); - H.pad.buttons = 0; - frame(); + // L3 held half a second starts it, Frozen whatever the mode was; a shorter + // press does nothing, and one hold does one thing however long it lasts. + hold(0.2f); + CHECK(H.paused == 0); + hold(1.2f); + CHECK(H.paused == 1 && H.panel_up); + CHECK(H.steps == steps_before); // L3 is no frame advance + hold(0.6f); // held again: it ends + CHECK(H.paused == 0 && H.take_buttons == 0 && H.taken_keys.empty() && !H.panel_up); + // L3 as the game has it: the left stick pressed while Key Bindings put + // Dodge on it is not L3, the button they moved L3 to is. + hold(0.6f, BB_PAD_L3, BB_PAD_CIRCLE); + CHECK(H.paused == 0); + hold(0.6f, BB_PAD_CIRCLE, BB_PAD_L3); + CHECK(H.paused == 1); + hold(0.6f, BB_PAD_CIRCLE, BB_PAD_L3); + CHECK(H.paused == 0); + // Not in a menu: the player is told why. + H.world.flags = BB_WORLD_IN | BB_WORLD_MENU; + hold(0.6f); + CHECK(H.paused == 0 && H.messages.back().find("close the menu") != std::string::npos); + H.world.flags = BB_WORLD_IN; + hold(0.6f); CHECK(H.paused == 1); - // ... Cross was held to start: no frame advance until it has been let go. - CHECK(H.steps == steps_before); // Another player on the way: it ends at once, and does not start again. H.world.arriving = 1; diff --git a/tools/package_linux.sh b/tools/package_linux.sh index 83638ff6..9452a19e 100755 --- a/tools/package_linux.sh +++ b/tools/package_linux.sh @@ -276,8 +276,8 @@ Plugins ps1 = true # the 3D drawn as the first PlayStation drew it iso = true # an isometric camera, the walls in its way cut away debug_menu = true # the developers' debug menu: \` opens it - photo_mode = false # Photo mode is on without this (P, or hold Cross and - # press L3, for a free camera); false turns it off + photo_mode = false # Photo mode is on without this (P, or hold L3 for + # half a second, for a free camera); false turns it off Each one's settings go in a section of its own name ([randomizer], [boss_rush], [mutators], [quake], [lohit], [ps1], [iso], [photo_mode]); docs/plugins.md in the repository lists them. Use the boss rush on a save of its own. Cheating against other players diff --git a/tools/win_package.sh b/tools/win_package.sh index c044f18d..bc721ed2 100755 --- a/tools/win_package.sh +++ b/tools/win_package.sh @@ -182,8 +182,8 @@ Plugins ps1 = true # the 3D drawn as the first PlayStation drew it iso = true # an isometric camera, the walls in its way cut away debug_menu = true # the developers' debug menu: \` opens it - photo_mode = false # Photo mode is on without this (P, or hold Cross and - # press L3, for a free camera); false turns it off + photo_mode = false # Photo mode is on without this (P, or hold L3 for + # half a second, for a free camera); false turns it off Each one's settings go in a section of its own name ([randomizer], [boss_rush], [mutators], [quake], [lohit], [ps1], [iso], [photo_mode]); docs/plugins.md in the repository lists them. Use the boss rush on a save of its own. Cheating against other players From d474c60a8603759d1f434e296f092ee2fe499de1 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 05:23:57 -0800 Subject: [PATCH 017/100] plugins: hud_hide's copy of the picture is held only while the HUD is hidden - its video memory (the display buffers' size: 42 MiB at 5120x2160) is given back at the display buffer's pass once no plugin hides the HUD, where it stayed for the rest of the session after one photo Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- src/host/gpu_internal.h | 6 ++++++ src/host/render.cpp | 3 ++- src/host/upscale_pass.cpp | 10 ++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/host/gpu_internal.h b/src/host/gpu_internal.h index 67e6968e..66ff129a 100644 --- a/src/host/gpu_internal.h +++ b/src/host/gpu_internal.h @@ -2015,6 +2015,12 @@ void upscale_pass_hudless_bind_locked(std::uint64_t display_va, std::uint32_t di void hud_hide_save_locked(RtImage& target); bool hud_hide_saved_locked(); void hud_hide_restore_locked(RtImage& target); +// The copy is held (made and not yet given back), or this frame's picture kept. +bool hud_hide_held_locked(); +// The HUD shown again (no plugin hides it) and nothing kept to put back: the +// copy's video memory given back at the display buffer's pass, so a hidden HUD +// costs it only while hidden. +void hud_hide_release_locked(); // Under render scale: the upscaler's picture, at the output size, for YEBIS's // copy to sample in place of a scene of scene_w x scene_h; null when there is // none (no upscale of that size has run, or the picture went back into the diff --git a/src/host/render.cpp b/src/host/render.cpp index 352e5cf2..07913104 100644 --- a/src/host/render.cpp +++ b/src/host/render.cpp @@ -27074,7 +27074,7 @@ static bool draw_impl(const GpuDraw& d) { // buffer's pass reads it. const std::uint32_t dither = scene_look_dither(); const bool hud_hidden = scene_look_hud_hidden(); - if ((upscale_pass_hudless_due_locked() || dither || hud_hidden || hud_hide_saved_locked()) && s.color[0]) { + if ((upscale_pass_hudless_due_locked() || dither || hud_hidden || hud_hide_held_locked()) && s.color[0]) { static std::uint64_t hud_target = 0; // The target's last write (RtImage::last_write) as the display // buffer's pass read it: a write since is the next frame's. @@ -27100,6 +27100,7 @@ static bool draw_impl(const GpuDraw& d) { } if (RtImage* t = hud_target ? find_render_target(hud_target) : nullptr) hud_hide_restore_locked(*t); } + if (!hud_hidden) hud_hide_release_locked(); // shown again: the copy given back if (upscale_pass_hudless_due_locked()) upscale_pass_hudless_bind_locked(dst, s.color[0]->width, s.color[0]->height); } target_written = false; diff --git a/src/host/upscale_pass.cpp b/src/host/upscale_pass.cpp index 6cf706ef..6d663192 100644 --- a/src/host/upscale_pass.cpp +++ b/src/host/upscale_pass.cpp @@ -2485,6 +2485,16 @@ void hud_hide_save_locked(RtImage& target) { bool hud_hide_saved_locked() { return g_hud_saved; } +bool hud_hide_held_locked() { return g_hud_saved || g_hud_copy.image; } + +void hud_hide_release_locked() { + if (!g_hud_copy.image || g_hud_saved) return; + drop(g_hud_copy); + g_hud_copy_format = VK_FORMAT_UNDEFINED; + g_hud_copy_w = g_hud_copy_h = 0; + host_log("plugin: the HUD shows again; its copy's video memory given back"); +} + void hud_hide_restore_locked(RtImage& target) { const bool saved = g_hud_saved; g_hud_saved = false; From fdbb1efada525ef35ba47013bff863cb58fa0169 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 08:04:20 -0800 Subject: [PATCH 018/100] tools: the API 29 probe sets the hunter's HP (hp ), so a check among enemies keeps the hunter alive while it looks at something else Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- tools/api29_probe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/api29_probe.c b/tools/api29_probe.c index e8e7ae3c..10392207 100644 --- a/tools/api29_probe.c +++ b/tools/api29_probe.c @@ -15,6 +15,8 @@ * keys input_take_as(name, the scancodes); "keys" alone gives them back * legacy input_take (the take of the plugins that do not name * themselves) with the scancodes; "legacy" alone gives them back + * hp the hunter's HP set to n (player_stat_set): a run among + * enemies kept alive while it checks something else * look post_look with that one group (the rest the * area's): tone , vignette , dof player_stat_set("hp", (int64_t)a); return -1; } From 02387713fc045546f941d7f8a539cd7327b9ba6a Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 10:05:09 -0800 Subject: [PATCH 019/100] graphics: a look's depth of field is the lens's in the areas too - their own table of blur by depth gives way to it while the look's depth of field is on, the blur in front of the focus included, and comes back at the next view without it The areas do not blur by YEBIS's lens but by the game's own table: each view the apply fills 2048 floats on the YEBIS object (+0xd0) with the blur at each device depth, which the CoC pass reads depth through, and every main area's GPARAM turns on its custom near and far ramps there, so a look's focus and aperture never reached it - photo mode's depth of field changed nothing. Under the look's depth of field the block's ramps are now off (+0x2d4, +0x2d8), so each entry is the lens's circle of confusion: negative in front of the focus, positive behind it. The apply multiplies a negative entry by +0x2e8 and a positive one by +0x2f8: both are 1 with the look's blur in front and behind (0 with none), and nothing is cut by distance (+0x2fc). With the look's levels YEBIS composites through its multi-level path, whose near levels blur what is in front at any focus distance (10 m to 400 m measured). The sign stays as the lens gives it: turned to count as what is behind, the front goes to the far side's levels, which YEBIS counts by the circle at the far end (0x1068b60), and there is no blur in front from a focus of about 50 m on. The fields are written each view with the rest of the look; without it the block is the area's again at the next view, its table byte for byte. BBHOST_DOF_TABLE_LOG=1 logs the table's hash and range each time it changes. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 3 +- plugins/photo_mode/photo_mode.cpp | 6 ++- src/engine/graphics_patch.cpp | 76 ++++++++++++++++++++++++++++++- 3 files changed, 81 insertions(+), 4 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index e98861d0..5e60cd77 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -279,7 +279,8 @@ over the game. area's; the exposure is the eye adaptation's target while it adapts, the fixed exposure otherwise), the vignette's power, depth of field (off, or on with a focus distance, an aperture and the blur's levels in front of and - behind the focus), chromatic aberration (off, or on with its lateral and + behind the focus - the lens's blur, in place of the area's own distance + ramps while it is on), chromatic aberration (off, or on with its lateral and uniform dispersions), motion blur (off, or on with its times, scale and samples) and the fog (its distance, density and contrast times the area's, its distance and height offsets added) - and the rest stay the area's. It is diff --git a/plugins/photo_mode/photo_mode.cpp b/plugins/photo_mode/photo_mode.cpp index 1250bff6..74471125 100644 --- a/plugins/photo_mode/photo_mode.cpp +++ b/plugins/photo_mode/photo_mode.cpp @@ -626,8 +626,10 @@ extern "C" BB_PLUGIN_EXPORT const BbOption bb_plugin_options[] = { "30", 5, 200, "dof=On"), {BB_OPT_FLOAT | BB_OPT_LIVE | BB_OPT_WHEN, "dof_aperture", "Aperture", "The lens's f-number: the smaller, the more blurred away from the focus. The areas use 5.6.", "5.6", 0.7, 32, "dof=On"}, - LIVE_INT_WHEN("dof_near", "Blur in front", "How far the blur in front of the focus spreads: 0 to 7.", "0", 0, 7, "dof=On"), - LIVE_INT_WHEN("dof_far", "Blur behind", "How far the blur behind the focus spreads: 0 to 7.", "1", 0, 7, "dof=On"), + LIVE_INT_WHEN("dof_near", "Blur in front", "Blurs what is nearer than the focus, the further the more (0: none, up to 7).", + "0", 0, 7, "dof=On"), + LIVE_INT_WHEN("dof_far", "Blur behind", "Blurs what is further than the focus, the further the more (0: none, up to 7).", "1", + 0, 7, "dof=On"), PANEL("ca", "Chromatic aberration", "Colour fringes towards the picture's edges, as a lens makes them."), {BB_OPT_CHOICE | BB_OPT_LIVE, "ca", "Chromatic aberration", diff --git a/src/engine/graphics_patch.cpp b/src/engine/graphics_patch.cpp index 36018f4f..bb70063f 100755 --- a/src/engine/graphics_patch.cpp +++ b/src/engine/graphics_patch.cpp @@ -249,6 +249,25 @@ std::atomic g_vignette{true}, g_dof{true}; // +0x1dc motion blur on (SetMotionBlurEnable), +0x1e4 and +0x1e8 its two // times, +0x1ec its sample count (an int), +0x350 what the apply // multiplies +0x1e8 by into the camera blur's amount +// +// The areas' depth of field is not the lens above but the game's own table: +// each view the apply (the loop at 0x25d9760) fills 2048 floats at the YEBIS +// object's +0xd0, entry i the blur at device depth i/2047 (the last two at +// depth 1), which CustomDofLutCopy.cpo copies to the texture the CoC pass +// reads depth through. An entry is the lens's circle of confusion at that +// depth (sub_fb2dc0 0 -> 3: the focus and aperture above), negative in front +// of the focus - unless +0x2d4 (the custom near ramp on) puts a ramp over +// +0x2dc..+0x2e0 m there, strength +0x2e4, or +0x2d8 (the custom far ramp on) +// one past +0x2ec..+0x2f0 m, strength +0x2f4; then a negative entry times +// +0x2e8, a positive one times +0x2f8, and 0 past +0x2fc m. Every main area +// has both ramps on (its GPARAM's CustomDof), so the lens's numbers never +// reach the table there. With Central Yharnam's own levels (+0x1d0 0 in +// front, +0x1d4 1 behind) YEBIS composites by clamp(k * CoC + b) (111fce32), +// which never blends a negative circle; with a look's 7 and 7 it takes its +// multi-level path (6e2d87e3), whose near levels blur what is in front. +constexpr std::size_t kDofCustomNear = 0x2d4, kDofCustomFar = 0x2d8, kDofNearScale = 0x2e8, kDofFarScale = 0x2f8, + kDofCut = 0x2fc; +constexpr std::size_t kDofTable = 0xd0; // on the YEBIS object: 2048 floats constexpr std::size_t kAutoExposure = 0x50, kMiddleGrey = 0x54, kExposure = 0x98, kGamma = 0x9c, kValue = 0xcc, kContrast = 0x248; constexpr std::size_t kAberration = 0xac, kAberrationDispersion = 0xb4; @@ -739,11 +758,13 @@ void apply_look(std::uint8_t* b) { if (!g_look_logged.exchange(true)) { host_log("graphics: a look over the area's exposure %g (auto %d, middle grey %g), gamma %g, saturation %g, value %g, " "contrast %g, vignette %g; aberration %g (%g %g, %g %g); depth of field %d (auto focus %d, focus %g, aperture " - "%g, levels %d %d; the post effect's part %d, on %d); motion blur %d (%g %g, %d samples, scale %g)", + "%g, levels %d %d; its table's custom near %d far %d, scales %g %g, cut past %g m; the post effect's part %d, " + "on %d); motion blur %d (%g %g, %d samples, scale %g)", getf(kExposure), geti(kAutoExposure), getf(kMiddleGrey), getf(kGamma), getf(kSaturation), getf(kValue), getf(kContrast), getf(kVignettePower), getf(kAberration), getf(kAberrationDispersion), getf(kAberrationDispersion + 4), getf(kAberrationDispersion + 8), getf(kAberrationDispersion + 12), geti(kDofOn), geti(kDofAuto), getf(kDofFocus), getf(kDofAperture), geti(kDofNear), geti(kDofFar), + geti(kDofCustomNear), geti(kDofCustomFar), getf(kDofNearScale), getf(kDofFarScale), getf(kDofCut), yebis_dof_ready(), yebis_dof_on(), geti(kBlurOn), getf(kBlurTime), getf(kBlurLength), geti(kBlurSamples), getf(kBlurScale)); } @@ -776,6 +797,21 @@ void apply_look(std::uint8_t* b) { setf(kDofAperture, l.dof_aperture); seti(kDofNear, l.dof_near_levels); seti(kDofFar, l.dof_far_levels); + // The table from the lens instead of the area's ramps, every + // entry kept (nothing cut by distance) and as the lens gives it: + // negative in front of the focus, which the multi-level path's + // near levels blur at any focus distance (0 without blur in + // front), positive behind it (0 without blur behind). Turned to + // count as what is behind, the front went to the far side's + // levels, which YEBIS counts by the circle at the far end + // (0x1068b60) - none from a focus of about 50 m on, and no front + // blur with them. The block is the area's again at the next view + // without the look. + seti(kDofCustomNear, 0); + seti(kDofCustomFar, 0); + setf(kDofNearScale, l.dof_near_levels > 0 ? 1.0f : 0.0f); + setf(kDofFarScale, l.dof_far_levels > 0 ? 1.0f : 0.0f); + setf(kDofCut, 1.0e9f); } } if (l.set & kLookMotionBlur) { @@ -789,9 +825,47 @@ void apply_look(std::uint8_t* b) { } } +// BBHOST_DOF_TABLE_LOG=1: the depth of field's table as the last view's apply +// filled it (the YEBIS object's +0xd0), a hash and its range each time it +// changes - the area's table before a look's depth of field and after it is +// byte for byte the same. +void log_dof_table(const std::uint8_t* yebis) { + static const bool on = [] { + const char* e = std::getenv("BBHOST_DOF_TABLE_LOG"); + return e && e[0] == '1'; + }(); + if (!on) return; + std::uint64_t h = 1469598103934665603ull; + float lo = 0, hi = 0; + int neg = 0, pos = 0; + for (int i = 0; i < 2048; ++i) { + std::uint32_t u = 0; + std::memcpy(&u, yebis + kDofTable + i * 4, 4); + h = (h ^ u) * 1099511628211ull; + float v = 0; + std::memcpy(&v, &u, 4); + lo = i ? std::min(lo, v) : v; + hi = i ? std::max(hi, v) : v; + neg += v < 0.0f; + pos += v > 0.0f; + } + static std::uint64_t last = 0; + if (h == last) return; + last = h; + float at[6] = {}; + const int idx[6] = {1024, 1945, 2013, 2037, 2045, 2047}; // ~0.1, 1, 3, 10, 50 m and depth 1 + for (int i = 0; i < 6; ++i) std::memcpy(&at[i], yebis + kDofTable + idx[i] * 4, 4); + host_log("graphics: the depth of field's table %016llx: %d entries < 0, %d > 0, %g..%g; at 1024 %g, 1945 %g, 2013 %g, 2037 %g, " + "2045 %g, 2047 %g", + static_cast(h), neg, pos, static_cast(lo), static_cast(hi), static_cast(at[0]), + static_cast(at[1]), static_cast(at[2]), static_cast(at[3]), static_cast(at[4]), + static_cast(at[5])); +} + // sub_25d4860's entry: the YEBIS object in rdi. GUEST_ABI std::int64_t yebis_record_hook(std::uint64_t, const std::uint64_t* saved) { const auto* yebis = reinterpret_cast(static_cast(saved[5])); + if (yebis) log_dof_table(yebis); if (!g_post_block || !yebis || yebis[kYebisHeld]) return 0; const float bloom = g_bloom.load(std::memory_order_relaxed); const bool vignette = g_vignette.load(std::memory_order_relaxed); From 08f8e2d3dda575cc73c29213bb6488e7e9d67906 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 15:42:36 -0800 Subject: [PATCH 020/100] graphics: depth of field's far blur keeps its 1080-line look at every Resolution YEBIS blends each depth-of-field level's blurred picture in by t = clamp(k * CoC + b). k grows with the picture's height (the circle of confusion is measured in pixels), b does not (-0.250125 for the first level at every size), and a level's blur is a fixed number of pixels in a target a fixed share of the picture. So the areas' faint far blur faded out below 1080 lines - none at 640x360, two thirds of it at 720p - and came out about 18% stronger at 1440p (t reaches 1 by 2160p). The levels' offsets now scale by height / 1080 at the entry of CDepthOfField's aperture-filter levels (sub_1068b60), which runs right after sub_1055af0 writes the levels' factors afresh, so nothing compounds: t is then its 1080-line value times height / 1080 for every circle. Only on a side the view draws with one level (the post block's counts: the areas' own far blur is near 0, far 1). With more levels a circle that grows with the picture moves on to the next, larger level and keeps the look by itself: photo mode's lens at f/0.7 (7 and 7 levels) is 0.92-1.00x of 1080p's at 2160p as YEBIS has it, and 0.64-0.77x with its offsets scaled. Only the world's view, too (YEBIS's source as high as the picture, so a menu's preview keeps its own), and not while a cutscene plays: a cutscene's blur stays as YEBIS draws it, and it keeps its look by itself (0.92x of 1080p's at 2160p). Nothing changes at 1080 lines, or with Depth of field off, where YEBIS never calls the levels. The far region's visible change at a common 640x360 view, against 1080p's: 360p 0 -> 0.87, 720p 0.67 -> 0.94, 1440p 1.19 -> 1.04, 2160p 1.13 -> 0.97. At 1080p the frames and the draws match the previous build's. The height is the picture's, the one YEBIS works at, also with an upscaler: the blend is then the native size's. With FSR 3 Performance at 1440p (the 3D at 720 lines) the change is 0.78x, because the upscaled picture carries 20% less far detail before the blur; the blur takes the same share of it as at 1080p (87.5% kept, 86.6% at 1080p). Blending harder by the 3D's height would make up the number by blurring a softer picture further. BBHOST_DOF_1080_LOOK=0 keeps YEBIS's offsets (a test). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/rendering.md | 9 +++ src/engine/graphics_patch.cpp | 107 ++++++++++++++++++++++++++++++++++ 2 files changed, 116 insertions(+) diff --git a/docs/rendering.md b/docs/rendering.md index 1abec5ff..cfdd34e5 100644 --- a/docs/rendering.md +++ b/docs/rendering.md @@ -440,6 +440,15 @@ path at all: - YEBIS, the post-processing library (bloom, glare, depth of field, tone mapping): every stage's resources and constants are built by bbhost. + Its depth of field blends each blurred level in by the circle of + confusion in pixels, which grows with the picture, against an offset that + does not. A blur drawn with several levels keeps its look by itself, as a + growing circle moves on to the next, larger level (the cutscenes, a + plugin's lens), but the areas' own faint far blur has one level, so it + faded out below 1080 lines and grew above them. On a side drawn with one + level the offset now scales with the picture's height over 1080, which + keeps the 1080-line look at every Resolution; with an upscaler the height + is the picture's, the one YEBIS works at. - Scaleform, the menu renderer: its draws are taken from its hardware abstraction layer. - Depth snapshots, the on-screen overlay and FSR 1 upscaling are bbhost's diff --git a/src/engine/graphics_patch.cpp b/src/engine/graphics_patch.cpp index bb70063f..d7ccea8b 100755 --- a/src/engine/graphics_patch.cpp +++ b/src/engine/graphics_patch.cpp @@ -14,6 +14,7 @@ #include "engine/sf_text_layout.h" #include "engine/frame_rate.h" #include "engine/live_resolution.h" +#include "engine/loading.h" #include "engine/menu_memory.h" #include "engine/sf_heap_probe.h" #include "hle/modules.h" @@ -862,6 +863,106 @@ void log_dof_table(const std::uint8_t* yebis) { static_cast(at[5])); } +// Depth of field's blend at the 1080-line look, at any Resolution. YEBIS +// blends a level's blurred image in by t = clamp(k * CoC + b): for the first +// level k = s / (1.25 r0 - 0.25 r0) and b = -0.25 r0 / (1.25 r0 - 0.25 r0) = +// -0.250125 (sub_1055af0, from the level's radius r0 in pixels and s, the +// circle of confusion's size in pixels, which grows with the height: k is +// 0.291 at 360 lines, 0.874 at 1080, 1.747 at 2160). The circle is the same +// share of the picture at every size, and a level's blur is a fixed number +// of pixels in a target a fixed share of the picture's size, so on the screen +// it is a smaller blur the larger the picture: the look stays the same only if +// t grows with the height. k * CoC does, b does not - so the areas' faint far +// blur faded below 1080 lines (none at 640x360, two thirds of it at 720p) and +// came out up to 18% stronger above (1440p; t clamps at 1 by 2160p). With b +// times height / 1080, t = (height / 1080) * its 1080-line value for every +// circle: the 1080-line look at every size. +// Where: CDepthOfField's aperture-filter levels (sub_1068b60, called only from +// its ApplyDepthOfField right after sub_1055af0 writes the levels' factors +// afresh), each level's two (k, b) pairs - behind the focus at +0xd0/+0xd4, +// in front at +0xd8/+0xdc of the level's 0x108 bytes, the array at the +// object's +0x470, the count at +0xc0 - which the level choice and the +// composites' constants read after it. Once a call, from values written that +// call: nothing compounds. Only the world's view: the source's height (its +// +0x54) is the picture's - a menu's preview keeps its look - and no Remo +// cutscene runs (a cutscene's blur stays as YEBIS draws it), and only on a +// side drawn with one level (below). Nothing at 1080 lines, and with Depth of +// field off YEBIS never calls the function. With an upscaler the height is +// the picture's, the one YEBIS works at: the blend is the native size's, and +// what the upscaler's picture lacks before the blur is the upscaler's. +constexpr std::uint64_t kDofLevels = 0x1068b60; +// push rbp; mov rbp, rsp; push r15..r12; push rbx; sub rsp, 0x148 +const std::uint8_t kDofLevelsPrologue[] = {0x55, 0x48, 0x89, 0xe5, 0x41, 0x57, 0x41, 0x56, 0x41, 0x55, + 0x41, 0x54, 0x53, 0x48, 0x81, 0xec, 0x48, 0x01, 0x00, 0x00}; +constexpr std::size_t kDofLevelCount = 0xc0, kDofLevelArray = 0x470, kDofLevelSize = 0x108; +constexpr std::size_t kDofLevelFarB = 0xd4, kDofLevelNearB = 0xdc, kGpuTextureHeight = 0x54; + +// BBHOST_DOF_1080_LOOK=0 (a test): the blend as YEBIS has it at every size. +const bool g_dof_1080_look = [] { + const char* e = std::getenv("BBHOST_DOF_1080_LOOK"); + return !(e && e[0] == '0'); +}(); + +GUEST_ABI std::int64_t dof_levels_hook(std::uint64_t, const std::uint64_t* saved) { + if (!g_dof_1080_look) return 0; + // A cutscene's blur as YEBIS draws it: said once each time one starts. + static std::atomic in_cutscene{false}; + const bool cutscene = loading_cutscene(); + if (in_cutscene.exchange(cutscene, std::memory_order_relaxed) != cutscene && cutscene) { + static std::atomic said{0}; + if (said.fetch_add(1, std::memory_order_relaxed) < 8) + host_log("graphics: a cutscene plays: its depth of field's blend left as YEBIS has it at this size"); + } + if (cutscene) return 0; + const std::uint64_t dof = saved[5], src = saved[4]; + if (!dof || !src) return 0; + std::uint32_t height = 0; + std::memcpy(&height, reinterpret_cast(static_cast(src + kGpuTextureHeight)), 4); + unsigned picture_h = 0; + live_resolution_current(nullptr, &picture_h); + if (height != picture_h || height < 64 || height > 16384 || height == 1080) return 0; + std::int32_t n = 0; + std::uint64_t levels = 0; + std::memcpy(&n, reinterpret_cast(static_cast(dof + kDofLevelCount)), 4); + std::memcpy(&levels, reinterpret_cast(static_cast(dof + kDofLevelArray)), 8); + if (n <= 0 || n > 16 || !levels || !g_post_block) return 0; + // Only a side the view draws with one level (the block's level counts, + // the areas' own far blur: near 0, far 1). With more, a circle that grows + // with the picture moves on to the next level, twice as large, which keeps + // the look by itself - a look's lens (photo mode's 7 and 7) and the + // cutscenes' come out at 0.92-1.00x of 1080p's at 2160p as YEBIS has them, + // and larger offsets would hold the circle back on the smaller levels + // (0.64x). + std::int32_t near_levels = 0, far_levels = 0; + std::memcpy(&near_levels, g_post_block + kDofNear, 4); + std::memcpy(&far_levels, g_post_block + kDofFar, 4); + const bool far_one = far_levels == 1, near_one = near_levels == 1; + if (!far_one && !near_one) return 0; + const float f = static_cast(height) / 1080.0f; + float b0 = 0; + for (std::int32_t i = 0; i < n; ++i) { + auto* l = reinterpret_cast(static_cast(levels + static_cast(i) * kDofLevelSize)); + float far_b = 0, near_b = 0; + std::memcpy(&far_b, l + kDofLevelFarB, 4); + std::memcpy(&near_b, l + kDofLevelNearB, 4); + if (i == 0) b0 = far_one ? far_b : near_b; + if (far_one) far_b *= f; + if (near_one) near_b *= f; + std::memcpy(l + kDofLevelFarB, &far_b, 4); + std::memcpy(l + kDofLevelNearB, &near_b, 4); + } + static std::atomic logged{0}; + static std::atomic lines{0}; + std::uint32_t bb = 0; + std::memcpy(&bb, &b0, 4); + const std::uint64_t key = (static_cast(height) << 40) ^ (static_cast(far_one * 2 + near_one) << 32) ^ bb; + if (logged.exchange(key, std::memory_order_relaxed) != key && lines.fetch_add(1, std::memory_order_relaxed) < 16) + host_log("graphics: depth of field's blend at the 1080-line look: the picture %u lines high, the %s side%s drawn with one " + "level, its first offset %g given, %g used", + height, far_one && near_one ? "far and near" : far_one ? "far" : "near", far_one && near_one ? "s" : "", b0, b0 * f); + return 0; +} + // sub_25d4860's entry: the YEBIS object in rdi. GUEST_ABI std::int64_t yebis_record_hook(std::uint64_t, const std::uint64_t* saved) { const auto* yebis = reinterpret_cast(static_cast(saved[5])); @@ -1771,6 +1872,12 @@ void live_install(ElfImage* image) { } else { g_post_block = static_cast(guest_ptr(image->mem, at(kPostBlock))); } + if (!install_prologue_hook(image, at(kDofLevels), kDofLevelsPrologue, sizeof(kDofLevelsPrologue), + reinterpret_cast(&dof_levels_hook))) { + host_log("graphics: refused, 0x%llx is not the depth of field levels' prologue (or no room for its hook); its blend " + "stays as the size has it", + static_cast(kDofLevels)); + } if (!install_prologue_hook(image, at(kSsaoDraw), kSsaoDrawPrologue, sizeof(kSsaoDrawPrologue), reinterpret_cast(&ssao_draw_hook))) { host_log("graphics: refused, 0x%llx is not the SSAO draw's prologue (or no room for its hook); " From 9d760cbccbb0fa5c9fe5e22d84873b390a149715 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 17:39:18 -0800 Subject: [PATCH 021/100] pgo: the profile recorded at v0.2.35's code - twelve headless runs of the instrumented build on an RTX 3070 Ti Laptop GPU under Windows: uncapped the hall with Off, TAA, DLSS, FSR 3 and TAA with 8x AF, the burning Dream, Central Yharnam, the PS1 look with its dither; at 60 the hall with TAA and with DLSS, the burning Dream and Central Yharnam; all exiting 0 The repository's profile was recorded at v0.2.34's code. At c8598138, this release's code but for its last commit, it no longer matched 41 of bbhost's functions, 20 of them with counts - the draw path's draw_impl (84.6 billion counts), where hud_hide keeps the picture at the HUD's first draw, the controller's read (hle_pad_read, 18.5 million), the YEBIS record and fog upload hooks the look and Depth of field Off write through, and plugins_frame - 84.6 billion counts in all that the build would have dropped, so those functions would have been built without a profile. Recorded as 76596080's was, with the defaults and the plugins off but in the PS1 run (BBHOST_PLUGINS=0, as the recipe has it), so photo mode, on by default, was loaded and idle in that run alone: the Windows build of CI's script (tools/ci_windows.sh) with -DBBHOST_PGO=generate, LTO off, from a clean tree at 2ebd419f; LLVM_PROFILE_FILE per run; headless, the flip clock at 60 and every refresh rate asked 144. Each run continues the seed's save, travels where it goes and holds 78 s with the camera turned every 8 s: the hall is Oedon Chapel (the Cathedral Ward's lamp); the burning Hunter's Dream (flags 12601800 and 9462, then its lamp); Central Yharnam at the seed's lamp; the PS1 plugin there with its dither. Each wrote its profile at its exit (the PS1 run's plugins theirs too), llvm-profdata 22.1.6 merged the nineteen files, and tools/pgo_store.sh wrote it with the tree as @SRC@: 14,181 functions, 5,898 of them named by path, none outside the tree. Against the repository's profile, 14,001 functions keep their shape and 52 have another. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- pgo/bbhost.proftext | 62592 ++++++++++++++++++++++-------------------- 1 file changed, 32318 insertions(+), 30274 deletions(-) diff --git a/pgo/bbhost.proftext b/pgo/bbhost.proftext index d75a433f..1bb9307b 100644 --- a/pgo/bbhost.proftext +++ b/pgo/bbhost.proftext @@ -4292,9 +4292,9 @@ @SRC@/plugins/quake/quake.cpp;_ZN12_GLOBAL__N_16cameraER8BbCamera # Func Hash: -113373412164801329 +461505332276188495 # Num Counters: -367 +369 # Counter Values: 0 0 @@ -4663,6 +4663,8 @@ 0 0 0 +0 +0 # Num Value Kinds: 2 # ValueKind = IPVK_IndirectCallTarget: @@ -5001,6 +5003,32 @@ @SRC@/plugins/quake/quake.cpp;_ZNSt17_Function_handlerIFvvEZ15bb_plugin_imageE3$_1E9_M_invokeERKSt9_Any_data # Func Hash: +955604089020874751 +# Num Counters: +2 +# Counter Values: +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_IndirectCallTarget: +0 +# NumValueSites: +1 +0 + +@SRC@/plugins/quake/quake.cpp;_ZNSt17_Function_handlerIFvvEZ15bb_plugin_imageE3$_2E10_M_managerERSt9_Any_dataRKS3_St18_Manager_operation +# Func Hash: +1063705162558100101 +# Num Counters: +3 +# Counter Values: +0 +0 +0 + +@SRC@/plugins/quake/quake.cpp;_ZNSt17_Function_handlerIFvvEZ15bb_plugin_imageE3$_2E9_M_invokeERKSt9_Any_data +# Func Hash: 396382916792216288 # Num Counters: 129 @@ -5163,7 +5191,7 @@ 0 0 -@SRC@/plugins/quake/quake.cpp;_ZZ15bb_plugin_imageEN3$_28__invokeEPKcS1_Pv +@SRC@/plugins/quake/quake.cpp;_ZZ15bb_plugin_imageEN3$_38__invokeEPKcS1_Pv # Func Hash: 868361657883042115 # Num Counters: @@ -9026,11 +9054,10 @@ @SRC@/src/core/config.cpp;_ZN12_GLOBAL__N_112apply_valuesERKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEEP10HostConfig # Func Hash: -658210923342167124 +888852252137354621 # Num Counters: -358 +347 # Counter Values: -0 242 0 0 @@ -9064,8 +9091,6 @@ 0 0 0 -0 -12 12 12 12 @@ -9107,7 +9132,6 @@ 0 0 0 -0 12 12 12 @@ -9124,7 +9148,6 @@ 0 12 0 -12 0 0 0 @@ -9168,7 +9191,6 @@ 0 0 0 -0 12 0 0 @@ -9179,7 +9201,6 @@ 0 0 0 -0 12 12 0 @@ -9196,7 +9217,6 @@ 0 0 0 -0 12 0 0 @@ -9231,7 +9251,6 @@ 0 0 0 -0 12 0 0 @@ -9386,16 +9405,12 @@ 0 0 0 -0 -0 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: -40 -0 -0 +38 0 0 0 @@ -10274,7 +10289,7 @@ # Num Counters: 4 # Counter Values: -214700453 +213096932 12 12 0 @@ -10306,7 +10321,7 @@ # Num Counters: 4 # Counter Values: -392913625 +386198196 12 12 0 @@ -10369,7 +10384,7 @@ # Counter Values: 0 0 -355193 +350801 0 0 0 @@ -10422,10 +10437,10 @@ 9 # Counter Values: 0 -354016 +349628 0 0 -354008 +349619 0 0 0 @@ -10437,7 +10452,7 @@ # Num Counters: 10 # Counter Values: -5870 +5884 12 12 12 @@ -10579,9 +10594,9 @@ # Num Counters: 7 # Counter Values: -7284 +7308 0 -9699 +9677 0 0 0 @@ -11069,23 +11084,23 @@ # Num Counters: 17 # Counter Values: -2121956 -2121565 -355271 -354026 -353908 -354027 -149030 -142658 -131 -2122184 -2122208 -488888 -144863 -152257 -152257 -342 -326 +2095320 +2094873 +350879 +349635 +349536 +349637 +153716 +147672 +152 +2095640 +2095646 +476900 +149976 +157437 +157436 +334 +316 @SRC@/src/core/write_watch.cpp;_ZN12_GLOBAL__N_122read_small_file_numberEPKc # Func Hash: @@ -11141,11 +11156,11 @@ # Num Counters: 9 # Counter Values: -396 -139 +338 +145 0 0 -41 +35 12 12 12 @@ -11157,10 +11172,10 @@ # NumValueSites: 1 4 -65:11 129:8 -33:6 -257:4 +33:7 +65:6 +257:2 @SRC@/src/core/write_watch.cpp;_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPZ25write_watch_fault_writersPyS2_PjiE6WriterSt6vectorIS4_SaIS4_EEEExZ25write_watch_fault_writersS2_S2_S3_iE3$_0EvT_SB_T0_T1_ # Func Hash: @@ -11168,20 +11183,20 @@ # Num Counters: 16 # Counter Values: -7278 -7240 +8435 +7056 0 -15108 +15459 0 0 0 -41 -49 -77 -28 -45 -425 -677 +40 +52 +62 +29 +48 +436 +679 0 0 @@ -11233,92 +11248,92 @@ 0 0 0 -1149253 -149369 -2618284 -72965 +1170981 +148686 +2602790 +72242 0 0 -985074 +1003698 0 0 0 0 0 -1149253 -164179 +1170981 +167283 0 0 -164179 -164179 +167283 +167283 0 -164179 +167283 0 0 0 -149270 +148587 0 -164178 -164179 +167283 +167283 0 -163798 -164179 +167030 +167283 0 0 -164179 -149089 -133396 -164179 -164179 +167283 +148440 +136440 +167283 +167283 0 0 0 -164178 -164179 +167283 +167283 0 0 -149369 +148686 0 -149369 +148686 0 -164178 +167283 0 0 0 -19876 -2448 -161730 -164179 -163798 +23637 +1456 +165827 +167283 +167030 0 -149089 -53412 -163798 +148440 +56601 +167030 33 -10660 +8428 0 -149270 -14810 +148587 +18597 0 -10660 -149197 +8428 +148548 0 0 0 -149368 +148686 0 -149368 -149368 -149368 -153518 -149369 -164178 -164179 -163798 -149089 -163798 +148686 +148686 +148686 +158855 +148686 +167283 +167283 +167030 +148440 +167030 0 -14810 +18597 0 0 0 @@ -11334,21 +11349,21 @@ 0 0 0 -144303 -5066 -149197 -149368 +143646 +5040 +148548 +148686 0 0 -38421 +37856 0 -149196 +148548 0 -164179 +167283 0 -163798 -149089 -163798 +167030 +148440 +167030 0 0 0 @@ -11358,104 +11373,104 @@ 0 0 0 -149369 -164178 -149197 +148686 +167283 +148548 0 -38421 +37856 0 -149196 +148548 0 0 0 -2403 -5066 -5066 -5066 +186 +5040 +5040 +5040 0 -163798 -149089 +167030 +148440 0 0 0 -149369 +148686 0 -149197 +148548 0 -38421 +37856 0 -149196 +148548 0 0 -45 +1270 0 -5066 -2403 -144195 +5040 +186 +143538 0 -5066 -5066 +5040 +5040 0 0 0 0 -144303 -149197 +143646 +148548 0 -38421 +37856 0 -149196 -45 +148548 +1270 0 0 -5066 -5066 -128583 -5066 -5066 -2336 -2730 +5040 +5040 +128076 +5040 +5040 +2331 +2709 0 0 0 0 0 -38421 +37856 0 -149196 +148548 0 -5066 +5040 36 -17 +21 72 0 0 0 -5066 +5040 0 -5066 +5040 0 -5066 -164179 +5040 +167283 0 -164179 +167283 0 0 -1149253 -1149253 +1170981 +1170981 0 0 -163798 +167030 0 0 0 0 0 0 -149197 +148548 0 0 -6410 +6339 0 0 0 @@ -11463,7 +11478,7 @@ 0 0 0 -2336 +2331 0 0 0 @@ -11471,26 +11486,26 @@ 0 0 0 -5066 +5040 0 0 0 -144303 +143646 0 0 0 0 -164179 +167283 0 0 0 2 -164179 +167283 0 -164179 -159113 -159113 -159113 +167283 +162243 +162243 +162243 0 0 0 @@ -11504,7 +11519,7 @@ 0 0 0 -38421 +37856 0 0 0 @@ -11525,41 +11540,41 @@ 0 0 1 -** External Symbol **:164180 +** External Symbol **:167284 0 1 -** External Symbol **:164180 +** External Symbol **:167284 0 1 -** External Symbol **:14810 +** External Symbol **:18597 0 0 0 0 0 1 -** External Symbol **:149370 +** External Symbol **:148687 0 1 -** External Symbol **:5066 +** External Symbol **:5040 1 -** External Symbol **:5066 +** External Symbol **:5040 0 0 1 -** External Symbol **:164180 +** External Symbol **:167284 1 -** External Symbol **:164180 +** External Symbol **:167284 1 -** External Symbol **:164180 +** External Symbol **:167284 1 -** External Symbol **:164180 +** External Symbol **:167284 1 -** External Symbol **:164180 +** External Symbol **:167284 1 -** External Symbol **:164180 +** External Symbol **:167284 1 -** External Symbol **:164180 +** External Symbol **:167284 0 0 0 @@ -11572,7 +11587,7 @@ # Num Counters: 2 # Counter Values: -164179 +167283 0 # Num Value Kinds: 1 @@ -11581,13 +11596,13 @@ # NumValueSites: 4 1 -** External Symbol **:164180 +** External Symbol **:167284 1 -** External Symbol **:164180 +** External Symbol **:167284 1 -** External Symbol **:164180 +** External Symbol **:167284 1 -** External Symbol **:164180 +** External Symbol **:167284 @SRC@/src/decomp/camera/follow_camera.cpp;_ZN12_GLOBAL__N_16reportEv # Func Hash: @@ -11609,8 +11624,8 @@ # Counter Values: 0 0 -164179 -164179 +167283 +167283 @SRC@/src/decomp/camera/follow_camera.cpp;_ZN12_GLOBAL__N_19pulled_inERKNS_9FollowCamEPvDv4_f # Func Hash: @@ -11618,10 +11633,10 @@ # Num Counters: 4 # Counter Values: -164178 -164178 +167283 +167283 0 -482 +2934 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -11629,7 +11644,7 @@ # NumValueSites: 1 1 -** External Symbol **:164180 +** External Symbol **:167284 @SRC@/src/decomp/chalice/ritual.cpp;_Z12chalice_rollPN12_GLOBAL__N_15SetupEiPv # Func Hash: @@ -11986,14 +12001,14 @@ # Num Counters: 9 # Counter Values: -26821091 -24247541 -6100362 -18147179 -2573550 -2573550 -2573550 -2573550 +26781371 +24211757 +6098122 +18113635 +2569614 +2569614 +2569614 +2569614 0 @SRC@/src/decomp/events/interpreter.cpp;_ZN12_GLOBAL__N_110report_endEv @@ -12165,16 +12180,16 @@ # Num Counters: 11 # Counter Values: -37969 -34444 -11449 -22995 -3525 -3525 -3513 -3525 -3513 -3513 +37980 +34454 +11454 +23000 +3526 +3526 +3514 +3526 +3514 +3514 0 @SRC@/src/decomp/gx/block_reclaim.cpp;_GLOBAL__sub_I_block_reclaim.cpp @@ -12208,39 +12223,39 @@ 35 # Counter Values: 0 -68 -114811 -114811 -112898 -3856 -3856 +59 +115684 +115684 +114069 +3297 +3297 0 -168352 -168892 -376559 -545458 +170754 +171265 +380447 +551724 0 -105644 +107370 0 0 -105644 +107370 320 -1919 -432 -105315 +1619 +386 +107029 320 0 320 320 -218542 -114862 -1485 -103709 -105628 -68 -269 -30 -286 +221435 +115730 +1232 +105736 +107355 +59 +252 +35 +273 320 @SRC@/src/decomp/gx/command_list.cpp;_ZN12_GLOBAL__N_110free_pagesEy @@ -12250,9 +12265,9 @@ 4 # Counter Values: 0 -11563610 -11563610 -8079392 +11662820 +11662820 +8111317 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -12260,7 +12275,7 @@ # NumValueSites: 2 1 -** External Symbol **:8079470 +** External Symbol **:8111317 0 @SRC@/src/decomp/gx/constant_engine.cpp;_ZN12_GLOBAL__N_114compare_writerILy0EEEyyyyyyy @@ -12555,10 +12570,10 @@ # Num Counters: 7 # Counter Values: -47877157 -47877246 +48639009 +48639058 0 -47877218 +48639031 0 0 0 @@ -12576,10 +12591,10 @@ # Num Counters: 7 # Counter Values: -7082014 -7082014 +7213932 +7213932 0 -7082014 +7213932 0 0 0 @@ -12597,10 +12612,10 @@ # Num Counters: 7 # Counter Values: -1798396 -1798396 +1829098 +1829098 0 -1798396 +1829098 0 0 0 @@ -12618,10 +12633,10 @@ # Num Counters: 7 # Counter Values: -167033 -167033 +170592 +170592 0 -167033 +170592 0 0 0 @@ -12639,10 +12654,10 @@ # Num Counters: 7 # Counter Values: -167033 -167033 +170592 +170592 0 -167033 +170592 0 0 0 @@ -12660,10 +12675,10 @@ # Num Counters: 7 # Counter Values: -8595943 -8595870 +8741796 +8741696 0 -8595906 +8741736 0 0 0 @@ -12681,10 +12696,10 @@ # Num Counters: 7 # Counter Values: -1798396 -1798396 +1829098 +1829098 0 -1798396 +1829098 0 0 0 @@ -12704,10 +12719,10 @@ # Counter Values: 0 0 -166877 -166877 +170436 +170436 0 -166877 +170436 0 0 0 @@ -12746,11 +12761,11 @@ # Num Counters: 7 # Counter Values: -376559 +380447 0 -376559 +380447 0 -376559 +380447 0 0 # Num Value Kinds: @@ -12767,10 +12782,10 @@ # Num Counters: 7 # Counter Values: -7081624 -7081624 +7213542 +7213542 0 -7081624 +7213542 0 0 0 @@ -12788,10 +12803,10 @@ # Num Counters: 7 # Counter Values: -7082014 -7082014 +7213932 +7213932 0 -7082014 +7213932 0 0 0 @@ -12809,10 +12824,10 @@ # Num Counters: 7 # Counter Values: -602030 -602030 +609024 +609024 0 -602030 +609024 0 0 0 @@ -12831,10 +12846,10 @@ 8 # Counter Values: 0 -7082014 -7082014 +7213932 +7213932 0 -7082014 +7213932 0 0 0 @@ -12852,10 +12867,10 @@ # Num Counters: 7 # Counter Values: -925730 -925730 +931944 +931944 0 -925730 +931944 0 0 0 @@ -12894,10 +12909,10 @@ # Num Counters: 7 # Counter Values: -6766573 -6766573 +6895597 +6895597 0 -6766573 +6895597 0 0 0 @@ -12915,10 +12930,10 @@ # Num Counters: 7 # Counter Values: -9269428 -9269428 +9433923 +9433923 0 -9269428 +9433923 0 0 0 @@ -12936,10 +12951,10 @@ # Num Counters: 7 # Counter Values: -9269428 -9269428 +9433923 +9433923 0 -9269428 +9433923 0 0 0 @@ -12957,10 +12972,10 @@ # Num Counters: 7 # Counter Values: -9269428 -9269428 +9433923 +9433923 0 -9269428 +9433923 0 0 0 @@ -13346,9 +13361,9 @@ # Counter Values: 0 12 -86016 -9943251 -9734 +84653 +10364646 +10144 0 66 66 @@ -13378,14 +13393,14 @@ # Num Counters: 8 # Counter Values: -8688470 -8055952 -662279 -8688467 -8055949 -32955 -3292909 -968218 +8837196 +8198688 +670083 +8837194 +8198686 +35018 +3350261 +989112 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -13393,13 +13408,13 @@ # NumValueSites: 3 1 -** External Symbol **:8688498 +** External Symbol **:8837256 1 -** External Symbol **:32955 +** External Symbol **:35018 3 -** External Symbol **:7179180 -** External Symbol **:622879 -@SRC@/src/decomp/gx/render_queue.cpp;_ZN12_GLOBAL__N_110rq_job_runEyj:253921 +** External Symbol **:7302492 +** External Symbol **:642917 +@SRC@/src/decomp/gx/render_queue.cpp;_ZN12_GLOBAL__N_110rq_job_runEyj:253338 @SRC@/src/decomp/gx/job_barrier.cpp;_ZN12_GLOBAL__N_15sweepEyy # Func Hash: @@ -13407,12 +13422,12 @@ # Num Counters: 6 # Counter Values: -18967691 -16592931 -15638109 -15591758 -3955188 -3955188 +19248382 +16846867 +15873294 +15822737 +4020344 +4020344 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -13420,9 +13435,9 @@ # NumValueSites: 2 1 -** External Symbol **:3955199 +** External Symbol **:4020360 1 -** External Symbol **:16592973 +** External Symbol **:16846919 @SRC@/src/decomp/gx/job_barrier.cpp;_ZN12_GLOBAL__N_16reportEv # Func Hash: @@ -13828,35 +13843,35 @@ 30 # Counter Values: 0 -62 +38 0 -72215 -72215 -70774 -6330 -6330 -2836425 -64630 +76923 +76925 +75698 +5203 +5203 +2821067 +69096 0 -64627 -1441 -750 -64309 +69093 +1227 +640 +68772 320 320 0 320 -41 +44 320 320 -279 -72214 -690 -63191 +276 +76922 +584 +67869 0 -62 -237 -30 +38 +233 +27 @SRC@/src/decomp/gx/rename_wait.cpp;_ZN12_GLOBAL__N_16reportEv # Func Hash: @@ -13900,13 +13915,13 @@ # Num Counters: 8 # Counter Values: -4179110 -2649797 -2649629 -134810 -134802 -134802 -134794 +4275892 +2707805 +2707637 +137932 +137924 +137924 +137916 0 @SRC@/src/decomp/gx/render_queue.cpp;_ZN12_GLOBAL__N_110game_chunkEyyjjjb @@ -13915,10 +13930,10 @@ # Num Counters: 4 # Counter Values: -7622811 -1051049 -6566512 -7620188 +7678169 +1063400 +6610366 +7675087 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -13926,9 +13941,9 @@ # NumValueSites: 2 1 -** External Symbol **:1050352 +** External Symbol **:1062030 1 -** External Symbol **:6561990 +** External Symbol **:6606420 @SRC@/src/decomp/gx/render_queue.cpp;_ZN12_GLOBAL__N_110rq_job_runEyj # Func Hash: @@ -13936,7 +13951,7 @@ # Num Counters: 1 # Counter Values: -1545251 +1541045 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -13944,7 +13959,7 @@ # NumValueSites: 1 1 -** External Symbol **:1545094 +** External Symbol **:1540903 @SRC@/src/decomp/gx/render_queue.cpp;_ZN12_GLOBAL__N_111learn_chunkEyyy # Func Hash: @@ -13952,17 +13967,17 @@ # Num Counters: 12 # Counter Values: -25570042 -115781534 -115781534 -1887639 -120470141 -30259290 -6577195 -30259227 -6577148 -6576888 -6576872 +25773654 +116573616 +116573616 +1907848 +121285867 +30487180 +6621949 +30487388 +6621923 +6621582 +6621559 0 @SRC@/src/decomp/gx/render_queue.cpp;_ZN12_GLOBAL__N_113cut_partitionEyjjjPNS_4PartEPaPj @@ -13971,9 +13986,9 @@ # Num Counters: 5 # Counter Values: -25883520 +26482944 0 -134810 +137932 0 0 @@ -13998,7 +14013,7 @@ 8 # Counter Values: 0 -30430507 +30648353 0 0 0 @@ -14012,8 +14027,8 @@ # Num Counters: 2 # Counter Values: -4665609 -3117310 +4652866 +3108120 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -14021,7 +14036,7 @@ # NumValueSites: 1 1 -** External Symbol **:4664704 +** External Symbol **:4651933 @SRC@/src/decomp/gx/render_queue.cpp;_ZN12_GLOBAL__N_117compare_partitionEyjjj # Func Hash: @@ -14073,9 +14088,9 @@ # Num Counters: 3 # Counter Values: -1227584 -806647 -806652 +1220154 +801931 +801939 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -14083,7 +14098,7 @@ # NumValueSites: 1 1 -** External Symbol **:1227554 +** External Symbol **:1220142 @SRC@/src/decomp/gx/render_queue.cpp;_ZN12_GLOBAL__N_119render_queue_reportEv # Func Hash: @@ -14202,7 +14217,7 @@ 0 0 0 -30489428 +30716596 0 0 0 @@ -14229,10 +14244,10 @@ 0 0 0 -7620708 +7676743 0 0 -7621265 +7677670 0 0 0 @@ -14276,31 +14291,31 @@ 0 0 0 -166888 +170448 0 0 -134810 -134810 +137932 +137932 0 -134810 +137932 0 -134810 +137932 0 -32078 +32516 0 -134810 -166888 +137932 +170448 0 -134810 -134810 +137932 +137932 0 -166888 +170448 0 -32078 +32516 0 0 0 -134810 +137932 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -14308,7 +14323,7 @@ # NumValueSites: 1 1 -** External Symbol **:32078 +** External Symbol **:32516 @SRC@/src/decomp/gx/render_queue.cpp;_ZN12_GLOBAL__N_124render_queue_list_appendEyyj # Func Hash: @@ -14333,19 +14348,19 @@ 38 # Counter Values: 0 -32078 +32516 0 0 -134802 +137924 0 0 -2649962 -135050 -2649962 +2707971 +138172 +2707971 0 -738544 +739065 0 -1066266 +1087323 0 0 0 @@ -14355,21 +14370,21 @@ 0 0 0 -32078 -134810 +32516 +137932 0 0 -166888 -134810 +170448 +137932 8 -134810 -134802 -134802 +137932 +137924 +137924 0 0 8 0 -2649962 +2707971 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -14377,23 +14392,23 @@ # NumValueSites: 9 1 -** External Symbol **:32078 +** External Symbol **:32516 1 -** External Symbol **:134811 +** External Symbol **:137933 1 -** External Symbol **:134811 +** External Symbol **:137933 1 -** External Symbol **:134811 +** External Symbol **:137933 1 -** External Symbol **:2649983 +** External Symbol **:2707991 1 -** External Symbol **:2649983 +** External Symbol **:2707991 1 -** External Symbol **:134811 +** External Symbol **:137933 1 -** External Symbol **:134811 +** External Symbol **:137933 1 -** External Symbol **:134811 +** External Symbol **:137933 @SRC@/src/decomp/gx/render_queue.cpp;_ZN12_GLOBAL__N_14Fold4lineERKNS_6WindowE # Func Hash: @@ -14559,71 +14574,71 @@ # Counter Values: 0 0 -25553360 +26032988 0 0 -114778184 +116947413 0 -114778184 -134810 +116947413 +137932 0 -3124954 -118801354 +3188785 +121044275 0 -29576530 -4625874 +30129850 +4726282 0 -45955167 -29576530 -4895494 -134810 +46212544 +30129850 +5002146 +137932 0 -7148124 +7285647 0 -2515152 +2570039 0 0 0 -134810 -134810 -134810 -2515152 +137932 +137932 +137932 +2570039 0 -132459 -1614803 -900349 +134108 +1667818 +902221 0 -134810 -2382693 +137932 +2435931 0 -1614803 +1667818 0 -900349 +902221 0 0 -269620 -134810 +275864 +137932 0 0 -1614803 +1667818 0 -900349 +902221 0 0 0 -900349 +902221 0 0 0 0 -269620 -269620 -1614803 +275864 +275864 +1667818 0 0 -269604 +275848 16 -259757 +263555 0 0 0 @@ -14631,9 +14646,9 @@ 0 0 0 -7148124 -2515152 -134810 +7285647 +2570039 +137932 0 0 @@ -14756,30 +14771,30 @@ # Num Counters: 24 # Counter Values: -870328 -870328 -7907 -870328 -7907 -870328 -7235 -26035 -870328 -870328 -7907 -870328 -0 -17393 -5711 -847224 -7907 -0 -17393 -5711 -0 -870328 -870328 -870328 +870380 +870380 +7901 +870380 +7901 +870380 +7279 +26051 +870380 +870380 +7901 +870380 +0 +17394 +5755 +847231 +7901 +0 +17394 +5755 +0 +870380 +870380 +870380 @SRC@/src/decomp/gx/resources.cpp;_ZN12_GLOBAL__N_121compare_create_bufferEyyyyyyy # Func Hash: @@ -15032,8 +15047,8 @@ # Counter Values: 0 235 -17429 -17429 +17430 +17430 235 # Num Value Kinds: 1 @@ -15042,7 +15057,7 @@ # NumValueSites: 1 2 -513:17417 +513:17418 257:12 @SRC@/src/decomp/memory/game_memcpy.cpp;_ZN12_GLOBAL__N_111game_memcpyEPvPKvy @@ -15051,9 +15066,9 @@ # Num Counters: 3 # Counter Values: -822517061 -2155386 -134053 +820548776 +2151075 +136668 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -15061,28 +15076,28 @@ # NumValueSites: 1 22 -16:500767701 -4:125987887 -9:61158308 -64:40549545 -17:23009648 -513:21603847 -8:17370551 -65:9458389 -33:9171924 -129:3828263 -0:3626411 -257:3065953 -128:2587643 -1:1153782 -32:187663 -2:8463 -512:2388 -6:1016 -256:643 -3:116 -7:109 -5:106 +16:499124647 +4:125174344 +9:60666328 +64:40886356 +17:23225954 +513:21657412 +8:17690275 +65:9486746 +33:9157540 +129:3872058 +0:3666576 +257:3109650 +128:2581941 +1:1154021 +32:186736 +2:8487 +512:2556 +6:1012 +256:646 +7:128 +3:102 +5:96 @SRC@/src/decomp/memory/game_memcpy.cpp;_ZN12_GLOBAL__N_16reportEv # Func Hash: @@ -15564,11 +15579,11 @@ # Num Counters: 6 # Counter Values: -731330139 -1092007028 -1441 -652529951 -1368 +736761437 +889404660 +1613 +662678686 +1540 0 # Num Value Kinds: 1 @@ -15577,9 +15592,9 @@ # NumValueSites: 3 1 -** External Symbol **:649213878 +** External Symbol **:658691406 1 -** External Symbol **:1358 +** External Symbol **:1527 0 @SRC@/src/decomp/sync/ez_work.cpp;_GLOBAL__sub_I_ez_work.cpp @@ -15620,12 +15635,12 @@ # Num Counters: 6 # Counter Values: -6504 -6504 +6508 +6508 0 -46992315 +46849313 63 -46992316 +46849315 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -15635,7 +15650,7 @@ 1 ** External Symbol **:63 1 -** External Symbol **:6504 +** External Symbol **:6508 0 @SRC@/src/decomp/sync/ez_work.cpp;_ZN12_GLOBAL__N_116node_cache_allocEyyy @@ -15644,9 +15659,9 @@ # Num Counters: 3 # Counter Values: -11162 -46992069 -46980907 +11174 +46849074 +46837900 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -15654,7 +15669,7 @@ # NumValueSites: 1 1 -** External Symbol **:11162 +** External Symbol **:11174 @SRC@/src/decomp/sync/ez_work.cpp;_ZN12_GLOBAL__N_119ez_work_process_oneEy # Func Hash: @@ -15664,19 +15679,19 @@ # Counter Values: 3780 432 -56125430 -46992385 -46992217 -56145552 -46911686 -46992386 +56094841 +46849386 +46849243 +56116880 +46757236 +46849385 135 -1242090 -17429 -46762303 +1245289 +17430 +46591106 0 -46854091 -17485 +46703293 +17492 0 135 0 @@ -15687,48 +15702,48 @@ # NumValueSites: 15 1 -** External Symbol **:55625182 +** External Symbol **:55598659 2 -@SRC@/src/decomp/sync/ez_work.cpp;_ZN12_GLOBAL__N_115node_cache_freeEyy:46992774 +@SRC@/src/decomp/sync/ez_work.cpp;_ZN12_GLOBAL__N_115node_cache_freeEyy:46849732 ** External Symbol **:69 1 -** External Symbol **:56146012 +** External Symbol **:56117269 9 -** External Symbol **:37761152 -** External Symbol **:7307303 -** External Symbol **:1021913 -** External Symbol **:350042 -** External Symbol **:263857 -** External Symbol **:154612 -** External Symbol **:45399 -** External Symbol **:35411 -** External Symbol **:23260 +** External Symbol **:37604799 +** External Symbol **:7291226 +** External Symbol **:1030825 +** External Symbol **:360802 +** External Symbol **:265526 +** External Symbol **:154108 +** External Symbol **:46539 +** External Symbol **:36328 +** External Symbol **:23150 1 -** External Symbol **:1242098 +** External Symbol **:1245297 1 -** External Symbol **:17485 +** External Symbol **:17492 0 1 -** External Symbol **:17429 +** External Symbol **:17430 1 -** External Symbol **:17429 +** External Symbol **:17430 1 -** External Symbol **:17429 +** External Symbol **:17430 1 -** External Symbol **:17429 +** External Symbol **:17430 1 -** External Symbol **:46195061 +** External Symbol **:45965798 8 -** External Symbol **:36512247 -** External Symbol **:7143240 -** External Symbol **:1046481 -** External Symbol **:340978 -** External Symbol **:263236 -** External Symbol **:148212 -** External Symbol **:47927 -** External Symbol **:24711 +** External Symbol **:36110452 +** External Symbol **:7044315 +** External Symbol **:1057019 +** External Symbol **:351910 +** External Symbol **:263897 +** External Symbol **:147561 +** External Symbol **:48607 +** External Symbol **:25193 1 -** External Symbol **:45274149 +** External Symbol **:44788155 0 @SRC@/src/decomp/talk/evaluator.cpp;_ZN11talk_script12_GLOBAL__N_110table_readEPhPNS_7ContextEy @@ -15742,8 +15757,8 @@ 0 0 0 -2088850 -2088850 +2078535 +2078535 0 0 0 @@ -15991,9 +16006,9 @@ # Num Counters: 7 # Counter Values: -495534 +532381 0 -495534 +532381 0 0 0 @@ -17779,14 +17794,14 @@ # Num Counters: 79 # Counter Values: -3423094 -879150 -879150 +3417732 +877744 +877744 0 0 0 0 -23533 +23467 0 0 0 @@ -17794,7 +17809,7 @@ 0 0 0 -23533 +23467 0 0 0 @@ -17936,13 +17951,13 @@ # Num Counters: 24 # Counter Values: -21142 -1008665 -1008365 -1008379 +21076 +1001466 +1001111 +1001200 0 0 -1009069 +1001839 0 0 0 @@ -17955,8 +17970,8 @@ 0 0 0 -1009053 -1009053 +1001812 +1001812 0 0 0 @@ -17967,7 +17982,7 @@ # Num Counters: 6 # Counter Values: -1008832 +1001550 0 0 0 @@ -18737,12 +18752,12 @@ # Num Counters: 6 # Counter Values: -11679337 -753526 -2637297 -753494 -2637257 -4897763 +11801973 +761438 +2664989 +761406 +2664949 +4949191 @SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_112swing_targetEf # Func Hash: @@ -18750,7 +18765,7 @@ # Num Counters: 12 # Counter Values: -735820 +739493 0 0 0 @@ -18779,14 +18794,14 @@ # Num Counters: 22 # Counter Values: -735820 -735820 +739493 +739493 0 -735820 +739493 0 0 -72178 -663642 +72774 +666719 0 0 0 @@ -18794,10 +18809,10 @@ 0 0 0 -735820 +739493 0 -735820 -735820 +739493 +739493 0 0 0 @@ -18959,25 +18974,25 @@ # Num Counters: 185 # Counter Values: -10925431 -38760 +11040155 +39218 0 0 -7534780 -753478 -1351916 +7613900 +761390 +1365908 0 0 0 0 0 -376739 +380698 0 -376739 -359081 -359081 +380698 +358795 +358795 0 -376739 +380695 0 0 0 @@ -18990,8 +19005,8 @@ 0 0 0 -376739 -359081 +380698 +358795 0 0 0 @@ -19000,16 +19015,16 @@ 0 0 0 -376739 -376739 -376739 +380695 +380695 +380695 0 -376739 +380695 0 0 0 0 -376739 +380695 12 12 0 @@ -19017,14 +19032,14 @@ 0 0 0 -376739 -376739 -376739 -376739 -376739 -376739 +380695 +380695 +380695 +380695 +380695 +380695 0 -376739 +380695 0 0 0 @@ -19039,7 +19054,7 @@ 0 0 0 -376739 +380695 0 12 0 @@ -19123,26 +19138,26 @@ 0 0 0 -231349 -554 +231816 +425 0 -554 +425 0 -554 -376739 -376727 -376739 -337979 +425 +380695 +380683 +380695 +341477 0 0 -554 -17658 +425 +21900 0 0 -236543 -554 +237403 +425 0 -337569 +341039 0 # Num Value Kinds: 1 @@ -19158,56 +19173,56 @@ # Num Counters: 51 # Counter Values: -231349 -233274 -5651085 +231816 +233722 +5710425 0 0 0 0 -31942 -3989559261 +32134 +4023322794 0 0 -376739 +380695 0 0 -376739 -376739 -376739 +380698 +380698 +380698 0 -31942 -376347 +32134 +380253 0 -376739 +380695 0 0 0 0 0 0 -17658 +21900 0 0 0 0 -376739 +380698 0 0 0 -376739 +380698 0 0 -376739 -376739 +380698 +380698 0 -376739 -3989822552 -3989591203 -376739 -376739 -376739 -144384 +380698 +4023586744 +4023354928 +380695 +380695 +380695 +147852 0 # Num Value Kinds: 1 @@ -19216,19 +19231,19 @@ # NumValueSites: 7 1 -@SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock3nowEv:376742 +@SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock3nowEv:380699 1 -@SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock13spin_margin_sEv:376742 +@SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock13spin_margin_sEv:380699 1 -@SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock11min_sleep_sEv:376742 +@SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock11min_sleep_sEv:380699 1 -@SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock8sleep_usEx:31944 +@SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock8sleep_usEx:32137 1 -@SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock10spin_pauseEv:3989559261 +@SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock10spin_pauseEv:4023328015 1 -@SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock3nowEv:3989591203 +@SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock3nowEv:4023360150 1 -@SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock9wait_doneEv:376740 +@SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock9wait_doneEv:380696 @SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_120note_main_frame_workEy # Func Hash: @@ -19236,10 +19251,10 @@ # Num Counters: 4 # Counter Values: -376739 -376739 -376739 -376739 +380698 +380698 +380698 +380698 @SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19FlipClock10spin_pauseEv # Func Hash: @@ -19287,9 +19302,9 @@ # Num Counters: 3 # Counter Values: -3989559261 -232976 -201330 +4023322794 +233398 +201585 @SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock11min_sleep_sEv # Func Hash: @@ -19297,7 +19312,7 @@ # Num Counters: 1 # Counter Values: -376739 +380698 @SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock13spin_margin_sEv # Func Hash: @@ -19305,7 +19320,7 @@ # Num Counters: 1 # Counter Values: -376739 +380698 @SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock3nowEv # Func Hash: @@ -19313,7 +19328,7 @@ # Num Counters: 1 # Counter Values: -3989967942 +4023735626 @SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock8sleep_usEx # Func Hash: @@ -19321,10 +19336,10 @@ # Num Counters: 4 # Counter Values: -253376 -31942 -1990 -11473 +255040 +32137 +2003 +10919 @SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClock9wait_doneEv # Func Hash: @@ -19332,9 +19347,9 @@ # Num Counters: 3 # Counter Values: -376739 -232976 -232975 +380695 +233398 +233397 @SRC@/src/engine/frame_rate.cpp;_ZN12_GLOBAL__N_19RealClockD0Ev # Func Hash: @@ -19564,9 +19579,9 @@ @SRC@/src/engine/graphics_patch.cpp;_GLOBAL__sub_I_graphics_patch.cpp # Func Hash: -131209833774440360 +522756846885527800 # Num Counters: -35 +37 # Counter Values: 0 0 @@ -19603,6 +19618,39 @@ 0 0 0 +0 +0 + +@SRC@/src/engine/graphics_patch.cpp;_ZN12_GLOBAL__N_111blur_updateEv +# Func Hash: +365794130099372794 +# Num Counters: +24 +# Counter Values: +0 +0 +12 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +12 +0 +0 +0 +12 +0 +0 +0 +0 @SRC@/src/engine/graphics_patch.cpp;_ZN12_GLOBAL__N_112ui_stage_pinEP8ElfImage # Func Hash: @@ -19631,7 +19679,7 @@ # Num Counters: 9 # Counter Values: -166888 +170449 0 0 0 @@ -19656,56 +19704,19 @@ 50640 0 -@SRC@/src/engine/graphics_patch.cpp;_ZN12_GLOBAL__N_115fog_upload_hookEyPKy +@SRC@/src/engine/graphics_patch.cpp;_ZN12_GLOBAL__N_115dof_levels_hookEyPKy # Func Hash: -204980581489695717 +151679797670183424 # Num Counters: -16 -# Counter Values: -0 -0 -0 -0 -166888 -0 -0 -0 -0 -0 -0 -0 -0 -0 -166888 -0 - -@SRC@/src/engine/graphics_patch.cpp;_ZN12_GLOBAL__N_116render_view_hookEyPKy -# Func Hash: -30758300100203684 -# Num Counters: -175 +31 # Counter Values: -0 -3360 -0 -0 -0 -0 -0 -0 -0 -0 +170436 +170436 0 0 +170436 0 -2670208 -0 -0 -0 -210 -0 -2389648 -0 +170436 0 0 0 @@ -19717,6 +19728,7 @@ 0 0 0 +170436 0 0 0 @@ -19729,57 +19741,45 @@ 0 0 0 + +@SRC@/src/engine/graphics_patch.cpp;_ZN12_GLOBAL__N_115fog_upload_hookEyPKy +# Func Hash: +269792485261109258 +# Num Counters: +23 +# Counter Values: 0 -166888 0 0 -166888 -166888 -166888 0 0 0 +170447 0 0 -10 -33 0 -166888 -166888 -12 -149353 0 0 -166888 0 -166888 -134362 -33 0 0 0 0 0 -10 -166888 -14991 0 -166888 -12 0 -166888 -134362 0 -10 -30 -28 0 -29 -2 0 -12 -10 + +@SRC@/src/engine/graphics_patch.cpp;_ZN12_GLOBAL__N_116render_view_hookEyPKy +# Func Hash: +30758300100203684 +# Num Counters: +175 +# Counter Values: 0 +3360 0 0 0 @@ -19787,37 +19787,26 @@ 0 0 0 -12 -2 0 0 0 0 +2727184 0 -12 0 0 +210 0 -2 +2405312 0 0 0 -2 0 0 -2 0 0 0 0 -12 -12 -12 -12 -12 -12 -12 -12 0 0 0 @@ -19834,53 +19823,98 @@ 0 0 0 -166859 +170449 0 0 +170449 +170449 +170449 0 0 0 0 0 +10 +33 0 +170449 +170449 +12 +150332 0 0 +170449 0 +170449 +134344 +33 0 0 0 0 0 +10 +170449 +15988 +0 +170449 +12 +0 +170449 +134344 0 10 +30 +28 0 -166888 -149323 -149353 +31 2 +0 +12 +10 +0 +0 +0 +0 +0 +0 +0 +0 +12 2 0 - -@SRC@/src/engine/graphics_patch.cpp;_ZN12_GLOBAL__N_116settings_changedERK12HostSettings -# Func Hash: -527137885637715233 -# Num Counters: -44 -# Counter Values: +0 +0 +0 +0 +12 +0 +0 +0 +2 +0 +0 +0 +2 +0 +0 +2 +0 +0 +0 +0 +12 +12 12 -1 12 12 -11 12 -0 12 12 0 0 0 0 -11 0 0 0 @@ -19889,6 +19923,56 @@ 0 0 0 +0 +0 +0 +0 +170418 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +10 +0 +170449 +150302 +150332 +2 +2 +0 + +@SRC@/src/engine/graphics_patch.cpp;_ZN12_GLOBAL__N_116settings_changedERK12HostSettings +# Func Hash: +697334359191899447 +# Num Counters: +33 +# Counter Values: +12 +1 +12 +12 +11 +12 +12 +12 +0 +11 +0 +0 +0 12 12 12 @@ -19906,8 +19990,6 @@ 11 12 0 -0 -0 12 0 0 @@ -19944,7 +20026,7 @@ 10 # Counter Values: 0 -166888 +170449 0 0 0 @@ -19956,45 +20038,86 @@ @SRC@/src/engine/graphics_patch.cpp;_ZN12_GLOBAL__N_117yebis_record_hookEyPKy # Func Hash: -563943033187754981 +219330383751657079 # Num Counters: -35 +76 # Counter Values: 0 -166888 -166888 -166888 0 0 0 0 -166876 +170449 +170449 +170449 +0 +170449 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +170437 66 -165641 -1247 -163727 +0 +0 +0 +0 +0 +169220 +1229 +0 +0 +0 +0 +0 +0 +167306 +0 66 0 66 +0 1980 -163673 +167252 66 66 0 0 +0 66 0 0 0 +12 +12 0 0 -166888 -1247 -163673 -163673 +0 +0 +0 +0 +0 +1229 +167252 +167252 66 66 -166888 +170449 +0 +0 +0 +0 +0 @SRC@/src/engine/graphics_patch.cpp;_ZN12_GLOBAL__N_121install_prologue_hookEP8ElfImageyPKhyPvyS3_ybb # Func Hash: @@ -20004,21 +20127,21 @@ # Counter Values: 0 0 -626 +640 0 -626 +640 0 -626 +640 0 -626 +640 0 -626 +640 0 0 0 0 -506 -506 +520 +520 0 0 0 @@ -20029,15 +20152,15 @@ # NumValueSites: 2 3 -17:362 +17:375 16:156 -9:108 +9:109 7 +6:170 3:169 -6:157 2:156 1:84 -0:24 +0:25 4:24 5:12 @@ -20074,6 +20197,15 @@ 0 0 +@SRC@/src/engine/graphics_patch.cpp;__dtor__ZN12_GLOBAL__N_19g_look_muE +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +0 +0 + @SRC@/src/engine/graphics_patch.cpp;__dtor__ZN12_GLOBAL__N_19g_made_muE # Func Hash: 784007058953177093 @@ -20092,6 +20224,15 @@ 0 0 +@SRC@/src/engine/graphics_patch.cpp;__dtor__ZZN12_GLOBAL__N_111blur_updateEvE2mu +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +0 +0 + @SRC@/src/engine/guest.cpp;_ZN12_GLOBAL__N_115host_from_guestEyy # Func Hash: 290495007520186696 @@ -20134,9 +20275,9 @@ # Num Counters: 3 # Counter Values: -6086971 -6086971 -6086971 +6143475 +6143475 +6143475 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_111create_hookEyPKy # Func Hash: @@ -20144,7 +20285,7 @@ # Num Counters: 2 # Counter Values: -100901 +100861 72 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_111tsharp_hookEyPKy @@ -20153,7 +20294,7 @@ # Num Counters: 2 # Counter Values: -100873 +100830 0 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_111view_extentEyb @@ -20162,31 +20303,31 @@ # Num Counters: 25 # Counter Values: -8114 -8114 -8114 -8114 +8116 +8116 +8116 +8116 1728 -8114 -8114 -8114 -8114 +8116 +8116 +8116 +8116 288 2168 -5946 +5948 288 288 288 -8114 +8116 2168 2168 2168 -8114 -8114 +8116 +8116 164 -8114 -8114 -8114 +8116 +8116 +8116 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_112ahead_threadEv # Func Hash: @@ -20214,25 +20355,25 @@ # Num Counters: 30 # Counter Values: -100916 -100916 -94268 +100879 +100879 +94227 0 0 -94268 -83802 -10466 +94227 +83765 +10462 12 12 -107 +103 0 0 0 0 -1075 +1080 0 0 -1075 +1080 0 0 0 @@ -20243,7 +20384,7 @@ 0 0 0 -100892 +100855 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -20251,14 +20392,14 @@ # NumValueSites: 3 4 -16:67 -17:26 -32:11 -33:3 +16:68 +17:25 +32:8 +33:2 0 2 -17:9 -32:3 +17:8 +32:4 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_113create1d_hookEyPKy # Func Hash: @@ -20275,9 +20416,9 @@ # Num Counters: 3 # Counter Values: -71754 -49207 -47438 +71739 +49143 +47380 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_113yebis_writtenEybb # Func Hash: @@ -20326,37 +20467,37 @@ # Counter Values: 0 0 -24982981 -24982981 -1760009 -982709 -143487 -982709 -848289 -982709 -848145 -982721 -982709 -982709 +24994881 +24994881 +1760040 +982725 +146156 +982725 +845620 +982725 +845476 +982737 +982725 +982725 0 0 -982721 -982721 +982737 +982737 0 -982721 -916937 +982737 +916968 0 0 0 -982721 -777300 -982721 -982721 +982737 +777315 +982737 +982737 0 0 0 -982709 -544940 +982725 +534558 0 0 156 @@ -20364,14 +20505,14 @@ 0 0 0 -437781 +448179 144 0 0 0 0 0 -437769 +448167 0 0 0 @@ -20423,13 +20564,13 @@ 0 0 0 -22873905 -22873905 +22895808 +22895808 0 0 -22873905 -22873905 -777300 +22895808 +22895808 +777315 0 0 # Num Value Kinds: @@ -20451,12 +20592,12 @@ # Num Counters: 6 # Counter Values: -14163186 +14427084 0 -14163186 +14427084 0 0 -14163186 +14427084 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_115register_holderEyyNS_4KindEby # Func Hash: @@ -20464,27 +20605,27 @@ # Num Counters: 21 # Counter Values: -6798512 -971216 -971243 -971244 -971244 -971243 -94247 -148550 -148558 -0 -870328 +6798603 971229 -12 -100903 -870328 -94254 -100904 -971237 -870327 -870327 -971230 +971259 +971258 +971257 +971259 +94212 +148505 +148503 +0 +870380 +971232 +12 +100866 +870380 +94213 +100866 +971254 +870380 +870380 +971234 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_115register_objectEyjyy # Func Hash: @@ -20492,12 +20633,12 @@ # Num Counters: 8 # Counter Values: -33709 -298120 -116413 +33923 +298078 +116370 0 -829 -297292 +910 +297168 0 0 @@ -20507,8 +20648,8 @@ # Num Counters: 2 # Counter Values: -116605 -7 +116562 +6 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_116yebis_unmap_hookEyPKy # Func Hash: @@ -20516,11 +20657,11 @@ # Num Counters: 5 # Counter Values: -14163186 +14427084 0 -14163186 +14427084 0 -14163186 +14427084 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_117buffer_made_entryEyyyy # Func Hash: @@ -20529,9 +20670,9 @@ 8 # Counter Values: 0 -870328 +870379 0 -870328 +870379 0 0 0 @@ -20545,7 +20686,7 @@ # Counter Values: 80031 0 -266569 +266613 11433 11433 11433 @@ -20581,8 +20722,8 @@ 0 11433 11433 -174831 -174831 +175026 +175026 11433 0 144 @@ -20593,7 +20734,7 @@ # Num Counters: 1 # Counter Values: -39539 +39474 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_117unregister_holderEy # Func Hash: @@ -20601,47 +20742,47 @@ # Num Counters: 41 # Counter Values: -2984 +2834 0 0 -1423877 -12657 +1425218 +12611 0 -2702 -9992 -71742 -71742 -71742 -71742 -71742 -22547 +2684 +9758 +71727 +71727 +71727 +71727 +71727 +22596 0 -71742 -49195 -71742 -22547 -114 -481 -22547 -13175 -49195 -71742 -11584 -105 +71727 +49131 +71727 +22596 +111 +479 +22596 +12921 +49131 +71727 +11605 +102 0 -22547 -349 -88 -18 -292 +22596 +351 +94 +17 +287 0 0 0 0 -963479 -963479 +964696 +964696 0 -22547 +22596 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_117yebis_create_hookILy1EEExyPKy # Func Hash: @@ -20794,7 +20935,7 @@ # Num Counters: 1 # Counter Values: -22547 +22596 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_119scaleform_init_hookEyPKy # Func Hash: @@ -20802,7 +20943,7 @@ # Num Counters: 2 # Counter Values: -1496 +1497 0 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_119texture1d_dtor_hookEyPKy @@ -20829,11 +20970,11 @@ # Num Counters: 13 # Counter Values: -1716 -385 +1700 +380 0 -385 -429 +380 +425 0 0 0 @@ -20849,7 +20990,7 @@ # Num Counters: 2 # Counter Values: -409 +404 0 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_121yebis_tex2d_dtor_hookEyPKy @@ -20860,9 +21001,9 @@ # Counter Values: 0 0 -78862 +74677 0 -78862 +74677 9636 0 0 @@ -20890,18 +21031,18 @@ 27 # Counter Values: 0 -20 +21 0 0 -20 +21 0 -20 +21 0 0 0 -20 +21 0 -20 +21 0 0 0 @@ -20923,7 +21064,7 @@ # Num Counters: 2 # Counter Values: -14119873 +14016584 84 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_19note_rateEj @@ -20965,8 +21106,8 @@ # Num Counters: 2 # Counter Values: -11217471 -53 +11125529 +54 @SRC@/src/engine/gx_resources.cpp;_ZNKSt10_HashtableIySt4pairIKyN12_GLOBAL__N_15EntryEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ # Func Hash: @@ -20975,13 +21116,13 @@ 9 # Counter Values: 0 -41819459 +53650494 0 154 -1128357 -181985433 -181985409 -181077945 +1109890 +186075613 +186075589 +185153822 24 @SRC@/src/engine/gx_resources.cpp;_ZNSt10_HashtableIySt4pairIKyN12_GLOBAL__N_15EntryEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE8_M_eraseEyPNS6_15_Hash_node_baseEPNS6_10_Hash_nodeIS4_Lb0EEE @@ -20990,12 +21131,12 @@ # Num Counters: 6 # Counter Values: -2473 -2473 -69269 -1636 +2359 +2359 +69368 +1456 0 -30677 +29681 @SRC@/src/engine/gx_resources.cpp;_ZNSt11_Deque_baseIN12_GLOBAL__N_18AheadJobESaIS1_EE15_M_allocate_mapEy # Func Hash: @@ -21073,11 +21214,11 @@ 6 # Counter Values: 72 -499711 -151 +499593 +150 72 0 -79 +78 @SRC@/src/engine/gx_resources.cpp;_ZNSt6vectorIN12_GLOBAL__N_17PendingESaIS1_EE9push_backERKS1_ # Func Hash: @@ -21086,11 +21227,11 @@ 6 # Counter Values: 60 -25341503 -197 +25146300 +198 60 0 -137 +138 @SRC@/src/engine/gx_resources.cpp;_ZNSt6vectorIN12_GLOBAL__N_17PendingESaIS1_EED2Ev # Func Hash: @@ -21273,8 +21414,8 @@ 15 # Counter Values: 0 -156 -156 +155 +155 0 96 0 @@ -21295,8 +21436,8 @@ 15 # Counter Values: 0 -173 -173 +172 +172 0 127 0 @@ -21317,8 +21458,8 @@ 15 # Counter Values: 0 -146 -146 +142 +142 0 132 0 @@ -21338,43 +21479,43 @@ # Num Counters: 39 # Counter Values: -1085 -173 -1013167632 -1010752262 -36184771 +1071 +172 +1009821438 +1007127588 +36122658 0 -475 +469 0 434 -302956259 +302421703 0 -1248 -303587520 +1240 +302272001 434 -36156633 +36093298 0 -268365183 -36150839 -268841523 -36142360 -475 -475 +267289690 +36091699 +267585345 +36085432 +469 +469 0 0 -146 -154 -173 -156 -146 -173 -146 +142 +153 +172 +155 +142 +172 +142 127 -146 +142 72 -36125780 -474 -1008 +36072044 +466 +1016 0 434 # Num Value Kinds: @@ -21384,8 +21525,8 @@ # NumValueSites: 1 2 -33:318 -257:156 +33:312 +257:152 @SRC@/src/engine/gx_state.cpp;__dtor__ZN12_GLOBAL__N_110g_internedB5cxx11E # Func Hash: @@ -21472,34 +21613,34 @@ 0 0 12 -315700 -315700 +314109 +314109 0 0 -315700 -158431 +314109 +157635 0 0 0 0 0 -790972 +786958 0 -315700 -315700 +314109 +314109 12 -158431 -158947 -177183 +157635 +158151 +176146 0 12 1047 -158947 -613789 -158431 -613789 -158431 -158515 +158151 +610812 +157635 +610812 +157635 +157719 373 0 674 @@ -21578,7 +21719,7 @@ 0 0 0 -1517740 +1544984 0 0 0 @@ -21592,13 +21733,13 @@ 0 12 12 -15050232 +15365448 12 0 -15050232 +15365448 0 0 -15050232 +15365448 0 0 0 @@ -21618,7 +21759,7 @@ 0 0 0 -15050232 +15365448 0 0 0 @@ -21690,7 +21831,7 @@ 0 0 0 -15050222 +15365436 0 0 0 @@ -21809,7 +21950,7 @@ 108 0 0 -21129 +20832 0 0 0 @@ -22156,10 +22297,10 @@ # Num Counters: 13 # Counter Values: -164178 -164178 -164178 -164178 +167283 +167283 +167283 +167283 0 0 0 @@ -22429,7 +22570,7 @@ 234 # Counter Values: 1 -5 +6 0 0 0 @@ -22446,24 +22587,24 @@ 0 0 0 -376568 +380459 0 0 0 0 0 -376566 +380457 0 0 -376568 +380459 0 0 -376566 +380457 0 -6 +7 0 0 -376566 +380457 0 0 0 @@ -22645,9 +22786,9 @@ 0 0 0 -376566 -376566 -376566 +380457 +380457 +380457 0 0 0 @@ -22904,9 +23045,9 @@ # Num Counters: 8 # Counter Values: -376751 +380710 0 -376751 +380710 0 0 0 @@ -25133,7 +25274,7 @@ # Num Counters: 2 # Counter Values: -2639 +2581 12 @SRC@/src/engine/menu_memory.cpp;_ZN12_GLOBAL__N_113patch_mov_edxEP8ElfImageyjj @@ -25250,38 +25391,38 @@ # Num Counters: 109 # Counter Values: -202553 +201489 1536 -202577 -202577 -202577 -202577 -202577 -202553 -202577 +201513 +201513 +201513 +201513 +201513 +201489 +201513 24 -202553 -202553 +201489 +201489 24 -202577 +201513 0 -202553 -202553 +201489 +201489 24 -202553 -202553 +201489 +201489 24 24 -202553 -202553 +201489 +201489 24 24 24 24 -202553 +201489 24 -202553 -202553 +201489 +201489 0 0 0 @@ -25346,10 +25487,10 @@ 0 0 0 -202553 -202553 -202553 -202553 +201489 +201489 +201489 +201489 0 0 0 @@ -28854,14 +28995,14 @@ @SRC@/src/engine/patch_manifest.cpp;_ZN12_GLOBAL__N_120performance_manifestEv # Func Hash: -824403659193916665 +120930901450419134 # Num Counters: -1245 +1224 # Counter Values: -2100 -2100 +2064 +2064 0 -2100 +2064 12 12 12 @@ -30082,27 +30223,6 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 @SRC@/src/engine/patch_manifest.cpp;_ZN12_GLOBAL__N_14joinERKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS6_ESaIS6_EE # Func Hash: @@ -30131,9 +30251,9 @@ @SRC@/src/engine/patch_manifest.cpp;_ZN12_GLOBAL__N_19option_onERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPb # Func Hash: -1049487298442701549 +164747096418122723 # Num Counters: -34 +31 # Counter Values: 24 12 @@ -30143,11 +30263,8 @@ 12 24 12 -0 12 -0 12 -0 12 12 12 @@ -30174,14 +30291,13 @@ # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: -11 +10 1 17:24 1 17:24 1 17:12 -0 1 17:12 1 @@ -30222,10 +30338,10 @@ 0 36 0 -6600 +6168 0 0 -7704 +7956 0 0 @@ -30991,11 +31107,11 @@ # Num Counters: 5 # Counter Values: -7257 -6853 -7257 -7257 -6853 +8720 +8266 +8720 +8720 +8266 @SRC@/src/engine/player_data.cpp;_ZN12_GLOBAL__N_17base_ofERKNS_4StatE # Func Hash: @@ -31003,8 +31119,8 @@ # Num Counters: 5 # Counter Values: -7257 -6853 +8720 +8266 72 72 72 @@ -31840,15 +31956,15 @@ # Counter Values: 84 25728 -1816 +1814 84 -1643478 -1815 -1642372 -1815 -1642944 -1815 -1643099 +1668589 +1814 +1667671 +1814 +1667956 +1814 +1668175 201 0 0 @@ -31868,31 +31984,31 @@ # Counter Values: 0 33 -1 -1000716 -1334288 -2346664 -166819 -166786 -166786 -166819 -166786 +3 +1022064 +1362752 +2385564 +170377 +170344 +170344 +170377 +170344 12 -166819 -1 +170377 +5 12 -166819 +170377 0 0 -166785 +170344 0 12 -166819 +170377 0 0 0 12 -1 +5 12 0 12 @@ -31900,7 +32016,7 @@ 12 0 12 -1 +3 0 @SRC@/src/engine/sf_text_layout.cpp;_ZN12_GLOBAL__N_116advance_job_hookEyPy @@ -31909,8 +32025,8 @@ # Num Counters: 2 # Counter Values: -1643552 -1642801 +1668689 +1667903 @SRC@/src/engine/sf_text_layout.cpp;_ZN12_GLOBAL__N_116capture_end_hookEyPy # Func Hash: @@ -31919,25 +32035,25 @@ 53 # Counter Values: 0 -223349 +225000 0 -223332 +224996 0 -223331 +224995 0 0 0 -223334 +224989 0 0 0 0 -223340 +224985 0 0 0 0 -223338 +224988 0 0 0 @@ -31948,27 +32064,27 @@ 0 0 0 -223338 +224991 0 0 0 -223338 +224991 0 0 0 -223338 +224996 0 0 0 0 0 -223341 +224997 0 0 0 0 0 -223348 +224998 0 0 @@ -32022,7 +32138,7 @@ 0 0 0 -223349 +224999 0 0 0 @@ -32031,7 +32147,7 @@ 0 0 0 -223318 +224975 0 0 0 @@ -32065,8 +32181,8 @@ 23 # Counter Values: 0 -1371 -1371 +1377 +1377 0 0 0 @@ -32109,14 +32225,14 @@ # Counter Values: 0 0 -1188786 -1182349 +1197721 +1191306 0 -1182349 +1191306 0 0 0 -1182349 +1191306 0 0 0 @@ -32127,7 +32243,7 @@ 0 0 0 -1182349 +1191306 0 0 0 @@ -32292,11 +32408,11 @@ # Num Counters: 5 # Counter Values: -1182349 -1182349 -1182349 -1182349 -1182349 +1191306 +1191306 +1191306 +1191306 +1191306 @SRC@/src/engine/sf_text_layout.cpp;__dtor__ZN12_GLOBAL__N_110g_sites_muE # Func Hash: @@ -32413,23 +32529,23 @@ # Num Counters: 22 # Counter Values: -793682 -27869 +801096 +27988 0 0 -62647 +62541 90511 -62646 -8789 +62540 +8894 0 0 0 0 0 -81751 +81645 0 -81752 -46 +81642 +39 12 0 0 @@ -32442,12 +32558,12 @@ # NumValueSites: 1 6 -1:56354 -9:4508 -7:950 -16:580 -8:124 -6:117 +1:55991 +9:4704 +7:952 +16:641 +6:119 +8:119 @SRC@/src/engine/texture_origin.cpp;_ZN12_GLOBAL__N_114tpf_entry_nameB5cxx11Eyy # Func Hash: @@ -32455,19 +32571,19 @@ # Num Counters: 13 # Counter Values: -156505 -13189 -77329 -89 -77242 +158672 +13015 +77515 +5 +77513 0 -43092 -34149 +42988 +34520 0 0 0 0 -90524 +90536 @SRC@/src/engine/texture_origin.cpp;_ZN12_GLOBAL__N_17path_inB5cxx11ERKNS_3BndEy # Func Hash: @@ -32475,21 +32591,21 @@ # Num Counters: 17 # Counter Values: -4 -40494091 -5058091 -4200 -4196 -29815 -4 -52253 +2 +41629194 +5199913 +4272 +4270 +29021 +2 +53110 0 0 -23581 -4 -23581 -19387 -5058001 +25225 +2 +25224 +20957 +5199514 0 0 @@ -32499,12 +32615,12 @@ # Num Counters: 10 # Counter Values: -38347 -1066326 +38798 +1078171 0 -1027976 -38346 -38350 +1039378 +38791 +38793 0 0 0 @@ -32516,17 +32632,17 @@ # Num Counters: 11 # Counter Values: -45636 -63228855095 -63319406604 -63344572428 -54449 -45452 -12147 -45653 -8798 -8796 -8796 +45852 +62962005512 +63154488310 +63179654031 +54778 +45676 +12204 +45879 +8896 +8897 +8897 @SRC@/src/engine/texture_origin.cpp;_ZN12_GLOBAL__N_19map_namesB5cxx11Ev # Func Hash: @@ -32534,7 +32650,7 @@ # Num Counters: 4 # Counter Values: -13024 +13223 12 12 0 @@ -32654,6 +32770,88 @@ 0 0 +@SRC@/src/engine/world_pause.cpp;_GLOBAL__sub_I_world_pause.cpp +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +12 +0 + +@SRC@/src/engine/world_pause.cpp;_ZN12_GLOBAL__N_119in_game_update_hookEyPKy +# Func Hash: +954218049735682383 +# Num Counters: +48 +# Counter Values: +0 +0 +0 +14969 +14969 +2 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + +@SRC@/src/engine/world_pause.cpp;__dtor__ZN12_GLOBAL__N_14g_muE +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +0 +0 + +@SRC@/src/engine/world_pause.cpp;__dtor__ZN12_GLOBAL__N_17g_holdsB5cxx11E +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +0 +0 + @SRC@/src/engine/yebis_bind.cpp;_GLOBAL__sub_I_yebis_bind.cpp # Func Hash: 784007058953177093 @@ -32669,7 +32867,7 @@ # Num Counters: 5 # Counter Values: -14332295 +14599749 0 0 0 @@ -32681,9 +32879,9 @@ # NumValueSites: 1 5 -512:7081625 -129:7081541 -513:166844 +512:7213542 +129:7213458 +513:170403 32:2262 65:84 @@ -32693,15 +32891,15 @@ # Num Counters: 9 # Counter Values: -269383096 -255050801 -255050801 -43846912 -14332295 -14332295 -14332295 -225536184 -225536184 +274460481 +259860732 +259860732 +44722384 +14599749 +14599749 +14599749 +229738097 +229738097 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -32709,12 +32907,12 @@ # NumValueSites: 1 6 -129:7081541 -32:6507430 -33:242703 -65:166961 -64:166877 -513:166844 +129:7213458 +32:6629636 +33:245296 +65:170520 +64:170436 +513:170403 @SRC@/src/engine/yebis_bind.cpp;__dtor__ZN12_GLOBAL__N_110g_stash_muE # Func Hash: @@ -32731,9 +32929,9 @@ # Num Counters: 3 # Counter Values: -215652229 -215398608 -255080 +215558861 +215304516 +255033 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -32741,8 +32939,8 @@ # NumValueSites: 1 3 -7:199034484 -4:4467334 +7:199740439 +4:4466295 3:11280 @SRC@/src/gcn/decode.cpp;_ZN3gcn12_GLOBAL__N_18width_ofEPKcb @@ -32751,15 +32949,15 @@ # Num Counters: 9 # Counter Values: -12 -144 -144 -84 -144 -144 -96 -96 -96 +14 +688 +688 +582 +684 +672 +596 +596 +596 @SRC@/src/gcn/decode.cpp;_ZN3gcn12_GLOBAL__N_19vopc_nameEj # Func Hash: @@ -32767,7 +32965,7 @@ # Num Counters: 5 # Counter Values: -605534 +605355 12 12 0 @@ -32802,25 +33000,25 @@ # Counter Values: 0 2050 -41486 -42084 -41487 +41489 +42082 +41484 0 0 0 -1061364 +1061145 3320 -42079 -41485 +42076 +41484 3320 -81737 +81727 0 0 0 2050 -41474 -42067 -41488 +41480 +42076 +41485 215 215 215 @@ -32883,35 +33081,35 @@ 69030 69030 59790 -42085 -42085 -85840 +42069 +42072 +85833 43620 -331140 +331075 0 -1061595 -102715 -13220 -41490 +1060442 +102638 +13217 +41470 3980 0 33315 -11220 -5280 +11213 +5276 3320 -1061595 +1059749 3320 660 -1061595 +1059791 0 -33315 +33311 0 -5280 +5276 0 0 -33315 +33307 0 -5280 +5276 0 33315 0 @@ -32919,24 +33117,24 @@ 0 0 0 -33100 +33093 0 0 -41490 -41490 +41481 +41476 0 -83790 +83760 33100 0 +5276 5280 -5280 -5280 +5279 215 0 0 0 -61225 -41490 +61184 +41489 0 215 3320 @@ -32951,7 +33149,7 @@ 0 0 3320 -41490 +41482 0 0 5280 @@ -32959,8 +33157,8 @@ 0 0 0 -19735 -41490 +19722 +41477 0 1320 0 @@ -32981,8 +33179,8 @@ 0 0 0 -331140 -331140 +330736 +330736 0 0 0 @@ -32996,9 +33194,9 @@ 0 0 0 -33040 -33040 -5940 +33026 +33026 +5938 0 59790 50820 @@ -33011,7 +33209,7 @@ # Num Counters: 6 # Counter Values: -129419 +129424 0 0 0 @@ -33101,20 +33299,20 @@ # Num Counters: 52 # Counter Values: -171008 +170870 0 0 0 4050 0 0 -93625 +93547 3440 0 0 0 0 -97065 +97025 860 0 860 @@ -33122,15 +33320,15 @@ 0 430 1075 -66700 +66670 430 0 0 -1356482 +1356582 0 -1187119 -171005 -1187322 +1186622 +170781 +1186871 0 0 430 @@ -33140,7 +33338,7 @@ 0 430 0 -66700 +66664 1075 0 430 @@ -33192,9 +33390,9 @@ # Num Counters: 8 # Counter Values: -83010 +83007 0 -83010 +83007 0 0 0 @@ -33218,7 +33416,7 @@ # Num Counters: 4 # Counter Values: -28810 +28809 0 0 0 @@ -33230,8 +33428,8 @@ 25 # Counter Values: 0 -24475 -27105 +24472 +27102 27105 0 2630 @@ -33268,14 +33466,14 @@ 215 0 0 -48817 +48812 430 -68836 +68819 0 9790 48823 -49679 -9790 +49672 +9789 860 0 0 @@ -33383,7 +33581,7 @@ 0 0 0 -100628 +100617 0 0 17879 @@ -33403,15 +33601,15 @@ 0 0 0 -110430 +110425 0 -17530 -81683 +17528 +81684 6435 3500 -18116 +18119 2005 -38301 +38308 0 0 5265 @@ -33438,20 +33636,20 @@ 0 0 3945 -28379 +28375 990 -184503 -14380 +184537 +14379 760 495 165 0 0 -19800 +19798 0 0 0 -7589 +7590 0 0 0 @@ -33463,12 +33661,12 @@ 0 0 0 -29232 +29235 0 1320 -7459 +7460 0 -18214 +18213 0 0 0 @@ -33494,7 +33692,7 @@ 0 0 0 -13615 +13614 0 0 0 @@ -33508,11 +33706,11 @@ 215 215 0 -83978 +83987 0 1290 0 -7155 +7152 1720 0 215 @@ -33520,8 +33718,8 @@ 0 0 0 -3133497 -61840 +3135445 +61834 660 0 0 @@ -33530,44 +33728,44 @@ 0 0 0 -1289 +1290 0 645 -6455 -44575 +6454 +44571 0 -93674 -41486 +93691 +41482 0 -136634 -1186810 -754521 +136637 +1187117 +754668 0 0 0 0 -311922 +311862 2580 -281010 -223813 +281070 +223848 0 860 -13770 -89148 +13768 +89144 3010 0 -41485 +41483 0 0 -136620 +136629 0 0 -103978 -1289 -93670 +103960 +1290 +93691 0 860 -6885 +6884 44573 1505 0 @@ -33583,10 +33781,10 @@ # Num Counters: 10 # Counter Values: -7454 -44855 -37401 -37401 +7455 +44860 +37405 +37405 6165 7455 0 @@ -33672,8 +33870,8 @@ # Num Counters: 4 # Counter Values: -32969 -32967 +32970 +32970 0 0 @@ -33696,22 +33894,22 @@ # Num Counters: 16 # Counter Values: -1130178 -1010768 -125060 -125060 -1190 +1129882 +1010553 +125028 +125025 +1189 0 -125243 -80354 -41490 -83782 +125207 +80330 +41485 +83764 0 -137386 -137386 -38870 -1128287 -1128259 +137322 +137322 +38854 +1128034 +1128034 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -33719,7 +33917,7 @@ # NumValueSites: 1 1 -@SRC@/src/gcn/gs_vertex.cpp;_ZNSt17_Function_handlerIFjjiEZN3gcn12_GLOBAL__N_110most_emitsERKSt6vectorINS2_3InsESaIS4_EERjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE3$_0E9_M_invokeERKSt9_Any_dataOjOi:125024 +@SRC@/src/gcn/gs_vertex.cpp;_ZNSt17_Function_handlerIFjjiEZN3gcn12_GLOBAL__N_110most_emitsERKSt6vectorINS2_3InsESaIS4_EERjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE3$_0E9_M_invokeERKSt9_Any_dataOjOi:124999 @SRC@/src/gcn/gs_vertex.cpp;_ZNSt6vectorIN3gcn12_GLOBAL__N_13InsESaIS2_EE6insertIN9__gnu_cxx17__normal_iteratorIPS2_S4_EEvEES9_NS7_IPKS2_S4_EET_SD_ # Func Hash: @@ -33765,10 +33963,10 @@ # Num Counters: 5 # Counter Values: -2252574 -1456598 -22373 -17640 +2252201 +1455992 +22375 +17641 0 @SRC@/src/gcn/gs_vertex.cpp;_ZNSt6vectorIN3gcn12_GLOBAL__N_13InsESaIS2_EE9push_backERKS2_ @@ -33777,10 +33975,10 @@ # Num Counters: 7 # Counter Values: -1785805 -1334598 -10170 -8930 +1785261 +1336001 +10169 +8928 0 0 0 @@ -33830,7 +34028,7 @@ 6 # Counter Values: 165 -41110 +41100 380 165 0 @@ -33851,8 +34049,8 @@ # Num Counters: 2 # Counter Values: -33315 -33530 +33293 +33502 @SRC@/src/gcn/gs_vertex.cpp;_ZZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsEENK3$_4clERKNS_12_GLOBAL__N_13InsERSA_ # Func Hash: @@ -33860,13 +34058,13 @@ # Num Counters: 27 # Counter Values: -2766708 -587402 -345414 -121245 +2766343 +587264 +345345 +121243 0 -431859 -153863 +431808 +153869 0 0 0 @@ -33884,9 +34082,9 @@ 0 0 0 -2285836 -2285836 -224171 +2285669 +2285669 +224105 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -47436,18 +47634,27 @@ 0 0 0 +2 0 0 0 0 +2 +2 +2 0 0 0 0 +2 +2 0 0 0 +2 +2 0 +2 0 0 0 @@ -47456,6 +47663,7 @@ 0 0 0 +2 0 0 0 @@ -47572,70 +47780,60 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 -0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_114module_outputsERKSt6vectorIjSaIjEERS3_RiRb -# Func Hash: -886583551030282247 -# Num Counters: -73 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +2 +2 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_114module_outputsERKSt6vectorIjSaIjEERS3_RiRb +# Func Hash: +886583551030282247 +# Num Counters: +73 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 0 0 0 @@ -48347,9 +48545,9 @@ # Num Counters: 9 # Counter Values: -0 -0 -0 +8 +8 +8 0 0 0 @@ -48382,61 +48580,114 @@ # Num Counters: 403 # Counter Values: +140 0 +4 +6 +184 0 0 0 0 +140 0 0 0 0 +30 +1238 +1264 0 +48 0 0 +524 +68 0 +2 +4 0 +108 +172 0 0 +184 +2 +4 +2 0 0 +184 0 +140 0 0 0 +184 0 0 +24 0 0 +312 +184 0 0 +2 0 0 0 +140 0 +790 +30 0 +140 0 0 +30 0 +120 +184 0 0 +138 0 +2 +2 +2 +64 +84 0 0 0 +2 0 +2 0 0 +2 0 0 +4 0 +12 0 0 0 +2 0 +2 0 +140 +140 +76 +12 0 0 +60 +44 +44 0 0 0 @@ -48444,11 +48695,18 @@ 0 0 0 +2 0 +2 0 +2 0 0 +2 +2 0 +64 +2 0 0 0 @@ -48458,9 +48716,14 @@ 0 0 0 +114 +64 0 0 +2 0 +2 +2 0 0 0 @@ -48469,10 +48732,29 @@ 0 0 0 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 0 +2 +2 +2 +2 +2 +114 0 0 0 +2 +2 0 0 0 @@ -48501,6 +48783,7 @@ 0 0 0 +2 0 0 0 @@ -48641,8 +48924,13 @@ 0 0 0 +2 +2 0 +2 +2 0 +2 0 0 0 @@ -48653,8 +48941,22 @@ 0 0 0 +912 +912 +12 +512 +512 +4 +684 +684 +12 +20 +20 +12 +76 0 0 +10 0 0 0 @@ -48662,6 +48964,12 @@ 0 0 0 +144 +144 +670 +670 +2 +2 0 0 0 @@ -48674,6 +48982,13 @@ 0 0 0 +2 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +24 0 0 0 @@ -48688,6 +49003,10 @@ 0 0 0 +1 +9:2 +1 +9:2 0 0 0 @@ -48696,6 +49015,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter10mul_legacyEjj +# Func Hash: +40662225498121248 +# Num Counters: +24 +# Counter Values: 0 0 0 @@ -48720,6 +49046,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter10quad_placeEv +# Func Hash: +197471693595215572 +# Num Counters: +17 +# Counter Values: 0 0 0 @@ -48737,6 +49070,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter10sym_scalarERKNS_4InstERKSt6vectorINS0_3ValESaIS6_EE +# Func Hash: +725596889575159306 +# Num Counters: +38 +# Counter Values: 0 0 0 @@ -48775,6 +49115,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter10where_execERKNS0_3ValERKSt8functionIFvvEE +# Func Hash: +236653575348726540 +# Num Counters: +17 +# Counter Values: 0 0 0 @@ -48785,12 +49132,6 @@ 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -24 0 0 0 @@ -48798,178 +49139,29 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_IndirectCallTarget: 0 +# NumValueSites: +2 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter10word_constEj +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter10mul_legacyEjj -# Func Hash: -40662225498121248 -# Num Counters: -24 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter10quad_placeEv -# Func Hash: -197471693595215572 -# Num Counters: -17 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter10sym_scalarERKNS_4InstERKSt6vectorINS0_3ValESaIS6_EE -# Func Hash: -725596889575159306 -# Num Counters: -38 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter10where_execERKNS0_3ValERKSt8functionIFvvEE -# Func Hash: -236653575348726540 -# Num Counters: -17 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_IndirectCallTarget: -0 -# NumValueSites: -2 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter10word_constEj -# Func Hash: -742261418966908927 -# Num Counters: -1 -# Counter Values: -0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter10write_laneEtRKNS0_3ValEb -# Func Hash: -1096718959439244786 -# Num Counters: -171 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter10write_laneEtRKNS0_3ValEb +# Func Hash: +1096718959439244786 +# Num Counters: +171 +# Counter Values: 0 0 0 @@ -48995,6 +49187,7 @@ 0 0 0 +24 0 0 0 @@ -49012,12 +49205,19 @@ 0 0 0 +24 0 0 +24 +24 +24 +24 +24 0 0 0 0 +24 0 0 0 @@ -49153,8 +49353,10 @@ 0 0 0 -0 -0 +1 +5:24 +1 +9:24 @SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter11float_constEf # Func Hash: @@ -49162,7 +49364,7 @@ # Num Counters: 1 # Counter Values: -0 +2 @SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter11load_u32_atEj # Func Hash: @@ -49181,11 +49383,11 @@ # Num Counters: 5 # Counter Values: +830 +332 0 -0 -0 -0 -0 +490 +830 @SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter11oob_sampledEjj # Func Hash: @@ -49206,26 +49408,26 @@ 21 # Counter Values: 0 +158 +38 +58 +40 +18 +18 +18 +18 +18 0 0 0 0 0 0 +118 +118 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +38 +38 @SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter11ranged_loadERKNS_4InstEij # Func Hash: @@ -49883,6 +50085,7 @@ 0 0 0 +14 0 0 0 @@ -49968,6 +50171,7 @@ 0 0 0 +2 0 0 0 @@ -49988,17 +50192,52 @@ 0 0 0 +2 0 0 0 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 0 0 +2 +2 +2 0 0 +2 +2 +2 +2 0 +2 +2 0 +2 0 0 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 0 0 0 @@ -50011,6 +50250,41 @@ 0 0 0 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 0 0 0 @@ -50038,6 +50312,7 @@ 0 0 0 +2 0 0 0 @@ -50050,6 +50325,7 @@ 0 0 0 +2 0 0 0 @@ -50117,6 +50393,8 @@ 0 0 0 +2 +2 0 0 0 @@ -51008,83 +51286,7 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +2 0 0 0 @@ -51416,9 +51618,9 @@ # Num Counters: 11 # Counter Values: -0 -0 -0 +2 +2 +2 0 0 0 @@ -51560,8 +51762,8 @@ 4 # Counter Values: 0 -0 -0 +2 +2 0 @SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter12store_u32_atEjj @@ -51581,14 +51783,14 @@ # Num Counters: 23 # Counter Values: +22 0 -0 -0 -0 -0 -0 -0 -0 +22 +22 +2 +2 +2 +2 0 0 0 @@ -51629,8 +51831,8 @@ 5 # Counter Values: 0 -0 -0 +2 +2 0 0 @@ -51644,20 +51846,20 @@ 0 0 0 +296 +2 0 0 0 +266 0 0 +296 0 -0 -0 -0 -0 -0 -0 -0 -0 +296 +296 +296 +296 0 0 0 @@ -51688,8 +51890,12 @@ # NumValueSites: 3 0 -0 -0 +2 +5:192 +4:104 +2 +9:192 +8:104 @SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter13apply_dst_selERKSt6vectorIjSaIjEEjj # Func Hash: @@ -51759,11 +51965,13 @@ 0 0 0 +2 0 0 0 0 0 +2 0 0 0 @@ -51782,11 +51990,13 @@ 0 0 0 +2 0 0 0 0 0 +2 0 0 0 @@ -51806,11 +52016,15 @@ 0 0 0 +42 +42 0 0 0 +2 0 0 +2 0 0 0 @@ -51837,6 +52051,7 @@ 0 0 0 +2 0 0 0 @@ -51912,8 +52127,14 @@ 0 0 0 +488 0 +2 +488 +2 +488 0 +2 0 0 0 @@ -51926,9 +52147,18 @@ 0 0 0 +2 0 0 +46 +488 +488 +4 +46 +46 +46 0 +16 0 0 0 @@ -51954,7 +52184,12 @@ 0 0 0 +46 +46 +2 0 +4 +2 0 0 0 @@ -51963,6 +52198,8 @@ 0 0 0 +4 +4 0 0 0 @@ -51978,6 +52215,7 @@ 0 0 0 +2 0 0 0 @@ -51986,8 +52224,11 @@ 0 0 0 +4 0 0 +2 +2 0 0 0 @@ -52018,6 +52259,7 @@ 0 0 0 +4 0 0 0 @@ -52044,6 +52286,7 @@ 0 0 0 +2 0 0 0 @@ -52081,6 +52324,8 @@ 0 0 0 +2 +2 0 0 0 @@ -52134,6 +52379,8 @@ 0 0 0 +2 +2 0 0 0 @@ -52175,6 +52422,7 @@ 0 0 0 +2 0 0 0 @@ -52193,6 +52441,7 @@ 0 0 0 +2 0 0 0 @@ -52249,6 +52498,7 @@ 0 0 0 +2 0 0 0 @@ -52266,7 +52516,9 @@ 0 0 0 +2 0 +2 0 0 0 @@ -52635,58 +52887,12 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +8 +8 +2 +2 +2 +2 0 0 0 @@ -53029,9 +53235,11 @@ # Counter Values: 0 0 +526 0 0 0 +88 0 0 0 @@ -53039,17 +53247,27 @@ 0 0 0 +4 +4 +4 +12 +4 +4 0 0 0 +4 0 0 +84 +4 0 0 0 0 0 0 +8 0 0 0 @@ -53123,7 +53341,9 @@ 0 0 0 +76 0 +76 0 0 0 @@ -53162,23 +53382,9 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +526 +526 +0 0 0 0 @@ -53190,13 +53396,13 @@ # Num Counters: 9 # Counter Values: +448 +14 0 +14 0 -0 -0 -0 -0 -0 +14 +14 0 0 @@ -53465,6 +53671,8 @@ 0 0 0 +2 +2 0 0 0 @@ -53474,9 +53682,7 @@ 0 0 0 -0 -0 -0 +2 @SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter14scalar_compareEiRKNS0_3ValES4_ # Func Hash: @@ -53488,8 +53694,8 @@ 0 0 0 -0 -0 +2 +2 0 0 0 @@ -53966,8 +54172,8 @@ 0 0 0 -0 -0 +510 +510 0 0 0 @@ -54073,8 +54279,8 @@ 10 # Counter Values: 0 -0 -0 +594 +492 0 0 0 @@ -54209,7 +54415,7 @@ 0 0 0 -0 +96 0 0 0 @@ -54317,8 +54523,11 @@ 65 # Counter Values: 0 +96 +96 0 0 +96 0 0 0 @@ -54346,13 +54555,10 @@ 0 0 0 +96 +24 0 -0 -0 -0 -0 -0 -0 +24 0 0 0 @@ -54740,13 +54946,17 @@ 0 0 0 +8 +8 0 0 +4 0 0 0 0 0 +2 0 0 0 @@ -54756,8 +54966,12 @@ 0 0 0 +2 +2 +2 0 0 +2 0 0 0 @@ -54787,17 +55001,9 @@ 0 0 0 +2 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +2 0 # Num Value Kinds: 1 @@ -55396,7 +55602,7 @@ # Num Counters: 11 # Counter Values: -0 +4 0 0 0 @@ -55470,8 +55676,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +240 +240 0 0 @@ -55543,12 +55749,21 @@ 27 # Counter Values: 0 +1526 0 +436 0 +274 0 0 0 +42 +274 0 +130 +56 +218 +218 0 0 0 @@ -55557,18 +55772,9 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +1170 +1170 +74 @SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4as_uERKNS0_3ValE # Func Hash: @@ -55577,33 +55783,33 @@ 28 # Counter Values: 0 +302 0 +172 0 0 +208 0 0 +24 +46 0 +44 0 +46 +46 0 0 0 0 0 0 +60 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +208 +208 +44 @SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4bandERKNS0_3ValES4_ # Func Hash: @@ -55617,6 +55823,7 @@ 0 0 0 +24 0 0 0 @@ -55628,6 +55835,7 @@ 0 0 0 +24 0 0 0 @@ -55656,14 +55864,12 @@ 0 0 0 +24 +24 0 +24 0 -0 -0 -0 -0 -0 -0 +24 0 @SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4bnotERKNS0_3ValE @@ -55717,19 +55923,27 @@ # Num Counters: 1614 # Counter Values: +250 0 +2 0 0 +488 0 0 +184 +2 0 0 +184 +2 0 0 0 0 0 0 +2 0 0 0 @@ -55740,39 +55954,54 @@ 0 0 0 +240 0 0 +2 +976 0 0 0 0 +2 +2 0 0 +42 0 0 +488 0 +486 0 0 0 0 0 +2 +2 0 0 0 0 0 0 +2 0 0 0 +488 +488 0 0 0 0 +16 0 0 0 0 +488 0 0 0 @@ -55788,6 +56017,10 @@ 0 0 0 +16 +16 +8 +8 0 0 0 @@ -55826,6 +56059,11 @@ 0 0 0 +16 +16 +16 +8 +8 0 0 0 @@ -55877,14 +56115,17 @@ 0 0 0 +290 0 0 0 0 0 +488 0 0 0 +6 0 0 0 @@ -55897,6 +56138,7 @@ 0 0 0 +2 0 0 0 @@ -55907,22 +56149,46 @@ 0 0 0 +2 +2 +2 +2 +2 +2 +2 +2 0 0 0 0 0 0 +2 0 0 0 0 +484 +238 0 +2 0 +2 0 +2 +2 +2 +2 +2 +2 +2 0 +2 0 +2 0 +2 +2 0 0 0 @@ -55931,41 +56197,104 @@ 0 0 0 +2 0 0 0 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 0 0 +46 0 0 +8 0 0 0 0 0 +2 0 0 +2 0 0 0 0 0 +4 +488 +402 +260 +260 +488 +488 +488 0 0 0 0 0 0 +8 +2 +2 0 0 +2 +2 0 +2 0 0 0 0 +2 +2 +2 +2 +2 +2 0 +2 +2 0 +2 +2 0 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 0 0 0 @@ -55973,6 +56302,7 @@ 0 0 0 +2 0 0 0 @@ -55986,18 +56316,23 @@ 0 0 0 +488 0 0 0 0 0 +8 0 0 0 0 +2 0 0 0 +2 +2 0 0 0 @@ -56007,9 +56342,13 @@ 0 0 0 +2 +2 0 0 0 +2 +2 0 0 0 @@ -56018,6 +56357,7 @@ 0 0 0 +488 0 0 0 @@ -56064,6 +56404,7 @@ 0 0 0 +240 0 0 0 @@ -56080,14 +56421,25 @@ 0 0 0 +2 0 0 0 0 0 0 +2 +2 +2 +2 +2 +2 +2 0 0 +2 +2 +2 0 0 0 @@ -56128,6 +56480,9 @@ 0 0 0 +38 +2 +2 0 0 0 @@ -56153,6 +56508,7 @@ 0 0 0 +2 0 0 0 @@ -56160,6 +56516,8 @@ 0 0 0 +2 +2 0 0 0 @@ -56167,10 +56525,13 @@ 0 0 0 +2 +2 0 0 0 0 +2 0 0 0 @@ -56205,6 +56566,8 @@ 0 0 0 +2 +2 0 0 0 @@ -56224,6 +56587,7 @@ 0 0 0 +2 0 0 0 @@ -56242,15 +56606,22 @@ 0 0 0 +2 0 0 0 +2 +2 0 0 0 0 0 0 +2 +2 +2 +2 0 0 0 @@ -56265,6 +56636,8 @@ 0 0 0 +2 +2 0 0 0 @@ -56284,6 +56657,7 @@ 0 0 0 +2 0 0 0 @@ -56303,6 +56677,7 @@ 0 0 0 +2 0 0 0 @@ -56315,6 +56690,7 @@ 0 0 0 +2 0 0 0 @@ -56359,6 +56735,7 @@ 0 0 0 +2 0 0 0 @@ -56413,6 +56790,7 @@ 0 0 0 +2 0 0 0 @@ -57076,7 +57454,11 @@ 0 0 0 +634 +634 +2 0 +486 0 0 0 @@ -57104,6 +57486,9 @@ 0 0 0 +488 +202 +488 0 0 0 @@ -57137,18 +57522,31 @@ 0 0 0 +2 +2 +6 +6 0 0 0 0 0 +2 0 0 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +43 0 0 +1 +4:16 0 0 0 @@ -57161,6 +57559,18 @@ 0 0 0 +2 +1:250 +8:238 +4 +16:142 +8:118 +9:118 +1:24 +3 +9:228 +2:24 +16:8 0 0 0 @@ -57185,29 +57595,104 @@ 0 0 0 +1 +32:2 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4faddEjj +# Func Hash: +844982798245712258 +# Num Counters: +4 +# Counter Values: +20 +20 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4fdivEjj +# Func Hash: +844982798245712258 +# Num Counters: +4 +# Counter Values: +54 +54 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4fmulEjj +# Func Hash: +844982798245712258 +# Num Counters: +4 +# Counter Values: +70 +70 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4fnegEj +# Func Hash: +844982798245712258 +# Num Counters: +4 +# Counter Values: 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4fselEjjj +# Func Hash: +844982798245712258 +# Num Counters: +4 +# Counter Values: 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4fsubEjj +# Func Hash: +844982798245712258 +# Num Counters: +4 +# Counter Values: +12 +12 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4ibinEN3spv2OpEjj +# Func Hash: +844982798245712258 +# Num Counters: +4 +# Counter Values: +428 +428 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4meetERKNS1_5WhereES4_ +# Func Hash: +287486626550889297 +# Num Counters: +5 +# Counter Values: 0 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4mimgERKNS_4InstE +# Func Hash: +723757841256475083 +# Num Counters: +654 +# Counter Values: 0 0 0 @@ -57331,45 +57816,6 @@ 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -43 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 0 0 0 @@ -57380,102 +57826,39 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4faddEjj -# Func Hash: -844982798245712258 -# Num Counters: -4 -# Counter Values: 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4fdivEjj -# Func Hash: -844982798245712258 -# Num Counters: -4 -# Counter Values: 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4fmulEjj -# Func Hash: -844982798245712258 -# Num Counters: -4 -# Counter Values: 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4fnegEj -# Func Hash: -844982798245712258 -# Num Counters: -4 -# Counter Values: 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4fselEjjj -# Func Hash: -844982798245712258 -# Num Counters: -4 -# Counter Values: 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4fsubEjj -# Func Hash: -844982798245712258 -# Num Counters: -4 -# Counter Values: 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4ibinEN3spv2OpEjj -# Func Hash: -844982798245712258 -# Num Counters: -4 -# Counter Values: 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4meetERKNS1_5WhereES4_ -# Func Hash: -287486626550889297 -# Num Counters: -5 -# Counter Values: 0 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4mimgERKNS_4InstE -# Func Hash: -723757841256475083 -# Num Counters: -654 -# Counter Values: 0 0 0 @@ -57964,16 +58347,32 @@ 0 0 0 +# Num Value Kinds: +2 +# ValueKind = IPVK_IndirectCallTarget: 0 +# NumValueSites: +3 0 0 0 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +6 0 0 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4peekEtRKNS_4InstE +# Func Hash: +804398905963635494 +# Num Counters: +22 +# Counter Values: 0 0 0 @@ -57996,19 +58395,40 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4readEtRKNS_4InstE +# Func Hash: +862837096538483337 +# Num Counters: +50 +# Counter Values: +94 +110 0 +94 +180 +502 +110 +110 0 0 +70 +94 0 0 +94 +4 +40 0 0 0 0 0 0 +24 0 0 +2 0 0 0 @@ -58032,9 +58452,22 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +3 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4sop1ERKNS_4InstE +# Func Hash: +334504561846536460 +# Num Counters: +300 +# Counter Values: 0 0 0 @@ -58051,7 +58484,40 @@ 0 0 0 +52 +52 +52 +52 +52 +52 +52 +52 +52 +52 +52 +52 +52 +52 +52 +52 +52 +52 +52 0 +52 +52 +52 +52 +52 +52 +52 +52 +52 +52 +52 +8 +52 +52 0 0 0 @@ -58060,14 +58526,42 @@ 0 0 0 +44 0 0 0 +16 +16 +16 +16 +16 +16 +16 +16 +16 +16 +16 +16 +16 +16 +16 0 +16 +14 0 0 0 0 +16 +16 +16 +16 +16 +16 +16 +16 +16 +2 0 0 0 @@ -58077,7 +58571,9 @@ 0 0 0 +16 0 +16 0 0 0 @@ -58090,8 +58586,10 @@ 0 0 0 +2 0 0 +2 0 0 0 @@ -58130,32 +58628,16 @@ 0 0 0 -# Num Value Kinds: -2 -# ValueKind = IPVK_IndirectCallTarget: 0 -# NumValueSites: -3 0 0 0 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -6 0 0 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4peekEtRKNS_4InstE -# Func Hash: -804398905963635494 -# Num Counters: -22 -# Counter Values: 0 0 0 @@ -58178,13 +58660,6 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4readEtRKNS_4InstE -# Func Hash: -862837096538483337 -# Num Counters: -50 -# Counter Values: 0 0 0 @@ -58235,22 +58710,9 @@ 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -3 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4sop1ERKNS_4InstE -# Func Hash: -334504561846536460 -# Num Counters: -300 -# Counter Values: 0 0 0 @@ -58300,14 +58762,40 @@ 0 0 0 +52 +16 0 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +3 +1 +9:16 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4to_iEj +# Func Hash: +844982798245712258 +# Num Counters: +4 +# Counter Values: +60 +60 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4valuERKNS_4InstE +# Func Hash: +294922383289460450 +# Num Counters: +396 +# Counter Values: 0 0 0 @@ -58319,6 +58807,7 @@ 0 0 0 +20 0 0 0 @@ -58327,6 +58816,7 @@ 0 0 0 +362 0 0 0 @@ -58336,10 +58826,12 @@ 0 0 0 +362 0 0 0 0 +68 0 0 0 @@ -58353,6 +58845,8 @@ 0 0 0 +68 +68 0 0 0 @@ -58362,6 +58856,7 @@ 0 0 0 +266 0 0 0 @@ -58372,6 +58867,9 @@ 0 0 0 +266 +266 +266 0 0 0 @@ -58441,9 +58939,13 @@ 0 0 0 +28 0 0 +28 0 +28 +28 0 0 0 @@ -58490,6 +58992,10 @@ 0 0 0 +20 +8 +8 +0 0 0 0 @@ -58551,33 +59057,13 @@ 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -3 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4to_iEj -# Func Hash: -844982798245712258 -# Num Counters: -4 -# Counter Values: 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4valuERKNS_4InstE -# Func Hash: -294922383289460450 -# Num Counters: -396 -# Counter Values: 0 0 0 @@ -58706,6 +59192,14 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +11 +0 +0 0 0 0 @@ -58715,6 +59209,14 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4vcmpEjRKNS0_3ValES4_RKNS1_4ModsEt +# Func Hash: +1055747652991705569 +# Num Counters: +63 +# Counter Values: +0 0 0 0 @@ -58777,15 +59279,25 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4vop1EjRKNS_4InstERKNS0_3ValERKNS1_4ModsE +# Func Hash: +481308554112407089 +# Num Counters: +245 +# Counter Values: 0 0 0 0 +2 0 0 +68 0 0 0 +2 0 0 0 @@ -58797,14 +59309,17 @@ 0 0 0 +44 0 0 0 0 0 +14 0 0 0 +8 0 0 0 @@ -58818,8 +59333,10 @@ 0 0 0 +14 0 0 +8 0 0 0 @@ -58833,9 +59350,11 @@ 0 0 0 +14 0 0 0 +8 0 0 0 @@ -58874,8 +59393,10 @@ 0 0 0 +14 0 0 +8 0 0 0 @@ -58974,12 +59495,6 @@ 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -11 0 0 0 @@ -58991,13 +59506,6 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4vcmpEjRKNS0_3ValES4_RKNS1_4ModsEt -# Func Hash: -1055747652991705569 -# Num Counters: -63 -# Counter Values: 0 0 0 @@ -59023,6 +59531,14 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4vop2EjRKNS_4InstERKNS0_3ValES7_RKNS1_4ModsEPS6_t +# Func Hash: +940762287080121085 +# Num Counters: +316 +# Counter Values: +24 0 0 0 @@ -59030,16 +59546,26 @@ 0 0 0 +266 +2 0 +2 0 +2 0 0 +24 0 +2 0 0 0 +6 +20 0 0 +6 +70 0 0 0 @@ -59057,17 +59583,11 @@ 0 0 0 +138 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4vop1EjRKNS_4InstERKNS0_3ValERKNS1_4ModsE -# Func Hash: -481308554112407089 -# Num Counters: -245 -# Counter Values: 0 0 0 @@ -59075,6 +59595,7 @@ 0 0 0 +138 0 0 0 @@ -59086,6 +59607,7 @@ 0 0 0 +138 0 0 0 @@ -59096,6 +59618,9 @@ 0 0 0 +24 +24 +24 0 0 0 @@ -59117,6 +59642,7 @@ 0 0 0 +138 0 0 0 @@ -59313,15 +59839,9 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter4vop2EjRKNS_4InstERKNS0_3ValES7_RKNS1_4ModsEPS6_t -# Func Hash: -940762287080121085 -# Num Counters: -316 -# Counter Values: 0 0 +24 0 0 0 @@ -59334,9 +59854,17 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter5knownERKNS0_3ValE +# Func Hash: +1109344925856978008 +# Num Counters: +20 +# Counter Values: 0 0 0 +576 0 0 0 @@ -59345,6 +59873,7 @@ 0 0 0 +576 0 0 0 @@ -59352,6 +59881,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter5mbcntERKNS_4InstEbtt +# Func Hash: +715766777823413835 +# Num Counters: +107 +# Counter Values: 0 0 0 @@ -59459,10 +59995,23 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +4 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter5mubufERKNS_4InstE +# Func Hash: +219783081078913501 +# Num Counters: +351 +# Counter Values: 0 0 0 @@ -59636,13 +60185,6 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter5knownERKNS0_3ValE -# Func Hash: -1109344925856978008 -# Num Counters: -20 -# Counter Values: 0 0 0 @@ -59663,13 +60205,6 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter5mbcntERKNS_4InstEbtt -# Func Hash: -715766777823413835 -# Num Counters: -107 -# Counter Values: 0 0 0 @@ -59777,23 +60312,10 @@ 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -4 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter5mubufERKNS_4InstE -# Func Hash: -219783081078913501 -# Num Counters: -351 -# Counter Values: 0 0 0 @@ -59841,7 +60363,12 @@ 0 0 0 +# Num Value Kinds: +2 +# ValueKind = IPVK_IndirectCallTarget: 0 +# NumValueSites: +11 0 0 0 @@ -59853,6 +60380,10 @@ 0 0 0 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +13 0 0 0 @@ -59866,15 +60397,42 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter5shiftEN3spv2OpEjj +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +24 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter5src_fERKNS0_3ValEiRKNS1_4ModsE +# Func Hash: +391331300363527871 +# Num Counters: +6 +# Counter Values: +546 0 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter5valueEi +# Func Hash: +561802744121431446 +# Num Counters: +31 +# Counter Values: +5296 0 0 0 +842 +842 0 +732 0 0 0 @@ -59890,15 +60448,39 @@ 0 0 0 +2588 +2588 0 0 0 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter6from_iEj +# Func Hash: +844982798245712258 +# Num Counters: +4 +# Counter Values: +52 +52 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter6int_opERKNS_4InstEjjjRj +# Func Hash: +855345942840630914 +# Num Counters: +23 +# Counter Values: 0 0 0 @@ -59922,10 +60504,24 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter6is_nanEj +# Func Hash: +844982798245712258 +# Num Counters: +4 +# Counter Values: 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter6rejectERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +# Func Hash: +132281735578316147 +# Num Counters: +19 +# Counter Values: 0 0 0 @@ -59945,14 +60541,36 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +3 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter6sext24Ej +# Func Hash: +567185241486980938 +# Num Counters: +5 +# Counter Values: 0 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter7builtinEjN3spv7BuiltInE +# Func Hash: +303685791410005137 +# Num Counters: +10 +# Counter Values: +2 +2 0 0 0 @@ -59961,8 +60579,24 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter7extractEjjj +# Func Hash: +844982798245712258 +# Num Counters: +4 +# Counter Values: +204 +204 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter7gs_emitERKNS0_3ValE +# Func Hash: +215036039117824272 +# Num Counters: +188 +# Counter Values: 0 0 0 @@ -60145,18 +60779,18 @@ 0 0 0 -# Num Value Kinds: -2 -# ValueKind = IPVK_IndirectCallTarget: 0 -# NumValueSites: -11 0 0 0 0 0 +# Num Value Kinds: +2 +# ValueKind = IPVK_IndirectCallTarget: 0 +# NumValueSites: +5 0 0 0 @@ -60165,13 +60799,27 @@ # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: -13 +6 0 0 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter7if_thenEjRKSt8functionIFvvEE +# Func Hash: +69360624366696881 +# Num Counters: +14 +# Counter Values: +2 +2 +2 +2 +0 +0 +0 0 0 0 @@ -60179,20 +60827,20 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter5shiftEN3spv2OpEjj -# Func Hash: -742261418966908927 -# Num Counters: +# Num Value Kinds: 1 -# Counter Values: +# ValueKind = IPVK_IndirectCallTarget: 0 +# NumValueSites: +1 +1 +@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFvvEZN3gcn12_GLOBAL__N_16Lifter3expERKNS1_4InstEEUlvE_E9_M_invokeERKSt9_Any_data:2 -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter5src_fERKNS0_3ValEiRKNS1_4ModsE +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter7lane_opERKNS_4InstE # Func Hash: -391331300363527871 +172683785732115655 # Num Counters: -6 +88 # Counter Values: 0 0 @@ -60200,13 +60848,6 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter5valueEi -# Func Hash: -561802744121431446 -# Num Counters: -31 -# Counter Values: 0 0 0 @@ -60238,31 +60879,11 @@ 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter6from_iEj -# Func Hash: -844982798245712258 -# Num Counters: -4 -# Counter Values: 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter6int_opERKNS_4InstEjjjRj -# Func Hash: -855345942840630914 -# Num Counters: -23 -# Counter Values: 0 0 0 @@ -60286,24 +60907,10 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter6is_nanEj -# Func Hash: -844982798245712258 -# Num Counters: -4 -# Counter Values: 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter6rejectERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE -# Func Hash: -132281735578316147 -# Num Counters: -19 -# Counter Values: 0 0 0 @@ -60328,28 +60935,19 @@ # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: -3 +6 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter6sext24Ej -# Func Hash: -567185241486980938 -# Num Counters: -5 -# Counter Values: -0 -0 0 0 0 -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter7builtinEjN3spv7BuiltInE +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter7write_vEiRKNS0_3ValE # Func Hash: -303685791410005137 +876166840600512421 # Num Counters: -10 +313 # Counter Values: 0 0 @@ -60358,27 +60956,14 @@ 0 0 0 +510 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter7extractEjjj -# Func Hash: -844982798245712258 -# Num Counters: -4 -# Counter Values: 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter7gs_emitERKNS0_3ValE -# Func Hash: -215036039117824272 -# Num Counters: -188 -# Counter Values: 0 0 0 @@ -60409,21 +60994,28 @@ 0 0 0 +510 0 0 0 +510 0 0 +510 0 0 0 0 0 0 +510 +510 +510 0 0 0 0 +404 0 0 0 @@ -60567,34 +61159,18 @@ 0 0 0 -# Num Value Kinds: -2 -# ValueKind = IPVK_IndirectCallTarget: 0 -# NumValueSites: -5 0 0 0 0 0 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -6 0 0 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter7if_thenEjRKSt8functionIFvvEE -# Func Hash: -69360624366696881 -# Num Counters: -14 -# Counter Values: 0 0 0 @@ -60609,20 +61185,8 @@ 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_IndirectCallTarget: 0 -# NumValueSites: -1 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter7lane_opERKNS_4InstE -# Func Hash: -172683785732115655 -# Num Counters: -88 -# Counter Values: 0 0 0 @@ -60670,6 +61234,8 @@ 0 0 0 +288 +510 0 0 0 @@ -60696,6 +61262,12 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +23 0 0 0 @@ -60703,6 +61275,12 @@ 0 0 0 +2 +5:404 +4:106 +2 +9:404 +8:106 0 0 0 @@ -60711,12 +61289,6 @@ 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -6 0 0 0 @@ -60724,11 +61296,11 @@ 0 0 -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter7write_vEiRKNS0_3ValE +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter8addr_addEjj # Func Hash: -876166840600512421 +331779887488304381 # Num Counters: -313 +8 # Counter Values: 0 0 @@ -60738,6 +61310,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter8lds_slotERKNS0_3ValEj +# Func Hash: +93478047201716166 +# Num Counters: +7 +# Counter Values: 0 0 0 @@ -60745,6 +61324,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter8make_u64Ejj +# Func Hash: +1042354056226091911 +# Num Counters: +17 +# Counter Values: 0 0 0 @@ -60762,6 +61348,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter8oob_noteEjj +# Func Hash: +376335249588690741 +# Num Counters: +10 +# Counter Values: 0 0 0 @@ -60772,10 +61365,23 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_IndirectCallTarget: 0 +# NumValueSites: +3 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter8result_fEjRKNS1_4ModsE +# Func Hash: +650973722493454618 +# Num Counters: +8 +# Counter Values: +286 0 0 0 @@ -60783,6 +61389,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter8tess_ldsERKNS_4InstE +# Func Hash: +382009382331386794 +# Num Counters: +304 +# Counter Values: 0 0 0 @@ -61043,12 +61656,6 @@ 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -23 0 0 0 @@ -61072,13 +61679,6 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter8addr_addEjj -# Func Hash: -331779887488304381 -# Num Counters: -8 -# Counter Values: 0 0 0 @@ -61087,13 +61687,6 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter8lds_slotERKNS0_3ValEj -# Func Hash: -93478047201716166 -# Num Counters: -7 -# Counter Values: 0 0 0 @@ -61101,23 +61694,28 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter8make_u64Ejj -# Func Hash: -1042354056226091911 -# Num Counters: -17 -# Counter Values: 0 0 0 0 0 0 +# Num Value Kinds: +2 +# ValueKind = IPVK_IndirectCallTarget: +0 +# NumValueSites: +6 +0 +0 0 0 0 0 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +7 0 0 0 @@ -61126,11 +61724,11 @@ 0 0 -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter8oob_noteEjj +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9addr_addcEjj # Func Hash: -376335249588690741 +391331302878174504 # Num Counters: -10 +6 # Counter Values: 0 0 @@ -61138,26 +61736,21 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9clamp_infEj +# Func Hash: +596847750158638154 +# Num Counters: +16 +# Counter Values: 0 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_IndirectCallTarget: 0 -# NumValueSites: -3 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter8result_fEjRKNS1_4ModsE -# Func Hash: -650973722493454618 -# Num Counters: -8 -# Counter Values: 0 0 0 @@ -61167,12 +61760,15 @@ 0 0 -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter8tess_ldsERKNS_4InstE +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9exec_laneEv # Func Hash: -382009382331386794 +349483445008689705 # Num Counters: -304 +16 # Counter Values: +576 +576 +576 0 0 0 @@ -61186,11 +61782,27 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9guest_ptrEj +# Func Hash: +567185241486980938 +# Num Counters: +5 +# Counter Values: 0 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9lift_instERKNS_4InstE +# Func Hash: +558020200005022444 +# Num Counters: +1346 +# Counter Values: +68 +266 0 0 0 @@ -61234,7 +61846,9 @@ 0 0 0 +2 0 +2 0 0 0 @@ -61280,11 +61894,14 @@ 0 0 0 +164 +146 0 0 0 0 0 +118 0 0 0 @@ -61303,6 +61920,7 @@ 0 0 0 +362 0 0 0 @@ -61310,17 +61928,27 @@ 0 0 0 +146 +146 +146 0 +10 0 0 +4 +46 +32 0 0 0 +146 +146 0 0 0 0 0 +72 0 0 0 @@ -61328,11 +61956,15 @@ 0 0 0 +2 0 +8 0 0 0 +32 0 +32 0 0 0 @@ -61357,8 +61989,12 @@ 0 0 0 +32 +72 0 +32 0 +4 0 0 0 @@ -61372,9 +62008,16 @@ 0 0 0 +24 +24 0 +96 +96 +96 +96 0 0 +24 0 0 0 @@ -61387,6 +62030,8 @@ 0 0 0 +68 +68 0 0 0 @@ -61403,6 +62048,8 @@ 0 0 0 +96 +24 0 0 0 @@ -61415,6 +62062,7 @@ 0 0 0 +24 0 0 0 @@ -61446,6 +62094,9 @@ 0 0 0 +18 +72 +96 0 0 0 @@ -61477,22 +62128,11 @@ 0 0 0 -# Num Value Kinds: -2 -# ValueKind = IPVK_IndirectCallTarget: -0 -# NumValueSites: -6 -0 0 0 0 0 0 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -7 0 0 0 @@ -61500,26 +62140,12 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9addr_addcEjj -# Func Hash: -391331302878174504 -# Num Counters: -6 -# Counter Values: 0 0 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9clamp_infEj -# Func Hash: -596847750158638154 -# Num Counters: -16 -# Counter Values: 0 0 0 @@ -61536,48 +62162,16 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9exec_laneEv -# Func Hash: -349483445008689705 -# Num Counters: -16 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 0 +2 +40 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9guest_ptrEj -# Func Hash: -567185241486980938 -# Num Counters: -5 -# Counter Values: 0 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9lift_instERKNS_4InstE -# Func Hash: -558020200005022444 -# Num Counters: -1346 -# Counter Values: 0 0 0 @@ -61588,6 +62182,7 @@ 0 0 0 +2 0 0 0 @@ -61595,6 +62190,7 @@ 0 0 0 +24 0 0 0 @@ -61623,11 +62219,13 @@ 0 0 0 +14 0 0 0 0 0 +16 0 0 0 @@ -61669,12 +62267,14 @@ 0 0 0 +18 0 0 0 0 0 0 +32 0 0 0 @@ -61691,6 +62291,7 @@ 0 0 0 +24 0 0 0 @@ -61704,6 +62305,7 @@ 0 0 0 +16 0 0 0 @@ -61719,6 +62321,7 @@ 0 0 0 +18 0 0 0 @@ -61729,6 +62332,7 @@ 0 0 0 +18 0 0 0 @@ -61827,6 +62431,7 @@ 0 0 0 +2 0 0 0 @@ -61857,6 +62462,7 @@ 0 0 0 +24 0 0 0 @@ -61877,6 +62483,7 @@ 0 0 0 +24 0 0 0 @@ -61927,7 +62534,10 @@ 0 0 0 +2 +2 0 +8 0 0 0 @@ -61951,6 +62561,7 @@ 0 0 0 +24 0 0 0 @@ -61978,15 +62589,24 @@ 0 0 0 +10 +2 +2 +2 +14 0 0 0 0 0 0 +2 +14 0 0 0 +2 +2 0 0 0 @@ -62446,6 +63066,7 @@ 0 0 0 +2 0 0 0 @@ -62470,8 +63091,12 @@ 0 0 0 +98 +98 0 +32 0 +32 0 0 0 @@ -62498,16 +63123,21 @@ 0 0 0 +62 +62 0 +24 0 0 0 +24 0 0 0 0 0 0 +18 0 0 0 @@ -62517,7 +63147,12 @@ 0 0 0 +# Num Value Kinds: +2 +# ValueKind = IPVK_IndirectCallTarget: 0 +# NumValueSites: +10 0 0 0 @@ -62526,7 +63161,13 @@ 0 0 0 +1 +@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFvvEZN3gcn12_GLOBAL__N_16Lifter3expERKNS1_4InstEEUlvE_E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation:2 0 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +24 0 0 0 @@ -62551,6 +63192,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9loop_exitERKNS_4InstE +# Func Hash: +843986510694173352 +# Num Counters: +326 +# Counter Values: 0 0 0 @@ -62877,6 +63525,12 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +21 0 0 0 @@ -62898,12 +63552,34 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9note_readERKNS0_3ValE +# Func Hash: +848569273175716800 +# Num Counters: +14 +# Counter Values: +5966 0 +1418 +834 0 +834 +708 +312 0 0 +4976 +4976 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9oob_imageEjRKNS_12ImageBindingERKSt6vectorIjSaIjEEjbRKNS_4InstE +# Func Hash: +616187787972877373 +# Num Counters: +138 +# Counter Values: 0 0 0 @@ -62924,12 +63600,7 @@ 0 0 0 -# Num Value Kinds: -2 -# ValueKind = IPVK_IndirectCallTarget: 0 -# NumValueSites: -10 0 0 0 @@ -62940,10 +63611,6 @@ 0 0 0 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -24 0 0 0 @@ -62968,13 +63635,6 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9loop_exitERKNS_4InstE -# Func Hash: -843986510694173352 -# Num Counters: -326 -# Counter Values: 0 0 0 @@ -63058,6 +63718,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9open_loopERNS1_4LoopE +# Func Hash: +389056502890588078 +# Num Counters: +440 +# Counter Values: 0 0 0 @@ -63301,12 +63968,6 @@ 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -21 0 0 0 @@ -63328,13 +63989,6 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9note_readERKNS0_3ValE -# Func Hash: -848569273175716800 -# Num Counters: -14 -# Counter Values: 0 0 0 @@ -63349,13 +64003,6 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9oob_imageEjRKNS_12ImageBindingERKSt6vectorIjSaIjEEjbRKNS_4InstE -# Func Hash: -616187787972877373 -# Num Counters: -138 -# Counter Values: 0 0 0 @@ -63494,13 +64141,6 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9open_loopERNS1_4LoopE -# Func Hash: -389056502890588078 -# Num Counters: -440 -# Counter Values: 0 0 0 @@ -63525,6 +64165,12 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +12 0 0 0 @@ -63537,14 +64183,36 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9out_layerEv +# Func Hash: +391331302475242185 +# Num Counters: +6 +# Counter Values: 0 0 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9out_paramEi +# Func Hash: +506953642062289983 +# Num Counters: +27 +# Counter Values: +38 0 +16 +14 0 +16 +16 +16 +16 +16 0 0 0 @@ -63557,17 +64225,49 @@ 0 0 0 +24 +24 +14 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +1 +7:16 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9quad_capsEv +# Func Hash: +694937220574022716 +# Num Counters: +5 +# Counter Values: 0 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9quad_swapEjjj +# Func Hash: +844982798245712258 +# Num Counters: +4 +# Counter Values: 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9read_laneEt +# Func Hash: +352628331992727805 +# Num Counters: +48 +# Counter Values: 0 0 0 @@ -63616,9 +64316,22 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +3 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9vcmp_condEjRKNS0_3ValES4_RKNS1_4ModsE +# Func Hash: +1010570410347416095 +# Num Counters: +124 +# Counter Values: 0 0 0 @@ -63743,10 +64456,19 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9vop3_onlyEjRKNS_4InstERKNS0_3ValES7_S7_RKNS1_4ModsE +# Func Hash: +997726211929068060 +# Num Counters: +238 +# Counter Values: 0 0 0 +20 0 +28 0 0 0 @@ -63754,6 +64476,11 @@ 0 0 0 +8 +20 +20 +20 +20 0 0 0 @@ -63941,12 +64668,6 @@ 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -12 0 0 0 @@ -63959,26 +64680,12 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9out_layerEv -# Func Hash: -391331302475242185 -# Num Counters: -6 -# Counter Values: 0 0 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9out_paramEi -# Func Hash: -506953642062289983 -# Num Counters: -27 -# Counter Values: 0 0 0 @@ -63994,6 +64701,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16LifterD2Ev +# Func Hash: +825421589970919602 +# Num Counters: +72 +# Counter Values: 0 0 0 @@ -64006,43 +64720,22 @@ 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 +2 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9quad_capsEv -# Func Hash: -694937220574022716 -# Num Counters: -5 -# Counter Values: +2 0 +2 0 0 +2 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9quad_swapEjjj -# Func Hash: -844982798245712258 -# Num Counters: -4 -# Counter Values: 0 +2 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9read_laneEt -# Func Hash: -352628331992727805 -# Num Counters: -48 -# Counter Values: +2 0 0 0 @@ -64087,25 +64780,29 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16RegionD2Ev +# Func Hash: +5832819581691900 +# Num Counters: +10 +# Counter Values: +0 +0 +0 0 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -3 0 0 0 -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9vcmp_condEjRKNS0_3ValES4_RKNS1_4ModsE +@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_18key_nameB5cxx11Ei # Func Hash: -1010570410347416095 +1066495040765875038 # Num Counters: -124 +59 # Counter Values: 0 0 @@ -64117,7 +64814,10 @@ 0 0 0 +296 +296 0 +192 0 0 0 @@ -64163,10 +64863,26 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +5 +2 +4:192 +3:104 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter10successorsEyRSt6vectorIySaIyEE +# Func Hash: +630343210912666210 +# Num Counters: +23 +# Counter Values: 0 0 0 @@ -64190,12 +64906,28 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter11loop_branchEj +# Func Hash: +495986875230628028 +# Num Counters: +8 +# Counter Values: 0 0 0 +6 0 +6 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter11mask_withinEt +# Func Hash: +390913714937877834 +# Num Counters: +16 +# Counter Values: 0 0 0 @@ -64212,17 +64944,27 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter12oob_countingEv +# Func Hash: +287486627459747979 +# Num Counters: +7 +# Counter Values: 0 +12 0 0 0 0 0 -0 -0 -0 -0 -0 + +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter13quad_exact_inERKNS1_5WhereERKNS0_3ValE +# Func Hash: +414921810812737877 +# Num Counters: +8 +# Counter Values: 0 0 0 @@ -64232,11 +64974,11 @@ 0 0 -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16Lifter9vop3_onlyEjRKNS_4InstERKNS0_3ValES7_S7_RKNS1_4ModsE +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter13region_testedERKNS0_3ValE # Func Hash: -997726211929068060 +1031809832589381080 # Num Counters: -238 +9 # Counter Values: 0 0 @@ -64247,6 +64989,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter13uniform_whereERKNS0_3ValES4_ +# Func Hash: +45627460743492897 +# Num Counters: +17 +# Counter Values: 0 0 0 @@ -64264,6 +65013,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter15mask_exits_textB5cxx11ERKNS1_4LoopE +# Func Hash: +230646232035576060 +# Num Counters: +36 +# Counter Values: 0 0 0 @@ -64300,9 +65056,23 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +3 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter18if_condition_proofB5cxx11ERKNS1_3ArmE +# Func Hash: +661587452626050015 +# Num Counters: +11 +# Counter Values: +2 0 0 0 @@ -64313,8 +65083,21 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +2 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter19read_before_writtenEyRKSt3setIiSt4lessIiESaIiEENS1_9ExecReadsERjRiRb +# Func Hash: +1120049203984581158 +# Num Counters: +68 +# Counter Values: 0 0 0 @@ -64383,6 +65166,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter21mask_copied_from_execERKNS1_4LoopE +# Func Hash: +20376970992287336 +# Num Counters: +42 +# Counter Values: 0 0 0 @@ -64425,6 +65215,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter5partsERKNS1_5ExactE +# Func Hash: +1019891149218733179 +# Num Counters: +12 +# Counter Values: 0 0 0 @@ -64437,7 +65234,20 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 0 + +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter6withinERKNS1_5ExactES4_ +# Func Hash: +764657764956928710 +# Num Counters: +14 +# Counter Values: 0 0 0 @@ -64452,9 +65262,13 @@ 0 0 0 -0 -0 -0 + +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter7impliesERKNS0_3ValES4_ +# Func Hash: +526705732984096650 +# Num Counters: +21 +# Counter Values: 0 0 0 @@ -64477,11 +65291,11 @@ 0 0 -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16LifterD2Ev +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter7negatedERKNS0_3ValES4_ # Func Hash: -825421589970919602 +211488479490730997 # Num Counters: -72 +18 # Counter Values: 0 0 @@ -64501,6 +65315,13 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter8disjointERKNS0_3ValES4_ +# Func Hash: +200346200506387420 +# Num Counters: +29 +# Counter Values: 0 0 0 @@ -64530,37 +65351,26 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter8exact_inERKNS1_5WhereERKNS0_3ValE +# Func Hash: +135188636092257010 +# Num Counters: +7 +# Counter Values: 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +528 0 0 0 0 -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_16RegionD2Ev +@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter9scalar_rwERKNS_4InstERSt3setIiSt4lessIiESaIiEESA_ # Func Hash: -5832819581691900 +255730188435229545 # Num Counters: -10 +444 # Counter Values: 0 0 @@ -64572,13 +65382,6 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZN3gcn12_GLOBAL__N_18key_nameB5cxx11Ei -# Func Hash: -1066495040765875038 -# Num Counters: -59 -# Counter Values: 0 0 0 @@ -64638,24 +65441,11 @@ 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -5 0 0 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter10successorsEyRSt6vectorIySaIyEE -# Func Hash: -630343210912666210 -# Num Counters: -23 -# Counter Values: 0 0 0 @@ -64679,482 +65469,6 @@ 0 0 0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter11loop_branchEj -# Func Hash: -495986875230628028 -# Num Counters: -8 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter11mask_withinEt -# Func Hash: -390913714937877834 -# Num Counters: -16 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter12oob_countingEv -# Func Hash: -287486627459747979 -# Num Counters: -7 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter13quad_exact_inERKNS1_5WhereERKNS0_3ValE -# Func Hash: -414921810812737877 -# Num Counters: -8 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter13region_testedERKNS0_3ValE -# Func Hash: -1031809832589381080 -# Num Counters: -9 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter13uniform_whereERKNS0_3ValES4_ -# Func Hash: -45627460743492897 -# Num Counters: -17 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter15mask_exits_textB5cxx11ERKNS1_4LoopE -# Func Hash: -230646232035576060 -# Num Counters: -36 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -3 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter18if_condition_proofB5cxx11ERKNS1_3ArmE -# Func Hash: -661587452626050015 -# Num Counters: -11 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -2 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter19read_before_writtenEyRKSt3setIiSt4lessIiESaIiEENS1_9ExecReadsERjRiRb -# Func Hash: -1120049203984581158 -# Num Counters: -68 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter21mask_copied_from_execERKNS1_4LoopE -# Func Hash: -20376970992287336 -# Num Counters: -42 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter5partsERKNS1_5ExactE -# Func Hash: -1019891149218733179 -# Num Counters: -12 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter6withinERKNS1_5ExactES4_ -# Func Hash: -764657764956928710 -# Num Counters: -14 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter7impliesERKNS0_3ValES4_ -# Func Hash: -526705732984096650 -# Num Counters: -21 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter7negatedERKNS0_3ValES4_ -# Func Hash: -211488479490730997 -# Num Counters: -18 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter8disjointERKNS0_3ValES4_ -# Func Hash: -200346200506387420 -# Num Counters: -29 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter8exact_inERKNS1_5WhereERKNS0_3ValE -# Func Hash: -135188636092257010 -# Num Counters: -7 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNK3gcn12_GLOBAL__N_16Lifter9scalar_rwERKNS_4InstERSt3setIiSt4lessIiESaIiEESA_ -# Func Hash: -255730188435229545 -# Num Counters: -444 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 0 0 0 @@ -65502,26 +65816,70 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNSt12_Vector_baseIN3gcn12_GLOBAL__N_13ValESaIS2_EE11_M_allocateEy +# Func Hash: +844982797524240697 +# Num Counters: +4 +# Counter Values: +158 +158 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNSt12_Vector_baseIN3gcn12_GLOBAL__N_16Lifter4Loop3PhiESaIS4_EE11_M_allocateEy +# Func Hash: +844982797524240697 +# Num Counters: +4 +# Counter Values: 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNSt12_Vector_baseIN3gcn12_GLOBAL__N_16Lifter4Loop4ExitESaIS4_EE11_M_allocateEy +# Func Hash: +844982797524240697 +# Num Counters: +4 +# Counter Values: 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNSt12_Vector_baseIN3gcn12_GLOBAL__N_16Lifter5ExactESaIS3_EE11_M_allocateEy +# Func Hash: +844982797524240697 +# Num Counters: +4 +# Counter Values: 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_anyEjiEUlvE0_E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation +# Func Hash: +567185240387866651 +# Num Counters: +6 +# Counter Values: 0 0 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_anyEjiEUlvE0_E9_M_invokeERKSt9_Any_data +# Func Hash: +790715553315507236 +# Num Counters: +20 +# Counter Values: 0 0 0 @@ -65542,19 +65900,47 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_anyEjiEUlvE_E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation +# Func Hash: +567185240387866651 +# Num Counters: +6 +# Counter Values: 0 0 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_anyEjiEUlvE_E9_M_invokeERKSt9_Any_data +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: 0 + +@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_runEjiEUlvE0_E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation +# Func Hash: +567185240387866651 +# Num Counters: +6 +# Counter Values: 0 0 0 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_runEjiEUlvE0_E9_M_invokeERKSt9_Any_data +# Func Hash: +93478046896512997 +# Num Counters: +7 +# Counter Values: 0 0 0 @@ -65562,185 +65948,26 @@ 0 0 0 + +@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_runEjiEUlvE_E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation +# Func Hash: +567185240387866651 +# Num Counters: +6 +# Counter Values: 0 0 0 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNSt12_Vector_baseIN3gcn12_GLOBAL__N_13ValESaIS2_EE11_M_allocateEy -# Func Hash: -844982797524240697 -# Num Counters: -4 -# Counter Values: -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNSt12_Vector_baseIN3gcn12_GLOBAL__N_16Lifter4Loop3PhiESaIS4_EE11_M_allocateEy -# Func Hash: -844982797524240697 -# Num Counters: -4 -# Counter Values: -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNSt12_Vector_baseIN3gcn12_GLOBAL__N_16Lifter4Loop4ExitESaIS4_EE11_M_allocateEy -# Func Hash: -844982797524240697 -# Num Counters: -4 -# Counter Values: -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNSt12_Vector_baseIN3gcn12_GLOBAL__N_16Lifter5ExactESaIS3_EE11_M_allocateEy -# Func Hash: -844982797524240697 -# Num Counters: -4 -# Counter Values: -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_anyEjiEUlvE0_E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation -# Func Hash: -567185240387866651 -# Num Counters: -6 -# Counter Values: -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_anyEjiEUlvE0_E9_M_invokeERKSt9_Any_data -# Func Hash: -790715553315507236 -# Num Counters: -20 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_anyEjiEUlvE_E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation -# Func Hash: -567185240387866651 -# Num Counters: -6 -# Counter Values: -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_anyEjiEUlvE_E9_M_invokeERKSt9_Any_data -# Func Hash: -742261418966908927 -# Num Counters: -1 -# Counter Values: -0 - -@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_runEjiEUlvE0_E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation -# Func Hash: -567185240387866651 -# Num Counters: -6 -# Counter Values: -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_runEjiEUlvE0_E9_M_invokeERKSt9_Any_data -# Func Hash: -93478046896512997 -# Num Counters: -7 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_runEjiEUlvE_E10_M_managerERSt9_Any_dataRKS9_St18_Manager_operation -# Func Hash: -567185240387866651 -# Num Counters: -6 -# Counter Values: -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_runEjiEUlvE_E9_M_invokeERKSt9_Any_data -# Func Hash: -16930838780295342 -# Num Counters: -21 -# Counter Values: + +@SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFSt6vectorIjSaIjEEvEZN3gcn12_GLOBAL__N_16Lifter12load_u32_runEjiEUlvE_E9_M_invokeERKSt9_Any_data +# Func Hash: +16930838780295342 +# Num Counters: +21 +# Counter Values: 0 0 0 @@ -66582,12 +66809,12 @@ # Num Counters: 6 # Counter Values: +2 +2 0 0 0 -0 -0 -0 +2 @SRC@/src/gcn/lift.cpp;_ZNSt17_Function_handlerIFvvEZN3gcn12_GLOBAL__N_16Lifter3expERKNS1_4InstEEUlvE_E9_M_invokeERKSt9_Any_data # Func Hash: @@ -66595,16 +66822,16 @@ # Num Counters: 28 # Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +8 +8 +8 +8 +8 +2 +2 +2 +2 +2 0 0 0 @@ -66835,13 +67062,13 @@ # Num Counters: 7 # Counter Values: -0 -0 -0 -0 -0 -0 -0 +566 +564 +564 +2 +2 +2 +562 @SRC@/src/gcn/lift.cpp;_ZNSt3mapIiN3gcn12_GLOBAL__N_13ValESt4lessIiESaISt4pairIKiS2_EEE7emplaceIJRiS2_EEES5_ISt17_Rb_tree_iteratorIS7_EbEDpOT_ # Func Hash: @@ -66849,16 +67076,16 @@ # Num Counters: 11 # Counter Values: +526 0 +88 0 0 0 +86 0 -0 -0 -0 -0 -0 +526 +526 0 @SRC@/src/gcn/lift.cpp;_ZNSt3mapIiN3gcn12_GLOBAL__N_13ValESt4lessIiESaISt4pairIKiS2_EEEC2ERKS9_ @@ -66878,8 +67105,8 @@ # Num Counters: 3 # Counter Values: -0 -0 +4 +4 0 @SRC@/src/gcn/lift.cpp;_ZNSt3mapIiN3gcn12_GLOBAL__N_13ValESt4lessIiESaISt4pairIKiS2_EEEaSERKS9_ @@ -66888,14 +67115,14 @@ # Num Counters: 12 # Counter Values: +24 +38 +12 +4 +2 +12 0 -0 -0 -0 -0 -0 -0 -0 +8 0 0 0 @@ -66907,17 +67134,17 @@ # Num Counters: 11 # Counter Values: +9846 +1538 +1264 +446 0 0 +356 0 -0 -0 -0 -0 -0 -0 -0 -0 +5988 +5988 +82 @SRC@/src/gcn/lift.cpp;_ZNSt3mapIiN3gcn12_GLOBAL__N_16Lifter5ExactESt4lessIiESaISt4pairIKiS3_EEEC2ERKSA_ # Func Hash: @@ -66927,7 +67154,7 @@ # Counter Values: 0 0 -0 +2 0 @SRC@/src/gcn/lift.cpp;_ZNSt3mapIiN3gcn12_GLOBAL__N_16Lifter5ExactESt4lessIiESaISt4pairIKiS3_EEEaSEOSA_ @@ -66936,7 +67163,7 @@ # Num Counters: 3 # Counter Values: -0 +4 0 0 @@ -66948,12 +67175,12 @@ # Counter Values: 0 0 +2 0 0 0 0 -0 -0 +2 0 0 0 @@ -67200,9 +67427,9 @@ # Num Counters: 3 # Counter Values: -0 -0 -0 +2 +2 +2 @SRC@/src/gcn/lift.cpp;_ZNSt6vectorIN3gcn12_GLOBAL__N_13ValESaIS2_EE9push_backEOS2_ # Func Hash: @@ -67210,12 +67437,12 @@ # Num Counters: 6 # Counter Values: +72 +24 +72 +48 0 -0 -0 -0 -0 -0 +24 @SRC@/src/gcn/lift.cpp;_ZNSt6vectorIN3gcn12_GLOBAL__N_13ValESaIS2_EE9push_backERKS2_ # Func Hash: @@ -67223,12 +67450,12 @@ # Num Counters: 6 # Counter Values: +114 +60 +86 +54 0 -0 -0 -0 -0 -0 +32 @SRC@/src/gcn/lift.cpp;_ZNSt6vectorIN3gcn12_GLOBAL__N_16Lifter3ArmESaIS3_EE9push_backEOS3_ # Func Hash: @@ -67238,10 +67465,10 @@ # Counter Values: 0 0 +2 0 0 -0 -0 +2 @SRC@/src/gcn/lift.cpp;_ZNSt6vectorIN3gcn12_GLOBAL__N_16Lifter4Loop3PhiESaIS4_EE9push_backEOS4_ # Func Hash: @@ -67282,12 +67509,12 @@ # Num Counters: 6 # Counter Values: +14 +24 +8 +6 0 -0 -0 -0 -0 -0 +2 @SRC@/src/gcn/lift.cpp;_ZNSt6vectorIN3gcn12_GLOBAL__N_16Lifter7PendingESaIS3_EED2Ev # Func Hash: @@ -67297,8 +67524,8 @@ # Counter Values: 0 0 -0 -0 +2 +2 @SRC@/src/gcn/lift.cpp;_ZNSt6vectorIN3gcn12_GLOBAL__N_16Lifter8ArmExactESaIS3_EE8pop_backEv # Func Hash: @@ -67306,7 +67533,7 @@ # Num Counters: 3 # Counter Values: -0 +2 0 0 @@ -67317,8 +67544,8 @@ 5 # Counter Values: 0 -0 -0 +2 +2 0 0 @@ -67412,19 +67639,25 @@ # Num Counters: 6 # Counter Values: +124 +16 +14 +14 0 -0 -0 -0 -0 -0 +2 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 1 -0 +6 +513:4 +17:2 +33:2 +65:2 +129:2 +257:2 @SRC@/src/gcn/lift.cpp;_ZNSt6vectorIZN3gcn12_GLOBAL__N_16Lifter19region_branch_closeERNS1_6RegionEE3PhiSaIS5_EE9push_backEOS5_ # Func Hash: @@ -67489,7 +67722,7 @@ # Counter Values: 0 0 -0 +2 @SRC@/src/gcn/lift.cpp;_ZNSt8_Rb_treeIiSt4pairIKiN3gcn12_GLOBAL__N_13ValEESt10_Select1stIS5_ESt4lessIiESaIS5_EE13_M_clone_nodeILb0ENSB_20_Reuse_or_alloc_nodeEEEPSt13_Rb_tree_nodeIS5_ESG_RT0_ # Func Hash: @@ -67497,14 +67730,14 @@ # Num Counters: 8 # Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 +30 +76 +186 +34 +2 +40 +34 +4 @SRC@/src/gcn/lift.cpp;_ZNSt8_Rb_treeIiSt4pairIKiN3gcn12_GLOBAL__N_13ValEESt10_Select1stIS5_ESt4lessIiESaIS5_EE24_M_get_insert_unique_posERS1_ # Func Hash: @@ -67517,7 +67750,7 @@ 0 0 0 -0 +10 @SRC@/src/gcn/lift.cpp;_ZNSt8_Rb_treeIiSt4pairIKiN3gcn12_GLOBAL__N_13ValEESt10_Select1stIS5_ESt4lessIiESaIS5_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS5_ERS1_ # Func Hash: @@ -67525,16 +67758,16 @@ # Num Counters: 12 # Counter Values: +10 +352 0 +352 +2 0 +80 0 0 -0 -0 -0 -0 -0 -0 +90 0 0 @@ -67561,11 +67794,11 @@ # Num Counters: 10 # Counter Values: -0 -0 -0 -0 -0 +120 +60 +60 +142 +70 0 0 0 @@ -67578,8 +67811,8 @@ # Num Counters: 2 # Counter Values: -0 -0 +718 +750 @SRC@/src/gcn/lift.cpp;_ZNSt8_Rb_treeIiSt4pairIKiN3gcn12_GLOBAL__N_16Lifter5ExactEESt10_Select1stIS6_ESt4lessIiESaIS6_EE13_M_clone_nodeILb0ENSC_20_Reuse_or_alloc_nodeEEEPSt13_Rb_tree_nodeIS6_ESH_RT0_ # Func Hash: @@ -67637,7 +67870,7 @@ 2 # Counter Values: 0 -0 +18 @SRC@/src/gcn/lift.cpp;_ZNSt8_Rb_treeIiSt4pairIKiZN3gcn13parse_gs_copyERKNS2_7ProgramEjRSt6vectorINS2_9GsCopyOutESaIS7_EERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE3RegESt10_Select1stISJ_ESt4lessIiESaISJ_EE8_M_eraseEPSt13_Rb_tree_nodeISJ_E # Func Hash: @@ -67655,7 +67888,7 @@ 2 # Counter Values: 0 -0 +2 @SRC@/src/gcn/lift.cpp;_ZNSt8_Rb_treeIjSt4pairIKjN3gcn12_GLOBAL__N_16Lifter10PackedPairEESt10_Select1stIS6_ESt4lessIjESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E # Func Hash: @@ -67664,7 +67897,7 @@ 2 # Counter Values: 0 -0 +2 @SRC@/src/gcn/lift.cpp;_ZNSt8_Rb_treeIjSt4pairIKjN3gcn12_GLOBAL__N_16Lifter12CompareSplitEESt10_Select1stIS6_ESt4lessIjESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E # Func Hash: @@ -67673,7 +67906,7 @@ 2 # Counter Values: 0 -0 +2 @SRC@/src/gcn/lift.cpp;_ZNSt8_Rb_treeIjSt4pairIKjN3gcn12_GLOBAL__N_16Lifter13MaskedUniformEESt10_Select1stIS6_ESt4lessIjESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E # Func Hash: @@ -67682,7 +67915,7 @@ 2 # Counter Values: 0 -0 +2 @SRC@/src/gcn/lift.cpp;_ZNSt8_Rb_treeIjSt4pairIKjN3gcn12_GLOBAL__N_16Lifter8RingWordEESt10_Select1stIS6_ESt4lessIjESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E # Func Hash: @@ -67691,7 +67924,7 @@ 2 # Counter Values: 0 -0 +2 @SRC@/src/gcn/lift.cpp;_ZNSt8_Rb_treeIjSt4pairIKjSt6vectorIN3gcn12_GLOBAL__N_16Lifter5ExactESaIS6_EEESt10_Select1stIS9_ESt4lessIjESaIS9_EE8_M_eraseEPSt13_Rb_tree_nodeIS9_E # Func Hash: @@ -67701,7 +67934,7 @@ # Counter Values: 0 0 -0 +2 @SRC@/src/gcn/lift.cpp;_ZNSt8functionIFjvEEC2IZN3gcn12_GLOBAL__N_16Lifter11guest_mubufERKNS3_4InstEEUlvE2_vEEOT_ # Func Hash: @@ -67817,7 +68050,7 @@ # Num Counters: 4 # Counter Values: -0 +2 0 0 0 @@ -68339,37 +68572,37 @@ # Num Counters: 31 # Counter Values: +1814 +1876 +526 +68 +286 0 +220 +208 +286 +78 +286 +274 +4 0 +12 +12 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +8 +4 +1228 +1228 +12 +514 +514 +4 +944 +944 +12 +20 +20 +12 @SRC@/src/gcn/lift.cpp;_ZZN3gcn12_GLOBAL__N_16Lifter9loop_exitERKNS_4InstEENKUlvE_clEv # Func Hash: @@ -68660,12 +68893,12 @@ # Num Counters: 7 # Counter Values: -500704 -500745 -500759 -5248655 -4459362 -467511 +500357 +500396 +500424 +5242661 +4455064 +467172 0 @SRC@/src/gcn/names.cpp;_ZN3gcn12_GLOBAL__N_18slot_forERKNS_16ShaderReflectionERKNS_12ResourcePathESt16initializer_listIhERNS_9UsageSlotE @@ -68675,37 +68908,37 @@ 32 # Counter Values: 0 -257384 -0 -257374 -1739146 -1481801 -157408 -257384 -0 -414730 -2619708 -2462339 -1964776 -157410 -414723 -335201 -301541 -414736 -157418 -177871 -257387 -335240 -0 -26198 -177820 -157419 -335240 -177876 -131218 -131219 -177876 -177879 +257194 +0 +257194 +1738039 +1480829 +157297 +257188 +0 +414415 +2618154 +2460890 +1963336 +157298 +414410 +334990 +301428 +414426 +157307 +177738 +257202 +335010 +0 +26195 +177705 +157307 +335008 +177738 +131111 +131096 +177738 +177740 @SRC@/src/gcn/spirv.cpp;_ZN3spvL11push_stringERSt6vectorIjSaIjEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -68713,11 +68946,11 @@ # Num Counters: 5 # Counter Values: -4680 -180 -900 -300 -264 +6710 +196 +1106 +328 +674 @SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator10attr_indexEj # Func Hash: @@ -68736,30 +68969,30 @@ # Num Counters: 50 # Counter Values: +2 +8 0 +40 +16 +16 +16 +14 +8 0 0 +2 +16 +16 +16 +2 +8 0 0 0 +2 +2 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +2 0 0 0 @@ -68792,7 +69025,8 @@ 1 # NumValueSites: 1 -0 +1 +4:16 @SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator10builtin_inEjN3spv7BuiltInEPKc # Func Hash: @@ -68800,11 +69034,11 @@ # Num Counters: 14 # Counter Values: +6 +2 0 -0 -0 -0 -0 +6 +4 0 0 0 @@ -68995,9 +69229,9 @@ # Num Counters: 5 # Counter Values: -0 -0 -0 +80 +80 +80 0 0 @@ -69008,6 +69242,10 @@ 76 # Counter Values: 0 +242 +242 +242 +242 0 0 0 @@ -69015,10 +69253,17 @@ 0 0 0 +84 +242 0 0 +158 0 +44 +44 0 +56 +56 0 0 0 @@ -69026,18 +69271,7 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +56 0 0 0 @@ -69137,8 +69371,8 @@ 0 0 0 -0 -0 +24 +2 0 0 0 @@ -69182,9 +69416,22 @@ 0 0 0 +2 0 0 +488 +8 +46 +6 +4 +42 +4 +2 0 +2 +2 +2 +2 0 0 0 @@ -69192,20 +69439,7 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +8 @SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator11load_u32_atEj # Func Hash: @@ -69327,7 +69561,7 @@ # Num Counters: 1 # Counter Values: -0 +24 @SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator11write_texelERKNS_4InstEj # Func Hash: @@ -69571,11 +69805,15 @@ 27 # Counter Values: 0 +96 0 +96 0 0 0 0 +24 +24 0 0 0 @@ -69592,11 +69830,7 @@ 0 0 0 -0 -0 -0 -0 -0 +96 @SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator13lds_buffer_atEj # Func Hash: @@ -69652,11 +69886,11 @@ # Num Counters: 5 # Counter Values: +6 +6 0 0 -0 -0 -0 +6 @SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator14lds_buffer_ptrEj # Func Hash: @@ -69725,7 +69959,10 @@ # Num Counters: 1016 # Counter Values: +266 +68 0 +586 0 0 0 @@ -69735,6 +69972,7 @@ 0 0 0 +32 0 0 0 @@ -69743,6 +69981,8 @@ 0 0 0 +114 +32 0 0 0 @@ -69767,19 +70007,38 @@ 0 0 0 +146 +146 +145 +146 0 +82 0 +60 0 +146 0 +60 0 +146 +145 +146 +145 0 0 +86 +146 +14 +86 0 0 +146 0 0 +146 0 0 +88 0 0 0 @@ -69788,7 +70047,10 @@ 0 0 0 +54 0 +96 +146 0 0 0 @@ -69807,14 +70069,19 @@ 0 0 0 +18 0 0 0 +68 0 0 +46 0 +24 0 0 +32 0 0 0 @@ -69826,31 +70093,44 @@ 0 0 0 +266 0 +8 0 0 0 +32 0 0 0 +20 0 0 0 0 +32 0 0 0 +8 0 0 +8 +24 +24 +24 0 0 0 0 0 +24 0 0 0 0 +4 +8 0 0 0 @@ -69876,10 +70156,15 @@ 0 0 0 +32 0 0 +32 0 +32 +32 0 +24 0 0 0 @@ -69887,14 +70172,17 @@ 0 0 0 +6 0 0 0 0 0 +28 0 0 0 +24 0 0 0 @@ -69951,6 +70239,7 @@ 0 0 0 +2 0 0 0 @@ -69991,9 +70280,12 @@ 0 0 0 +2 +2 0 0 0 +40 0 0 0 @@ -70006,14 +70298,20 @@ 0 0 0 +24 0 0 0 +8 +24 0 0 +8 +8 0 0 0 +96 0 0 0 @@ -70026,6 +70324,7 @@ 0 0 0 +2 0 0 0 @@ -70035,6 +70334,7 @@ 0 0 0 +2 0 0 0 @@ -70042,6 +70342,7 @@ 0 0 0 +2 0 0 0 @@ -70055,8 +70356,12 @@ 0 0 0 +2 0 0 +4 +12 +32 0 0 0 @@ -70065,6 +70370,8 @@ 0 0 0 +2 +16 0 0 0 @@ -70151,6 +70458,7 @@ 0 0 0 +2 0 0 0 @@ -70172,10 +70480,12 @@ 0 0 0 +2 0 0 0 0 +14 0 0 0 @@ -70187,6 +70497,7 @@ 0 0 0 +2 0 0 0 @@ -70200,6 +70511,8 @@ 0 0 0 +24 +24 0 0 0 @@ -70215,13 +70528,22 @@ 0 0 0 +24 +24 +24 +24 +22 +2 0 0 0 0 0 +24 +24 0 0 +24 0 0 0 @@ -70235,9 +70557,12 @@ 0 0 0 +24 0 0 0 +2 +2 0 0 0 @@ -70608,16 +70933,27 @@ 0 0 0 +2 0 +32 +24 +32 0 0 0 +32 0 0 0 0 0 0 +32 +358 +358 +82 +2 +32 0 0 0 @@ -70630,113 +70966,11 @@ 0 0 0 +24 +24 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +96 0 0 0 @@ -70839,7 +71073,7 @@ # Num Counters: 1 # Counter Values: -0 +26 @SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator15smrd_shadow_varEi # Func Hash: @@ -70847,8 +71081,15 @@ # Num Counters: 19 # Counter Values: +1378 0 +234 +212 0 +80 +80 +80 +60 0 0 0 @@ -70856,23 +71097,18 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +882 +882 +22 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 1 -0 +2 +8:60 +7:20 @SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator15write_texel_allERKNS_4InstEj # Func Hash: @@ -70961,7 +71197,7 @@ # Num Counters: 1 # Counter Values: -0 +2 @SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator16store_dst_sel_rtERKSt6vectorIjSaIjEEj # Func Hash: @@ -71087,11 +71323,11 @@ # Num Counters: 49 # Counter Values: +96 0 0 0 -0 -0 +96 0 0 0 @@ -71149,18 +71385,30 @@ 0 0 0 +52 +52 0 0 0 0 0 +52 +16 +16 +16 +16 +12 0 0 0 0 +16 0 +4 +16 0 0 +2 0 0 0 @@ -71200,19 +71448,7 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +52 0 0 0 @@ -71230,8 +71466,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +751 +751 0 0 @@ -71241,8 +71477,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +60 +60 0 0 @@ -71252,8 +71488,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +363 +363 0 0 @@ -71263,7 +71499,7 @@ # Num Counters: 230 # Counter Values: -0 +24 0 0 0 @@ -71749,8 +71985,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +52 +52 0 0 @@ -71771,8 +72007,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +16 +16 0 0 @@ -71788,8 +72024,13 @@ 0 0 0 +72 0 +72 0 +68 +68 +68 0 0 0 @@ -71800,6 +72041,7 @@ 0 0 0 +14 0 0 0 @@ -71819,6 +72061,167 @@ 0 0 0 +8 +8 +8 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +8 +8 +18 +0 +0 +0 +0 +0 +0 +0 +0 +448 +0 +0 +0 +0 +14 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +8 +8 +0 +14 +2 +2 +2 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +4 +0 +14 +2 +2 +2 +2 +2 +2 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +2 +2 +2 +2 +2 +2 +2 +2 +14 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +2 +2 +0 +0 +14 +0 +0 +0 +0 +0 +0 +0 +0 +0 +2 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +2 +2 +2 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 0 0 0 @@ -71971,177 +72374,10 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +0 +0 +2 +0 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -72236,8 +72472,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +8 +8 0 0 @@ -72247,8 +72483,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +242 +242 0 0 @@ -72258,8 +72494,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +100 +100 0 0 @@ -72269,8 +72505,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +4 +4 0 0 @@ -72299,6 +72535,7 @@ 0 0 0 +2 0 0 0 @@ -72309,12 +72546,14 @@ 0 0 0 +2 0 0 0 0 0 0 +42 0 0 0 @@ -72328,10 +72567,19 @@ 0 0 0 +2 0 0 0 0 +488 +32 +32 +31 +32 +32 +32 +32 0 0 0 @@ -72339,6 +72587,7 @@ 0 0 0 +32 0 0 0 @@ -72356,16 +72605,26 @@ 0 0 0 +8 0 0 0 +8 +8 0 0 +488 +8 +8 +488 0 0 0 +6 +6 0 0 +4 0 0 0 @@ -72376,6 +72635,41 @@ 0 0 0 +46 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 0 0 0 @@ -72386,35 +72680,78 @@ 0 0 0 +2 +2 0 0 0 0 0 +2 0 +2 +2 0 +2 0 +2 0 0 +2 +2 +2 +2 +2 +2 +2 0 +2 +2 0 +2 0 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 0 +2 0 0 0 0 0 +2 0 0 0 0 +2 0 0 +2 0 0 +2 0 +2 0 +2 0 0 0 @@ -72422,10 +72759,14 @@ 0 0 0 +2 +2 0 0 +2 0 0 +2 0 0 0 @@ -72445,13 +72786,33 @@ 0 0 0 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 0 0 +2 +2 0 0 +2 +2 0 0 0 +2 0 0 0 @@ -72466,6 +72827,7 @@ 0 0 0 +2 0 0 0 @@ -72475,6 +72837,7 @@ 0 0 0 +2 0 0 0 @@ -72483,15 +72846,18 @@ 0 0 0 +2 0 0 0 0 0 0 +2 0 0 0 +2 0 0 0 @@ -72513,6 +72879,7 @@ 0 0 0 +2 0 0 0 @@ -72594,6 +72961,7 @@ 0 0 0 +2 0 0 0 @@ -72606,6 +72974,7 @@ 0 0 0 +2 0 0 0 @@ -72636,6 +73005,7 @@ 0 0 0 +2 0 0 0 @@ -72646,7 +73016,9 @@ 0 0 0 +2 0 +2 0 0 0 @@ -72740,11 +73112,16 @@ 0 0 0 +2 0 0 0 0 +2 +2 0 +2 +2 0 0 0 @@ -72771,7 +73148,9 @@ 0 0 0 +2 0 +2 0 0 0 @@ -72802,6 +73181,7 @@ 0 0 0 +2 0 0 0 @@ -73324,10 +73704,12 @@ 0 0 0 +2 0 0 0 0 +2 0 0 0 @@ -73341,6 +73723,7 @@ 0 0 0 +2 0 0 0 @@ -73349,6 +73732,8 @@ 0 0 0 +6 +6 0 0 0 @@ -73357,156 +73742,7 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +2 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -73533,8 +73769,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +372 +372 0 0 @@ -73577,8 +73813,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +60 +60 0 0 @@ -73610,8 +73846,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +52 +52 0 0 @@ -73621,8 +73857,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +66 +66 0 0 @@ -73665,8 +73901,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +52 +52 0 0 @@ -73676,8 +73912,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +24 +24 0 0 @@ -73698,8 +73934,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +20 +20 0 0 @@ -73709,8 +73945,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +54 +54 0 0 @@ -73720,8 +73956,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +158 +158 0 0 @@ -73731,8 +73967,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +70 +70 0 0 @@ -73764,8 +74000,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +12 +12 0 0 @@ -73775,8 +74011,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +508 +508 0 0 @@ -73786,8 +74022,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +186 +186 0 0 @@ -73797,8 +74033,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +34 +34 0 0 @@ -74492,8 +74728,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +103 +103 0 0 @@ -74560,20 +74796,20 @@ 0 0 0 +68 0 0 0 0 0 0 +44 0 +8 +14 0 0 -0 -0 -0 -0 -0 +2 0 0 0 @@ -74718,15 +74954,20 @@ # Num Counters: 246 # Counter Values: +24 0 0 0 0 +266 0 0 0 0 +24 0 +24 +24 0 0 0 @@ -74738,15 +74979,21 @@ 0 0 0 +20 0 +70 0 0 0 0 0 +2 +6 +6 0 0 0 +138 0 0 0 @@ -74950,18 +75197,7 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +24 0 0 @@ -75020,8 +75256,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +2 +2 0 0 @@ -75053,7 +75289,7 @@ # Num Counters: 3 # Counter Values: -0 +546 0 0 @@ -75063,8 +75299,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +18 +18 0 0 @@ -75075,11 +75311,11 @@ 18 # Counter Values: 0 +26 0 -0 -0 -0 -0 +26 +26 +26 0 0 0 @@ -75113,12 +75349,16 @@ 0 0 0 +182 +502 0 0 0 0 0 0 +40 +4 0 0 0 @@ -75127,17 +75367,13 @@ 0 0 0 +24 0 0 0 0 0 -0 -0 -0 -0 -0 -0 +2 0 0 0 @@ -75194,8 +75430,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +204 +204 0 0 @@ -75205,16 +75441,16 @@ # Num Counters: 11 # Counter Values: +12 0 +4 +4 0 0 0 0 -0 -0 -0 -0 -0 +8 +8 0 @SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator7lds_ptrEj @@ -75250,11 +75486,27 @@ # Counter Values: 0 0 +418 +417 +417 +417 +418 +116 +46 0 0 0 +354 +354 0 0 +354 +354 +354 +354 +354 +14 +12 0 0 0 @@ -75282,33 +75534,25 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +60 +142 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 3 -0 -0 -0 +2 +3:340 +4:14 +3 +3:255 +4:116 +5:46 +3 +4:255 +5:116 +6:46 @SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator7write_sEtj # Func Hash: @@ -75316,9 +75560,15 @@ # Num Counters: 32 # Counter Values: +653 +149 +101 +98 0 0 +4 0 +2 0 0 0 @@ -75339,15 +75589,9 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +350 +350 +4 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -75363,16 +75607,16 @@ 18 # Counter Values: 0 +509 0 0 0 0 0 +510 0 -0 -0 -0 -0 +510 +510 0 0 0 @@ -75387,9 +75631,9 @@ # Num Counters: 8 # Counter Values: -0 -0 -0 +32 +32 +32 0 0 0 @@ -75403,12 +75647,18 @@ 105 # Counter Values: 0 +1376 +18 0 0 0 0 0 +12 +12 +12 0 +94 0 0 0 @@ -75425,11 +75675,28 @@ 0 0 0 +488 +290 +488 +8 +8 0 0 0 +6 +8 0 +6 +6 +6 +6 +6 +6 +2 +2 0 +2 +2 0 0 0 @@ -75461,48 +75728,25 @@ 0 0 0 +1084 +1084 0 +8 +8 0 0 0 0 +4 +4 0 0 0 +4 +4 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +4 +4 0 0 0 @@ -75521,9 +75765,9 @@ # Num Counters: 9 # Counter Values: -0 -0 -0 +8 +8 +8 0 0 0 @@ -75615,11 +75859,11 @@ # Num Counters: 17 # Counter Values: -0 -0 -0 -0 -0 +32 +32 +32 +32 +32 0 0 0 @@ -75639,12 +75883,12 @@ # Num Counters: 21 # Counter Values: -0 -0 -0 -0 -0 -0 +28 +28 +28 +28 +28 +28 0 0 0 @@ -75698,7 +75942,7 @@ # Num Counters: 8 # Counter Values: -0 +286 0 0 0 @@ -75713,6 +75957,15 @@ # Num Counters: 19 # Counter Values: +2591 +0 +429 +429 +0 +80 +80 +80 +60 0 0 0 @@ -75720,11 +75973,66 @@ 0 0 0 +1537 +1537 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +2 +4:60 +3:19 + +@SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator8sym_pathEiiRNS_12ResourcePathE +# Func Hash: +804398905867194101 +# Num Counters: +25 +# Counter Values: +254 +254 0 +44 +44 +56 +56 +56 +56 +56 +56 +56 +12 +44 +44 +44 +12 +44 +74 +74 0 +130 +130 0 +44 + +@SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator8vgpr_varEi +# Func Hash: +65485342089289889 +# Num Counters: +19 +# Counter Values: +7442 +0 +1118 +1096 0 +152 +152 +152 +132 0 0 0 @@ -75732,98 +76040,38 @@ 0 0 0 +4098 +4098 +22 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 1 -0 +2 +4:132 +3:20 -@SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator8sym_pathEiiRNS_12ResourcePathE +@SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator9addr_addcEjj # Func Hash: -804398905867194101 +391331302878174504 # Num Counters: -25 +6 # Counter Values: 0 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator8vgpr_varEi -# Func Hash: -65485342089289889 -# Num Counters: -19 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 -0 - -@SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator9addr_addcEjj -# Func Hash: -391331302878174504 -# Num Counters: -6 -# Counter Values: -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator9clamp_infEj -# Func Hash: -296805426761502171 -# Num Counters: -22 -# Counter Values: +0 +0 + +@SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator9clamp_infEj +# Func Hash: +296805426761502171 +# Num Counters: +22 +# Counter Values: 0 0 0 @@ -75853,23 +76101,23 @@ # Num Counters: 18 # Counter Values: +4 +4 0 +2 +2 +2 0 0 0 0 0 0 +2 +2 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +2 +2 0 @SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator9exec_condEv @@ -75878,11 +76126,11 @@ # Num Counters: 7 # Counter Values: +24 0 -0 -0 -0 -0 +24 +24 +24 0 0 @@ -76043,35 +76291,68 @@ # Num Counters: 128 # Counter Values: +20 +26 0 0 +234 0 +34 0 +8 +8 +48 0 +48 +48 0 0 0 0 0 0 +34 0 +48 +48 0 0 +34 0 +34 0 0 0 0 0 +8 +4 +4 +2 +2 +2 +6 0 +6 +6 0 0 +4 +4 +2 0 +2 +2 0 +2 +2 +2 0 0 0 0 +2 +2 0 0 0 @@ -76100,6 +76381,8 @@ 0 0 0 +4 +4 0 0 0 @@ -76113,46 +76396,11 @@ 0 0 0 +108 +108 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +4 +4 0 0 0 @@ -76177,7 +76425,11 @@ 1 # NumValueSites: 2 -0 +4 +4:12 +9:10 +7:8 +5:4 0 @SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator9lane_meetERSt3setItSt4lessItESaItEERKS6_ @@ -76186,12 +76438,12 @@ # Num Counters: 8 # Counter Values: +2 +2 +2 0 -0 -0 -0 -0 -0 +2 +2 0 0 @@ -76332,8 +76584,15 @@ # Num Counters: 26 # Counter Values: +38 0 +14 0 +16 +16 +16 +16 +16 0 0 0 @@ -76346,16 +76605,9 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +24 +24 +14 0 0 # Num Value Kinds: @@ -76364,7 +76616,8 @@ 1 # NumValueSites: 1 -0 +1 +7:16 @SRC@/src/gcn/translate.cpp;_ZN3gcn12_GLOBAL__N_110Translator9read_pairEtRKNS_4InstERjS5_ # Func Hash: @@ -76372,6 +76625,9 @@ # Num Counters: 27 # Counter Values: +8 +8 +8 0 0 0 @@ -76393,10 +76649,7 @@ 0 0 0 -0 -0 -0 -0 +8 0 0 # Num Value Kinds: @@ -76436,11 +76689,13 @@ 0 0 0 +28 0 0 0 0 0 +20 0 0 0 @@ -76448,9 +76703,7 @@ 0 0 0 -0 -0 -0 +8 0 0 0 @@ -76614,10 +76867,10 @@ # Num Counters: 9 # Counter Values: -0 -0 -0 -0 +30 +30 +2 +2 0 0 0 @@ -76636,17 +76889,17 @@ 0 0 0 +56 +56 +2 0 0 +2 +2 0 0 -0 -0 -0 -0 -0 -0 -0 +2 +2 0 0 0 @@ -76683,12 +76936,12 @@ # Num Counters: 7 # Counter Values: +2206 +436 +436 0 -0 -0 -0 -0 -0 +1026 +1026 0 @SRC@/src/gcn/translate.cpp;_ZNSt3mapISt4pairIiiEN3gcn12_GLOBAL__N_16SymValESt4lessIS1_ESaIS0_IKS1_S4_EEEixEOS1_ @@ -76780,19 +77033,19 @@ # Num Counters: 13 # Counter Values: +770 +146 +82 +145 0 0 0 +112 0 0 -0 -0 -0 -0 -0 -0 -0 -0 +542 +542 +33 @SRC@/src/gcn/translate.cpp;_ZNSt3mapIiN3gcn12_GLOBAL__N_16SymValESt4lessIiESaISt4pairIKiS2_EEEixERS6_ # Func Hash: @@ -76800,18 +77053,18 @@ # Num Counters: 13 # Counter Values: +1318 +272 +240 +32 0 0 0 +30 0 0 -0 -0 -0 -0 -0 -0 -0 +704 +704 0 @SRC@/src/gcn/translate.cpp;_ZNSt3mapIiSt6vectorIN3gcn12_GLOBAL__N_110Translator7SgprDefESaIS4_EESt4lessIiESaISt4pairIKiS6_EEEixEOi @@ -76820,17 +77073,17 @@ # Num Counters: 11 # Counter Values: +700 +150 +90 +80 0 0 +68 0 -0 -0 -0 -0 -0 -0 -0 -0 +492 +492 +10 @SRC@/src/gcn/translate.cpp;_ZNSt3mapIiSt6vectorIN3gcn12_GLOBAL__N_110Translator7SgprDefESaIS4_EESt4lessIiESaISt4pairIKiS6_EEEixERSA_ # Func Hash: @@ -76857,30 +77110,48 @@ 13 # Counter Values: 0 +62 +62 +62 0 +44 +44 0 +10 +12 +12 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +2 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 6 -0 -0 -0 -0 -0 -0 +3 +8:26 +9:12 +5:6 +3 +8:26 +9:12 +5:6 +3 +8:6 +5:4 +6:2 +3 +8:6 +5:4 +6:2 +3 +8:34 +5:18 +6:10 +3 +8:34 +5:18 +6:10 @SRC@/src/gcn/translate.cpp;_ZNSt6vectorIN3gcn12_GLOBAL__N_110Translator11PendingSmrdESaIS3_EE5clearEv # Func Hash: @@ -76888,13 +77159,13 @@ # Num Counters: 7 # Counter Values: -0 -0 -0 -0 -0 -0 -0 +146 +146 +32 +32 +32 +30 +16 @SRC@/src/gcn/translate.cpp;_ZNSt6vectorIN3gcn12_GLOBAL__N_110Translator7SgprDefESaIS3_EE9push_backEOS3_ # Func Hash: @@ -76903,24 +77174,31 @@ 10 # Counter Values: 0 +88 +88 0 +14 0 +56 +136 0 -0 -0 -0 -0 -0 -0 +80 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 3 -0 -0 -0 +1 +9:14 +3 +9:92 +8:40 +2:3 +3 +9:42 +8:34 +2:12 @SRC@/src/gcn/translate.cpp;_ZNSt8_Rb_treeISt4pairIiiES0_IKS1_N3gcn12_GLOBAL__N_16SymValEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE10_Auto_node9_M_insertES0_IPSt18_Rb_tree_node_baseSF_E # Func Hash: @@ -77017,7 +77295,7 @@ # Counter Values: 0 0 -0 +8 @SRC@/src/gcn/translate.cpp;_ZNSt8_Rb_treeIiSt4pairIKiN3gcn12_GLOBAL__N_110Translator10PackedPairEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E # Func Hash: @@ -77026,7 +77304,7 @@ 2 # Counter Values: 0 -0 +2 @SRC@/src/gcn/translate.cpp;_ZNSt8_Rb_treeIiSt4pairIKiN3gcn12_GLOBAL__N_16SymValEESt10_Select1stIS5_ESt4lessIiESaIS5_EE12_M_erase_auxESt23_Rb_tree_const_iteratorIS5_E # Func Hash: @@ -77034,8 +77312,8 @@ # Num Counters: 2 # Counter Values: -0 -0 +112 +80 @SRC@/src/gcn/translate.cpp;_ZNSt8_Rb_treeIiSt4pairIKiN3gcn12_GLOBAL__N_16SymValEESt10_Select1stIS5_ESt4lessIiESaIS5_EE13_M_clone_nodeILb0ENSB_11_Alloc_nodeEEEPSt13_Rb_tree_nodeIS5_ESG_RT0_ # Func Hash: @@ -77043,7 +77321,7 @@ # Num Counters: 4 # Counter Values: -0 +108 0 0 0 @@ -77059,7 +77337,7 @@ 0 0 0 -0 +2 @SRC@/src/gcn/translate.cpp;_ZNSt8_Rb_treeIiSt4pairIKiN3gcn12_GLOBAL__N_16SymValEESt10_Select1stIS5_ESt4lessIiESaIS5_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS5_ERS1_ # Func Hash: @@ -77067,16 +77345,16 @@ # Num Counters: 12 # Counter Values: +2 +94 0 +94 +14 0 +20 0 0 -0 -0 -0 -0 -0 -0 +48 0 0 @@ -77086,11 +77364,11 @@ # Num Counters: 10 # Counter Values: -0 -0 -0 -0 -0 +50 +18 +18 +58 +34 0 0 0 @@ -77103,9 +77381,9 @@ # Num Counters: 3 # Counter Values: -0 -0 -0 +174 +118 +182 @SRC@/src/gcn/translate.cpp;_ZNSt8_Rb_treeIiSt4pairIKiSt6vectorIN3gcn12_GLOBAL__N_110Translator7SgprDefESaIS6_EEESt10_Select1stIS9_ESt4lessIiESaIS9_EE12_M_drop_nodeEPSt13_Rb_tree_nodeIS9_E # Func Hash: @@ -77114,9 +77392,9 @@ 4 # Counter Values: 0 -0 -0 -0 +150 +80 +80 @SRC@/src/gcn/translate.cpp;_ZNSt8_Rb_treeIiSt4pairIKiSt6vectorIN3gcn12_GLOBAL__N_110Translator7SgprDefESaIS6_EEESt10_Select1stIS9_ESt4lessIiESaIS9_EE24_M_get_insert_unique_posERS1_ # Func Hash: @@ -77129,7 +77407,7 @@ 0 0 0 -0 +2 @SRC@/src/gcn/translate.cpp;_ZNSt8_Rb_treeIiSt4pairIKiSt6vectorIN3gcn12_GLOBAL__N_110Translator7SgprDefESaIS6_EEESt10_Select1stIS9_ESt4lessIiESaIS9_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS9_ERS1_ # Func Hash: @@ -77137,16 +77415,16 @@ # Num Counters: 12 # Counter Values: +2 +58 0 +58 0 0 +10 0 0 -0 -0 -0 -0 -0 +10 0 0 @@ -77156,8 +77434,8 @@ # Num Counters: 2 # Counter Values: -0 -0 +80 +82 @SRC@/src/gcn/translate.cpp;_ZNSt8_Rb_treeIjSt4pairIKjSt3mapIS0_IiiEN3gcn12_GLOBAL__N_16SymValESt4lessIS3_ESaIS0_IKS3_S6_EEEESt10_Select1stISD_ES7_IjESaISD_EE12_M_drop_nodeEPSt13_Rb_tree_nodeISD_E # Func Hash: @@ -77165,7 +77443,7 @@ # Num Counters: 2 # Counter Values: -0 +6 0 @SRC@/src/gcn/translate.cpp;_ZNSt8_Rb_treeIjSt4pairIKjSt3mapIS0_IiiEN3gcn12_GLOBAL__N_16SymValESt4lessIS3_ESaIS0_IKS3_S6_EEEESt10_Select1stISD_ES7_IjESaISD_EE8_M_eraseEPSt13_Rb_tree_nodeISD_E @@ -77174,8 +77452,8 @@ # Num Counters: 2 # Counter Values: -0 -0 +6 +8 @SRC@/src/gcn/translate.cpp;_ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiN3gcn12_GLOBAL__N_16SymValESt4lessIiESaIS0_IKiS5_EEEESt10_Select1stISC_ES6_IjESaISC_EE12_M_drop_nodeEPSt13_Rb_tree_nodeISC_E # Func Hash: @@ -77183,7 +77461,7 @@ # Num Counters: 2 # Counter Values: -0 +6 0 @SRC@/src/gcn/translate.cpp;_ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiN3gcn12_GLOBAL__N_16SymValESt4lessIiESaIS0_IKiS5_EEEESt10_Select1stISC_ES6_IjESaISC_EE8_M_eraseEPSt13_Rb_tree_nodeISC_E @@ -77192,8 +77470,8 @@ # Num Counters: 2 # Counter Values: -0 -0 +6 +8 @SRC@/src/gcn/translate.cpp;_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS3_SaIS3_EEEExS3_ZN3gcn12_GLOBAL__N_110Translator17find_loop_regionsERKNS9_7ProgramEEUlRKT_RKT0_E_EvSF_SI_SI_T1_T2_ # Func Hash: @@ -77910,13 +78188,79 @@ 52 # Counter Values: 0 +248 +0 +560 +386 +0 +0 +0 +0 +386 +80 +76 +0 +0 +80 +0 +0 +84 +0 +0 +112 +0 +112 +8 +8 +8 +112 +0 +8 +80 0 0 +32 +80 +32 +32 +0 +24 +8 +80 +0 +80 +244 +244 +0 +112 +36 +36 0 +28 +28 +16 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +6 0 +2 +7:56 +8:24 0 +1 +7:8 0 0 + +@SRC@/src/gcn/translate.cpp;_ZZZN3gcn12_GLOBAL__N_110Translator20format_store_dynamicEjjjRKSt6vectorIjSaIjEEENKUlvE0_clEvENKUliE_clEi +# Func Hash: +446858651615745532 +# Num Counters: +14 +# Counter Values: 0 0 0 @@ -77931,6 +78275,13 @@ 0 0 0 + +@SRC@/src/gcn/translate.cpp;_ZZZZN3gcn12_GLOBAL__N_110Translator20format_store_dynamicEjjjRKSt6vectorIjSaIjEEENKUlvE0_clEvENKUliE_clEiENKUljE_clEj +# Func Hash: +948827211127547124 +# Num Counters: +9 +# Counter Values: 0 0 0 @@ -77940,83 +78291,13 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -6 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/translate.cpp;_ZZZN3gcn12_GLOBAL__N_110Translator20format_store_dynamicEjjjRKSt6vectorIjSaIjEEENKUlvE0_clEvENKUliE_clEi -# Func Hash: -446858651615745532 -# Num Counters: -14 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/translate.cpp;_ZZZZN3gcn12_GLOBAL__N_110Translator20format_store_dynamicEjjjRKSt6vectorIjSaIjEEENKUlvE0_clEvENKUliE_clEiENKUljE_clEj -# Func Hash: -948827211127547124 -# Num Counters: -9 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/gcn/wave.cpp;_ZN3gcn12_GLOBAL__N_110successorsERKSt6vectorINS_4InstESaIS2_EERb -# Func Hash: -574091927414536000 -# Num Counters: -30 -# Counter Values: + +@SRC@/src/gcn/wave.cpp;_ZN3gcn12_GLOBAL__N_110successorsERKSt6vectorINS_4InstESaIS2_EERb +# Func Hash: +574091927414536000 +# Num Counters: +30 +# Counter Values: 0 0 0 @@ -78439,8 +78720,8 @@ # Num Counters: 2 # Counter Values: -6560 -6560 +6538 +6538 @SRC@/src/hle/ajm.cpp;_ZN12_GLOBAL__N_114ajm_trace_leftEv # Func Hash: @@ -78448,7 +78729,7 @@ # Num Counters: 4 # Counter Values: -393059 +393697 12 12 0 @@ -78459,8 +78740,8 @@ # Num Counters: 4 # Counter Values: -386502 -386496 +387159 +387152 0 0 @@ -78507,18 +78788,18 @@ # Num Counters: 20 # Counter Values: +9 +241216 +241216 +241216 +241216 +241216 +9 2 -240880 -240880 -240880 -240880 -240880 +89020 2 -0 -88764 -0 -152114 -88562 +152187 +88825 0 0 0 @@ -78534,120 +78815,120 @@ # Num Counters: 281 # Counter Values: -6560 -6560 -386499 +6538 +6538 +387159 0 0 0 0 0 -383761 +384435 0 -44 -393059 -162 -42 +51 +393697 +157 +47 0 -6560 -1937720 +6538 +1941053 0 -386499 -386499 +387159 +387159 0 -386499 +387159 0 0 -6560 -6560 -6560 -1937720 -1937720 -386499 -386499 +6538 +6538 +6538 +1941053 +1941053 +387159 +387159 0 0 0 -1937720 -380382 +1941053 +381059 0 0 0 0 -386499 -386499 -383761 +387159 +387159 +384435 0 0 -2738 -383761 -339 +2724 +384435 +340 0 0 -6560 -6560 +6538 +6538 0 0 0 0 -240895 +241234 12 -386499 -6560 -6560 -3822 -1937720 -13392 -10044 +387159 +6538 +6538 +3814 +1941053 +13380 +10035 0 0 -386499 +387159 0 0 0 -2738 +2724 0 0 0 0 -1553959 -3379 -1553959 +1556618 +3376 +1556618 0 0 -383761 -383761 +384435 +384435 0 0 -2738 -383761 +2724 +384435 0 0 0 0 -240895 +241234 0 0 0 -386499 +387159 0 0 0 -2738 +2724 0 0 72 0 -3348 +3345 204 0 -240895 +241234 0 0 -6560 +6538 0 0 -10044 +10035 0 0 0 @@ -78655,13 +78936,13 @@ 0 0 0 -2738 -3822 -3822 -1553959 +2724 +3814 +3814 +1556618 0 -2738 -386499 +2724 +387159 72 72 72 @@ -78670,11 +78951,11 @@ 0 0 0 -1549713 -268 -268 -268 -10044 +1552373 +265 +265 +265 +10035 0 0 0 @@ -78682,13 +78963,13 @@ 0 0 0 -1166436 -387523 -1553959 -383761 +1168429 +388189 +1556618 +384435 72 72 -3822 +3814 0 0 0 @@ -78701,13 +78982,13 @@ 0 0 0 -1166436 +1168429 12 12 -2738 -2738 -2738 -10044 +2724 +2724 +2724 +10035 0 0 72 @@ -78716,13 +78997,13 @@ 0 0 0 -1553959 -240691 +1556618 +241030 0 0 0 0 -3822 +3814 0 0 0 @@ -78731,9 +79012,9 @@ 0 0 0 -3348 +3345 48 -136883 +137614 0 0 0 @@ -78782,14 +79063,14 @@ 0 0 0 -633954 -6560 +634931 +6538 0 -2738 -2738 -3822 -3822 -6560 +2724 +2724 +3814 +3814 +6538 0 0 0 @@ -78797,15 +79078,15 @@ 0 0 0 -1937720 -383730 +1941053 +384404 0 0 0 0 0 -383761 -386499 +384435 +387159 0 0 0 @@ -78814,7 +79095,7 @@ 0 0 0 -240895 +241234 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -78823,14 +79104,14 @@ 5 0 1 -8:6560 +8:6538 3 -512:1230410 -513:318844 -257:475 +512:1235975 +513:315920 +257:478 2 -32:383765 -17:2738 +32:384435 +17:2724 1 65:12 @@ -78890,8 +79171,8 @@ # Num Counters: 4 # Counter Values: -6560 -6560 +6538 +6538 0 0 @@ -78953,9 +79234,9 @@ 0 0 0 -482434 -482434 -482434 +483109 +483109 +483109 0 @SRC@/src/hle/ajm.cpp;_ZNKSt10_HashtableIiSt4pairIKiN12_GLOBAL__N_17AjmInstEESaIS4_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -78968,10 +79249,10 @@ 0 0 0 -393106 -393106 +393744 +393744 0 -393106 +393744 0 @SRC@/src/hle/ajm.cpp;_ZNSt13unordered_mapIiN12_GLOBAL__N_18AjmBatchESt4hashIiESt8equal_toIiESaISt4pairIKiS1_EEE4findERS7_ @@ -78981,15 +79262,15 @@ 10 # Counter Values: 0 -3 +13 0 0 0 -241039 -241039 -241039 +241375 +241375 +241375 0 -241039 +241375 @SRC@/src/hle/ajm.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN12_GLOBAL__N_18At9StateESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv # Func Hash: @@ -79172,9 +79453,9 @@ # Num Counters: 7 # Counter Values: -817651 -817651 -817651 +822591 +822591 +822591 0 0 0 @@ -79195,10 +79476,10 @@ # Num Counters: 31 # Counter Values: -336461 +338241 0 0 -336461 +338241 0 0 0 @@ -79300,10 +79581,10 @@ 0 0 0 -1154124 -1154124 -1154124 -1154124 +1160844 +1160844 +1160844 +1160844 @SRC@/src/hle/audio.cpp;__dtor__ZN12_GLOBAL__N_110g_audio_muE # Func Hash: @@ -81377,15 +81658,15 @@ # Num Counters: 11 # Counter Values: -210120 -3987155 -293031 -3904250 +210092 +3987892 +293084 +3904900 96 96 -3694130 -71012 -11900 +3694808 +71008 +11984 0 0 # Num Value Kinds: @@ -81415,10 +81696,10 @@ # Num Counters: 4 # Counter Values: -253805 -250730 -239256 -239256 +254743 +251565 +239706 +239706 @SRC@/src/hle/fs.cpp;_ZN12_GLOBAL__N_111index_layerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_12OverlayIndexE # Func Hash: @@ -81526,16 +81807,16 @@ # Num Counters: 10 # Counter Values: -1852907 -147554 +1852755 +147532 48 -147554 -147554 +147532 +147532 0 -106650 -40904 -40904 -40904 +106636 +40896 +40896 +40896 @SRC@/src/hle/fs.cpp;_ZN12_GLOBAL__N_112guest_prefixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc # Func Hash: @@ -81543,10 +81824,10 @@ # Num Counters: 4 # Counter Values: -123989 -123989 -42788 -42776 +124100 +124100 +42876 +42864 @SRC@/src/hle/fs.cpp;_ZN12_GLOBAL__N_112note_problemEPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_ # Func Hash: @@ -81624,29 +81905,29 @@ 0 0 0 -2236296 -43693 +2238138 +43820 0 0 -41053 -39988 -2640 +41084 +39980 +2736 0 -202748 -199948 +202804 +199908 0 0 12 -2628 +2724 0 -200084 -2640 +200044 +2736 0 0 0 0 0 -42788 +42876 0 0 0 @@ -81657,66 +81938,66 @@ 136 136 0 -159912 +159880 0 0 0 0 12 0 -42764 -159912 -42788 -42788 +42852 +159880 +42876 +42876 0 0 -40148 +40140 136 0 0 -2664 +2760 24 0 0 0 -159912 +159880 0 0 24 -40124 -40124 +40116 +40116 0 0 -42788 -40064 -159912 -40148 -40124 +42876 +40056 +159880 +40140 +40116 0 136 136 0 -40124 +40116 24 0 -40076 -40076 -2724 +40068 +40068 +2820 136 0 -40124 +40116 0 136 136 0 -40124 +40116 0 0 -159776 -40124 -40012 -40012 -42652 +159744 +40116 +40004 +40004 +42740 0 0 24 @@ -81725,16 +82006,16 @@ 0 0 0 -2652 +2748 12 0 136 -40124 +40116 24 0 0 0 -40124 +40116 0 0 0 @@ -81745,8 +82026,8 @@ 0 0 0 -39988 -39988 +39980 +39980 0 0 0 @@ -81757,7 +82038,7 @@ 0 0 0 -39988 +39980 0 0 0 @@ -81896,12 +82177,12 @@ 0 0 0 -40124 +40116 0 24 0 0 -40076 +40068 0 0 0 @@ -81916,11 +82197,11 @@ 0 0 1 -33:40124 +33:40116 1 -33:39988 +33:39980 1 -33:39988 +33:39980 0 @SRC@/src/hle/fs.cpp;_ZN12_GLOBAL__N_113lex_normalizeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE @@ -81931,19 +82212,19 @@ # Counter Values: 0 0 -14229941 -14033131 -1482935 -1482936 +14250459 +14053279 +1485182 +1485183 0 0 -1679749 -71114 -13836321 -1482939 +1682363 +71110 +13856099 +1485183 0 -1411825 -12353382 +1414073 +12370916 0 144 144 @@ -81951,16 +82232,16 @@ 0 0 0 -196810 -196810 +197180 +197180 0 -196810 +197180 0 0 -196810 -196810 +197180 +197180 0 -125696 +126070 0 0 0 @@ -81969,10 +82250,10 @@ 0 0 0 -196810 +197179 0 0 -196810 +197180 0 0 0 @@ -82032,11 +82313,11 @@ # Num Counters: 6 # Counter Values: -207715 -11499 +208452 +11882 0 0 -196217 +196571 0 @SRC@/src/hle/fs.cpp;_ZN12_GLOBAL__N_114overlay_layersEv @@ -82045,10 +82326,10 @@ # Num Counters: 10 # Counter Values: -128220 +128484 0 -42812 -42812 +42900 +42900 0 0 0 @@ -82065,38 +82346,38 @@ 0 12 0 -4311 +4309 0 0 0 302 -3853 +3784 0 0 -61 -856 -825 +71 +846 +815 0 0 -19059 +19063 0 0 0 -4155 +4086 0 -19173 +19177 0 0 0 -19059 +19063 0 0 0 -19059 +19063 0 0 -19059 -4146 +19063 +4078 114 114 0 @@ -82105,9 +82386,9 @@ 43 43 114 -14913 +14985 31 -14853 +14925 0 0 0 @@ -82137,15 +82418,15 @@ 0 0 0 -18856 +18852 0 12 -203 +211 0 -18856 -203 -203 -19059 +18852 +211 +211 +19063 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -82164,23 +82445,23 @@ # Num Counters: 32 # Counter Values: -509847 +509692 0 0 0 -509849 -509847 -509847 +509694 +509692 +509692 0 0 -509847 +509692 0 -509847 +509692 0 0 0 0 -509847 +509692 0 0 0 @@ -82203,8 +82484,8 @@ # Num Counters: 14 # Counter Values: -20081 -20081 +20117 +20117 192 0 192 @@ -82224,17 +82505,17 @@ # Num Counters: 17 # Counter Values: -40 -18641 -18641 -18641 -18641 -37 -37 +46 +18645 +18645 +18645 +18645 +41 +41 18513 -37 +41 91 -14535 +14626 0 0 0 @@ -82272,8 +82553,8 @@ # Num Counters: 14 # Counter Values: -65331 -65331 +65340 +65340 0 0 0 @@ -82325,17 +82606,17 @@ # Num Counters: 23 # Counter Values: -203 -203 +211 +211 0 -203 -203 +211 +211 0 0 -203 -203 +211 +211 0 -203 +211 0 0 0 @@ -82355,9 +82636,9 @@ # Num Counters: 12 # Counter Values: -203 -203 -203 +211 +211 +211 0 0 0 @@ -82374,8 +82655,8 @@ # Num Counters: 8 # Counter Values: -203 -203 +211 +211 0 0 0 @@ -82425,10 +82706,10 @@ # Num Counters: 13 # Counter Values: -203 -203 -203 -203 +211 +211 +211 +211 0 0 0 @@ -82479,47 +82760,47 @@ 0 1 0 -46090 -3051 -35506 -153179 -1908994 -43039 -117673 -110140 -110140 +46290 +3155 +35504 +153437 +1911538 +43135 +117933 +110302 +110302 0 0 0 -153178 -593 +153436 +609 0 -593 +609 0 -117671 +117932 0 -152585 +152827 0 -43039 -43039 -43039 +43135 +43135 +43135 0 0 0 -43039 -43039 -593 -43039 +43135 +43135 +609 +43135 0 0 0 0 -43039 -7533 -765 -42446 +43135 +7631 +789 +42526 0 -42446 +42526 0 0 0 @@ -82573,12 +82854,12 @@ 16 # Counter Values: 288 -18885 -18856 +18889 +18852 114 288 114 -203 +211 288 288 12 @@ -82597,20 +82878,20 @@ # Counter Values: 0 0 -197898 -197838 +198251 +198191 0 0 0 0 0 -197838 -197838 +198192 +198192 0 60 0 0 -197838 +198192 0 0 0 @@ -82640,13 +82921,13 @@ # Num Counters: 7 # Counter Values: -21101 -21101 -21101 +21137 +21137 +21137 36 36 -21065 -21065 +21101 +21101 @SRC@/src/hle/fs.cpp;_ZNSt12_Vector_baseIN12_GLOBAL__N_112OverlayLayerESaIS1_EE11_M_allocateEy # Func Hash: @@ -82654,8 +82935,8 @@ # Num Counters: 4 # Counter Values: -171104 -171104 +171456 +171456 0 0 @@ -82667,14 +82948,14 @@ # Counter Values: 0 0 -30757 +33805 0 0 0 -594225 -594225 -594225 -594225 +594099 +594099 +594099 +594099 @SRC@/src/hle/fs.cpp;_ZNSt6vectorIN12_GLOBAL__N_112OverlayLayerESaIS1_EE9push_backEOS1_ # Func Hash: @@ -82682,10 +82963,10 @@ # Num Counters: 6 # Counter Values: -42740 -128292 -128290 -128292 +42828 +128556 +128556 +128556 0 0 # Num Value Kinds: @@ -82695,9 +82976,9 @@ # NumValueSites: 1 3 -16:42812 -32:42740 -64:42740 +16:42900 +32:42828 +64:42828 @SRC@/src/hle/fs.cpp;_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKiN12_GLOBAL__N_18HostFileEELb0EEEEE18_M_deallocate_nodeEPS7_ # Func Hash: @@ -82705,7 +82986,7 @@ # Num Counters: 2 # Counter Values: -18641 +18645 0 @SRC@/src/hle/fs.cpp;_ZZNSt9once_flag18_Prepare_executionC1IZSt9call_onceIZN12_GLOBAL__N_113guest_to_hostB5cxx11EPKcE3$_0JEEvRS_OT_DpOT0_EUlvE_EERS8_ENUlvE_8__invokeEv @@ -82905,12 +83186,12 @@ # Num Counters: 9 # Counter Values: -543423 -10347548 -5478498 -166876 -166876 -3188876 +550873 +10405195 +5536467 +170436 +170436 +3225956 0 0 0 @@ -82923,7 +83204,7 @@ # Counter Values: 0 0 -3189499 +3226566 0 0 0 @@ -82977,12 +83258,12 @@ # Num Counters: 9 # Counter Values: -10890971 +10956068 0 -5478498 -10890971 -10890971 -3188876 +5536467 +10956068 +10956068 +3225956 0 0 12 @@ -83123,10 +83404,10 @@ # Num Counters: 17 # Counter Values: -2812317 -2812312 +2845509 +2845502 0 -2812312 +2845502 0 0 0 @@ -83306,8 +83587,8 @@ # Num Counters: 3 # Counter Values: -1732399 -1732397 +1752148 +1752145 0 # Num Value Kinds: 1 @@ -83316,7 +83597,7 @@ # NumValueSites: 1 1 -513:1732388 +513:1752139 @SRC@/src/hle/gnm.cpp;_ZN12_GLOBAL__N_117hle_gnm_flip_doneEiijx # Func Hash: @@ -83474,7 +83755,7 @@ # Num Counters: 1 # Counter Values: -376559 +380447 @SRC@/src/hle/gnm.cpp;_ZN12_GLOBAL__N_119hle_gnm_submit_flipEjPPvPjS1_S2_iijx # Func Hash: @@ -83482,25 +83763,25 @@ # Num Counters: 451 # Counter Values: -1346 +1359 0 0 -1882795 -5384 -5384 -12114 -12114 +1902235 +5436 +5436 +12231 +12231 0 -360 -360 -1346 -1346 -1346 -1346 +486 +486 +1359 +1359 +1359 +1359 0 0 -1346 -1346 +1359 +1359 0 0 0 @@ -83508,10 +83789,10 @@ 0 0 0 -1346 -376559 +1359 +380447 0 -376559 +380447 0 0 0 @@ -83519,11 +83800,11 @@ 0 0 0 -376559 -376559 -376559 +380447 +380447 +380447 0 -376559 +380447 0 0 0 @@ -83532,7 +83813,7 @@ 0 0 0 -40 +54 0 0 0 @@ -83540,55 +83821,55 @@ 0 0 0 -1346 +1359 0 -129 +128 0 -587 -1346 -1346 -1346 -1346 +598 +1359 +1359 +1359 +1359 0 -1346 -1346 -210 -558 -558 +1359 +1359 +227 +568 +569 0 0 -1346 +1359 0 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -95 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +91 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 0 0 0 0 -1346 +1359 0 0 -1217 +1231 0 0 -759 +761 0 0 0 @@ -83599,145 +83880,145 @@ 0 0 0 -1346 +1359 0 -216 -1136 -788 -788 -1346 -1346 -1346 +219 +1132 +791 +790 +1359 +1359 +1359 0 0 0 -1346 -1346 -1346 -1346 -40 +1359 +1359 +1359 +1359 +54 0 0 0 0 -1346 -1346 -1346 -1346 -1346 -1346 +1359 +1359 +1359 +1359 +1359 +1359 0 0 -129 -129 -1346 -1346 +128 +128 +1359 +1359 0 0 -587 -587 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 +598 +598 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +0 +0 +1359 +1359 +227 +227 +568 +568 +569 +569 0 0 -1346 -1346 -210 -210 -558 -558 -558 -558 +54 +54 +91 +91 0 0 -40 -40 -95 -95 +1359 +1359 +1359 0 0 -1346 -1346 -1346 0 0 +1359 +1359 +1359 +1359 0 0 -1346 -1346 -1346 -1346 +128 +128 +1359 0 0 -129 -129 -1346 +598 +598 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +0 +0 +1359 +1359 +227 +227 +568 +568 +569 +569 0 0 -587 -587 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 0 +54 +54 +91 +91 0 -1346 -1346 -210 -210 -558 -558 -558 -558 0 +1359 0 +128 0 -40 -40 -95 -95 +598 +1359 +1359 +1359 +1359 0 +1359 +227 +568 +569 0 -1346 -0 -129 -0 -587 -1346 -1346 -1346 -1346 -0 -1346 -210 -558 -558 -0 -40 -95 +54 +91 0 0 0 @@ -83925,14 +84206,14 @@ 0 0 0 -376559 +380447 12 12 0 0 -1346 -1346 -1346 +1359 +1359 +1359 # Num Value Kinds: 2 # ValueKind = IPVK_IndirectCallTarget: @@ -84134,7 +84415,7 @@ # Num Counters: 3 # Counter Values: -2812245 +2845424 0 0 @@ -84144,7 +84425,7 @@ # Num Counters: 1 # Counter Values: -2812245 +2845424 @SRC@/src/hle/gnm.cpp;_ZNSt17_Function_handlerIFvvEZN12_GLOBAL__N_116hle_gnm_dingdongEijE3$_0E10_M_managerERSt9_Any_dataRKS4_St18_Manager_operation # Func Hash: @@ -84172,12 +84453,12 @@ # Num Counters: 6 # Counter Values: -376552 -376552 +380440 +380440 0 0 0 -376552 +380440 @SRC@/src/hle/gnm.cpp;_ZNSt17_Function_handlerIFvvEZN12_GLOBAL__N_119hle_gnm_submit_flipEjPPvPjS3_S4_iijxE3$_0E9_M_invokeERKSt9_Any_data # Func Hash: @@ -84185,7 +84466,7 @@ # Num Counters: 7 # Counter Values: -376552 +380440 0 0 0 @@ -84354,7 +84635,7 @@ # Counter Values: 0 0 -2948296 +2916918 0 0 0 @@ -84377,8 +84658,8 @@ 8 # Counter Values: 0 -10891292 -10498075 +10956341 +10555019 0 0 0 @@ -84391,18 +84672,18 @@ # Num Counters: 17 # Counter Values: -89278342 -89278342 -89278342 -89278336 -67979664 -102399 +87857025 +87857025 +87857025 +87857016 +66679567 +100666 0 0 -102399 -67979664 -3914 -3914 +100666 +66679567 +2659 +2659 12 12 0 @@ -84416,7 +84697,7 @@ 3 # Counter Values: 0 -1474148 +1458459 0 @SRC@/src/hle/gnm_exec.cpp;_ZN12_GLOBAL__N_112cp_registersEv @@ -84425,7 +84706,7 @@ # Num Counters: 6 # Counter Values: -96359633 +95070189 0 12 12 @@ -84572,15 +84853,15 @@ # Num Counters: 14 # Counter Values: -166891 -10724079 +170458 +10785644 0 -166891 -166891 -166891 +170458 +170458 +170458 0 0 -3189604 +3226692 0 0 0 @@ -84593,18 +84874,18 @@ # Num Counters: 21 # Counter Values: -1513 -8610779 -20480 -10240 -90112 +1232 +9713545 +16384 +8192 +81920 0 0 0 -31625122 -24712 -5 -17 +31765173 +24024 +4 +16 0 0 0 @@ -84622,11 +84903,11 @@ 6 # Counter Values: 0 -508165 +504288 0 -508165 +504288 0 -508165 +504288 @SRC@/src/hle/gnm_exec.cpp;_ZN12_GLOBAL__N_113list_split_ofEjPKjy # Func Hash: @@ -84634,7 +84915,7 @@ # Num Counters: 37 # Counter Values: -500607 +511281 0 0 0 @@ -84643,34 +84924,34 @@ 0 0 0 -22227293 -1247 +22317471 +1189 0 702 0 -10110197 +10163366 0 -1129721 -767628 -5500008 -7081282 -186814497 -667476 +1141387 +791127 +5622698 +7213155 +187029513 +681708 0 -22229242 +22319362 0 0 702 -163582117 +163685706 0 0 0 -163582096 -18015688 -19731147 -773257 -2948296 -102773221 +163685692 +18222832 +19896684 +775484 +2916918 +102414520 @SRC@/src/hle/gnm_exec.cpp;_ZN12_GLOBAL__N_113note_gpu_argsEyy # Func Hash: @@ -84678,11 +84959,11 @@ # Num Counters: 5 # Counter Values: -446956 -835761 -835761 -835761 -234109 +448180 +830150 +830150 +830150 +250772 @SRC@/src/hle/gnm_exec.cpp;_ZN12_GLOBAL__N_113run_followingEPKjRK13GpuDrawInputsRN12list_resolve8LookStopEPSt6vectorI7GpuDrawSaIS9_EEPS8_IySaIyEE # Func Hash: @@ -84722,29 +85003,29 @@ # Num Counters: 23 # Counter Values: -40176362 -23042134 -23042134 -17134264 -23042134 -23042134 -23042134 -23042098 +41294951 +24184737 +24184737 +17110461 +24184737 +24184737 +24184737 +24184490 0 -23042134 -23042134 +24184737 +24184737 0 -17134264 -23042134 +17110461 +24184737 0 -23042134 +24184737 0 0 0 -1555780 -1555779 -15578484 -23042134 +1573934 +1573922 +15536527 +24184737 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -84752,19 +85033,19 @@ # NumValueSites: 1 13 -65:273118 -129:251333 -33:229641 -257:201514 -16:154135 -8:140041 -17:107344 -32:87960 -64:46616 -128:29163 -513:20380 -256:11536 -512:2999 +65:284071 +129:265605 +257:217731 +33:213663 +8:143120 +16:140142 +17:105709 +32:95698 +64:41180 +128:29184 +513:22178 +256:12445 +512:3208 @SRC@/src/hle/gnm_exec.cpp;_ZN12_GLOBAL__N_114execute_packetEjPKjyi # Func Hash: @@ -84773,18 +85054,18 @@ 459 # Counter Values: 702 -166869 +170427 0 0 -102771534 -10072873 +102411364 +10125389 0 -1129721 -767628 -5170759 -508165 -12649866 -773257 +1141387 +791127 +5279542 +504288 +12683529 +775484 0 0 0 @@ -84792,35 +85073,35 @@ 0 0 0 -96596082 -87 -186446783 +95270194 +85 +186645796 0 -773257 +775484 0 0 0 0 0 0 -167106090 -19340693 +167186297 +19459499 0 0 -186446783 -64334314 +186645796 +64774694 0 0 0 0 -864 +828 0 0 0 0 0 0 -282968 +279092 0 0 0 @@ -84830,22 +85111,22 @@ 0 0 0 -490289 +496392 0 0 0 702 -22227296 +22317474 702 0 0 -500607 +511281 0 0 -1247 +1189 0 0 -335044 +342100 0 0 0 @@ -84864,8 +85145,8 @@ 0 0 0 -335044 -1247 +342100 +1189 0 0 0 @@ -84875,14 +85156,14 @@ 0 0 702 -22227296 +22317474 0 0 -500607 +511281 0 0 -143873623 -19340693 +143842422 +19459499 0 0 0 @@ -84894,15 +85175,15 @@ 0 0 0 -140925085 +140925265 0 0 0 0 0 0 -335138 -335044 +342192 +342100 0 0 0 @@ -84913,8 +85194,8 @@ 0 0 0 -500607 -143873408 +511281 +143842217 0 0 0 @@ -84922,19 +85203,19 @@ 0 0 0 -6186056 +6203872 0 0 -1247 +1189 0 -335138 +342192 0 0 0 0 -675591 -335138 -335023 +675588 +342192 +342079 0 0 0 @@ -84944,17 +85225,17 @@ 0 0 0 -335138 +342192 0 0 -334985 +342043 0 -174 +170 0 0 0 -102771534 -2948296 +102411364 +2916918 0 0 0 @@ -84968,51 +85249,51 @@ 0 0 0 -335044 -78173652 +342100 +76652943 0 0 -7081282 +7213155 0 0 0 0 0 0 -2948296 +2916918 0 -10072873 +10125389 0 -1129721 -767628 -5170759 -508165 -773257 +1141387 +791127 +5279542 +504288 +775484 0 0 0 -79729436 -62595172 -40176362 -78173657 +78226874 +61116413 +41294951 +76652951 0 0 0 0 -7081281 +7213155 0 0 -12649866 +12683529 0 -87 +85 0 0 0 -15578485 -76628475 -1474148 -773257 -773257 +15536538 +75173494 +1458459 +775484 +775484 0 0 0 @@ -85026,35 +85307,35 @@ 0 0 0 -978046 -12649866 +954940 +12683529 0 0 0 -7081282 +7213155 0 0 0 -334985 +342043 0 -153 +149 0 -225197 -225197 +225196 +225196 0 0 0 0 0 -15578485 +15536538 0 0 0 0 0 -76628475 +75173494 0 -76628470 +75173486 0 0 0 @@ -85071,14 +85352,14 @@ 0 0 0 -508165 +504288 0 0 0 0 -334985 +342043 0 -59 +57 0 0 0 @@ -85087,11 +85368,11 @@ 0 0 0 -225197 +225196 0 0 0 -15578485 +15536538 0 0 0 @@ -85104,7 +85385,7 @@ 0 0 0 -225197 +225196 0 0 0 @@ -85123,9 +85404,9 @@ 0 0 0 -1545182 +1479457 0 -282968 +279092 0 0 0 @@ -85142,7 +85423,7 @@ 0 0 0 -490289 +496392 0 0 0 @@ -85222,15 +85503,15 @@ 0 0 0 -1474148 -102771534 +1458459 +102411365 0 0 0 -7081282 -773257 -773257 -773257 +7213155 +775484 +775484 +775484 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -85238,8 +85519,8 @@ # NumValueSites: 2 2 -128:333740 -256:166870 +128:340856 +256:170428 0 @SRC@/src/hle/gnm_exec.cpp;_ZN12_GLOBAL__N_115cp_dma_order_onEv @@ -85360,19 +85641,19 @@ # Num Counters: 13 # Counter Values: -215268144 -204757270 -204757270 -204757269 -160942722 -78173658 -140166394 -78173658 +211915744 +201470020 +201470020 +201470020 +157968468 +76652953 +137224426 +76652953 12 12 0 -282930923 -181115661 +278122969 +178007275 @SRC@/src/hle/gnm_exec.cpp;_ZN12_GLOBAL__N_116run_commit_afterEPKjRK13GpuDrawInputs # Func Hash: @@ -85403,7 +85684,7 @@ 0 0 0 -3189499 +3226566 0 0 0 @@ -85419,7 +85700,7 @@ # Num Counters: 49 # Counter Values: -665803 +675055 0 0 0 @@ -85429,45 +85710,45 @@ 0 0 0 -7463 +7123 0 0 -31378496 +31769088 0 -975366 -840351 -665803 +987556 +852810 +675055 0 -975366 -30403130 -975366 +987556 +30781532 +987556 0 -840351 +852810 0 -975366 +987556 0 -975366 +987556 0 -840351 +852810 0 0 -490289 +496392 0 -490289 -665803 -487683 +496392 +675055 +493778 0 -487683 +493778 0 -837113 -174548 +849698 +177755 0 0 0 -1156092 -1156092 +1171447 +1171447 0 -487683 +493778 @SRC@/src/hle/gnm_exec.cpp;_ZN12_GLOBAL__N_117note_counter_wordEy # Func Hash: @@ -85475,9 +85756,9 @@ # Num Counters: 7 # Counter Values: -1956198 -1956198 -858 +1965426 +1965426 +866 0 0 0 @@ -85542,10 +85823,10 @@ # Num Counters: 5 # Counter Values: -24597877 +25758412 0 -1537363 -1537363 +1609898 +1609898 0 @SRC@/src/hle/gnm_exec.cpp;_ZN12_GLOBAL__N_118cp_writes_need_gpuEv @@ -85675,14 +85956,14 @@ # Num Counters: 8 # Counter Values: -3169865 -508165 -508165 -508165 +3323422 +504288 +504288 +504288 0 0 -1869632 -1869632 +2115519 +2115519 @SRC@/src/hle/gnm_exec.cpp;_ZN12_GLOBAL__N_119cp_dispatch_packetsEv # Func Hash: @@ -85701,8 +85982,8 @@ # Num Counters: 4 # Counter Values: -21782072 -10665032 +21912182 +10725538 0 0 @@ -85715,21 +85996,21 @@ 0 48 0 -1440148 -2263744 -533876 -276619 -257257 +1384605 +2232736 +529690 +276000 +253690 0 -276619 -257257 -276512 +276000 +253690 +275896 0 170 -282968 +279092 170 48 -282968 +279092 48 48 0 @@ -85743,10 +86024,10 @@ 0 0 0 -1044257 -1044257 -276449 -44 +984623 +984623 +275830 +42 0 @SRC@/src/hle/gnm_exec.cpp;_ZN12_GLOBAL__N_120check_token_countersER11GpuDispatch @@ -85912,7 +86193,7 @@ 0 0 0 -23703393 +23777824 0 0 0 @@ -85959,8 +86240,8 @@ # NumValueSites: 1 2 -4:12833464 -8:10870092 +4:12873627 +8:10904316 @SRC@/src/hle/gnm_exec.cpp;_ZN12_GLOBAL__N_17ce_stepEv # Func Hash: @@ -85970,17 +86251,17 @@ # Counter Values: 0 0 -667691 -166869 +681913 +170427 0 0 -667691 +681913 0 -166869 -11558983 -166869 -166869 -667691 +170427 +11638254 +170427 +170427 +681913 0 0 0 @@ -85993,7 +86274,7 @@ # Num Counters: 131 # Counter Values: -163214099 +163301715 0 0 0 @@ -86016,14 +86297,14 @@ 0 0 0 -335044 +342100 702 0 0 0 0 -22227294 -1247 +22317474 +1189 702 0 0 @@ -86046,13 +86327,13 @@ 0 0 0 -185779088 +185963882 0 -185779080 +185963874 0 0 0 -185779088 +185963882 0 0 0 @@ -86065,7 +86346,7 @@ 0 0 0 -10498777 +10555722 0 0 0 @@ -86163,7 +86444,7 @@ 0 0 0 -500607 +511281 0 0 0 @@ -86188,8 +86469,8 @@ # Num Counters: 88 # Counter Values: -9395876 -9395876 +9445807 +9445807 0 0 0 @@ -86200,12 +86481,12 @@ 0 0 0 -22229243 +22319364 0 0 -21153740 +21473174 0 -22229243 +22319364 0 0 0 @@ -86214,13 +86495,13 @@ 0 0 0 -22229242 +22319364 0 0 0 0 -22229242 -22229242 +22319364 +22319364 0 0 0 @@ -86229,8 +86510,8 @@ 0 0 0 -9395876 -9395876 +9445807 +9445807 0 0 0 @@ -86271,7 +86552,7 @@ 0 0 0 -6671949 +6305044 0 0 0 @@ -86284,8 +86565,8 @@ 5 0 2 -4:12833464 -8:9395944 +4:12873627 +8:9445857 0 0 0 @@ -86297,73 +86578,73 @@ 208 # Counter Values: 0 -11558983 +11638254 0 0 -3188805 -960 +3225873 +1408 0 0 -481413 -10891387 -10890685 -10891292 -10891292 +478109 +10956442 +10955740 +10956341 +10956341 0 -10891292 +10956341 0 -10891280 +10956329 0 0 -10890598 +10955648 0 0 0 -10891300 +10956350 0 -166870 +170427 0 0 -10891288 -10891280 +10956338 +10956329 0 -10891288 -15 +10956338 +22 0 -166870 +170427 0 -166870 -10891288 -15 +170427 +10956338 +22 0 0 24 -3189499 -3189499 -3189499 +3226566 +3226566 +3226566 0 0 0 0 0 -1594764 +1613295 0 -3189499 -3188797 -3188797 -3189499 +3226566 +3225864 +3225864 +3226566 0 -3189499 -3189499 -3188797 -3189499 -3189511 +3226566 +3226566 +3225864 +3226566 +3226578 0 0 -3189507 +3226575 0 0 -3189499 +3226566 0 0 0 @@ -86372,10 +86653,10 @@ 0 0 0 -1594743 -3188805 -3189499 -3189507 +1613280 +3225873 +3226566 +3226575 0 0 0 @@ -86501,7 +86782,7 @@ 0 0 0 -10891273 +10956316 0 0 # Num Value Kinds: @@ -86515,12 +86796,12 @@ 0 0 3 -@SRC@/src/hle/gnm.cpp;_ZNSt17_Function_handlerIFvvEZN12_GLOBAL__N_114hle_gnm_submitEjPPvPjS3_S4_E3$_0E9_M_invokeERKSt9_Any_data:2812253 -@SRC@/src/hle/gnm.cpp;_ZNSt17_Function_handlerIFvvEZN12_GLOBAL__N_119hle_gnm_submit_flipEjPPvPjS3_S4_iijxE3$_0E9_M_invokeERKSt9_Any_data:376553 +@SRC@/src/hle/gnm.cpp;_ZNSt17_Function_handlerIFvvEZN12_GLOBAL__N_114hle_gnm_submitEjPPvPjS3_S4_E3$_0E9_M_invokeERKSt9_Any_data:2845430 +@SRC@/src/hle/gnm.cpp;_ZNSt17_Function_handlerIFvvEZN12_GLOBAL__N_119hle_gnm_submit_flipEjPPvPjS3_S4_iijxE3$_0E9_M_invokeERKSt9_Any_data:380440 @SRC@/src/hle/gnm.cpp;_ZNSt17_Function_handlerIFvvEZN12_GLOBAL__N_116hle_gnm_dingdongEijE3$_0E9_M_invokeERKSt9_Any_data:702 3 -@SRC@/src/hle/gnm.cpp;_ZNSt17_Function_handlerIFvvEZN12_GLOBAL__N_114hle_gnm_submitEjPPvPjS3_S4_E3$_0E10_M_managerERSt9_Any_dataRKS7_St18_Manager_operation:2812253 -@SRC@/src/hle/gnm.cpp;_ZNSt17_Function_handlerIFvvEZN12_GLOBAL__N_119hle_gnm_submit_flipEjPPvPjS3_S4_iijxE3$_0E10_M_managerERSt9_Any_dataRKS7_St18_Manager_operation:376553 +@SRC@/src/hle/gnm.cpp;_ZNSt17_Function_handlerIFvvEZN12_GLOBAL__N_114hle_gnm_submitEjPPvPjS3_S4_E3$_0E10_M_managerERSt9_Any_dataRKS7_St18_Manager_operation:2845430 +@SRC@/src/hle/gnm.cpp;_ZNSt17_Function_handlerIFvvEZN12_GLOBAL__N_119hle_gnm_submit_flipEjPPvPjS3_S4_iijxE3$_0E10_M_managerERSt9_Any_dataRKS7_St18_Manager_operation:380440 @SRC@/src/hle/gnm.cpp;_ZNSt17_Function_handlerIFvvEZN12_GLOBAL__N_116hle_gnm_dingdongEijE3$_0E10_M_managerERSt9_Any_dataRKS4_St18_Manager_operation:702 0 @@ -86530,11 +86811,11 @@ # Num Counters: 9 # Counter Values: -22227998 +22318176 0 -9395877 +9445808 0 -12832121 +12872368 0 0 0 @@ -86596,21 +86877,21 @@ # Num Counters: 25 # Counter Values: -1594798 -1594798 -1594779 -1594779 -1594779 +1613337 +1613337 +1613321 +1613321 +1613321 24 -110960 +113682 0 0 0 0 -86348 +86265 0 0 -86348 +86265 0 0 0 @@ -86628,15 +86909,15 @@ # NumValueSites: 3 4 -33:58617 -32:21027 -17:17676 -16:13641 +33:60615 +32:21706 +17:17574 +16:13788 0 3 33:14 -17:8 -32:2 +17:5 +32:5 @SRC@/src/hle/gnm_exec.cpp;_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJPFvPN12_GLOBAL__N_15QueueEiES5_iEEEEE6_M_runEv # Func Hash: @@ -86714,7 +86995,7 @@ # Num Counters: 6 # Counter Values: -166858 +170415 12 0 0 @@ -87073,12 +87354,12 @@ # Num Counters: 6 # Counter Values: -10498067 -19983347 -41992268 -10498769 -10498769 -10498769 +10555011 +20090481 +42220044 +10555713 +10555713 +10555713 @SRC@/src/hle/gnm_exec.cpp;__dtor__ZN12_GLOBAL__N_110g_arena_muE # Func Hash: @@ -87278,7 +87559,7 @@ # Num Counters: 2 # Counter Values: -483292433 +476657583 24 @SRC@/src/hle/guest_console.cpp;_ZN2bb13guest_console12_GLOBAL__N_110thread_keyEv @@ -87795,7 +88076,7 @@ # Num Counters: 4 # Counter Values: -157903109 +154879856 12 12 0 @@ -87835,7 +88116,7 @@ # Num Counters: 4 # Counter Values: -641909063 +639606247 12 12 0 @@ -87921,90 +88202,90 @@ # Num Counters: 103 # Counter Values: -304948551 -304948551 -1525891500 -1525891500 -305210586 -305210586 -1522298175 -1522298175 -304593798 -101531266 -3148044296 -710848712 -710733667 -710733667 -709888067 -304237743 -3143995262 -507096010 -101412110 -101412110 -101428461 +303473031 +303473031 +1518173475 +1518161730 +303700212 +303700212 +1518416145 +1514968065 +303169815 +101056605 +3134901939 +707880390 +708146033 +708146033 +708080114 +302998446 +3133739625 +505441875 +101120236 +101120104 +101137966 21420 0 -2217415570 -5601596 -8043937 -94323419 -96758176 -32172748 -307879 -102088038 -22402312 -102132674 -32168416 -41055205 -817644848 -818322992 -102146260 -443387600 -41019779 -0 -409620 -245903 -102228896 -87941340 -8042762 -245900 -96276044 -5600240 -96354933 -2443365 -8042480 -5600211 -2443378 -8044091 -102405 -102309740 -96310405 -5600133 -2443358 -0 -102405 -98515174 -5608215 -96692399 -0 -94636393 -2443276 -94663485 +2210325010 +5556675 +8312016 +93722070 +101634466 +33247060 +288556 +101619011 +22222332 +101598377 +33239104 +42788144 +814638016 +815337040 +101647124 +441962056 +42753196 +0 +402696 +238919 +101864174 +99208548 +8311015 +238919 +96064311 +5555307 +96140133 +2756307 +8310294 +5555128 +2756342 +8312090 +100674 +101968975 +96087524 +5555134 +2756384 +0 +100674 +98127623 +5696391 +96366648 +0 +94060747 +2756226 +94088834 0 84 -102405 +100673 0 -94267779 -2442845 -94276657 -8961542 -71796878 +93696778 +2755839 +93710504 +8993339 +71347318 0 -21598700 +21645077 0 0 0 -94304447 +93738204 0 0 0 @@ -88018,9 +88299,9 @@ 0 0 0 -96259645 -96259267 -94250852 +96043949 +96043949 +93688050 0 0 0 @@ -88031,27 +88312,27 @@ # Num Counters: 148 # Counter Values: -21244809 -21244809 -106224045 -106224045 -21244809 -21244809 -106224045 -106224045 -21244809 -7081603 -219529693 -49571221 -49571221 -49571221 -49571221 -21244809 -219529693 -35408015 -7081603 -7081603 -7081603 +21640626 +21640626 +108203130 +108203130 +21640626 +21640626 +108203130 +108203130 +21640626 +7213542 +223619802 +50494794 +50494794 +50494794 +50494794 +21640626 +223619802 +36067710 +7213542 +7213542 +7213542 0 0 0 @@ -88074,13 +88355,13 @@ 0 0 0 -14163206 -14163206 +14427084 +14427084 0 -7081603 +7213542 0 0 -7081603 +7213542 0 0 0 @@ -88091,20 +88372,20 @@ 0 0 0 -42489618 +43281252 0 0 -7081603 +7213542 0 -42489618 -14163206 -42489618 +43281252 +14427084 +43281252 0 -7081603 -14163206 +7213542 +14427084 0 -14163206 -7081603 +14427084 +7213542 0 0 0 @@ -88114,15 +88395,15 @@ 0 0 0 -14163206 +14427084 0 0 -14163206 +14427084 0 -7081603 -7081603 +7213542 +7213542 96 -7081603 +7213542 0 0 0 @@ -88136,31 +88417,31 @@ 0 0 96 -7081603 +7213542 0 0 0 0 0 0 -7081603 +7213542 96 0 0 0 0 0 -7081603 -7081603 +7213542 +7213542 0 -7081603 +7213542 0 0 -7081603 +7213542 0 -7081603 -7081603 -7081603 +7213542 +7213542 +7213542 0 0 0 @@ -88176,8 +88457,8 @@ 0 0 0 -14163206 -14163206 +14427084 +14427084 0 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_112scan_programERKNS_5GxRecEiijcjcRSt6vectorISt5tupleIJiicEESaIS5_EE @@ -88207,10 +88488,10 @@ # Num Counters: 4 # Counter Values: -28272193 -26835258 -26835258 -12650373 +28383780 +26930406 +26930406 +12684154 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_112sf_user_dataEyiyyyRNS_7SfStageEPjPNS_9SfRefusalE # Func Hash: @@ -88218,56 +88499,57 @@ # Num Counters: 86 # Counter Values: -164307199 -164307199 -164307199 -164307199 -258197027 -117362285 -23472457 -23472457 -164307199 -2033899896 -12106550 -375559312 -2009686802 -260728226 -327133118 -237255769 -32405869 -184817108 -14539045 -14539045 -24213094 -12106550 -14539045 +164601570 +164601570 +164601570 +164601570 +258659610 +117572550 +23514510 +23514510 +164601570 +2038324008 +12132881 +376232160 +2014058246 +261232592 +327700636 +237718082 +32466261 +185111072 +14562759 +14562759 +24265762 +12132881 +14562759 0 -14539045 -23472457 -3 +14562759 +23514510 0 0 0 0 -12106547 0 +12132881 0 0 -12106547 0 +12132881 0 0 0 0 0 -3 0 0 0 0 -12106547 0 -12106547 +0 +12132881 +0 +12132881 +0 0 0 0 @@ -88278,18 +88560,17 @@ 0 0 0 -3 0 0 0 0 -12106547 +12132881 0 -12106547 +12132881 0 0 0 -12106547 +12132881 0 0 0 @@ -88298,12 +88579,12 @@ 0 0 0 -12106547 +12132881 0 -14539045 -246189181 -14539045 -14539045 +14562759 +246669833 +14562759 +14562759 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_112wrapper_drawENS_4KindEPKyy # Func Hash: @@ -88311,69 +88592,69 @@ # Num Counters: 123 # Counter Values: -3806782 -3806782 -3806782 -3806782 -5982086 -2719130 -543826 -543826 -3806782 -1631478 -1631478 -8157390 -8157390 -1631478 -1631478 -8157390 -8157390 -1631478 -543826 -16858606 -3806782 -3806782 -3806782 -3806782 -1631478 -16858606 -2719130 -543826 -543826 -543826 -2719130 -8157390 -8157390 -8157390 -1087652 -376559 -2175304 -2175304 +3858911 +3858911 +3858911 +3858911 +6064003 +2756365 +551273 +551273 +3858911 +1653819 +1653819 +8269095 +8269095 +1653819 +1653819 +8269095 +8269095 +1653819 +551273 +17089463 +3858911 +3858911 +3858911 +3858911 +1653819 +17089463 +2756365 +551273 +551273 +551273 +2756365 +8269095 +8269095 +8269095 +1102546 +380447 +2205092 +2205092 0 0 0 -1142712 +1149189 0 -543826 -543826 +551273 +551273 0 0 -543826 -543826 +551273 +551273 0 0 0 -543826 -543826 +551273 +551273 0 0 -543826 -543826 +551273 +551273 0 -376949 -166877 +380837 +170436 0 -543826 +551273 0 0 0 @@ -88420,20 +88701,20 @@ 0 0 0 -543826 +551273 0 0 -543826 +551273 0 0 0 0 0 -376559 -166877 +380447 +170436 0 0 -543826 +551273 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -88448,7 +88729,7 @@ # Num Counters: 305 # Counter Values: -282814 +278630 0 0 0 @@ -88582,17 +88863,17 @@ 0 390 0 -376559 +380447 0 0 -376949 +380837 0 0 0 0 0 0 -376559 +380447 0 0 0 @@ -88600,21 +88881,21 @@ 0 0 0 -710313 +721319 0 0 0 0 0 -591974 +591073 0 -376559 -710313 -32739626 -255780001 +380447 +721319 +32807133 +259281456 0 0 -591974 +591073 0 0 0 @@ -88626,119 +88907,118 @@ 0 846 846 -282424 -376949 -219909877 -27808218 +278240 +380837 +223327512 +28301754 846 -276921 +273120 0 846 846 -74145253 -9577156 -9269406 -540269 -376559 -0 -282424 -376949 -565981 -710313 -0 -32739626 -0 -0 -219091872 -376949 -9367084 -1508181 -276921 -0 -540269 -376559 -565980 -710313 -0 -32739626 -219091872 -0 -376559 -710313 -32739626 -9269406 +75498206 +9749234 +9433918 +543170 +380447 +0 +278240 +380837 +568576 +721319 +0 +32807133 +0 +0 +222510410 +380837 +9538833 +1528536 +273120 +0 +543170 +380447 +568576 +721319 +0 +32807133 +222510410 +0 +380447 +721319 +32807133 +9433918 846 846 846 0 -282424 -0 -0 -1508181 -9269406 -276921 -540269 -565981 -0 -9269406 -9269406 -592808 -543826 -74145253 -9269406 -9269406 -7625429 -16068660 -11702294 -7367850 -4025306 -2432498 -9269016 -978588 -8892067 -7248870 -8892457 -2353900 +278240 +0 +0 +1528536 +9433918 +273120 +543170 +568576 +0 +9433918 +9433918 +591907 +551273 +75498206 +9433918 +9433918 +7764815 +16271913 +11864186 +7398077 +4025264 +2429878 +9433528 +989470 +9052691 +7384368 +9053081 +2390032 0 780 0 -7081993 -1643587 -225216 -10890298 -225216 -8892067 -9269016 -7367850 -9577156 -592808 -4025306 -1643587 -543826 -978588 -9269406 -543826 -7248870 +7213932 +1668713 +225217 +10917942 +225217 +9052691 +9433528 +7398077 +9749234 +591907 +4025264 +1668713 +551273 +989470 +9433918 +551273 +7384368 0 780 -2432498 -9269406 -8892457 -11702294 -7625429 -0 -2353900 -10890298 -225216 -1508181 -16068660 -16068660 -7081993 +2429878 +9433918 +9053081 +11864186 +7764815 0 -9367084 -64778169 -225216 +2390032 +10917942 +225217 +1528536 +16271913 +16271913 +7213932 0 +9538833 +65959373 +225217 0 0 0 @@ -88750,8 +89030,9 @@ 0 0 0 -1508181 -7081993 +0 +1528536 +7213932 0 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_113ScaleformDrawC2Ev @@ -88760,13 +89041,13 @@ # Num Counters: 7 # Counter Values: -189746350 -569239050 -569239965 -569239965 -37949170 -113847510 -37949290 +190249590 +570748770 +570749325 +570749325 +38049713 +114149139 +38049693 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_113ScaleformDrawD2Ev # Func Hash: @@ -88785,24 +89066,24 @@ # Num Counters: 18 # Counter Values: -501417660 -1504252920 -1504892340 -1504892340 -8949949 +500818175 +1502454525 +1503100875 +1503100875 +8984301 0 -602671758 -102404 -100851697 -100735105 -102403 -79697640 -102403 +602251374 +100674 +100811534 +100731530 +100674 +79525557 +100674 0 0 -8759632 -70877939 -830384 +8828623 +70617792 +828703 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_113native_uploadEPKy # Func Hash: @@ -88810,43 +89091,43 @@ # Num Counters: 72 # Counter Values: -1129742 -1129742 -1129742 -1129742 -1129742 -1129742 -1129742 -1129742 +1141414 +1141414 +1141414 +1141414 +1141414 +1141414 +1141414 +1141414 0 0 0 0 0 0 -1129677 -1129742 +1141347 +1141414 0 0 0 0 0 -1146317 +1158499 0 0 -1129742 -1129742 +1141414 +1141414 0 -1129742 -1129742 +1141414 +1141414 0 0 -1129742 -1129742 -1129677 -1129742 -1129742 -1129742 +1141414 +1141414 +1141347 +1141414 +1141414 +1141414 0 0 0 @@ -88871,17 +89152,17 @@ 0 0 0 -1129742 +1141414 0 0 -1129742 -1129742 +1141414 +1141414 0 0 -1129742 -1129742 +1141414 +1141414 0 -1129742 +1141414 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -88889,7 +89170,7 @@ # NumValueSites: 1 1 -513:1146320 +513:1158502 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_113print_summaryEv # Func Hash: @@ -89290,17 +89571,17 @@ # Num Counters: 11 # Counter Values: -76232086 -76232086 -76232086 -76232086 -119793278 -54451490 -10890298 -10890298 -76232086 -10890298 -10890298 +76425594 +76425594 +76425594 +76425594 +120097362 +54589710 +10917942 +10917942 +76425594 +10917942 +10917942 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_114DispatchRecordD2Ev # Func Hash: @@ -89316,13 +89597,13 @@ # Num Counters: 13 # Counter Values: -177341928 -34317491 +177752676 +34391477 0 -34317486 -34317519 -34317519 -824379 +34391472 +34391516 +34391519 +823092 0 0 0 @@ -89336,11 +89617,11 @@ # NumValueSites: 2 2 -32:541118 -16:283273 +32:544012 +16:279085 2 -16:24299686 -32:10018016 +16:24344974 +32:10046687 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_114unpack_recordsEPKv # Func Hash: @@ -89349,19 +89630,19 @@ 15 # Counter Values: 192 -455041369 -455033324 -270285144 -740794539 -740786595 +451070428 +451066551 +267673160 +733937907 +733933145 0 0 -184425934 -211237636 +183430904 +210255996 96 -6823436 -98889582 -98946350 +6826875 +98398297 +98453909 24 # Num Value Kinds: 1 @@ -89370,15 +89651,15 @@ # NumValueSites: 1 9 -17:92115941 -33:56929025 -0:21693610 -4:16175599 -8:14006232 -16:9052550 -32:1117533 -9:121680 -64:2838 +17:91472476 +33:56359657 +0:21798901 +4:16254648 +8:14020621 +16:9078242 +32:1131071 +9:121029 +64:2026 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_114write_cs_imageEyPKNS_19ComputeWrapperStateEb # Func Hash: @@ -89418,10 +89699,10 @@ # Num Counters: 5 # Counter Values: -510 -6497 -15578533 -455 +484 +7068 +15536592 +453 0 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_115note_user_valueEyjjyj @@ -89430,13 +89711,13 @@ # Num Counters: 14 # Counter Values: -2831201 +2854602 0 -1554051 -1554061 -1277140 -843738 -566821 +1563851 +1563861 +1290741 +842532 +569417 0 0 0 @@ -89475,7 +89756,7 @@ 0 0 0 -78173665 +76652967 0 0 0 @@ -89539,21 +89820,21 @@ # Num Counters: 27 # Counter Values: -7081603 +7213542 0 0 0 -54301014 -21244809 -21411652 -6914760 +55371381 +21640626 +21811029 +7043139 0 -7248446 +7383945 0 -7081603 -14330049 -14163206 -14163206 +7213542 +14597487 +14427084 +14427084 0 0 0 @@ -89564,8 +89845,8 @@ 0 0 0 -54301014 -14330049 +55371381 +14597487 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -89573,8 +89854,8 @@ # NumValueSites: 1 2 -16:14330106 -32:6914787 +16:14597495 +32:7043143 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_116clear_view_tokenEyRK12GpuClearView # Func Hash: @@ -89586,9 +89867,9 @@ 0 0 0 -5166159 +5274598 0 -80169 +82474 0 0 0 @@ -89628,21 +89909,21 @@ # Num Counters: 43 # Counter Values: -12892424 -9669165 +13156912 +9867684 0 -16118295 -3223546 +16449280 +3289630 0 -3223355 +3289372 0 -3223171 +3289238 0 -3223723 +3289908 0 0 0 -775856 +788834 0 0 144 @@ -89661,11 +89942,11 @@ 0 0 0 -3223359 -3223359 -3223361 -3223361 -3223819 +3289387 +3289336 +3289414 +3289414 +3290035 0 0 0 @@ -89679,28 +89960,28 @@ 239 # Counter Values: 0 -1317768925 -71551681 -8954309 -505393335 -1516180005 -1509150570 -1509150570 +1314907750 +71129211 +8987433 +503408130 +1510224390 +1508477115 +1503306900 0 0 0 0 0 0 -21692951 -493902768 +21741094 +492412320 0 0 0 0 0 0 -68658802 +68409983 0 0 0 @@ -89712,21 +89993,21 @@ 0 0 0 -1321471238 -1322177345 -1323449493 -395500950 -395325730 -236227261 -635576327 -635424046 +1318906202 +1319545408 +1320459685 +394960770 +394541864 +235812464 +633857644 +633727496 0 0 0 -83490047 -100814175 -101722412 -101943503 +83011862 +100435890 +101565303 +101593948 0 0 0 @@ -89735,7 +90016,7 @@ 0 0 0 -101959268 +101616381 0 0 0 @@ -89747,7 +90028,7 @@ 0 0 0 -387502274 +386710495 0 0 0 @@ -89758,8 +90039,8 @@ 0 0 0 -385526205 -172725700 +384635380 +172314250 0 0 0 @@ -89769,8 +90050,8 @@ 0 0 0 -4572995 -2917684490 +4536185 +2907542610 0 0 0 @@ -89786,9 +90067,9 @@ 0 0 0 -97149762 +97104630 0 -101237815 +101341064 0 0 0 @@ -89805,14 +90086,14 @@ 0 0 0 -21389248 +21440283 0 -102555043 +102184214 0 0 0 -101867248 -101973881 +101472282 +101636808 0 0 0 @@ -89824,7 +90105,7 @@ 0 0 0 -101259834 +101331549 0 0 0 @@ -89833,21 +90114,21 @@ 0 0 0 -102447091 +102070955 0 0 -102651163 +102268745 0 0 0 0 0 0 -83440792 +82947744 0 -100896967 -101899137 -101968386 +100534209 +101474530 +101607005 0 0 0 @@ -89857,7 +90138,7 @@ 0 0 0 -83419596 +82943132 0 0 0 @@ -89906,16 +90187,16 @@ 0 0 0 -101409 -383916811 +99593 +383058378 0 0 0 -82188501 -73448880 -73448880 -73488373 -81 +82057591 +73256671 +73256614 +73352522 +89 0 # Num Value Kinds: 1 @@ -89924,15 +90205,15 @@ # NumValueSites: 2 9 -17:75089112 -33:51295434 -0:16582866 -4:12832707 -8:9603645 -16:7658570 -32:753051 -9:78823 -64:1638 +17:74645284 +33:51075444 +0:16494866 +4:12818143 +8:9508352 +16:7612305 +32:755495 +9:76558 +64:1460 0 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_116prefetch_recordsERK13GxDrawRecords @@ -89941,12 +90222,12 @@ # Num Counters: 6 # Counter Values: -71720896 -179406210 -107620167 -290404052 -149234000 -37308500 +72148091 +180389665 +108192845 +291850469 +150117056 +37529264 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_116snapshot_computeERNS_5GxRecEy # Func Hash: @@ -89966,122 +90247,122 @@ # Num Counters: 225 # Counter Values: -2774837871 -661474664 -145598056 +2761231512 +659089392 +146177408 0 43008 0 -486228258 +485084161 0 0 0 -3855177 +3862385 0 0 448 -481126759 -288 -1496242 +479940044 +284 +1496759 0 -11064671 +10990589 0 -11996205 -5746064 +11946331 +5702419 0 0 0 0 -126471586 +125928032 0 -492427126 -294611958 -896401931 -485145361 -290689279 -865114721 -784033846 -49038205 -492537681 -294476973 -793263660 -485062680 -485596825 -290933883 -290741223 -766639509 -766602274 -37478076 -294614570 +490949104 +293633384 +892667909 +484357591 +289985505 +860525608 +781234748 +48909565 +491046752 +293470935 +789907500 +483848513 +484555674 +290228641 +289987423 +762304032 +762547406 +37455424 +293624470 0 0 0 -786462385 -782689315 -772567651 -783210170 +783016600 +780506601 +769195864 +780531827 0 0 0 0 -48999994 -4303337 +48895770 +4332158 0 -98071225 -48966175 -43293733 +97656247 +48868467 +43227410 144 -148173 -492539898 -231892904 -793265920 -492474464 -485092064 +147509 +491064899 +231067089 +789959139 +490933287 +484011916 0 -485287017 +484180228 0 -290826376 +290082264 0 -766346785 -600870811 -769839424 +761970822 +598568167 +766748753 0 -5699306 +5652876 0 -183345204 +182603210 0 -101350683 -417971559 -165448675 -468232612 -773421826 +100969797 +416800072 +165012900 +466416623 +770172828 0 -600004374 -769813024 +597689509 +766652696 0 0 0 0 -7838354 -600147895 +7852281 +597960510 0 0 0 0 -2587872 -600153633 -20826403 -403924388 -216246340 -213701145 -17071429 -16968694 -5672530 -330989888 -71895708 -216262424 +2595285 +598720582 +20797976 +403156708 +215452138 +213113452 +16959063 +16858288 +5657027 +329685520 +72368712 +215467286 0 -212428549 +211897564 0 0 0 @@ -90091,47 +90372,47 @@ 0 0 0 -214034805 +213198363 0 0 0 -17050040 +16948387 0 21504 -212372606 -16973568 -16969942 -16965581 +211788369 +16864756 +16859769 +16856588 0 0 0 224 -16972333 -16967980 -5674368 +16862106 +16857722 +5657091 0 0 0 0 -196393825 -196562085 -102261 +195845110 +195993208 +100530 0 0 0 0 -95341128 +95194703 0 -95637226 -5596019 -18224351 +95486633 +5552041 +18314759 0 84 0 0 0 0 -102401 +100674 0 56 0 @@ -90172,22 +90453,22 @@ 0 0 0 -5480317 -95118191 +5435961 +95005205 0 0 -100370 -5483591 -16964734 -16968394 -5837738 -203391427 +98793 +5460097 +16854978 +16858141 +5791162 +202663877 0 -4303294 +4332153 0 -98059904 -783518487 -183397510 +97641970 +781021236 +182658969 0 0 0 @@ -90198,24 +90479,24 @@ # NumValueSites: 2 9 -17:90438696 -33:61886892 -4:15578155 -0:14559642 -16:8812770 -8:6042875 -32:743151 -9:102260 -64:1529 +17:90041408 +33:61740083 +4:15609402 +0:14526418 +16:8773030 +8:5997599 +32:746153 +9:100530 +64:1411 9 -17:2808561 -33:1450916 -16:567408 -0:294863 -32:193292 -4:181934 -8:176281 -64:587 +17:2801591 +33:1455284 +16:559450 +0:291518 +32:193075 +4:179486 +8:176235 +64:527 9:144 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_116take_cs_countersEyRK14GxStageRecordsR11GpuDispatch @@ -90224,14 +90505,14 @@ # Num Counters: 8 # Counter Values: -533918 -533918 +529742 +529742 0 -598042 -282989 -282990 -257278 -257278 +597071 +279118 +279118 +253713 +253713 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_116wrapper_dispatchENS_4KindEPKyy # Func Hash: @@ -90239,22 +90520,22 @@ # Num Counters: 104 # Counter Values: -8982990 -8982915 -4192027 -8983050 -8983050 -8983035 +8968485 +8968455 +4185279 +8968500 +8968470 +8968425 0 -1473708 -598885 +1455860 +597915 0 -2391047 -598862 +2402025 +597892 0 0 -598869 -598889 +597901 +597918 0 0 0 @@ -90263,24 +90544,24 @@ 0 0 0 -598878 -598889 +597908 +597918 0 0 0 0 -225214 -373671 +225216 +372700 0 -9397 +9449 0 -598889 +597918 0 0 0 0 0 -598030 +597059 0 0 0 @@ -90295,11 +90576,11 @@ 0 0 0 -598042 +597072 0 0 0 -598043 +597071 0 0 0 @@ -90336,13 +90617,13 @@ 0 0 0 -598863 +597895 0 0 -225213 +225217 0 0 -598888 +597918 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_117clear_view_extentEyyj # Func Hash: @@ -90350,7 +90631,7 @@ # Num Counters: 7 # Counter Values: -5170715 +5279462 0 0 0 @@ -90364,16 +90645,16 @@ # Num Counters: 34 # Counter Values: -7789220 -5841879 +7959556 +5969667 0 0 0 -1947395 -1947332 +1989962 +1989910 0 -1947362 -1211408 +1989940 +1233096 0 0 0 @@ -90389,10 +90670,10 @@ 0 0 0 -1947344 -1947344 -1947337 -1947421 +1989908 +1989889 +1989911 +1989981 0 0 0 @@ -90405,10 +90686,10 @@ # Num Counters: 4 # Counter Values: -1848025 -1848035 -1848035 -1848044 +1872622 +1872651 +1872651 +1872659 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_118build_yebis_inputsEyR13GpuDrawInputsjjb # Func Hash: @@ -90416,40 +90697,40 @@ # Num Counters: 34 # Counter Values: -21244809 -21244809 -106224045 -106224045 -21244809 -21244809 -106224045 -106224045 -21244809 -7081603 -219529693 -49571221 -49571221 -49571221 -49571221 -21244809 -219529693 -35408015 -7081603 -7081603 -7081603 -49119853 -28326412 -28326412 -24981288 -24981288 -7081603 -7081603 -0 -0 -0 -0 -0 -7081603 +21640626 +21640626 +108203130 +108203130 +21640626 +21640626 +108203130 +108203130 +21640626 +7213542 +223619802 +50494794 +50494794 +50494794 +50494794 +21640626 +223619802 +36067710 +7213542 +7213542 +7213542 +49722203 +28854168 +28854168 +25388670 +25388670 +7213542 +7213542 +0 +0 +0 +0 +0 +7213542 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_118check_object_wordsEyPKhi # Func Hash: @@ -90473,17 +90754,17 @@ # Num Counters: 16 # Counter Values: -18538470 -609189632 -70766904 -101034692 -99739450 -39164 +18693262 +608735528 +71292712 +101025759 +99562071 +39785 0 -1644555 -1605388 -1605388 -39167 +1639536 +1599750 +1599750 +39786 0 0 0 @@ -90496,7 +90777,7 @@ # NumValueSites: 1 1 -512:1605401 +512:1599765 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_118skip_state_packetsEv # Func Hash: @@ -90504,7 +90785,7 @@ # Num Counters: 6 # Counter Values: -253295322 +256800158 12 0 12 @@ -90517,10 +90798,10 @@ # Num Counters: 4 # Counter Values: -7625429 -53378003 -7625429 -482318 +7764815 +54353705 +7764815 +488771 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_118wrapper_state_copyEyRNS_12WrapperStateE # Func Hash: @@ -90528,8 +90809,8 @@ # Num Counters: 6 # Counter Values: -41988184 -41988184 +42197267 +42197267 0 0 0 @@ -90541,22 +90822,22 @@ # Num Counters: 19 # Counter Values: -140553837 +140553154 0 -6670792 +6693740 0 -200 -6670702 -102004049 -140058017 -100982222 -200 -6673034 -121453390 +184 +6693413 +101704971 +140134745 +100773159 +184 +6696268 +121288688 0 0 0 -1903420 +1898655 0 0 0 @@ -90567,36 +90848,36 @@ # Num Counters: 48 # Counter Values: -767741 -767732 -767758 -767720 -767731 -767732 -767731 -767743 -767735 -767739 -767737 -767741 +791245 +791229 +791263 +791216 +791222 +791220 +791237 +791232 +791233 +791228 +791240 +791228 0 -767728 +791223 0 0 0 -767756 +791262 0 0 0 -767757 -767757 +791262 +791263 0 -29338 +31963 0 -767757 -767757 -767758 -29338 +791262 +791263 +791263 +31963 0 0 0 @@ -90607,14 +90888,14 @@ 0 0 0 -767735 -767729 -767729 -767731 -767731 -767752 -767752 -767753 +791233 +791223 +791223 +791225 +791225 +791262 +791262 +791261 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_119snapshot_cs_recordsEyR14GxStageRecordsPNS_13CsRecordsMissE # Func Hash: @@ -90622,53 +90903,53 @@ # Num Counters: 47 # Counter Values: -83486 -373390 -225213 -32062 -166876 -501850 +79302 +372716 +225207 +28496 +170436 +501206 0 -166876 +170429 0 0 -848947 +847611 0 0 0 -598028 -3886734 -3886657 -1357738 -848968 +597065 +3886240 +3886013 +1352905 +847690 0 -664218 +667615 0 -1357733 -848968 -664218 -598042 +1352910 +847690 +667615 +597066 0 -1357737 -848968 +1352905 +847690 0 -598040 -848961 +597061 +847650 0 -1357731 -598040 -831072 +1352818 +597063 +837985 0 0 0 -598043 +597071 0 -166876 -166876 -166876 +170436 +170436 +170436 0 0 -166876 +170436 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_120compare_call_recordsERK13GxDrawRecordsS2_RKNS_5GxRecE # Func Hash: @@ -90734,30 +91015,30 @@ # Num Counters: 38 # Counter Values: -25300746 -1162067 +25368308 +1386571 0 0 -148604 -1142845 -143 -1323 -1285 -12650373 -1291449 +177721 +1349368 +154 +1185 +1148 +12684154 +1527089 0 -198644 +200864 0 0 0 0 -1291433 +1527076 0 -50 -50 -11358940 -38 -11358916 +49 +49 +11157078 +37 +11157054 0 0 0 @@ -90771,7 +91052,7 @@ 0 0 0 -12650373 +12684154 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -90779,7 +91060,7 @@ # NumValueSites: 1 4 -513:14 +513:13 65:12 129:12 257:12 @@ -90799,26 +91080,26 @@ 132 132 924 -181 +188 0 0 0 -61 +63 0 -255781488 +259282914 0 0 132 -61 +63 0 0 0 -61 +63 12 12 -71 +69 0 -59 +57 0 0 132 @@ -90837,79 +91118,79 @@ # Num Counters: 100 # Counter Values: -24213094 -36319641 -36319641 -181598205 -181598205 -36319641 -36319641 -181598205 -181598205 -36319641 -12106547 -375302957 -84745829 -84745829 -84745829 -84745829 -36319641 -375302957 -60532735 -12106547 -12106547 -12106547 -60532735 -181598205 -181598205 -181598205 -0 -0 -12106547 -12106547 -12106547 -0 -48426188 -48426188 -10890298 -0 -12106547 -12106547 -0 -0 -0 -12106547 -12106547 -108958923 -72639282 -60532735 -12106547 -12106547 -12106547 -12106547 -12106547 -0 -3648747 -3648747 -0 -12106547 -12106547 -12106547 -12106547 -12106547 -12106547 -12106547 -0 -0 -0 -12106547 -0 -10890298 -12106547 -0 -12106547 -0 -10890298 +24265762 +36398643 +36398643 +181993215 +181993215 +36398643 +36398643 +181993215 +181993215 +36398643 +12132881 +376119311 +84930167 +84930167 +84930167 +84930167 +36398643 +376119311 +60664405 +12132881 +12132881 +12132881 +60664405 +181993215 +181993215 +181993215 +0 +0 +12132881 +12132881 +12132881 +0 +48531524 +48531524 +10917942 +0 +12132881 +12132881 +0 +0 +0 +12132881 +12132881 +109195929 +72797286 +60664405 +12132881 +12132881 +12132881 +12132881 +12132881 +0 +3644817 +3644817 +0 +12132881 +12132881 +12132881 +12132881 +12132881 +12132881 +12132881 +0 +0 +0 +12132881 +0 +10917942 +12132881 +0 +12132881 +0 +10917942 24 0 24 @@ -90923,20 +91204,20 @@ 0 0 0 -12106547 -2432498 -12106547 -12106547 -12106547 +12132881 +2429878 +12132881 +12132881 +12132881 0 0 0 0 -12106547 +12132881 0 0 -10890298 -12106547 +10917942 +12132881 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_121vertex_buffer_addressEyy # Func Hash: @@ -90944,14 +91225,14 @@ # Num Counters: 8 # Counter Values: -19103 -11556254 -18725 -11540107 -11558794 -18749065 -7210313 -7199764 +17148 +11472336 +16730 +11460145 +11476833 +18635488 +7173274 +7159332 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_122dynamic_buffer_addressEyy # Func Hash: @@ -90966,17 +91247,17 @@ 0 0 0 -664216 +667614 0 -664217 +667613 0 0 -664215 +667609 0 -664215 -664216 -664217 -664215 +667609 +667611 +667612 +667608 0 0 @@ -90986,17 +91267,17 @@ # Num Counters: 11 # Counter Values: -49571221 -49571221 -49571221 -49571221 -77897633 -35408015 -7081603 -7081603 -49571221 -7081603 -7081603 +50494794 +50494794 +50494794 +50494794 +79348962 +36067710 +7213542 +7213542 +50494794 +7213542 +7213542 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_123wrapper_state_of_lockedEy # Func Hash: @@ -91006,14 +91287,14 @@ # Counter Values: 12 0 -11367264 +69430188 0 0 -61 -298368551 -298368419 -298368539 -298368480 +63 +302078099 +302077967 +302078087 +302078030 132 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_13topISt4pairIiiEEESt6vectorIS1_IT_yESaIS5_EERKSt3mapIS4_ySt4lessIS4_ESaIS1_IKS4_yEEEy @@ -91145,7 +91426,7 @@ # Num Counters: 1 # Counter Values: -19559 +19073 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_17gx_hookEyPKy # Func Hash: @@ -91153,45 +91434,45 @@ # Num Counters: 457 # Counter Values: -2717100 -1267980 -2717100 -2717100 -2717100 +2770485 +1292893 +2770485 +2770485 +2770485 0 0 -67605869 +67707264 0 0 159324 -1386538 +1383205 159324 159324 0 0 -67597057 +67696816 0 159324 -2710844 +2746537 0 159324 159324 0 -598888 -508205 -181140 +597918 +504335 +184699 0 0 0 0 0 -67585483 -67574894 +67686189 +67683969 0 0 -67603124 -39597 -2343990 +67703868 +40263 +2372486 0 0 0 @@ -91200,89 +91481,89 @@ 0 0 0 -181140 -181140 -181140 -181140 +184699 +184699 +184699 +184699 0 0 -522 -508204 -181140 -924008 -9148512 -10073484 +494 +504335 +184699 +936286 +9188523 +10126083 0 0 -2087 +2115 0 -508205 -181140 -9148250 -924027 -2040 +504334 +184699 +9188543 +936341 +2068 0 0 0 -9149621 +9189906 0 0 0 0 -924023 -7081603 +936332 +7213542 0 -3223666 -1129742 -767739 -508205 +3289875 +1141414 +791238 +504334 0 -923927 +936220 96 0 0 0 0 -924024 +936334 0 -2383587 +2412749 0 0 0 -181140 +184699 0 0 0 0 0 0 -9149454 +9189775 0 -9149442 -9148684 +9189757 +9188893 0 -2687734 +2735223 0 -12106547 -508205 -924017 +12132881 +504335 +936336 96 96 0 0 -9145364 +9186294 0 0 0 -9149451 +9189771 0 0 0 0 96 96 -255779986 -2383588 +259281447 +2412739 0 0 59 @@ -91290,80 +91571,80 @@ 0 0 0 -181140 +184699 96 -3625735 -5523453 -3625630 -5523425 -3625613 -5523447 -3625623 -5523481 +3637637 +5551827 +3637526 +5551801 +3637515 +5551796 +3637536 +5551797 0 -7690167 +7713616 0 0 -2700 -508206 +2817 +504336 0 0 -201621996 +199983528 0 47 -181140 -7873 +184699 +7935 0 0 0 0 0 -7454448 +7477340 0 0 0 -333776 -1947407 +340894 +1989979 0 -3507941 -3507901 -3507912 -3507927 +3506787 +3506764 +3506768 +3506743 0 0 -508206 +504336 0 0 0 -3507919 -3507902 -3507909 -3507933 +3506792 +3506765 +3506763 +3506745 0 -333776 +340894 390 -1142712 -1142708 +1149187 +1149187 0 -102405 -102183101 +100674 +101864403 0 0 -102152620 +101687694 0 0 0 -598881 -102405 -102405 -102138634 +597915 +100674 +100674 +101668193 0 0 -102265917 +101867862 0 0 0 -101825762 +101677790 0 0 0 @@ -91371,11 +91652,11 @@ 0 0 0 -102404 +100674 0 0 0 -102266470 +101885814 0 0 0 @@ -91392,10 +91673,10 @@ 0 0 0 -5600635 -101907860 +5554990 +101726055 0 -102496431 +102146891 0 72 0 @@ -91410,7 +91691,7 @@ 0 0 0 -102348000 +101977035 72 72 0 @@ -91559,9 +91840,9 @@ 0 0 0 -508204 -508204 -508205 +504336 +504336 +504332 0 0 0 @@ -91572,31 +91853,31 @@ 0 0 0 -76740106 -76750222 +76880344 +76891217 0 0 -9149532 -9149614 +9189833 +9189890 0 -924028 -10073755 -2687796 -2687761 +936335 +10126355 +2735311 +2735262 0 0 -102266661 +101880242 0 0 72 -101649038 -101649038 +101436369 +101436369 0 0 0 -101780443 -101620417 -101820693 +101551890 +101551890 +101612744 0 0 0 @@ -91628,55 +91909,55 @@ # Num Counters: 49 # Counter Values: -102232028 -102059185 -506681752 -506681752 +101907437 +101815216 +504156132 +503533595 0 0 0 0 0 0 -506837195 -109429761 +504507271 +109033263 0 0 0 0 -102155282 -510111776 +101757214 +507950064 0 0 -506915773 -109708041 +504614474 +109330326 0 0 -109691483 -18412916 -84419571 -101911206 -90944020 -90944020 -84154367 +109301757 +18287749 +84030923 +101606917 +90667270 +90667270 +83773279 0 -102284625 -324677 -84154960 -101872081 -90953544 -84142147 -82999123 -89957070 +101846375 +335672 +83744301 +101574963 +90686658 +83748298 +83173334 +90265161 0 -420315502 -419662444 +418911464 +418911464 0 0 0 0 -95901563 -95901563 +95616450 +95616450 @SRC@/src/hle/gx_trace.cpp;_ZN12_GLOBAL__N_18ud_traceEPKcyjjj # Func Hash: @@ -91684,7 +91965,7 @@ # Num Counters: 6 # Counter Values: -35871489 +35955255 0 0 0 @@ -91697,22 +91978,22 @@ # Num Counters: 16 # Counter Values: -141 +139 24 -1132035 -1132035 -141 +1148506 +1148500 +145 24 +6 0 -0 -793337842 -141 +791691706 +139 24 -717736507 -1132035 -66580088 -65448135 -66580078 +715327331 +1148500 +67245980 +66097581 +67245973 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -91720,29 +92001,29 @@ # NumValueSites: 2 15 -16:501026037 -8:145805064 -17:20371415 -32:13555494 -129:7273276 -1:6626858 -2:5994317 -64:5632315 -33:5323326 -65:2208563 -4:1445341 -128:729197 -257:206321 -513:185933 -9:180384 +16:498969567 +8:145215606 +17:20253663 +32:13576341 +129:7222397 +1:6759251 +2:6114921 +64:5648714 +33:5343487 +65:2206838 +4:1433952 +128:728036 +257:213897 +513:189961 +9:176158 7 -16:26319738 -9:18538886 -33:9367124 -32:8934298 -4:1129745 -8:1129745 -17:29338 +16:26424115 +9:18867858 +33:9538843 +32:8952631 +4:1141417 +8:1141417 +17:31963 @SRC@/src/hle/gx_trace.cpp;_ZNK12_GLOBAL__N_116GxRecordsReleaseclEP13GxDrawRecords # Func Hash: @@ -91751,12 +92032,12 @@ 11 # Counter Values: 0 -102770340 +102410084 156 -186127514 -102771539 -1605789 -1605789 +185282193 +102411377 +1600160 +1600160 0 0 0 @@ -91769,13 +92050,13 @@ 9 # Counter Values: 0 -95743 +106847 0 0 0 -12649866 -12649866 -12649866 +12683529 +12683529 +12683529 0 @SRC@/src/hle/gx_trace.cpp;_ZNKSt10_HashtableIySt4pairIKyN12_GLOBAL__N_114DispatchRecordEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -91785,13 +92066,13 @@ 9 # Counter Values: 0 -2497 +2217 0 0 0 -773257 -773257 -773257 +775484 +775484 +775484 0 @SRC@/src/hle/gx_trace.cpp;_ZNKSt10_HashtableIySt4pairIKyN12_GLOBAL__N_19CountCopyEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -91801,13 +92082,13 @@ 9 # Counter Values: 0 -55136 +59328 0 0 0 -508165 -508165 -508165 +504288 +504288 +504288 0 @SRC@/src/hle/gx_trace.cpp;_ZNSt10_HashtableIySt4pairIKyN12_GLOBAL__N_113ScaleformDrawEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE8_M_eraseEyPNS6_15_Hash_node_baseEPNS6_10_Hash_nodeIS4_Lb0EEE @@ -91816,12 +92097,12 @@ # Num Counters: 6 # Counter Values: -95661 -95646 -12554089 -87175 -116 -11358448 +106767 +106749 +12576634 +96354 +128 +11156493 @SRC@/src/hle/gx_trace.cpp;_ZNSt10_HashtableIySt4pairIKyN12_GLOBAL__N_114DispatchRecordEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE12_Scoped_nodeD2Ev # Func Hash: @@ -91829,7 +92110,7 @@ # Num Counters: 2 # Counter Values: -780029 +782617 0 @SRC@/src/hle/gx_trace.cpp;_ZNSt10_HashtableIySt4pairIKyN12_GLOBAL__N_114DispatchRecordEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE8_M_eraseEyPNS6_15_Hash_node_baseEPNS6_10_Hash_nodeIS4_Lb0EEE @@ -91838,12 +92119,12 @@ # Num Counters: 6 # Counter Values: -2456 -2452 -770199 -1472 -602 -416502 +2210 +2207 +772690 +1304 +584 +415836 @SRC@/src/hle/gx_trace.cpp;_ZNSt10_HashtableIySt4pairIKyN12_GLOBAL__N_19CountCopyEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE8_M_eraseEyPNS6_15_Hash_node_baseEPNS6_10_Hash_nodeIS4_Lb0EEE # Func Hash: @@ -91851,12 +92132,12 @@ # Num Counters: 6 # Counter Values: -52837 -29163 -78322 -28959 -377006 -77110 +56674 +31445 +78450 +31114 +369164 +77357 @SRC@/src/hle/gx_trace.cpp;_ZNSt10unique_ptrI13GxDrawRecordsN12_GLOBAL__N_116GxRecordsReleaseEED2Ev # Func Hash: @@ -91873,8 +92154,8 @@ # Num Counters: 4 # Counter Values: -10073586 -10073589 +10126191 +10126177 0 0 @@ -91917,25 +92198,25 @@ # Num Counters: 19 # Counter Values: -1163 -820 -1163 +710 +730 +707 0 0 0 -1129742 -1983 +1141414 +1437 0 -1983 +1437 12 12 -1127759 +1139977 0 -751798 +760202 0 0 0 -1129742 +1141414 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -91972,29 +92253,29 @@ # Num Counters: 23 # Counter Values: -11700435 -5460203 -11700435 -11700435 -11700435 -443427 -1039 -357812 -991 -10239 -10169 -780029 -358851 +11739255 +5478319 +11739255 +11739255 +11739255 +417875 +989 +360690 +1146 +10625 +10554 +782617 +361679 0 -358797 -82 -82 -421232 -70 -420950 +361626 +83 +83 +420991 +71 +420714 0 0 -780029 +782617 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -92002,7 +92283,7 @@ # NumValueSites: 1 4 -513:46 +513:47 65:12 129:12 257:12 @@ -92100,34 +92381,33 @@ # Num Counters: 18 # Counter Values: -45115 -11480 -42607 -21 -164 -151 -508206 -54087 +48520 +12286 +45523 +10 +146 +134 +504336 +57809 0 -54079 -25 -25 -454127 -13 -402927 +57805 +24 +24 +446531 +12 +394855 0 0 -508206 +504336 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 1 -3 +2 65:12 129:12 -257:1 @SRC@/src/hle/gx_trace.cpp;_ZNSt6vectorIN12_GLOBAL__N_19GuestFillESaIS1_EE7reserveEy # Func Hash: @@ -92203,10 +92483,10 @@ # Num Counters: 4 # Counter Values: -25299732 +25367058 0 0 -12649866 +12683529 @SRC@/src/hle/gx_trace.cpp;_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKyN12_GLOBAL__N_114DispatchRecordEELb0EEEEE19_M_deallocate_nodesEPS7_ # Func Hash: @@ -93803,13 +94083,13 @@ 24 24 24 -1 +0 24 12 12 -23 +24 0 -11 +12 0 0 0 @@ -93856,7 +94136,7 @@ # Num Counters: 42 # Counter Values: -753052 +760919 0 0 0 @@ -93864,22 +94144,22 @@ 0 0 0 -753052 +760919 0 0 0 0 0 -753052 +760919 0 0 -753052 -753052 +760919 +760919 0 -753052 +760919 0 0 -753052 +760919 0 0 0 @@ -94289,13 +94569,13 @@ 9 # Counter Values: 0 -9835 0 -1 0 -753076 -753064 -753053 +0 +0 +760943 +760931 +760919 12 @SRC@/src/hle/http.cpp;_ZNKSt10_HashtableIiSt4pairIKiN12_GLOBAL__N_17HttpObjEESaIS4_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -94575,35 +94855,35 @@ 43 # Counter Values: 7654 -278324988 -11752 -1836 -11752 -1156571701 -3786 -11752 -7441 -2054069112 -3639 +281088657 +11855 +1852 +11855 +1025348550 +3889 +11855 +7477 +1922831056 +3738 7654 0 1824 -1387106488 -2487 -1386046572 -69345531 -68761613 -459 -459 -458 -135 -459 -1879271 +1388716783 +2554 +1387691910 +70046871 +69436338 +463 +463 +463 +139 +463 +1899063 422 422 -1317517450 -202787019 -202865696 +1318323159 +202045528 +202125661 0 0 0 @@ -94615,8 +94895,8 @@ 0 0 0 -137906767 -137906767 +139277637 +139277637 @SRC@/src/hle/kernel.cpp;_ZN12_GLOBAL__N_111MapSnapshotD2Ev # Func Hash: @@ -94728,7 +95008,7 @@ # Num Counters: 1 # Counter Values: -25918032 +26246065 @SRC@/src/hle/kernel.cpp;_ZN12_GLOBAL__N_113hle_batch_mapEPNS_10BatchEntryEiPi # Func Hash: @@ -94763,34 +95043,34 @@ # Num Counters: 48 # Counter Values: -42781522 +43161862 0 0 0 -80700642 -46778051 -47085708 -42894737 +79596543 +45547388 +45743527 +43268932 0 0 -47078585 -47025933 -42923962 +45728698 +45678999 +43297304 0 -12043355 -42914932 -33678136 -9263141 +10670118 +43286649 +33926020 +9389126 0 -11367677 +11467216 0 0 -33679051 +33924351 0 -33671905 +33920044 0 0 -33676707 +33922731 0 0 0 @@ -94893,15 +95173,15 @@ # Num Counters: 11 # Counter Values: -5124164 -4611187 -4611187 -2834596 -512977 -512977 +5124134 +4611161 +4611161 +2834579 +512973 +512973 0 0 -512977 +512973 0 0 @@ -94990,19 +95270,19 @@ # Num Counters: 21 # Counter Values: -26872836 -26872643 -854080 -26898323 -5647068 -6024511 -6024511 -26898166 -15619080 -15619069 -19725699 -19725702 -4106649 +27067892 +27067754 +858393 +27091063 +5709199 +6064307 +6064307 +27091248 +15751099 +15751095 +19870064 +19870062 +4118988 0 0 0 @@ -95018,39 +95298,39 @@ # Num Counters: 55 # Counter Values: -399861 -59745 -59745 +405745 +60194 +60194 0 0 0 -340116 -59745 -59745 -340116 +345549 +60196 +60196 +345551 0 0 -340116 -318865 -340116 +345549 +323957 +345551 1 -21251 +21592 0 -340116 -340116 +345551 +345549 0 0 -340116 -340116 +345551 +345549 0 -340116 +345549 0 -59601 +59947 0 -340116 -166 +345549 +191 0 -59601 +59947 0 0 0 @@ -95166,15 +95446,15 @@ # Num Counters: 13 # Counter Values: -20405607 +20495569 0 0 0 0 0 0 -20404548 -20405635 +20494469 +20495440 0 0 0 @@ -95522,7 +95802,7 @@ # Num Counters: 2 # Counter Values: -1386219806 +1388081313 240 @SRC@/src/hle/libc.cpp;_GLOBAL__sub_I_libc.cpp @@ -95597,7 +95877,7 @@ # Num Counters: 1 # Counter Values: -35832384 +36374057 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110hle_atexitEPv # Func Hash: @@ -95706,7 +95986,7 @@ # Num Counters: 1 # Counter Values: -7475474 +7582244 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110hle_memchrEPKviy # Func Hash: @@ -95714,7 +95994,7 @@ # Num Counters: 1 # Counter Values: -1116766 +1120324 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110hle_memcmpEPKvS1_y # Func Hash: @@ -95722,7 +96002,7 @@ # Num Counters: 1 # Counter Values: -11754087 +11906523 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -95730,14 +96010,14 @@ # NumValueSites: 1 18 -17:7512951 -33:1672107 -8:1250490 -32:671087 -9:276977 -16:109486 -129:109414 -64:97881 +17:7643804 +33:1695989 +8:1246430 +32:672326 +9:276904 +129:109323 +16:108794 +64:97972 7:34595 5:4153 4:2028 @@ -95755,7 +96035,7 @@ # Num Counters: 1 # Counter Values: -984499979 +986435113 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -95763,28 +96043,28 @@ # NumValueSites: 1 22 -513:158562214 -257:156313001 -129:107043939 -32:84916380 -65:80869089 -64:79970692 -16:70926733 -8:36405105 -33:36356832 -4:33132878 -0:28139386 -6:25592603 -17:21666689 -256:15941578 -7:13050529 -1:12641851 -9:9681473 -512:8207049 -128:3748002 -2:3358384 -5:622740 -3:436666 +513:158412720 +257:155574646 +129:107058735 +32:85219791 +65:80795741 +64:79894163 +16:71546431 +8:36997786 +33:36440959 +4:33189691 +0:28329870 +6:25584239 +17:21982189 +256:16192167 +7:13303074 +1:12698431 +9:9793135 +512:8331132 +128:3794708 +2:3359072 +5:623373 +3:437465 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110hle_memsetEPviy # Func Hash: @@ -95792,7 +96072,7 @@ # Num Counters: 1 # Counter Values: -715355858 +719038206 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -95800,28 +96080,28 @@ # NumValueSites: 1 22 -513:268803475 -129:191909600 -257:101187037 -256:59163378 -9:40625476 -17:17220468 -8:10360699 -32:6548737 -33:4967514 -4:4005246 -512:3429190 -65:2925483 -16:2370703 -7:2263565 -6:2020924 -1:1977929 -64:683321 -2:69413 -3:55590 -5:19320 -128:13331 -0:11943 +513:270895741 +129:192482720 +257:101425497 +256:59244167 +9:40499435 +17:17281526 +8:10423805 +32:6548336 +33:5011819 +4:4017546 +512:3466030 +65:2940883 +16:2370946 +7:2285731 +6:2028436 +1:1992575 +64:681224 +2:68840 +3:54685 +5:19128 +128:13405 +0:11948 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110hle_mktimeEPN2bb4libc2TmE # Func Hash: @@ -95891,10 +96171,10 @@ # Num Counters: 6 # Counter Values: -408896202 +412720269 0 -204389665 -204577026 +206298953 +206488400 0 0 @@ -95920,7 +96200,7 @@ # Num Counters: 1 # Counter Values: -63247936 +63620766 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110hle_strcmpEPKcS1_ # Func Hash: @@ -95928,7 +96208,7 @@ # Num Counters: 1 # Counter Values: -194160194 +194203734 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110hle_strcpyEPcPKc # Func Hash: @@ -95936,7 +96216,7 @@ # Num Counters: 1 # Counter Values: -195028 +195192 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110hle_strlenEPKc # Func Hash: @@ -95944,8 +96224,8 @@ # Num Counters: 2 # Counter Values: -234208508 -234219159 +234181315 +234199272 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110hle_strspnEPKcS1_ # Func Hash: @@ -95961,7 +96241,7 @@ # Num Counters: 1 # Counter Values: -8301011 +8279974 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110hle_strtokEPcPKc # Func Hash: @@ -96031,7 +96311,7 @@ # Num Counters: 2 # Counter Values: -2775302 +2797831 0 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110hle_wcschrEPKDsDs @@ -96040,10 +96320,10 @@ # Num Counters: 5 # Counter Values: -35531552 -33586646 -33346253 -31401166 +35535555 +33590653 +33351409 +31406274 24 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110hle_wcscmpEPKDsS1_ @@ -96052,10 +96332,10 @@ # Num Counters: 6 # Counter Values: -67997678 -56783245 +68106731 +56892418 0 -12903113 +12913027 0 0 @@ -96065,9 +96345,9 @@ # Num Counters: 3 # Counter Values: -8491559 -561780 -561780 +8493977 +562199 +562199 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110hle_wcslenEPKDs # Func Hash: @@ -96076,8 +96356,8 @@ 3 # Counter Values: 0 -4510827324 -408878371 +4544452724 +410353646 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110hle_wcsspnEPKDsS1_ # Func Hash: @@ -96125,21 +96405,21 @@ 0 0 0 -64016 -64016 +63556 +63556 0 -16100 -16100 -16100 -16100 -16100 +15985 +15985 +15985 +15985 +15985 0 -16100 -16100 +15985 +15985 0 0 0 -16100 +15985 0 0 0 @@ -96215,7 +96495,7 @@ # Num Counters: 1 # Counter Values: -15669649 +15733231 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -96223,28 +96503,28 @@ # NumValueSites: 1 22 -0:5211831 -8:2124022 -65:1613781 -513:1538150 -33:1494834 -16:1394580 -17:660441 -32:529946 -129:356502 -9:275704 -257:161531 -64:103424 -128:69419 -4:41151 +0:5267455 +8:2124357 +65:1655765 +513:1555509 +33:1468291 +16:1375995 +17:654955 +32:526150 +129:357733 +9:274515 +257:162106 +64:107347 +128:68910 +4:40704 7:35868 5:26196 6:16596 1:13116 3:12756 2:2640 -256:2310 -512:741 +256:2308 +512:776 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_111hle_putcharEi # Func Hash: @@ -96304,7 +96584,7 @@ # Num Counters: 1 # Counter Values: -19747039 +19983304 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_111hle_strncpyEPcPKcy # Func Hash: @@ -96312,7 +96592,7 @@ # Num Counters: 1 # Counter Values: -388915 +388806 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_111hle_strpbrkEPKcS1_ # Func Hash: @@ -96328,7 +96608,7 @@ # Num Counters: 1 # Counter Values: -93172 +93011 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_111hle_vprintfEPKcP10SysvVaList # Func Hash: @@ -96344,12 +96624,12 @@ # Num Counters: 6 # Counter Values: -5958980 -2289536 -5958976 -5958961 -3669426 -4386354 +5956879 +2287066 +5956884 +5956876 +3669837 +4393846 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_111hle_wcsncpyEPDsPKDsy # Func Hash: @@ -96357,12 +96637,12 @@ # Num Counters: 6 # Counter Values: -912000 -44396 -18626554 -18623459 -915095 -915095 +911903 +44456 +18625590 +18622489 +915004 +915004 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_111hle_wcspbrkEPKDsS1_ # Func Hash: @@ -96383,10 +96663,10 @@ # Num Counters: 5 # Counter Values: -197895065 -7565316 -7565309 -2908498 +200379017 +7654542 +7654473 +2939573 0 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_111hle_wcstollEPKDsPPDsi @@ -96403,10 +96683,10 @@ # Num Counters: 4 # Counter Values: -12288377 -12027670 -5112208 -5112208 +12289932 +12029195 +5113047 +5113047 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_111hle_wmemcmpEPKDsS1_y # Func Hash: @@ -96414,12 +96694,12 @@ # Num Counters: 6 # Counter Values: -1089938964 -994617474 -1119383050 -1095847555 -100566462 -207548766 +1104693519 +1015517832 +1120503502 +1108928395 +98632828 +208594794 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_111hle_wmemcpyEPDsPKDsy # Func Hash: @@ -96427,8 +96707,8 @@ # Num Counters: 2 # Counter Values: -151873571 -151942036 +151965677 +152058223 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -96436,19 +96716,19 @@ # NumValueSites: 1 14 -17:53107531 -33:32665756 -9:22529427 -65:18529953 -8:7772480 -16:6928264 -32:3486541 -2:2415526 -64:1694910 -6:779800 -129:719518 -4:704232 -128:89471 +17:52910739 +33:32955056 +9:22477333 +65:18576474 +8:7739971 +16:6946672 +32:3551163 +2:2416068 +64:1706220 +6:779983 +129:719626 +4:704087 +128:89483 257:96 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_111hle_wmemsetEPDsDsy @@ -96458,8 +96738,8 @@ 3 # Counter Values: 0 -1221491630 -104612660 +1222335503 +104468604 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_111hle_wprintfEPKDsz # Func Hash: @@ -96568,7 +96848,7 @@ # Num Counters: 1 # Counter Values: -157282 +157529 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_112hle_wmemmoveEPDsPKDsy # Func Hash: @@ -96576,8 +96856,8 @@ # Num Counters: 2 # Counter Values: -241440 -241440 +241384 +241386 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -96585,10 +96865,10 @@ # NumValueSites: 1 8 -65:135159 -33:95546 -17:5243 -32:3402 +65:135183 +33:95490 +17:5234 +32:3390 64:1020 9:648 8:384 @@ -96608,7 +96888,7 @@ # Num Counters: 1 # Counter Values: -127225678 +128025304 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_113hle_localtimeEPKx # Func Hash: @@ -96643,19 +96923,19 @@ 0 12 0 -59890 -59890 +59881 +59881 0 -50600 -50600 +50591 +50591 0 -50600 +50591 0 -50600 +50591 0 296 296 -50600 +50591 124 0 124 @@ -96679,7 +96959,7 @@ # Num Counters: 1 # Counter Values: -277926 +277329 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_114hle_cxa_atexitEPvS0_S0_ # Func Hash: @@ -96717,7 +96997,7 @@ # Num Counters: 1 # Counter Values: -2775319 +2797825 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_114hle_strcasecmpEPKcS1_ # Func Hash: @@ -96725,7 +97005,7 @@ # Num Counters: 1 # Counter Values: -272805 +273389 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_114hle_winit_dtorEPv # Func Hash: @@ -96765,8 +97045,8 @@ # Num Counters: 3 # Counter Values: -753444 -5160698 +761362 +5305857 0 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_115hle_getpagesizeEv @@ -96783,7 +97063,7 @@ # Num Counters: 1 # Counter Values: -74498008 +74630934 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_115hle_getptoupperEv # Func Hash: @@ -96809,7 +97089,7 @@ # Num Counters: 1 # Counter Values: -956779 +961995 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_115hle_strncasecmpEPKcS1_y # Func Hash: @@ -96825,8 +97105,8 @@ # Num Counters: 2 # Counter Values: -8341397 -8339671 +8418350 +8417083 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_116hle_locinfo_ctorEPvPKc # Func Hash: @@ -97022,7 +97302,7 @@ # Num Counters: 1 # Counter Values: -9180 +9013 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_17hle_sinEd # Func Hash: @@ -97094,7 +97374,7 @@ # Num Counters: 1 # Counter Values: -91847552 +91925526 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_18hle_fabsEd # Func Hash: @@ -97126,7 +97406,7 @@ # Num Counters: 1 # Counter Values: -5367464 +5355129 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_18hle_getcEP6_iobuf # Func Hash: @@ -97146,7 +97426,7 @@ # Num Counters: 1 # Counter Values: -1353824214 +1371479733 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_18hle_modfEdPd # Func Hash: @@ -97162,7 +97442,7 @@ # Num Counters: 1 # Counter Values: -1173587139 +1185640001 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_18hle_putsEPKc # Func Hash: @@ -97185,7 +97465,7 @@ 2 # Counter Values: 0 -33123 +33092 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_18hle_sqrtEd # Func Hash: @@ -97222,7 +97502,7 @@ # Num Counters: 1 # Counter Values: -43805470 +44771968 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_18hle_timeEPx # Func Hash: @@ -97247,7 +97527,7 @@ # Num Counters: 1 # Counter Values: -4139528 +4140968 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_19hle_asinfEf # Func Hash: @@ -97255,7 +97535,7 @@ # Num Counters: 1 # Counter Values: -333778 +340898 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_19hle_atan2Edd # Func Hash: @@ -97263,7 +97543,7 @@ # Num Counters: 1 # Counter Values: -853826 +871616 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_19hle_atanfEf # Func Hash: @@ -97271,7 +97551,7 @@ # Num Counters: 1 # Counter Values: -4172459 +4261434 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_19hle_ceilfEf # Func Hash: @@ -97324,7 +97604,7 @@ # Num Counters: 1 # Counter Values: -4945151 +4966938 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_19hle_fabsfEf # Func Hash: @@ -97372,7 +97652,7 @@ # Num Counters: 1 # Counter Values: -35009655 +34660665 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_19hle_fopenEPKcS1_ # Func Hash: @@ -97521,7 +97801,7 @@ # Num Counters: 1 # Counter Values: -75995449 +75136961 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_19hle_qsortEPvyyPFiPKvS2_E # Func Hash: @@ -97529,7 +97809,7 @@ # Num Counters: 2 # Counter Values: -2875 +2868 1406 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_19hle_rmdirEPKc @@ -97609,7 +97889,7 @@ # Num Counters: 1 # Counter Values: -50600 +50591 @SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_19hle_tanhfEf # Func Hash: @@ -98019,9 +98299,9 @@ @SRC@/src/hle/net.cpp;_ZN12_GLOBAL__N_112hle_net_bindEiPKvi # Func Hash: -7841864063948532 +330412884942187731 # Num Counters: -91 +90 # Counter Values: 0 0 @@ -98113,7 +98393,6 @@ 0 0 0 -0 @SRC@/src/hle/net.cpp;_ZN12_GLOBAL__N_112hle_net_initEv # Func Hash: @@ -98518,7 +98797,7 @@ # Num Counters: 1 # Counter Values: -212841 +213858 @SRC@/src/hle/net.cpp;_ZN12_GLOBAL__N_117hle_net_errno_locEv # Func Hash: @@ -98596,21 +98875,21 @@ 0 0 0 -246624 -246624 -246624 -246624 -246624 +248035 +248035 +248035 +248035 +248035 0 -246624 -246613 -246624 -49493 -197142 -49493 -49493 -49493 -49493 +248035 +248024 +248035 +49737 +198309 +49737 +49737 +49737 +49737 0 0 0 @@ -98629,7 +98908,7 @@ 0 0 0 -49140 +49390 @SRC@/src/hle/net.cpp;_ZN12_GLOBAL__N_118hle_net_getsockoptEiiiPvPj # Func Hash: @@ -99136,9 +99415,9 @@ 0 0 0 -296117 -296117 -296117 +297772 +297772 +297772 0 @SRC@/src/hle/net.cpp;_ZNKSt14default_deleteIN12_GLOBAL__N_18NetEpollEEclEPS1_ @@ -99851,9 +100130,9 @@ @SRC@/src/hle/np_matching2.cpp;_ZN12_GLOBAL__N_115on_server_eventERKN4json5ValueE # Func Hash: -653193250550778856 +1066592204434111550 # Num Counters: -531 +494 # Counter Values: 0 0 @@ -100349,43 +100628,6 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 # Num Value Kinds: 2 # ValueKind = IPVK_IndirectCallTarget: @@ -100402,8 +100644,7 @@ # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: -17 -0 +16 0 0 0 @@ -103291,11 +103532,11 @@ # Num Counters: 8 # Counter Values: -2641363200 +2670797431 0 -2650283674 +2680237851 0 -2646820099 +2676355184 12 12 0 @@ -103363,7 +103604,7 @@ # Num Counters: 1 # Counter Values: -1248876 +1252087 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_113hle_cond_waitEPPvS1_ # Func Hash: @@ -103379,7 +103620,7 @@ # Num Counters: 1 # Counter Values: -1403011 +1402779 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_114hle_mtx_unlockEPPv # Func Hash: @@ -103396,7 +103637,7 @@ # Num Counters: 1 # Counter Values: -21326 +21325 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_114hle_mutex_lockEPPv # Func Hash: @@ -103404,7 +103645,7 @@ # Num Counters: 1 # Counter Values: -13061834 +13147885 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_114hle_sce_renameEPvPKc # Func Hash: @@ -103423,8 +103664,8 @@ # Num Counters: 2 # Counter Values: -123386762 -13256013 +124438530 +13338536 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -103432,7 +103673,7 @@ # NumValueSites: 1 1 -** External Symbol **:13007757 +** External Symbol **:13114702 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_115hle_atomic_add4EPSt6atomicIjEj # Func Hash: @@ -103466,8 +103707,8 @@ # Num Counters: 3 # Counter Values: -253134 -253134 +251195 +251195 0 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_115hle_mtx_destroyEPPv @@ -103527,7 +103768,7 @@ # Num Counters: 1 # Counter Values: -1245734 +1248948 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_116hle_mutex_unlockEPPv # Func Hash: @@ -103535,7 +103776,7 @@ # Num Counters: 1 # Counter Values: -9524149 +9530873 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_116hle_pthread_exitEPv # Func Hash: @@ -103563,10 +103804,10 @@ # Num Counters: 4 # Counter Values: -885 -885 +884 +884 12 -885 +884 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_116hle_tls_get_addrEPy # Func Hash: @@ -103585,8 +103826,8 @@ # Num Counters: 2 # Counter Values: -146713667 -9524537 +147845771 +9531208 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -103594,7 +103835,7 @@ # NumValueSites: 1 1 -** External Symbol **:9523977 +** External Symbol **:9530808 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_116raw_pthread_selfEv # Func Hash: @@ -103602,12 +103843,12 @@ # Num Counters: 9 # Counter Values: -675645314 +685516629 0 -885 -676504707 +884 +686659803 0 -676066292 +686145483 12 12 0 @@ -103653,7 +103894,7 @@ # Num Counters: 1 # Counter Values: -8066 +8065 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_117hle_mutex_trylockEPPv # Func Hash: @@ -103661,7 +103902,7 @@ # Num Counters: 1 # Counter Values: -25004427 +25145118 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_117hle_sce_attr_initEPPv # Func Hash: @@ -103688,8 +103929,8 @@ # Num Counters: 2 # Counter Values: -9058829 -9071624 +9085645 +9097476 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_117hle_unlocksyslockEi # Func Hash: @@ -103697,8 +103938,8 @@ # Num Counters: 2 # Counter Values: -253134 -253134 +251195 +251195 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_117pthread_join_implEPvPS0_ # Func Hash: @@ -103733,7 +103974,7 @@ # Num Counters: 1 # Counter Values: -9089123 +9115423 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_118hle_cond_timedwaitEPPvS1_PKNS_11BsdTimespecE # Func Hash: @@ -103750,7 +103991,7 @@ # Num Counters: 1 # Counter Values: -431 +430 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_118hle_pthread_createEPPvS1_S0_S0_ # Func Hash: @@ -103766,8 +104007,8 @@ # Num Counters: 2 # Counter Values: -2782636 -2782638 +2799213 +2799216 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_118hle_sce_mutex_lockEPPv # Func Hash: @@ -103775,8 +104016,8 @@ # Num Counters: 2 # Counter Values: -15756075 -15847854 +16388157 +16475295 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_118raw_sce_mutex_lockEPPv # Func Hash: @@ -103784,8 +104025,8 @@ # Num Counters: 2 # Counter Values: -1199685519 -15843239 +1213531695 +16469147 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -103793,7 +104034,7 @@ # NumValueSites: 1 1 -** External Symbol **:15749995 +** External Symbol **:16379865 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_119hle_sce_cond_signalEPPv # Func Hash: @@ -103870,8 +104111,8 @@ # Num Counters: 2 # Counter Values: -8498720 -8513071 +8855526 +8871252 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_120hle_sce_pthread_joinEPvPS0_ # Func Hash: @@ -103914,8 +104155,8 @@ # Num Counters: 2 # Counter Values: -1197435360 -8507544 +1211918156 +8865044 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -103923,7 +104164,7 @@ # NumValueSites: 1 1 -** External Symbol **:8499247 +** External Symbol **:8855188 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_121hle_mutexattr_destroyEPPv # Func Hash: @@ -103931,7 +104172,7 @@ # Num Counters: 1 # Counter Values: -419 +418 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_121hle_mutexattr_settypeEPPvi # Func Hash: @@ -103939,7 +104180,7 @@ # Num Counters: 1 # Counter Values: -431 +430 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_121hle_sce_attr_setschedEPPvPKi # Func Hash: @@ -103974,8 +104215,8 @@ # Num Counters: 2 # Counter Values: -2484514 -2484517 +2489696 +2489698 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_121hle_sce_mutex_trylockEPPv # Func Hash: @@ -103983,8 +104224,8 @@ # Num Counters: 2 # Counter Values: -294 -294 +303 +303 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_121hle_sce_rwlock_rdlockEPPv # Func Hash: @@ -103992,8 +104233,8 @@ # Num Counters: 2 # Counter Values: -0 -0 +1 +1 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_121hle_sce_rwlock_unlockEPPv # Func Hash: @@ -104001,8 +104242,8 @@ # Num Counters: 2 # Counter Values: -508775 -508775 +523299 +523299 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_121hle_sce_rwlock_wrlockEPPv # Func Hash: @@ -104010,8 +104251,8 @@ # Num Counters: 2 # Counter Values: -508775 -508775 +523299 +523299 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_121raw_sce_rwlock_rdlockEPPv # Func Hash: @@ -104019,15 +104260,16 @@ # Num Counters: 2 # Counter Values: -73795111 -0 +73844700 +1 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: 0 # NumValueSites: 1 -0 +1 +** External Symbol **:1 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_121raw_sce_rwlock_unlockEPPv # Func Hash: @@ -104035,9 +104277,9 @@ # Num Counters: 3 # Counter Values: -74098963 +74179922 0 -508775 +523299 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -104045,7 +104287,7 @@ # NumValueSites: 2 1 -** External Symbol **:508775 +** External Symbol **:523299 0 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_122hle_sce_attr_setdetachEPPvi @@ -104098,8 +104340,8 @@ # Num Counters: 2 # Counter Values: -2437363 -2437364 +2446822 +2446823 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_122hle_sce_pthread_createEPPvS1_S0_S0_PKc # Func Hash: @@ -104193,8 +104435,8 @@ # Num Counters: 2 # Counter Values: -2437360 -2437363 +2446821 +2446823 @SRC@/src/hle/pthread.cpp;_ZN12_GLOBAL__N_125hle_sce_mutexattr_settypeEPPvi # Func Hash: @@ -104202,8 +104444,8 @@ # Num Counters: 2 # Counter Values: -2437364 -2437364 +2446820 +2446820 @SRC@/src/hle/runtime.cpp;_GLOBAL__sub_I_runtime.cpp # Func Hash: @@ -104286,7 +104528,7 @@ 0 0 0 -406 +422 0 0 0 @@ -104308,7 +104550,7 @@ # Num Counters: 2 # Counter Values: -203 +211 0 @SRC@/src/hle/save_commit.cpp;_ZN11save_commit12_GLOBAL__N_111remove_treeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE @@ -104317,7 +104559,7 @@ # Num Counters: 3 # Counter Values: -203 +211 0 0 @@ -104330,12 +104572,12 @@ 0 0 0 -203 +211 0 -203 +211 0 0 -203 +211 0 0 0 @@ -104361,8 +104603,8 @@ # Num Counters: 2 # Counter Values: -2544 -2544 +2640 +2640 @SRC@/src/hle/save_commit.cpp;_ZN11save_commit12_GLOBAL__N_19parent_ofERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -104370,7 +104612,7 @@ # Num Counters: 3 # Counter Values: -406 +422 0 0 @@ -104389,26 +104631,26 @@ # Num Counters: 55 # Counter Values: +1 0 0 0 0 +1 0 0 0 0 0 -0 -0 -508775 +523300 0 0 0 -508775 +523299 0 0 0 -508775 +523299 0 0 0 @@ -104418,7 +104660,7 @@ 0 0 0 -508775 +523299 0 0 0 @@ -104451,11 +104693,11 @@ # Num Counters: 9 # Counter Values: -27243899 -18038319 -17770322 -3515799 -5453235 +27638802 +18403010 +18130593 +3454796 +5416399 0 0 0 @@ -104468,33 +104710,33 @@ 42 # Counter Values: 0 -20271879 +20564110 0 -1 -1 -1 -1 -20271489 -20223593 -20271210 -20271195 -20260293 -38076947 +5 +5 +5 +5 +20563808 +20516275 +20563400 +20563530 +20552806 +38815165 0 -7232873 -20019225 -18198559 +7116801 +20350480 +18604231 0 -18194535 -18192494 +18600112 +18598004 0 0 0 -18199170 +18604903 0 0 -11087104 -5069205 +11442182 +5090649 0 0 0 @@ -104516,16 +104758,16 @@ # Num Counters: 11 # Counter Values: -508775 -508775 -508775 +523300 +523300 +523300 0 0 0 0 0 0 -508775 +523300 0 @SRC@/src/hle/sync.cpp;_ZN5gsync12_GLOBAL__N_17rw_wakeEPNS0_6RwlockE @@ -104534,7 +104776,7 @@ # Num Counters: 6 # Counter Values: -508775 +523299 0 0 0 @@ -104547,16 +104789,16 @@ # Num Counters: 11 # Counter Values: -62993967 -63088288 -63166515 +63876597 +63963077 +64034463 0 0 0 0 0 0 -63248870 +64117343 0 @SRC@/src/hle/sync.cpp;__dtor__ZN5gsync12_GLOBAL__N_110g_arena_muE @@ -104588,8 +104830,8 @@ # Num Counters: 2 # Counter Values: -533128 -533129 +538386 +538386 @SRC@/src/hle/system.cpp;_ZN12_GLOBAL__N_112hle_np_titleEPKvS1_ # Func Hash: @@ -104631,9 +104873,9 @@ @SRC@/src/hle/system.cpp;_ZN12_GLOBAL__N_112hle_pad_readEiPh # Func Hash: -732283043442441637 +4336020880016984 # Num Counters: -217 +224 # Counter Values: 0 0 @@ -104642,26 +104884,26 @@ 0 0 156 -29729 +29694 0 0 -611694 -15198 +612987 +15120 0 0 0 -14531 +14574 0 0 0 0 0 0 -8190 -7008 +8127 +6993 0 0 -1111019 +1123119 0 0 0 @@ -104672,16 +104914,17 @@ 0 0 0 -1111019 +1123119 0 24 -1111019 -1111019 +1123119 +1123119 54 66 0 -1111019 -1111019 +1123119 +1123119 +0 0 0 0 @@ -104695,18 +104938,19 @@ 0 0 0 -1111019 -1111019 +0 +1123119 +1123119 66 0 -499325 -499325 +510131 +510131 0 -499325 +510131 0 -1111019 +1123119 0 -144902 +145023 0 0 0 @@ -104717,15 +104961,15 @@ 0 66 0 -1111019 +1123119 0 -1111019 +1123119 0 0 0 0 0 -611694 +612988 0 0 0 @@ -104739,7 +104983,7 @@ 0 0 0 -499325 +510131 0 0 0 @@ -104751,9 +104995,10 @@ 0 0 0 +510131 0 0 -611694 +612987 0 0 0 @@ -104780,7 +105025,7 @@ 0 0 0 -611694 +612987 0 0 0 @@ -104835,7 +105080,7 @@ 0 0 0 -499325 +510131 0 0 0 @@ -104850,7 +105095,11 @@ 0 0 0 -1111019 +1123119 +1123119 +1107999 +1123119 +1123119 0 # Num Value Kinds: 1 @@ -104874,8 +105123,8 @@ # Num Counters: 2 # Counter Values: -377905 -377905 +381820 +381819 @SRC@/src/hle/system.cpp;_ZN12_GLOBAL__N_113hle_save_initEPv # Func Hash: @@ -105026,9 +105275,9 @@ # Num Counters: 12 # Counter Values: -693 -693 -693 +717 +717 +717 0 0 0 @@ -105079,24 +105328,24 @@ # Counter Values: 0 0 -3824 -3824 -239 +3952 +3952 +247 0 -239 -239 +247 +247 0 0 0 0 0 -239 +247 0 0 0 -239 +247 0 -239 +247 0 0 0 @@ -105105,27 +105354,27 @@ 0 0 0 -239 +247 0 0 0 0 0 -203 -239 -203 +211 +247 +211 0 0 -239 +247 0 -203 +211 0 -227 -239 -239 -203 -203 -203 +235 +247 +247 +211 +211 +211 0 0 0 @@ -105133,12 +105382,12 @@ 0 0 12 -239 -239 +247 +247 0 0 -203 -239 +211 +247 0 0 0 @@ -105177,11 +105426,11 @@ 0 0 0 -239 -239 +247 +247 0 0 -239 +247 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -105192,7 +105441,7 @@ 0 0 1 -33:203 +33:211 0 @SRC@/src/hle/system.cpp;_ZN12_GLOBAL__N_114hle_sys_statusEPv @@ -105201,8 +105450,8 @@ # Num Counters: 2 # Counter Values: -367128 -367128 +369168 +369168 @SRC@/src/hle/system.cpp;_ZN12_GLOBAL__N_114hle_trophy_ctxEPiijy # Func Hash: @@ -105222,8 +105471,8 @@ # Num Counters: 6 # Counter Values: -809290 -809290 +814620 +814620 24 24 24 @@ -105235,7 +105484,7 @@ # Num Counters: 11 # Counter Values: -203 +211 0 0 0 @@ -105266,12 +105515,12 @@ # Counter Values: 0 0 -1912 -1912 +1976 +1976 0 -239 -239 -239 +247 +247 +247 @SRC@/src/hle/system.cpp;_ZN12_GLOBAL__N_115hle_lookup_npidEiPKvPvS2_ # Func Hash: @@ -105339,8 +105588,8 @@ # Num Counters: 2 # Counter Values: -1125232 -1125232 +1136909 +1136909 @SRC@/src/hle/system.cpp;_ZN12_GLOBAL__N_115hle_playgo_initEPKv # Func Hash: @@ -105429,36 +105678,36 @@ # Counter Values: 72 45 -239 +247 0 72 4 72 -239 -239 -239 +247 +247 +247 72 -239 -239 -239 -239 -203 -203 +247 +247 +247 +247 +211 +211 27 27 -239 -239 -203 -203 +247 +247 +211 +211 0 0 12 12 45 -239 +247 0 -203 -191 +211 +199 12 12 0 @@ -105543,7 +105792,7 @@ 0 0 0 -239 +247 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -105635,12 +105884,12 @@ # Num Counters: 6 # Counter Values: -239 -239 +247 +247 0 0 0 -239 +247 @SRC@/src/hle/system.cpp;_ZN12_GLOBAL__N_115trophy_unlockedEiPx # Func Hash: @@ -105733,9 +105982,9 @@ # Num Counters: 3 # Counter Values: -533114 -533115 -533116 +538374 +538374 +538373 @SRC@/src/hle/system.cpp;_ZN12_GLOBAL__N_116hle_rtc_set_tickEPNS_11RtcDateTimeEPKNS_7RtcTickE # Func Hash: @@ -105743,9 +105992,9 @@ # Num Counters: 3 # Counter Values: -533125 -533125 -533124 +538386 +538386 +538386 @SRC@/src/hle/system.cpp;_ZN12_GLOBAL__N_116hle_rtc_tick_resEv # Func Hash: @@ -105790,7 +106039,7 @@ # Num Counters: 4 # Counter Values: -144938 +145059 12 12 12 @@ -106211,7 +106460,7 @@ # Num Counters: 1 # Counter Values: -212841 +213858 @SRC@/src/hle/system.cpp;_ZN12_GLOBAL__N_120hle_rtc_local_to_utcEPKNS_7RtcTickEPS0_ # Func Hash: @@ -107021,8 +107270,8 @@ # Num Counters: 10 # Counter Values: -336685 -336686 +337231 +337231 0 0 0 @@ -107038,26 +107287,26 @@ # Num Counters: 20 # Counter Values: -406338 -764182 +405363 +763762 0 -1170520 -1170527 -406353 -40 -764183 -764185 -764181 +1169121 +1169125 +405377 +43 +763756 +763760 +763764 0 -32 -764184 +35 +763759 0 0 0 0 0 0 -357813 +358361 @SRC@/src/hle/sysv_va.cpp;_ZN12_GLOBAL__N_14scanERNS_6ScanInEPKcP10SysvVaList # Func Hash: @@ -107201,29 +107450,29 @@ # Num Counters: 194 # Counter Values: -10230 +10287 0 0 0 0 -32 +35 0 0 0 0 0 -427472 +426501 0 -1207524 -579742 +1206186 +579068 0 0 0 0 0 -764185 -764186 -32 +763757 +763759 +35 0 0 0 @@ -107234,18 +107483,18 @@ 0 0 0 -32 -453250 +35 +452904 0 -32 +35 0 0 -32 +35 0 0 0 0 -427473 +426500 0 0 0 @@ -107254,7 +107503,7 @@ 0 0 0 -427470 +426499 0 0 0 @@ -107264,12 +107513,12 @@ 0 0 0 -427469 +426498 0 0 0 0 -427473 +426498 0 0 0 @@ -107289,7 +107538,7 @@ 0 0 0 -427469 +426498 0 0 0 @@ -107298,7 +107547,7 @@ 0 0 0 -336685 +337230 0 0 0 @@ -107419,16 +107668,16 @@ # Counter Values: 0 0 -764181 -764185 -764183 -764186 +763763 +763763 +763762 +763763 0 0 -406337 -32 -32 -32 +405362 +35 +35 +35 0 8 0 @@ -107462,7 +107711,7 @@ # NumValueSites: 1 2 -3:24 +3:27 4:8 @SRC@/src/hle/video.cpp;_GLOBAL__sub_I_video.cpp @@ -107490,8 +107739,8 @@ # Num Counters: 4 # Counter Values: -4155 -1181 +4437 +1217 0 0 @@ -107503,41 +107752,41 @@ # Counter Values: 0 0 -40 -191 -315054 -619 -1124462 -816597 -1152569 -844851 -844845 -35443 -0 -315045 -343161 -49020 -343161 -35437 -619 -809408 -809408 -343161 -809408 -342542 -501690 -5336 -5336 -501684 +43 +197 +318705 +586 +1133631 +822140 +1161836 +850453 +850449 +35527 +0 +318696 +346910 +49554 +346910 +35523 +586 +814926 +814926 +346910 +814926 +346324 +503543 +5654 +5654 +503539 0 0 0 -809405 -342542 -809408 -501684 -809408 -501684 +814923 +346324 +814926 +503539 +814926 +503539 0 0 0 @@ -107557,10 +107806,10 @@ 0 0 0 -40 -191 -342542 -501684 +43 +197 +346324 +503539 @SRC@/src/hle/video.cpp;_ZN12_GLOBAL__N_112present_flipEiyjjyybRK11PresentFlip # Func Hash: @@ -107601,7 +107850,7 @@ 108 0 0 -376541 +380429 0 0 0 @@ -107619,7 +107868,7 @@ 0 0 0 -338388 +341889 0 9 0 @@ -107632,7 +107881,7 @@ 0 0 0 -376541 +380429 0 24 24 @@ -107641,7 +107890,7 @@ 0 0 0 -338388 +341889 0 156 0 @@ -107661,7 +107910,7 @@ 0 0 0 -376541 +380429 0 0 0 @@ -108081,24 +108330,24 @@ # Num Counters: 32 # Counter Values: -716675 -716675 -716675 -716675 -716675 -0 -376547 -376547 -376547 -38720 -33382 -33382 -39 -39 -39 -39 -39 -39 +725998 +725998 +725998 +725998 +725998 +0 +380437 +380437 +380437 +39181 +33520 +33520 +43 +43 +43 +43 +43 +43 0 0 0 @@ -108110,9 +108359,9 @@ 0 0 0 -716675 -716675 -716675 +725998 +725998 +725998 @SRC@/src/hle/video.cpp;_ZN12_GLOBAL__N_118finish_flip_lockedERNS_9VideoPortEix # Func Hash: @@ -108120,8 +108369,8 @@ # Num Counters: 2 # Counter Values: -376541 -376541 +380429 +380429 @SRC@/src/hle/video.cpp;_ZN12_GLOBAL__N_118hle_video_add_flipEP10HostEqueueiPv # Func Hash: @@ -108246,10 +108495,10 @@ 0 0 0 -1093276 -1093276 -1093276 -1093276 +1106488 +1106488 +1106488 +1106488 @SRC@/src/hle/video.cpp;_ZNSt5dequeIN12_GLOBAL__N_111TestRequestESaIS1_EEC2Ev # Func Hash: @@ -108257,9 +108506,9 @@ # Num Counters: 8 # Counter Values: -376553 +380441 0 -376553 +380441 0 0 0 @@ -108273,13 +108522,13 @@ 25 # Counter Values: 0 -376541 +380429 0 0 0 0 0 -376541 +380429 0 0 0 @@ -108295,8 +108544,8 @@ 201 201 0 -376541 -376541 +380429 +380429 @SRC@/src/hle/video.cpp;_ZNSt5dequeIN12_GLOBAL__N_19VideoPort7FlipReqESaIS2_EE17_M_reallocate_mapEyb # Func Hash: @@ -108310,10 +108559,10 @@ 0 0 0 -13440 +13579 0 0 -13440 +13579 0 0 0 @@ -108333,10 +108582,10 @@ # Num Counters: 5 # Counter Values: -28619 -4768 -4768 -1192 +28735 +4790 +4790 +1193 0 @SRC@/src/hle/video.cpp;_ZNSt5dequeIN12_GLOBAL__N_19VideoPort7FlipReqESaIS2_EEC2Ev @@ -108363,59 +108612,59 @@ 0 0 0 -101659 -788 +102104 +723 0 -107649 -33379 +108216 +33517 0 -33189 -107649 -66034 -4742 +33338 +108216 +65521 +4761 0 -33624 -55 -33379 +33752 +34 +33517 0 -2931 -107649 +2960 +108216 0 0 -4137 -103512 +3951 +104265 0 -33569 -33379 -33418 -107661 -33189 +33718 +33517 +33560 +108228 +33338 0 4 -33379 +33517 0 -33379 -33569 -33375 +33517 +33718 +33513 0 0 -1659 -4767 -33379 -33418 -4 +1397 +4789 +33517 +33560 +6 4 4 0 0 -151 +158 0 0 0 0 4 4 -33406 +33547 0 0 0 @@ -108426,7 +108675,7 @@ 0 0 0 -39 +43 0 0 0 @@ -108472,13 +108721,13 @@ 0 0 0 -5990 -33406 -788 +6112 +33547 +723 0 -33379 -33189 -2478 +33517 +33338 +2554 @SRC@/src/hle/video.cpp;_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZZN12_GLOBAL__N_111start_vsyncEvENK3$_0clEvEUlvE_EEEEED0Ev # Func Hash: @@ -108504,7 +108753,7 @@ 201 201 0 -16280 +16359 9 204 0 @@ -108532,11 +108781,11 @@ 0 201 0 -16076 +16155 0 -179 -179 -179 +178 +178 +178 0 0 0 @@ -108891,8 +109140,8 @@ # Num Counters: 4 # Counter Values: -168208 -84116 +169100 +84562 24 0 @@ -108908,10 +109157,10 @@ 0 0 0 -336473 -336473 -336473 -336473 +338253 +338253 +338253 +338253 @SRC@/src/host/audio.cpp;__dtor__ZN12_GLOBAL__N_114g_writers_doneE # Func Hash: @@ -109148,7 +109397,7 @@ # Num Counters: 7 # Counter Values: -2155 +2116 0 0 96 @@ -109162,10 +109411,10 @@ # Num Counters: 53 # Counter Values: -227533166 -43 +225560598 +44 0 -43 +44 0 0 0 @@ -109181,7 +109430,7 @@ 0 0 0 -43 +44 0 0 0 @@ -109192,25 +109441,25 @@ 0 0 0 -43 +44 0 0 0 0 0 -43 +44 0 0 0 0 -43 +44 0 0 0 0 -43 +44 0 -43 +44 0 0 0 @@ -109222,21 +109471,21 @@ # Num Counters: 27 # Counter Values: -37 -6081950 +33 +6148086 49152 18 4608 49152 101376 -17544 -7032 +17508 +7068 0 0 0 -134925677 -116202099 -32813 +136275989 +117647457 +32827 48 72 0 @@ -109256,7 +109505,7 @@ # Num Counters: 7 # Counter Values: -271535260 +270469855 12 12 12 @@ -109287,10 +109536,10 @@ # Num Counters: 6 # Counter Values: -67 -67 -67 -67 +68 +68 +68 +68 0 0 @@ -109300,7 +109549,7 @@ # Num Counters: 4 # Counter Values: -7203574 +7097809 12 12 0 @@ -109311,19 +109560,19 @@ # Num Counters: 20 # Counter Values: -764583 -38225 -28 -28 -146 +686738 +34332 +27 +27 +130 0 0 0 0 -1573 +1402 0 0 -1573 +1402 0 0 0 @@ -109338,21 +109587,21 @@ # NumValueSites: 3 8 -16:73 -33:26 -17:20 -32:8 -64:8 -65:7 -129:3 +16:64 +33:20 +17:19 +65:12 +32:11 +64:2 128:1 +129:1 0 6 -65:9 -17:6 -33:4 -129:4 -64:3 +65:8 +17:5 +33:5 +64:4 +129:3 32:2 @SRC@/src/host/buffer_shadow.cpp;_ZN3gpu12_GLOBAL__N_112StagedCopies8done_oneEv @@ -109361,8 +109610,8 @@ # Num Counters: 4 # Counter Values: -802808 -361692 +721070 +327429 0 0 @@ -109416,11 +109665,11 @@ # Num Counters: 6 # Counter Values: -31223340 -5631029 -31123466 -620329 -25161 +22895322 +4822800 +22808026 +551335 +21013 0 @SRC@/src/host/buffer_shadow.cpp;_ZN3gpu12_GLOBAL__N_112window_pagesEv @@ -109429,7 +109678,7 @@ # Num Counters: 8 # Counter Values: -227533220 +225560654 12 12 0 @@ -109462,12 +109711,12 @@ # Num Counters: 6 # Counter Values: -3935913 -748389 -746920 -625798 -2373158 -2373158 +3488447 +666763 +665285 +560458 +2107934 +2107934 @SRC@/src/host/buffer_shadow.cpp;_ZN3gpu12_GLOBAL__N_114snap_ring_makeEv # Func Hash: @@ -109516,14 +109765,14 @@ # Num Counters: 12 # Counter Values: -215 -215 -215 -215 -215 +216 +216 +216 +216 +216 0 0 -215 +216 0 0 0 @@ -109535,9 +109784,9 @@ # Num Counters: 32 # Counter Values: -19948339 +20016533 0 -19948339 +20016533 0 0 0 @@ -109555,8 +109804,8 @@ 0 0 0 -19948339 -19948339 +20016533 +20016533 0 0 0 @@ -109574,18 +109823,18 @@ # NumValueSites: 1 13 -33:13665328 -65:3021563 -513:1546757 -129:1166094 -257:383754 -32:46444 -64:36637 -16:28134 -256:25711 -8:14044 -4:7027 -9:7027 +33:13917339 +65:3055731 +513:1436600 +129:1046336 +257:400172 +64:43970 +32:41363 +16:26406 +256:22370 +8:13157 +4:6590 +9:6590 512:4 @SRC@/src/host/buffer_shadow.cpp;_ZN3gpu12_GLOBAL__N_116snap_take_lockedEyRy @@ -109594,12 +109843,12 @@ # Num Counters: 11 # Counter Values: -20557419 -20557419 +20624934 +20624934 0 0 -20557419 -20557419 +20624934 +20624934 0 0 0 @@ -109612,10 +109861,10 @@ # Num Counters: 12 # Counter Values: -338532 -6086255 -354237 -338503 +339415 +5909888 +357293 +339383 192 0 192 @@ -109895,22 +110144,22 @@ # Num Counters: 38 # Counter Values: -20566978 -20566978 -11284 -11476 +20633264 +20633264 +9928 +10120 0 -11284 -20557419 +9928 +20624934 0 0 -20557419 +20624934 0 -709 +626 0 0 0 -709 +626 0 0 0 @@ -109941,107 +110190,107 @@ 144 # Counter Values: 0 -3930884 -635208 -10875233 -9869921 -1150664 -1594375 -1594375 -9869921 -12973800 +3930948 +635224 +10875919 +9870542 +1160382 +1594224 +1594224 +9870542 +12872251 0 0 -5981051 -12973800 -12973800 -12973800 -12973800 -12973800 -11795522 +5981425 +12872251 +12872251 +12872251 +12872251 +12872251 +11631138 0 0 -1005312 +1005377 0 -982721 +982737 0 -25661859 -635208 -1005312 +25562506 +635224 +1005377 0 -75042194 -12237369 -3487693 -300482 +74341240 +12138681 +3489795 +295626 0 -15286704 -12139022 +15174615 +12037034 0 -18350760 -12237369 -1005312 -12237369 -12237369 -1005312 -1005268 +18252663 +12138681 +1005377 +12138681 +12138681 +1005377 +1005333 0 12 12 -12237369 -5108123 -982721 -4854939 -0 -12237369 -12237369 +12138681 +5108649 +982737 +4845044 0 +12138681 +12138681 0 -50291 -4854939 +18 +50536 +4845044 0 -227533209 +225560642 0 -12237369 -12237369 -12237369 -12237369 +12138681 +12138681 +12138681 +12138681 0 -3487693 +3489795 12 12 -211978146 -9533418 -5276986 +209608361 +9511399 +5223885 0 0 0 0 0 0 -12139554 +12037524 0 -29559 -5276986 +29458 +5223885 0 0 0 0 -2703951 +2627282 0 0 -51746 -9435603 +51167 +9410242 0 -10013293 +9910674 0 -2485206 +2405501 0 0 0 -1486 +1492 0 -218745 -9127902 +221781 +9105432 0 0 0 @@ -110058,23 +110307,23 @@ 0 0 0 -12677643 -12677643 -12237369 -12237369 -12237369 -12237369 -12237369 -12237369 -12237369 -12237369 -53900903 -53900903 +12657897 +12657897 +12138681 +12138681 +12138681 +12138681 +12138681 +12138681 +12138681 +12138681 +53329066 +53329066 0 0 0 -7528087 -7528087 +7505173 +7505173 0 0 0 @@ -110083,7 +110332,7 @@ 0 0 0 -1907516 +1905069 @SRC@/src/host/buffer_shadow.cpp;_ZN3gpu12_GLOBAL__N_16MirrorD2Ev # Func Hash: @@ -110119,14 +110368,14 @@ # Num Counters: 8 # Counter Values: -164567422 -146492392 -91361153 -18075030 -18075030 -18075030 +163589713 +145623251 +90818002 +17966462 +17966462 +17966462 0 -18075030 +17966462 @SRC@/src/host/buffer_shadow.cpp;_ZN3gpu12_GLOBAL__N_17phys_ofEyyRjRyPyS3_ # Func Hash: @@ -110134,26 +110383,26 @@ # Num Counters: 20 # Counter Values: -87134945 -77411891 -49894154 -543759347 -9723054 -543759347 -9723054 +85567876 +76031320 +49026491 +548942454 +9536556 +548942454 +9536556 0 -543759347 -538863314 -543759347 -257880441 -257880441 -543759347 -543759347 +548942454 +544136230 +548942454 +255942319 +255942319 +548942454 +548942454 0 0 -543759347 +548942454 0 -543759347 +548942454 @SRC@/src/host/buffer_shadow.cpp;_ZN3gpu12_GLOBAL__N_17writtenERNS0_4PageE # Func Hash: @@ -110161,10 +110410,10 @@ # Num Counters: 7 # Counter Values: -5631029 -1999138 +4822800 +1475365 0 -49318 +49251 0 0 0 @@ -110175,12 +110424,12 @@ # Num Counters: 6 # Counter Values: -13280439 -12872578 -26153017 -12872578 -12872578 -12406001 +13179472 +12773905 +25953377 +12773905 +12773905 +12305060 @SRC@/src/host/buffer_shadow.cpp;_ZNK3gpu12_GLOBAL__N_111PageSerials6latestEy # Func Hash: @@ -110199,12 +110448,12 @@ # Num Counters: 6 # Counter Values: -9349902 -171972481 -171967435 -23976890 -171967435 -14355965 +10072836 +169510086 +169505040 +24523336 +169505040 +13631277 @SRC@/src/host/buffer_shadow.cpp;_ZNSt13unordered_mapIyN3gpu12_GLOBAL__N_19StageStatESt4hashIyESt8equal_toIyESaISt4pairIKyS2_EEEixERS8_ # Func Hash: @@ -110246,35 +110495,35 @@ # Counter Values: 0 0 -4621363 -2292716 -1332272 +4486622 +2258745 +1303915 0 -960444 +954830 0 -1088647 -621750 +1096789 +615259 0 -621750 -463952 +615259 +365889 0 -401423 +456496 0 0 -466897 +481530 0 0 0 -1720133 -2690698 -2690698 -527282 -318689 -527282 -533469 +1685232 +2688849 +2688849 +526167 +315336 +526167 +529846 0 0 -616622 +587359 @SRC@/src/host/buffer_shadow.cpp;_ZNSt5dequeIN3gpu12_GLOBAL__N_112StagedCopies3JobESaIS3_EED2Ev # Func Hash: @@ -110309,7 +110558,7 @@ # NumValueSites: 1 1 -513:799960 +513:718259 @SRC@/src/host/buffer_shadow.cpp;_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN3gpu12_GLOBAL__N_112StagedCopiesC1EvEUlvE_EEEEED0Ev # Func Hash: @@ -110325,10 +110574,10 @@ # Num Counters: 6 # Counter Values: -322 -676976 -279 -75 +323 +678738 +280 +76 0 204 @@ -110339,15 +110588,15 @@ 13 # Counter Values: 0 -704512 +720896 0 -43 +44 0 0 0 0 -43 -43 +44 +44 0 0 0 @@ -110358,12 +110607,12 @@ # Num Counters: 6 # Counter Values: -8519183 -9831681 -4554690 -4554690 +8494629 +9758056 +4534168 +4534168 0 -5276991 +5223888 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -110371,12 +110620,12 @@ # NumValueSites: 1 6 -32:2398036 -64:1069333 -128:515617 -256:288321 -512:152323 -513:131075 +32:2384694 +64:1069613 +128:510894 +256:286474 +512:150842 +513:131680 @SRC@/src/host/buffer_shadow.cpp;_ZNSt8_Rb_treeIN3gpu12_GLOBAL__N_18StageKeyESt4pairIKS2_NS1_11StagedRangeEESt10_Select1stIS6_ESt4lessIS2_ESaIS6_EE24_M_get_insert_unique_posERS4_ # Func Hash: @@ -110389,7 +110638,7 @@ 0 0 0 -338694 +339571 0 0 @@ -110399,8 +110648,8 @@ # Num Counters: 2 # Counter Values: -2291339 -2645576 +2257377 +2614670 @SRC@/src/host/buffer_shadow.cpp;_ZNSt8_Rb_treeIySt4pairIKyN3gpu12_GLOBAL__N_111OutstandingEESt10_Select1stIS5_ESt4lessIyESaIS5_EE8_M_eraseEPSt13_Rb_tree_nodeIS5_E # Func Hash: @@ -112900,7 +113149,7 @@ # Num Counters: 4 # Counter Values: -173208537 +173963358 12 12 0 @@ -113850,21 +114099,21 @@ # Num Counters: 28 # Counter Values: -34647 -141900 -136647 +32999 +144356 +139079 0 -169348 -169348 -79966 -7008 -7008 -98038 -89382 -5253 -87627 -1755 -1755 +170102 +170102 +76441 +7040 +7040 +98470 +93661 +5277 +91898 +1763 +1763 0 0 0 @@ -113885,14 +114134,14 @@ # NumValueSites: 2 3 -9:92785 -7:3498 -5:1755 +9:93193 +7:3514 +5:1763 4 -65:1755 -129:1755 -257:1755 -513:1743 +65:1763 +129:1763 +257:1763 +513:1751 @SRC@/src/host/frame_stats.cpp;_ZNKSt10_HashtableIiSt4pairIKiN12_GLOBAL__N_110ThreadTimeEESaIS4_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ # Func Hash: @@ -113900,15 +114149,15 @@ # Num Counters: 9 # Counter Values: -175001 +157955 0 -3385 -78642 -338072 -336317 -1755 -249902 -1755 +4391 +73270 +339580 +337817 +1763 +246290 +1763 @SRC@/src/host/frame_stats.cpp;_ZNSt13unordered_mapIiN12_GLOBAL__N_110ThreadTimeESt4hashIiESt8equal_toIiESaISt4pairIKiS1_EEEaSEOSA_ # Func Hash: @@ -113916,11 +114165,11 @@ # Num Counters: 7 # Counter Values: -70818 -97330 -1743 -1755 -1755 +71140 +97762 +1751 +1763 +1763 0 0 @@ -113976,13 +114225,13 @@ # Num Counters: 7 # Counter Values: -17364 -15101 +18075 +14850 0 -2877 -3846 -1739 -1739 +3196 +3957 +1751 +1751 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -113990,8 +114239,8 @@ # NumValueSites: 1 2 -9:2034 -16:843 +9:2413 +16:783 @SRC@/src/host/frame_stats.cpp;_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPZ19frame_stats_on_flipvE4BusySt6vectorIS2_SaIS2_EEEExZ19frame_stats_on_flipvE3$_0EvT_S9_T0_T1_ # Func Hash: @@ -113999,11 +114248,11 @@ # Num Counters: 37 # Counter Values: -2227 -3061 +3035 +2200 0 -369 -2753 +392 +3002 0 0 0 @@ -114014,23 +114263,23 @@ 0 0 0 -29 -48 -37 -85 +19 +27 +32 +69 0 0 0 0 -2324 -13 -33 +2358 +30 +52 39 -86 -32 -158 -34 -175 +73 +63 +152 +57 +234 0 0 0 @@ -114045,26 +114294,26 @@ 0 0 2 -9:25 -16:4 -2 -9:9 -16:4 +9:18 +16:1 2 -9:36 +9:27 16:3 2 -9:33 -16:4 +9:30 +16:9 2 -9:29 -16:3 +9:25 +16:7 2 -9:24 -16:10 +9:55 +16:8 2 -16:225 -9:144 +9:48 +16:9 +2 +16:285 +9:107 @SRC@/src/host/frame_stats.cpp;_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIPZ19frame_stats_on_flipvE4BusySt6vectorIS2_SaIS2_EEEEZ19frame_stats_on_flipvE3$_0EvT_T0_ # Func Hash: @@ -114072,10 +114321,10 @@ # Num Counters: 4 # Counter Values: -41998 +41307 0 -5606 -17058 +5900 +16895 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -114083,8 +114332,8 @@ # NumValueSites: 1 2 -16:2967 -9:2639 +16:3144 +9:2756 @SRC@/src/host/frame_stats.cpp;__dtor__ZZ19frame_stats_on_flipvE1s # Func Hash: @@ -115249,7 +115498,7 @@ # Num Counters: 4 # Counter Values: -400773587 +400198384 12 12 0 @@ -115927,12 +116176,12 @@ # Num Counters: 6 # Counter Values: -46605286 -46605286 -46605286 -46605286 +46751372 +46751372 +46751372 +46751372 0 -46605286 +46751372 @SRC@/src/host/gpu.cpp;_ZN12_GLOBAL__N_117merge_side_cachesEv # Func Hash: @@ -115966,14 +116215,14 @@ # Num Counters: 11 # Counter Values: -24244436 -4277963 -4277963 +24308161 +4288088 +4288088 0 0 0 0 -4277963 +4288088 0 0 0 @@ -115985,27 +116234,27 @@ 27 # Counter Values: 0 -2617385 +2598081 0 0 -782608 -782608 -782608 +762490 +762490 +762490 225225 0 -172677 +212263 0 -101237 +95461 0 0 -2617385 -884733 -6009 +2598081 +884743 +5592 0 0 0 0 -6009 +5592 0 0 0 @@ -116094,21 +116343,21 @@ # Num Counters: 19 # Counter Values: -236259562 +240164642 0 0 0 -118129781 -118129781 +120082321 +120082321 0 0 0 -9187650 -108942131 -108942131 -108942131 -108942131 -118129781 +9076233 +111006088 +111006088 +111006088 +111006088 +120082321 0 0 0 @@ -116121,21 +116370,21 @@ 18 # Counter Values: 0 -6163880 +6185404 0 0 0 -1540973 +1546351 0 -3095236 +3104144 0 -3095232 -773807 -3095228 -1540973 +3104132 +776033 +3104136 +1546351 0 -773806 -773806 +776035 +776036 0 0 @@ -116146,9 +116395,9 @@ 5 # Counter Values: 0 -190 -190 -190 +201 +201 +201 0 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_111import_spanEjyy @@ -116157,11 +116406,11 @@ # Num Counters: 8 # Counter Values: -400 +410 0 -289 +298 0 -111 +112 0 0 0 @@ -116173,22 +116422,22 @@ 44 # Counter Values: 0 -68 +70 0 0 0 0 -911 +926 0 -911 +926 0 0 0 0 0 -911 +926 0 -400 +410 96 0 0 @@ -116213,8 +116462,8 @@ 0 0 0 -911 -68 +926 +70 0 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_112pipeline_forERK11GpuDispatchyRKSt6vectorIjSaIjEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS4_ISt4pairIjbESaISI_EERKS4_IbSaIbEEy @@ -116236,7 +116485,7 @@ 0 0 0 -3271715 +3276419 0 0 176556 @@ -116256,7 +116505,7 @@ 204 0 108 -773233 +775460 864 144 60 @@ -116277,13 +116526,13 @@ 0 0 0 -773089 +775316 0 0 0 0 0 -773089 +775316 0 0 0 @@ -116604,8 +116853,8 @@ 0 0 0 -1535013 -1535013 +1534120 +1534120 144 168 168 @@ -116786,7 +117035,7 @@ # Counter Values: 504 504 -22 +13 12 0 504 @@ -116811,38 +117060,38 @@ 60 # Counter Values: 192 -17781 -17781 -17781 -49515 -1158 +19488 +19488 +19488 +53048 +1205 192 -2163528 -47131 -29350 -29350 -0 +2143387 +50765 +31277 +31277 0 0 -2797160 -29350 -29350 -29350 -24298 -5052 -2768968 0 -2768968 +2825962 +31277 +31277 +31277 +26186 +5091 +2795890 0 -2751187 -17781 +2795890 0 +2776402 +19488 0 0 -554605 0 -2768968 -17781 +560339 +3 +2795890 +19488 0 0 0 @@ -116863,13 +117112,13 @@ 0 0 0 -2768968 -2768968 -2768968 -29350 -29350 +2795890 +2795890 +2795890 +31277 +31277 0 -29350 +31277 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_113timeline_waitEyy # Func Hash: @@ -116968,11 +117217,11 @@ 6 # Counter Values: 0 -2768968 -2768968 -2768968 -2768968 -2768268 +2795890 +2795890 +2795890 +2795890 +2795184 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_114create_computeEP16VkShaderModule_TNS0_7CsBuildERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKSt6vectorIjSaIjEEP17VkPipelineCache_TP18VkPipelineLayout_T # Func Hash: @@ -116980,12 +117229,12 @@ # Num Counters: 33 # Counter Values: -1069 -1069 -1069 +1068 +1068 +1068 0 -1069 -1069 +1068 +1068 0 0 0 @@ -117001,12 +117250,12 @@ 0 0 0 -589 -1069 +585 +1065 0 0 -1069 -1069 +1068 +1068 0 0 0 @@ -117219,19 +117468,19 @@ # Num Counters: 20 # Counter Values: -2238661 -559657 -8 -8 -190 +2261737 +565430 +7 +7 +254 0 0 0 0 -78475 +101812 0 0 -78475 +101812 0 0 0 @@ -117246,11 +117495,11 @@ # NumValueSites: 3 2 -16:177 -17:13 +16:245 +17:9 0 1 -17:8 +17:7 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_114submit_job_nowERKNS0_9SubmitJobE # Func Hash: @@ -117258,15 +117507,15 @@ # Num Counters: 17 # Counter Values: -2751187 -2751187 -2751187 -2751186 -700 +2776402 +2776402 +2776402 +2776402 +703 0 -2751186 +2776402 0 -2751186 +2776402 0 0 0 @@ -117282,12 +117531,12 @@ # Num Counters: 6 # Counter Values: -896 -896 -896 +919 +919 +919 0 0 -896 +919 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_115compute_optionsEjjPKjRKSt6vectorISt4pairIjbESaIS5_EERKS3_IbSaIbEEb # Func Hash: @@ -117295,10 +117544,10 @@ # Num Counters: 12 # Counter Values: +1151 1152 1152 -1152 -1152 +1151 492 491 0 @@ -117314,55 +117563,55 @@ # Num Counters: 79 # Counter Values: -138 -10640 -10640 -513 -7174 -275535 -537 -498 +137 +10685 +10685 +517 +7299 +276501 +549 +500 0 -201172 +201872 192 -201172 -537 +201872 +549 0 -24 -13788 -511 -24 -15 -2 -10081 -24 -499 +32 +13996 +516 +32 +17 +1 +10233 +32 +504 0 -10081 -15 -496 -15 -496 +10233 +17 +499 +17 +499 12 -2 -24 -358 -10637 +1 +32 +362 +10675 0 24 -10104 +10134 24 -533 +541 0 0 0 -500 -2 -138 -10637 +503 +1 +137 +10675 12 -533 -533 +541 +541 0 0 0 @@ -117390,8 +117639,8 @@ 0 0 0 -201170 -32 +201871 +35 12 # Num Value Kinds: 1 @@ -117408,20 +117657,20 @@ 18 # Counter Values: 0 -1192924 +1175004 3145728 60 -561888 -561888 -561864 -561888 +552416 +552416 +552392 +552416 48 0 24 0 0 -322976 -322976 +318624 +318624 24 36 36 @@ -117432,25 +117681,25 @@ # Num Counters: 21 # Counter Values: -1933834 -1346749 -243851 -621888 +1896664 +1335735 +244161 +618677 79 -436694 -473640 -57 -44 +419681 +471072 +59 +41 67 -573167 -329316 -124083 +582952 +338791 +121073 0 0 -148248 +147605 0 -922324 -922324 +929940 +929940 0 12 # Num Value Kinds: @@ -117460,23 +117709,23 @@ # NumValueSites: 3 5 -65:99511 -33:75718 -129:52217 -257:16374 -513:31 +65:101634 +33:75469 +129:50787 +257:16241 +513:30 6 -17:17 -33:13 -65:12 -257:9 -129:4 -513:2 +17:18 +33:12 +65:11 +257:10 +129:5 +513:3 6 +33:13 65:13 -129:13 -33:9 -257:5 +129:7 +257:4 17:2 513:2 @@ -117486,8 +117735,8 @@ # Num Counters: 4 # Counter Values: -1081 -54 +1080 +59 12 0 @@ -117497,8 +117746,8 @@ # Num Counters: 25 # Counter Values: -610 -2082 +607 +2073 180 180 95 @@ -117518,8 +117767,8 @@ 0 0 0 -369 -369 +373 +373 1869 1869 @@ -117533,11 +117782,11 @@ 286 286 0 -3 -283 +4 +282 0 -3 -3 +4 +4 0 # Num Value Kinds: 1 @@ -117546,7 +117795,7 @@ # NumValueSites: 1 1 -513:3 +513:4 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_117copy_version_overEyy # Func Hash: @@ -117554,19 +117803,19 @@ # Num Counters: 13 # Counter Values: -1236424 -546263 -102802 -872 -872 +1183042 +538690 +113865 +925 +925 0 -2030185 -443483 -872 -1445074 +2014931 +424847 +925 +1447391 0 -564772 -564772 +530916 +530916 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_117fence_wait_lockedEiRy # Func Hash: @@ -117577,8 +117826,8 @@ 0 0 0 -2798157 -2798157 +2826992 +2826992 0 0 0 @@ -117592,16 +117841,16 @@ 0 0 0 -2798157 +2826992 0 0 0 0 0 -2798157 +2826992 0 0 -2798157 +2826992 0 0 0 @@ -117639,44 +117888,44 @@ # Num Counters: 60 # Counter Values: -11891 -64336881 -1091327 -106903 -622398 +11868 +64117906 +1085891 +106533 +611741 0 -618152 -229165 -122262 -112 -618152 -106903 -106904 -528849 +609228 +230630 +124097 +120 +609228 +106533 +106537 +519903 0 -106903 +106533 0 -306651 -30846 -104844 -91 -513600 -106938 -35 -147 -106868 -106938 -35 -106904 -34 -10 -35 -35 +296969 +30885 +104455 +93 +504930 +106569 +36 +146 +106501 +106569 +36 +106537 +36 +12 +36 +36 0 -106903 -35 -35 -35 +106533 +36 +36 +36 0 0 0 @@ -117690,15 +117939,15 @@ 0 0 0 -106903 +106533 0 -64336881 -156535 -156535 -35 -1 -10 -35 +64117906 +147623 +147623 +36 +0 +12 +36 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_117note_compute_liftERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbS8_ # Func Hash: @@ -117740,31 +117989,31 @@ 50 # Counter Values: 0 -83 +84 0 -286 -150 -78 +291 +151 +79 274 0 0 274 0 -237 -237 -81 +240 +240 +84 286 -150 +151 12 -150 -150 -150 -78 -148 +151 +151 +151 +79 +149 2 0 -76 -23 +78 +25 0 12 0 @@ -117783,8 +118032,8 @@ 0 0 0 -83 -83 +85 +85 0 0 12 @@ -117843,7 +118092,7 @@ 0 0 492 -491 +492 492 492 0 @@ -117853,8 +118102,8 @@ 0 0 0 -18 -20 +14 +14 12 12 0 @@ -117958,15 +118207,15 @@ 480 0 468 -467 468 468 468 468 468 468 -467 -467 +468 +468 +468 480 228 240 @@ -118011,7 +118260,7 @@ 0 0 0 -30 +15 0 0 0 @@ -118051,7 +118300,7 @@ # NumValueSites: 3 2 -9:237 +9:240 17:228 0 0 @@ -118217,18 +118466,18 @@ # Num Counters: 22 # Counter Values: -100 -163 +103 +172 0 0 0 -127 +135 0 -163 -163 +172 +172 0 -36 -163 +37 +172 0 0 0 @@ -118249,7 +118498,7 @@ 0 0 0 -1386508 +1383167 0 0 0 @@ -118297,15 +118546,15 @@ # Num Counters: 9 # Counter Values: -796003 -3198704 -257604 -3192939 -103399 -255670 -57698 -129386 -129386 +858478 +3320871 +277494 +3314905 +138965 +275518 +49383 +159651 +159651 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_119twin_unplace_lockedERNS0_4TwinE # Func Hash: @@ -118314,9 +118563,9 @@ 16 # Counter Values: 170 -4 +0 2 -4 +8 0 0 0 @@ -118426,7 +118675,7 @@ # Num Counters: 9 # Counter Values: -163 +172 0 34 0 @@ -118442,7 +118691,7 @@ # Num Counters: 9 # Counter Values: -125048212 +126930552 0 0 0 @@ -118469,7 +118718,7 @@ 0 0 0 -123497429 +125391740 0 0 0 @@ -118481,17 +118730,17 @@ # Num Counters: 11 # Counter Values: -1663 -1500 -0 -0 -0 -0 -163 -163 +1811 +1639 +7 +6 +6 0 +172 +172 0 0 +1 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_121heap_add_block_lockedEP16VkDeviceMemory_Tj # Func Hash: @@ -118499,11 +118748,11 @@ # Num Counters: 17 # Counter Values: -330 +343 92 +3 0 -0 -46 +45 0 49 37 @@ -118523,62 +118772,62 @@ # Num Counters: 56 # Counter Values: -458752 -33467 -33467 -0 -10432 -10432 -383 -109 -546 -109 -1294 -7168 +465408 +34362 +34362 0 +10874 +10870 +354 +112 +520 +110 +1278 +7272 0 -163 0 +172 0 +4 0 -437 +414 0 0 0 -163 -0 +168 0 0 -163 -437 -437 0 -1294 -437 +172 +414 +410 0 +1274 +414 0 -857 -896 -163 -437 0 -896 +864 +909 +172 +414 0 -896 +909 0 +909 0 0 -896 -113 -290 -896 0 +909 +117 +303 +909 0 -437 0 +414 +4 0 0 -437 +414 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_121scratch_let_go_lockedERKNS_9DevBufferE # Func Hash: @@ -118588,12 +118837,12 @@ # Counter Values: 0 189 -256 -256 +263 +263 0 -244 +251 12 -445 +452 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_121staging_let_go_lockedERKNS_9DevBufferE # Func Hash: @@ -118602,7 +118851,7 @@ 3 # Counter Values: 0 -2711 +2622 0 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_122create_dummy_resourcesEv @@ -118679,19 +118928,19 @@ # Num Counters: 13 # Counter Values: -84782 +84092 0 -77671 +78431 0 0 -76508 -1163 +76853 +1578 0 -13105 -13105 -24033 -24033 -24033 +13140 +13140 +24095 +24095 +24095 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_122precompile_compute_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIjSaIjEERKN3gcn7ProgramEjjPKjRKS9_ISt4pairIjbESaISL_EERKS9_IbSaIbEEyNSt6chrono10time_pointINSU_3_V212steady_clockENSU_8durationIxSt5ratioILx1ELx1000000000EEEEEE # Func Hash: @@ -118699,11 +118948,11 @@ # Num Counters: 175 # Counter Values: -491 +492 0 0 0 -960 +956 183120 0 0 @@ -118830,7 +119079,7 @@ 0 0 0 -13 +14 0 0 0 @@ -118945,13 +119194,13 @@ # Num Counters: 7 # Counter Values: -512336 -33469 -24471 -24471 -24471 -24471 -1294 +502864 +33059 +24173 +24173 +24173 +24173 +1278 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_123twins_drain_gone_lockedEv # Func Hash: @@ -118959,15 +119208,15 @@ # Num Counters: 18 # Counter Values: -60153 -22547 -12735 +62181 +22596 +12723 180 180 180 -2581942 -2651 -2651 +2712477 +3005 +3005 0 0 0 @@ -118975,8 +119224,8 @@ 0 0 0 -20629 -20629 +20574 +20574 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_124compute_unoptimized_pathB5cxx11Ev # Func Hash: @@ -119019,7 +119268,7 @@ 0 0 0 -896 +909 0 0 0 @@ -119063,8 +119312,8 @@ 0 0 0 -896 -896 +909 +909 0 0 0 @@ -119091,10 +119340,10 @@ # Num Counters: 18 # Counter Values: -57879 -2082 -22727 -12907 +59504 +2073 +22776 +12888 180 95 0 @@ -119104,9 +119353,9 @@ 0 0 0 -21371 -21371 -12727 +21343 +21343 +12708 1869 1869 @@ -119121,7 +119370,7 @@ 0 0 0 -15 +17 12 0 0 @@ -119151,12 +119400,12 @@ 0 0 0 -936149492 -936149492 -936149492 -936149281 -933346406 -212 +944215908 +944215908 +944215908 +944215716 +941244067 +196 0 0 0 @@ -119173,7 +119422,7 @@ # Num Counters: 8 # Counter Values: -5596475 +5654159 0 0 0 @@ -119197,7 +119446,7 @@ 0 0 0 -2581942 +2712477 0 0 0 @@ -119211,7 +119460,7 @@ 0 0 0 -2581942 +2712477 0 0 @@ -119221,7 +119470,7 @@ # Num Counters: 9 # Counter Values: -393 +404 0 0 0 @@ -119251,25 +119500,25 @@ # Num Counters: 19 # Counter Values: -3692 -2769 -923 -923 +3752 +2814 +938 +938 0 -923 +938 0 0 0 -923 +938 0 0 0 -923 +938 0 0 0 -922 -923 +937 +938 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -119277,7 +119526,7 @@ # NumValueSites: 1 1 -** External Symbol **:923 +** External Symbol **:938 @SRC@/src/host/gpu.cpp;_ZN5twins10MissFilter7refreshINS_9ShapedMapIN3gpu12_GLOBAL__N_14TwinEEENS2_IyEEEEvRKT_RKT0_ # Func Hash: @@ -119285,24 +119534,24 @@ # Num Counters: 19 # Counter Values: -3988 -4534 -8089 -4546 +4028 +4520 +8110 +4532 0 72 -3988 +4028 60 60 -936149281 -517 -493 -505 -493 -493 -505 -505 -936149269 +944215716 +522 +498 +510 +498 +498 +510 +510 +944215704 0 @SRC@/src/host/gpu.cpp;_ZN5twins9ShapedMapIN3gpu12_GLOBAL__N_14TwinEE7emplaceIJRyRS3_EEESt4pairISt17_Rb_tree_iteratorIS8_IKyS3_EEbEDpOT_ @@ -119311,19 +119560,19 @@ # Num Counters: 41 # Counter Values: -820 +822 0 0 0 -196 +198 286 0 0 -90 -196 +88 +198 0 -132 -78 +134 +76 0 0 12 @@ -119341,8 +119590,8 @@ 0 0 0 -54 -54 +58 +58 0 0 0 @@ -119351,7 +119600,7 @@ 0 0 0 -142 +140 @SRC@/src/host/gpu.cpp;_ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3gpu12_GLOBAL__N_118PrecompiledCompute6RecordEESaISC_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSE_18_Mod_range_hashingENSE_20_Default_ranged_hashENSE_20_Prime_rehash_policyENSE_17_Hashtable_traitsILb1ELb0ELb1EEEE22_M_find_before_node_trIS5_EEPNSE_15_Hash_node_baseEyRKT_y # Func Hash: @@ -119359,10 +119608,10 @@ # Num Counters: 8 # Counter Values: -688 +682 1308 -12 -168 +13 +167 1308 1308 1704 @@ -119382,9 +119631,9 @@ # Num Counters: 8 # Counter Values: -2181 -2205 -2205 +2194 +2218 +2218 828 804 660 @@ -119397,7 +119646,7 @@ # NumValueSites: 1 1 -8:2205 +8:2218 @SRC@/src/host/gpu.cpp;_ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3gpu12_GLOBAL__N_118PrecompiledCompute9CompilingEESaISC_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSE_18_Mod_range_hashingENSE_20_Default_ranged_hashENSE_20_Prime_rehash_policyENSE_17_Hashtable_traitsILb1ELb0ELb1EEEE22_M_find_before_node_trIS5_EEPNSE_15_Hash_node_baseEyRKT_y # Func Hash: @@ -119428,13 +119677,13 @@ 9 # Counter Values: 0 -312 +315 0 15 -209 +210 720 708 -452 +453 12 @SRC@/src/host/gpu.cpp;_ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3gpu12_GLOBAL__N_118PrecompiledCompute6RecordEESaISC_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSE_18_Mod_range_hashingENSE_20_Default_ranged_hashENSE_20_Prime_rehash_policyENSE_17_Hashtable_traitsILb1ELb0ELb1EEEE12_Scoped_nodeC2IJRKSt21piecewise_construct_tSt5tupleIJRS7_EESV_IJEEEEEPNSE_16_Hashtable_allocISaINSE_10_Hash_nodeISC_Lb1EEEEEEDpOT_ @@ -119483,15 +119732,15 @@ # Num Counters: 11 # Counter Values: -76 -428 -404 -222 +77 +427 +403 +220 36 36 -270 +272 24 -258 +260 0 0 # Num Value Kinds: @@ -119551,7 +119800,7 @@ # Num Counters: 3 # Counter Values: -8 +7 0 0 @@ -119598,7 +119847,7 @@ # Num Counters: 10 # Counter Values: -206 +231 0 0 828 @@ -119628,23 +119877,23 @@ # Num Counters: 41 # Counter Values: -56740 +56778 0 0 0 -4926 -871 -4926 +4920 +805 +4920 0 -4055 -871 +4115 +805 0 -4520 -4043 +4589 +4103 0 0 12 -856 +790 0 0 0 @@ -119653,13 +119902,13 @@ 0 0 0 -54504 -54504 +54863 +54863 0 0 0 -477 -477 +486 +486 0 0 0 @@ -119668,7 +119917,7 @@ 0 0 0 -394 +319 @SRC@/src/host/gpu.cpp;_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3gpu12_GLOBAL__N_112ValidationIdEEC2EOS9_ # Func Hash: @@ -119774,66 +120023,66 @@ 0 12 0 -12 +15 0 0 -12 -97 +15 +120 0 0 12 -40779 +40305 0 0 12 -37291 -430 -12 -430 +37553 +628 +15 +628 33 -6711 -326 -6385 -27 +6748 +345 +6403 +26 12 -6711 +6748 0 -6385 +6403 0 0 0 -12 +15 0 0 -12 -326 -6385 -6385 -6301 +15 +345 +6403 +6403 +6298 0 0 -12 -12 -27 -6373 +15 +15 +26 +6388 0 0 0 -12 -12 +15 +15 0 -2560 -2560 +2561 +2561 0 -27 +26 0 0 -12 +15 0 0 0 0 -27 +26 0 0 0 @@ -119842,7 +120091,7 @@ 0 0 0 -12 +15 0 0 0 @@ -119883,12 +120132,12 @@ 0 0 66 -2560 -326 -326 +2561 +345 +345 0 0 -6289 +6283 0 @SRC@/src/host/gpu.cpp;_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN3gpu20start_memory_reserveEvE3$_1EEEEED0Ev @@ -119943,7 +120192,7 @@ # Num Counters: 6 # Counter Values: -3502070 +3482776 48 36 36 @@ -120614,25 +120863,25 @@ # Num Counters: 19 # Counter Values: -193123 -152003 -74079 -268358 +191813 +135507 +61933 +260744 0 0 -34973 -213808 -210416 -22225 -22225 -254510 -33023 -303093 -217095 -296305 -28703 -342023 -149615 +34578 +213074 +209754 +23571 +23571 +245085 +29838 +295266 +221510 +277083 +24611 +326881 +151743 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -120640,9 +120889,9 @@ # NumValueSites: 1 3 -17:6881 -16:4542 -32:1325 +17:6735 +16:4144 +32:128 @SRC@/src/host/gpu.cpp;_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPN3gpu12_GLOBAL__N_17SiteUseESt6vectorIS4_SaIS4_EEEExZ15host_gpu_reportvE3$_1EvT_SB_T0_T1_ # Func Hash: @@ -120915,40 +121164,40 @@ # Num Counters: 34 # Counter Values: -122697 -59712 -149841 -93125 -59388 -47387 -45159 -39507 -887 -36115 +115840 +59343 +144031 +89642 +59234 +46699 +43571 +40536 +1103 +37216 0 -246 +304 0 0 0 -4020 -22238 -10367 -22238 -6975 +4722 +22430 +10524 +22430 +7204 0 -1533 +1586 0 -1533 -3774 -3774 -188740 -35456 -209553 -80396 -123108 -41479 -142889 -35884 +1586 +4418 +4418 +177977 +38038 +203374 +77559 +120750 +43792 +143149 +33974 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -120956,19 +121205,19 @@ # NumValueSites: 5 3 -16:21714 -32:17371 -17:6074 +16:20968 +32:15876 +17:6727 2 -16:663 -17:224 +16:875 +17:228 3 -17:14405 -16:12691 -32:2044 +17:16695 +16:13169 +32:148 0 1 -16:246 +16:304 @SRC@/src/host/gpu.cpp;_ZSt21__inplace_stable_sortIN9__gnu_cxx17__normal_iteratorIPySt6vectorIySaIyEEEEZN10heap_place5orderIN3gpu12_GLOBAL__N_19HeapBlockEEEvRKS3_IT_SaISC_EERS5_ibEUlyyE_EvSC_SC_T0_ # Func Hash: @@ -121006,7 +121255,7 @@ # Num Counters: 1 # Counter Values: -106904 +106537 @SRC@/src/host/gpu.cpp;_ZSt22__uninitialized_copy_aISt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3gpu12_GLOBAL__N_112ValidationIdEEESD_PS1_IS7_SB_ESE_ET1_T_T0_SG_RSaIT2_E # Func Hash: @@ -121049,7 +121298,7 @@ 0 0 0 -213808 +213074 @SRC@/src/host/gpu.cpp;_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIPSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3gpu12_GLOBAL__N_111ImportAskerEESt6vectorISC_SaISC_EEEEZ15host_gpu_reportvE3$_0EvT_T0_ # Func Hash: @@ -121350,13 +121599,13 @@ # Num Counters: 14 # Counter Values: -2798157 +2826992 0 0 0 0 -2798157 -2798157 +2826992 +2826992 0 0 0 @@ -121454,16 +121703,16 @@ 19 # Counter Values: 0 -6804 -60 -60 -6804 -60 +6842 +61 +61 +6842 +61 0 0 -60 +61 0 -6744 +6781 0 0 0 @@ -122125,22 +122374,22 @@ # Num Counters: 39 # Counter Values: -310629 -9326358 -3105864 -3419415 -3108786 -3105864 +312057 +9417147 +3136461 +3451106 +3139049 +3136461 0 -3108786 -3108786 -310629 +3139049 +3139049 +312057 12 0 -2798157 -2798157 +2826992 +2826992 0 -2798157 +2826992 0 0 0 @@ -122148,7 +122397,7 @@ 24 0 0 -3108762 +3139025 12 0 0 @@ -122198,10 +122447,10 @@ # Num Counters: 6 # Counter Values: -2274 +2306 32 -837 -73 +838 +75 0 0 @@ -122213,15 +122462,15 @@ # Counter Values: 0 0 -12001 -12001 -4040 -3111 -3031 -3031 +12122 +12122 +4073 +3144 +3064 +3064 204 0 -2839 +2872 80 0 152 @@ -122253,8 +122502,8 @@ 0 0 0 -5983 -5983 +6050 +6050 120 # Num Value Kinds: 1 @@ -122263,13 +122512,13 @@ # NumValueSites: 8 3 -9:7810 -16:2238 -17:1953 +9:7870 +16:2290 +17:1962 3 -9:1192 -16:1113 -17:726 +9:1197 +16:1139 +17:728 2 9:36 17:32 @@ -122295,15 +122544,15 @@ 520 0 0 -10767 -10767 -2861 -3111 -3051 -3051 +10901 +10901 +2894 +3144 +3084 +3084 200 0 -2851 +2884 60 0 106 @@ -122335,8 +122584,8 @@ 0 0 0 -5266 -5266 +5335 +5335 142 # Num Value Kinds: 1 @@ -122345,11 +122594,11 @@ # NumValueSites: 8 2 -17:5733 -9:5034 +17:5829 +9:5072 2 -17:2202 -9:849 +17:2234 +9:850 2 9:36 17:12 @@ -122535,14 +122784,14 @@ # Num Counters: 8 # Counter Values: -2205 -2576 +2245 +2613 0 -117 -548 -228 -228 -229 +121 +558 +231 +231 +201 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -122550,7 +122799,7 @@ # NumValueSites: 1 1 -9:117 +9:121 @SRC@/src/host/gpu_memtrack.cpp;_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN12_GLOBAL__N_14SiteEESt6vectorISB_SaISB_EEEEZ22bb_memory_sites_reportvE3$_0EvT_SI_T0_ # Func Hash: @@ -122558,13 +122807,13 @@ # Num Counters: 7 # Counter Values: -12150 -16651 +12579 +16763 0 -1415 -3371 -1346 -1346 +1473 +3453 +1359 +1359 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -122572,7 +122821,7 @@ # NumValueSites: 1 1 -9:1415 +9:1473 @SRC@/src/host/gpu_memtrack.cpp;_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP13MemOwnerTotalSt6vectorIS2_SaIS2_EEEExZ22bb_memory_owner_totalsvE3$_0EvT_S9_T0_T1_ # Func Hash: @@ -122580,9 +122829,9 @@ # Num Counters: 31 # Counter Values: -520 -612 -497 +537 +633 +513 0 0 0 @@ -122595,9 +122844,9 @@ 0 0 0 -4 -100 -332 +6 +102 +339 0 0 0 @@ -122609,8 +122858,8 @@ 0 0 0 -2 -2 +8 +8 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -122626,24 +122875,24 @@ # Num Counters: 23 # Counter Values: -4292 -7144 -6052 +4228 +7326 +6112 0 0 0 0 0 -526 +530 0 0 0 0 -724 +733 0 0 0 -2596 +2622 0 0 0 @@ -122664,11 +122913,11 @@ # Num Counters: 5 # Counter Values: -8619 +8700 0 -1459 -3142 -1554 +1478 +3189 +1576 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -122676,7 +122925,7 @@ # NumValueSites: 1 1 -9:1459 +9:1478 @SRC@/src/host/gpu_memtrack.cpp;_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIPSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN12_GLOBAL__N_14SiteEESt6vectorISB_SaISB_EEEEZ22bb_memory_sites_reportvE3$_0EvT_T0_ # Func Hash: @@ -122684,10 +122933,10 @@ # Num Counters: 4 # Counter Values: -81619 +81967 0 -12285 -21441 +12363 +21596 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -122695,8 +122944,8 @@ # NumValueSites: 1 2 -9:11233 -16:1052 +9:11303 +16:1060 @SRC@/src/host/gpu_memtrack.cpp;__dtor__ZN12_GLOBAL__N_14g_muE # Func Hash: @@ -122973,9 +123222,9 @@ # Num Counters: 69 # Counter Values: -8414 -17818 -36790 +8415 +17819 +36784 0 0 0 @@ -122983,27 +123232,27 @@ 0 0 0 -145627 -145115 -40862 -388 -581023 -66646 -43058 +145607 +145112 +40866 +384 +580282 +66620 +43052 6270 -9075 -195741 -89729 -43056 +9074 +195684 +89735 +43053 0 0 20293 -9075 -195725 -8249 +9074 +195692 +8250 8250 -89730 -70277 +89733 +70261 0 0 7425 @@ -123012,10 +123261,10 @@ 660 5610 5610 -70276 +70259 0 -22673 -70277 +22671 +70261 0 0 0 @@ -123025,7 +123274,7 @@ 0 0 8415 -97 +96 0 0 0 @@ -123039,7 +123288,7 @@ 0 0 1980 -97 +96 990 0 @@ -123176,25 +123425,25 @@ 21 # Counter Values: 0 -1590 -68874 -7047 -7047 -7047 -7047 +1688 +68669 +7032 +7032 +7032 +7032 42 -7047 -7047 -7047 -6930 -7047 -117 -7047 -7047 +7032 +7032 +7032 +6916 +7032 +116 +7032 +7032 0 -7047 -38145 -38145 +7032 +37398 +37398 0 @SRC@/src/host/gxvk_buffers.cpp;_ZN4gxvk12_GLOBAL__N_118retire_live_lockedEjNS_6RetireE @@ -123203,9 +123452,9 @@ # Num Counters: 4 # Counter Values: -7047 -7047 -7047 +7032 +7032 +7032 0 @SRC@/src/host/gxvk_buffers.cpp;_ZN4gxvk12_GLOBAL__N_125retire_overlapping_lockedEyyNS_6RetireE @@ -123214,23 +123463,23 @@ # Num Counters: 18 # Counter Values: -225380 -52 -26921 -17516 -17516 -17516 +224898 +71 +26842 +17520 +17520 +17520 0 -17511 -52 -17499 -17485 -51 +17506 +71 +17494 +17480 +69 0 0 0 -44531 -44531 +44048 +44048 0 @SRC@/src/host/gxvk_buffers.cpp;__dtor__ZN4gxvk12_GLOBAL__N_111g_by_holderE @@ -123467,10 +123716,10 @@ # Num Counters: 17 # Counter Values: -9241 -8958 +9257 +8973 0 -283 +284 0 21 0 @@ -123502,10 +123751,10 @@ # Num Counters: 6 # Counter Values: -3206 -3206 -3206 -3206 +3209 +3209 +3209 +3209 0 0 # Num Value Kinds: @@ -123515,8 +123764,8 @@ # NumValueSites: 2 4 -16:2982 -513:182 +16:2980 +513:187 65:35 257:7 0 @@ -123527,10 +123776,10 @@ # Num Counters: 5 # Counter Values: -69981828 -66213902 -66213902 -66213902 +69989729 +66318165 +66318165 +66318165 0 @SRC@/src/host/gxvk_homes_vk.cpp;_ZN3gpu12_GLOBAL__N_112drain_lockedEv @@ -123540,31 +123789,31 @@ 36 # Counter Values: 0 -971112 +971127 0 0 0 0 -838495 +838514 0 0 0 -838495 -9241 -971112 -9241 -838495 +838514 +9257 +971127 +9257 +838514 0 -9241 -838495 -838495 -1168252551 -838495 -91165 -91162 -91162 -91165 -3 +9257 +838514 +838514 +1178205865 +838514 +93912 +93905 +93905 +93912 +7 0 0 0 @@ -123582,23 +123831,23 @@ # Num Counters: 18 # Counter Values: -167448967 -35542976 +151325564 +32311096 0 0 -227257260 +222907362 0 -103400920 -35542976 +99568028 +32311096 0 0 0 0 -129407440 +124144185 0 -167448967 -94032285 -94032285 +151325564 +84471381 +84471381 0 @SRC@/src/host/gxvk_homes_vk.cpp;_ZN3gpu12_GLOBAL__N_115sync_one_lockedERNS0_4HomeE @@ -123620,12 +123869,12 @@ # Num Counters: 6 # Counter Values: -1033402586 -91110583 -32390782 -58794852 -66246324 -58794576 +1041449760 +83501974 +28542596 +55043840 +66320631 +55037498 @SRC@/src/host/gxvk_homes_vk.cpp;_ZNSt11_Deque_baseIN3gpu12_GLOBAL__N_14DeadESaIS2_EE15_M_allocate_mapEy # Func Hash: @@ -123666,12 +123915,12 @@ # Num Counters: 6 # Counter Values: -2192750 -1602377 -216471 -125309 +2192434 +1597982 +220916 +127011 0 -91162 +93905 @SRC@/src/host/gxvk_homes_vk.cpp;_ZNSt6vectorIN3gpu12_GLOBAL__N_17PendingESaIS2_EE9push_backEOS2_ # Func Hash: @@ -123679,10 +123928,10 @@ # Num Counters: 6 # Counter Values: -17256 -33937126 -231 -207 +16232 +34092616 +230 +206 0 24 @@ -124277,19 +124526,19 @@ # Num Counters: 99 # Counter Values: -1870 -1870 -1870 -1810 -1810 -1810 -13464 +1890 +1890 +1890 +1830 +1830 +1830 +13608 0 -2244 -2244 +2268 +2268 0 -22806 -2244 +23058 +2268 0 0 0 @@ -124302,51 +124551,51 @@ 0 0 0 -362 -362 +366 +366 0 0 0 -374 +378 0 -374 +378 0 -374 -374 +378 +378 0 0 -374 +378 0 -374 -374 +378 +378 0 -374 -374 -374 -374 +378 +378 +378 +378 0 0 0 -374 +378 0 0 0 -374 -374 -374 -374 -374 +378 +378 +378 +378 +373 0 0 -374 -374 -374 -374 +373 +373 +378 +378 0 0 -374 -374 -374 +373 +373 +373 0 0 0 @@ -124373,8 +124622,8 @@ 0 0 0 -2244 -374 +2268 +378 0 @SRC@/src/host/gxvk_lists_pool.cpp;_ZN10gxvk_lists12_GLOBAL__N_15startEv @@ -124412,8 +124661,8 @@ # Num Counters: 2 # Counter Values: -374 -308 +373 +302 @SRC@/src/host/gxvk_lists_pool.cpp;_ZN10gxvk_lists12_GLOBAL__N_19pool_mainEi # Func Hash: @@ -124421,46 +124670,46 @@ # Num Counters: 51 # Counter Values: -40156645 +41268760 0 0 0 0 0 -2127 -213 -1914 -13975675 +4388 +1 +4387 +16348346 0 -42612979 -225984 +43804034 +255642 0 -7358441 +8590196 0 -225188 +254214 0 -42542690 -225989 +43732477 +255646 12 -362 -225984 +366 +255643 0 0 -225188 +254214 24 0 0 -200388 -42541870 +229870 +43728363 24 0 -2384473 -40110154 +2461202 +41225236 0 -39945433 +41011468 0 0 -37705442 +38700358 0 0 0 @@ -124470,8 +124719,8 @@ 0 0 0 -200388 -7095201 +229870 +8269420 @SRC@/src/host/gxvk_lists_pool.cpp;_ZZNSt9once_flag18_Prepare_executionC1IZSt9call_onceIZN10gxvk_lists6settleEbPKcE3$_0JEEvRS_OT_DpOT0_EUlvE_EERS8_ENUlvE_8__invokeEv # Func Hash: @@ -124552,18 +124801,18 @@ # Num Counters: 59 # Counter Values: -843 -3326 -7366 -7366 -7366 -4897 +834 +3298 +7323 +7323 +7323 +4891 0 0 67 0 0 -4121 +4124 0 0 12 @@ -124574,7 +124823,7 @@ 0 0 0 -4121 +4124 0 0 67 @@ -124584,10 +124833,10 @@ 0 67 0 -458 -4121 +455 +4124 0 -4121 +4124 0 0 0 @@ -124595,7 +124844,7 @@ 0 0 0 -4001 +4004 0 0 120 @@ -124618,7 +124867,7 @@ # NumValueSites: 1 5 -513:4045 +513:4048 17:24 65:24 129:16 @@ -124630,20 +124879,20 @@ # Num Counters: 16 # Counter Values: -7047 -1650 -1754 +7032 +1649 +1753 104 9 -8 -0 -0 +6 0 0 0 0 +3 0 0 +3 0 0 # Num Value Kinds: @@ -124653,11 +124902,10 @@ # NumValueSites: 3 1 -16:8 +16:6 0 -2 -33:8 -17:1 +1 +33:9 @SRC@/src/host/gxvk_vk.cpp;_ZN3gpu12_GLOBAL__N_114reclaim_lockedEv # Func Hash: @@ -124665,27 +124913,27 @@ # Num Counters: 21 # Counter Values: -1754 -6356 -1754 -1588 -2929 -1754 -1650 -1754 -1754 -1588 -1754 +1753 +6318 +1753 +1603 +2977 +1753 +1649 +1753 +1753 +1603 +1753 104 -747 -677 +733 +699 18 -1754 +1753 18 -2802447 +2831300 0 -3054 -3054 +3076 +3076 @SRC@/src/host/gxvk_vk.cpp;_ZN3gpu12_GLOBAL__N_115disagree_lockedEijPKN4gxvk11BufferEntryE # Func Hash: @@ -124748,19 +124996,19 @@ # Counter Values: 0 0 -141 -84 +138 +80 67 0 67 0 0 -7 +8 12 -48 +47 0 -48 -36 +47 +35 0 0 0 @@ -124782,16 +125030,16 @@ # Num Counters: 10 # Counter Values: -22171 -7418 -4964 -4121 -4105 -4121 -4105 -2040 -3758 -3758 +22265 +7472 +4958 +4124 +4114 +4124 +4114 +2032 +3790 +3790 @SRC@/src/host/gxvk_vk.cpp;_ZN3gpu12_GLOBAL__N_117pool_short_lockedEy # Func Hash: @@ -124886,19 +125134,19 @@ # Num Counters: 13 # Counter Values: -791599330 -88317412 -50365216 -50365216 -37952196 -66239843 +795292365 +88518563 +50372650 +50372650 +38145913 +66549666 0 0 0 0 -608847373 -608847373 -7173003 +611591654 +611591654 +7142714 @SRC@/src/host/host_lists.cpp;_ZN10host_lists12_GLOBAL__N_117sync_index_lockedEv # Func Hash: @@ -124906,11 +125154,11 @@ # Num Counters: 5 # Counter Values: -1 -6193 +0 6192 6192 -74324221 +6192 +74666043 @SRC@/src/host/host_lists.cpp;_ZN10host_lists12_GLOBAL__N_16differERNS0_5FrameEPKcjj # Func Hash: @@ -124986,9 +125234,9 @@ 0 702 0 -335058 -22228048 -1247 +342118 +22318385 +1189 0 0 0 @@ -124996,23 +125244,23 @@ 0 0 0 -102775144 -10073228 +102415789 +10125820 0 -1129742 -767666 -5170910 -508187 -12650197 -772443 -7081582 -19341367 -185783937 -163218882 +1141408 +791189 +5279765 +504310 +12683969 +774677 +7213542 +19460324 +185970163 +163307769 0 0 0 -163218882 +163307769 0 0 @@ -125148,9 +125396,9 @@ @SRC@/src/host/ingame_menu.cpp;_ZN12_GLOBAL__N_111build_frameE10VkExtent2D # Func Hash: -238583434463175296 +295151178564707363 # Num Counters: -92 +81 # Counter Values: 0 0 @@ -125233,17 +125481,6 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 @SRC@/src/host/ingame_menu.cpp;_ZN12_GLOBAL__N_111save_switchERKNS_8PatchRowE # Func Hash: @@ -125284,6 +125521,24 @@ 0 0 +@SRC@/src/host/ingame_menu.cpp;_ZN12_GLOBAL__N_112finish_frameEv +# Func Hash: +303685789735188719 +# Num Counters: +11 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + @SRC@/src/host/ingame_menu.cpp;_ZN12_GLOBAL__N_115contains_nocaseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc # Func Hash: 776814508189596017 @@ -125339,9 +125594,9 @@ @SRC@/src/host/ingame_menu.cpp;_ZN12_GLOBAL__N_15shellIZNS_9draw_menuEvE3$_0EEbPKcS3_PKNS_4PageEiPiPdbT_ # Func Hash: -581126949482706176 +256733093836702946 # Num Counters: -323 +320 # Counter Values: 0 0 @@ -125663,16 +125918,12 @@ 0 0 0 -0 -0 -0 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: -26 -0 +25 0 0 0 @@ -125699,11 +125950,11 @@ 0 0 -@SRC@/src/host/ingame_menu.cpp;_ZN12_GLOBAL__N_18menu_keyEb +@SRC@/src/host/ingame_menu.cpp;_ZN12_GLOBAL__N_16key_ofEj # Func Hash: -391331300372524406 +197471692531612695 # Num Counters: -7 +26 # Counter Values: 0 0 @@ -125712,13 +125963,46 @@ 0 0 0 - -@SRC@/src/host/ingame_menu.cpp;_ZN12_GLOBAL__N_19set_patchERNS_9PatchMenuERNS_8PatchRowEb -# Func Hash: -819662399475298421 -# Num Counters: -50 -# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + +@SRC@/src/host/ingame_menu.cpp;_ZN12_GLOBAL__N_18menu_keyEb +# Func Hash: +391331300372524406 +# Num Counters: +7 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 + +@SRC@/src/host/ingame_menu.cpp;_ZN12_GLOBAL__N_19set_patchERNS_9PatchMenuERNS_8PatchRowEb +# Func Hash: +819662399475298421 +# Num Counters: +50 +# Counter Values: 0 0 0 @@ -125825,9 +126109,9 @@ @SRC@/src/host/ingame_menu.cpp;_ZNSt17_Function_handlerIFvvEZN12_GLOBAL__N_111save_switchERKNS1_8PatchRowEE3$_0E9_M_invokeERKSt9_Any_data # Func Hash: -583105216945242839 +1010232054800520189 # Num Counters: -72 +70 # Counter Values: 0 0 @@ -125899,15 +126183,12 @@ 0 0 0 -0 -0 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: -6 -0 +5 0 0 0 @@ -126051,6 +126332,15 @@ 0 0 +@SRC@/src/host/ingame_menu.cpp;__dtor__ZZN12_GLOBAL__N_111panel_eventERK9SDL_EventfE4held +# Func Hash: +784007056844089447 +# Num Counters: +2 +# Counter Values: +0 +0 + @SRC@/src/host/label_landing.cpp;_GLOBAL__sub_I_label_landing.cpp # Func Hash: 1085769280154775564 @@ -126521,9 +126811,9 @@ @SRC@/src/host/launcher.cpp;_ZZ12launcher_runRK10HostConfigRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbENK4$_11clEv # Func Hash: -919714906686484180 +791570814152084283 # Num Counters: -39 +32 # Counter Values: 0 0 @@ -126557,13 +126847,6 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -126574,9 +126857,9 @@ @SRC@/src/host/launcher.cpp;_ZZ12launcher_runRK10HostConfigRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbENK4$_13clEv # Func Hash: -512271164081132203 +49987766737950313 # Num Counters: -385 +366 # Counter Values: 0 0 @@ -126944,6 +127227,53 @@ 0 0 0 + +@SRC@/src/host/launcher.cpp;_ZZ12launcher_runRK10HostConfigRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbENK4$_14clEv +# Func Hash: +896858935904207129 +# Num Counters: +8 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 + +@SRC@/src/host/launcher.cpp;_ZZ12launcher_runRK10HostConfigRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbENK4$_17clEPKcibSC_iS9_S9_ +# Func Hash: +404142958045652233 +# Num Counters: +17 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + +@SRC@/src/host/launcher.cpp;_ZZ12launcher_runRK10HostConfigRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbENK4$_22clEb +# Func Hash: +354908160754991910 +# Num Counters: +24 +# Counter Values: +0 0 0 0 @@ -126963,12 +127293,27 @@ 0 0 0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +5 +0 +0 +0 +0 +0 -@SRC@/src/host/launcher.cpp;_ZZ12launcher_runRK10HostConfigRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbENK4$_14clEv +@SRC@/src/host/launcher.cpp;_ZZ12launcher_runRK10HostConfigRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbENK4$_24clEPKcSC_iiiSC_SC_SC_ # Func Hash: -896858935904207129 +1073436552895320033 # Num Counters: -8 +11 # Counter Values: 0 0 @@ -126978,15 +127323,75 @@ 0 0 0 +0 +0 +0 -@SRC@/src/host/launcher.cpp;_ZZ12launcher_runRK10HostConfigRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbENK4$_17clEPKcibSC_iS9_S9_ +@SRC@/src/host/launcher.cpp;__dtor__ZN12_GLOBAL__N_18g_pickedB5cxx11E # Func Hash: -404142958045652233 +146835647075900052 # Num Counters: -17 +2 +# Counter Values: +0 +0 + +@SRC@/src/host/launcher.cpp;__dtor__ZN12_GLOBAL__N_19g_pick_muE +# Func Hash: +784007058953177093 +# Num Counters: +2 # Counter Values: 0 0 + +@SRC@/src/host/launcher_ui.cpp;_GLOBAL__sub_I_launcher_ui.cpp +# Func Hash: +146835646621254984 +# Num Counters: +2 +# Counter Values: +7476 +12 + +@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_110load_fontsEv +# Func Hash: +784007059655560962 +# Num Counters: +2 +# Counter Values: +0 +0 + +@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_111apply_styleEf +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +0 + +@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_111draw_switchEP10ImDrawList6ImVec2fb +# Func Hash: +464058544101723906 +# Num Counters: +5 +# Counter Values: +0 +0 +0 +0 +0 + +@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_112recolour_oneEj +# Func Hash: +42778449565181743 +# Num Counters: +18 +# Counter Values: +0 +0 +0 0 0 0 @@ -127003,226 +127408,82 @@ 0 0 -@SRC@/src/host/launcher.cpp;_ZZ12launcher_runRK10HostConfigRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbENK4$_22clEb +@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_113gradient_rectEP10ImDrawList6ImVec2S3_jjfibi # Func Hash: -361748243433377518 +702941992757231615 # Num Counters: -26 +3 +# Counter Values: +0 +0 +0 + +@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_13mixEjjf +# Func Hash: +702941992757231615 +# Num Counters: +3 # Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -6 -0 -0 -0 -0 -0 -0 - -@SRC@/src/host/launcher.cpp;_ZZ12launcher_runRK10HostConfigRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbENK4$_24clEPKcSC_iiiSC_SC_SC_ -# Func Hash: -1073436552895320033 -# Num Counters: -11 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/host/launcher.cpp;__dtor__ZN12_GLOBAL__N_18g_pickedB5cxx11E -# Func Hash: -146835647075900052 -# Num Counters: -2 -# Counter Values: -0 -0 - -@SRC@/src/host/launcher.cpp;__dtor__ZN12_GLOBAL__N_19g_pick_muE -# Func Hash: -784007058953177093 -# Num Counters: -2 -# Counter Values: -0 -0 - -@SRC@/src/host/launcher_ui.cpp;_GLOBAL__sub_I_launcher_ui.cpp -# Func Hash: -146835646621254984 -# Num Counters: -2 -# Counter Values: -7476 -12 - -@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_110load_fontsEv -# Func Hash: -784007059655560962 -# Num Counters: -2 -# Counter Values: -0 -0 - -@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_111apply_styleEf -# Func Hash: -742261418966908927 -# Num Counters: -1 -# Counter Values: -0 - -@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_111draw_switchEP10ImDrawList6ImVec2fb -# Func Hash: -464058544101723906 -# Num Counters: -5 -# Counter Values: -0 -0 -0 -0 -0 - -@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_112recolour_oneEj -# Func Hash: -42778449565181743 -# Num Counters: -18 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_113gradient_rectEP10ImDrawList6ImVec2S3_jjfibi -# Func Hash: -702941992757231615 -# Num Counters: -3 -# Counter Values: -0 -0 -0 - -@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_13mixEjjf -# Func Hash: -702941992757231615 -# Num Counters: -3 -# Counter Values: -0 -0 -0 - -@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_14blurERSt6vectorIfSaIfEEiii -# Func Hash: -5832820478565011 -# Num Counters: -9 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_14starEP10ImDrawList6ImVec2ffj -# Func Hash: -886271542820801420 -# Num Counters: -4 -# Counter Values: -0 -0 -0 -0 - -@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_16uploadERKSt6vectorIfSaIfEEii -# Func Hash: -966527949177907996 -# Num Counters: -14 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_18add_fontESt16initializer_listIPKcEb -# Func Hash: -727352618867362392 -# Num Counters: -39 -# Counter Values: -0 -0 +0 +0 +0 + +@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_14blurERSt6vectorIfSaIfEEiii +# Func Hash: +5832820478565011 +# Num Counters: +9 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 + +@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_14starEP10ImDrawList6ImVec2ffj +# Func Hash: +886271542820801420 +# Num Counters: +4 +# Counter Values: +0 +0 +0 +0 + +@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_16uploadERKSt6vectorIfSaIfEEii +# Func Hash: +966527949177907996 +# Num Counters: +14 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + +@SRC@/src/host/launcher_ui.cpp;_ZN11launcher_ui12_GLOBAL__N_18add_fontESt16initializer_listIPKcEb +# Func Hash: +727352618867362392 +# Num Counters: +39 +# Counter Values: +0 +0 0 0 0 @@ -127780,10 +128041,10 @@ # Num Counters: 5 # Counter Values: -2798319 -2798319 -217329 -217105 +2827169 +2827169 +216470 +216253 0 @SRC@/src/host/occlusion.cpp;__dtor__ZN3gpu12_GLOBAL__N_114g_block_serialE @@ -127798,11 +128059,11 @@ @SRC@/src/host/options.cpp;_GLOBAL__sub_I_options.cpp # Func Hash: -104386856941925096 +663853944789239096 # Num Counters: -78 +77 # Counter Values: -852 +840 12 12 12 @@ -127879,7 +128140,6 @@ 0 0 0 -0 @SRC@/src/host/options.cpp;_ZN12_GLOBAL__N_110output_forEPiS0_ # Func Hash: @@ -128433,7 +128693,7 @@ # Num Counters: 5 # Counter Values: -739714494 +738371945 12 12 0 @@ -128853,9 +129113,9 @@ 12 12 0 -588 -852 -852 +576 +840 +840 72 0 12 @@ -128988,10 +129248,10 @@ # Num Counters: 4 # Counter Values: -852 +828 0 -852 -468 +828 +444 @SRC@/src/host/options.cpp;_ZN12_GLOBAL__N_18res_keepEv # Func Hash: @@ -129689,8 +129949,8 @@ # Num Counters: 2 # Counter Values: -391 -1440 +392 +1448 @SRC@/src/host/perf_meter.cpp;_ZN12_GLOBAL__N_110frame_textB5cxx11ERKN10bottleneck6WindowE # Func Hash: @@ -129698,29 +129958,29 @@ # Num Counters: 53 # Counter Values: -36 +37 0 -1795 -1795 -1795 +1803 +1803 +1803 0 0 0 0 -1795 -1795 -1795 -1795 -1795 -1795 -1795 -1795 -1795 -1795 -1795 -1795 -1795 -1795 +1803 +1803 +1803 +1803 +1803 +1803 +1803 +1803 +1803 +1803 +1803 +1803 +1803 +1803 0 0 0 @@ -129749,8 +130009,8 @@ 0 0 0 -1428 -1794 +1477 +1800 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -129758,9 +130018,9 @@ # NumValueSites: 6 1 -9:1795 +9:1803 1 -9:1795 +9:1803 0 0 0 @@ -129773,24 +130033,24 @@ 34 # Counter Values: 0 -12817 -12817 -12817 -12817 -12817 -12817 -12817 +12880 +12880 +12880 +12880 +12880 +12880 +12880 0 0 0 -1831 -1831 -1831 -1831 -1831 -1831 -1831 -1831 +1840 +1840 +1840 +1840 +1840 +1840 +1840 +1840 0 0 0 @@ -129805,7 +130065,7 @@ 0 0 0 -10986 +11040 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -129813,14 +130073,14 @@ # NumValueSites: 2 4 -4:3662 -5:3662 -8:3662 -9:1831 +4:3680 +5:3680 +8:3680 +9:1840 3 -9:5493 -5:3662 -6:3662 +9:5520 +5:3680 +6:3680 @SRC@/src/host/perf_meter.cpp;_ZN12_GLOBAL__N_110ms_a_frameB5cxx11Edd # Func Hash: @@ -129829,7 +130089,7 @@ 2 # Counter Values: 0 -8975 +9015 @SRC@/src/host/perf_meter.cpp;_ZN12_GLOBAL__N_110run_lockedEPKc # Func Hash: @@ -129853,109 +130113,109 @@ # Num Counters: 196 # Counter Values: -176715 -896 -1737 -1761 -1773 +177705 +899 +1746 +1770 +1783 12 0 0 12 -1773 -375912 -14280 -170542 -375900 -168757 -27540 +1783 +379872 +14360 +171442 +379860 +169647 +27682 0 -375900 -820 -168757 -27348 -166972 +379860 +723 +169647 +27490 +167852 0 -12315 -1737 -25611 -165223 -163462 -163462 -131746 -178232 -1785 -1785 -154537 -131746 -1785 -1749 -1785 -1785 -1749 -1749 -147541 -1785 -1773 -1749 -1761 +12382 +1746 +25744 +166094 +164324 +164324 +132698 +179179 +1795 +1795 +155349 +132698 +1795 +1758 +1795 +1795 +1758 +1758 +148317 +1795 +1783 +1758 +1770 +899 896 -889 -1773 -48 -1737 -24 -1761 -1773 -1752 -22 -1750 -35 -1785 -1785 -1773 -1785 -1773 -1737 -1749 -1761 +1783 +49 +1746 +25 +1770 +1783 +1762 +21 +1759 +36 +1795 +1795 +1783 +1795 +1783 +1746 +1758 +1770 0 -1785 -1773 -1737 -1749 -1773 +1795 +1783 +1746 +1758 +1783 12 -1749 -1749 -1749 -178232 -144787 -1785 +1758 +1758 +1758 +179179 +145555 +1795 0 -1785 +1795 12 0 -1773 -4 -1785 -1785 -178232 -36 +1783 +3 +1795 +1795 +179179 +37 0 0 -1785 -1785 -1785 -178232 -1773 -8206 -1785 -170048 -677 +1795 +1795 +1795 +179179 +1783 +8080 +1795 +171116 +685 0 0 -147 +155 0 0 0 @@ -129966,18 +130226,18 @@ 0 0 0 -179 +195 0 0 -749 -484 +744 +436 0 +14 13 -10 0 0 0 -823 +888 0 0 0 @@ -130016,39 +130276,39 @@ 0 0 12 -178232 -136818 -128629 -375900 -1177 -1785 -1693 -167 +179179 +137271 +129206 +379860 +1192 +1795 +1700 +168 0 -1759 -1761 -1773 -1749 -1785 -1759 +1767 +1770 +1782 +1758 +1795 +1766 12 -1773 -1378 +1783 +1386 40 -5 -46 -46 -46 -46 -46 -46 -46 -46 +4 +47 +47 +47 +47 +47 +47 +47 +47 0 -46 -46 -46 -46 +47 +47 +47 +47 @SRC@/src/host/perf_meter.cpp;_ZN12_GLOBAL__N_112verdict_headB5cxx11ERKN10bottleneck7VerdictE # Func Hash: @@ -130058,42 +130318,42 @@ # Counter Values: 0 0 -1831 -1831 +1840 +1840 64 64 64 -1831 -1831 +1840 +1840 0 -1831 -1831 +1840 +1840 1743 -1831 -1831 -1831 -1831 -923 -923 -923 -0 -761 -147 -33 +1840 +1840 +1840 +1840 +930 +930 +930 +0 +755 +155 +16 0 0 -710 -180 +718 +196 0 0 0 0 0 -475 +463 +14 13 -10 -489 -844 +439 +911 0 0 0 @@ -130136,15 +130396,15 @@ # NumValueSites: 6 1 -9:1831 +9:1840 3 -5:804 -6:115 +5:840 +6:86 4:4 1 -9:1831 +9:1840 1 -9:1831 +9:1840 1 9:64 1 @@ -130157,48 +130417,48 @@ 63 # Counter Values: 0 -414 -460 +405 +450 104 104 2 102 0 -24 -34 -4 +23 +33 +5 0 0 27 -15 +16 0 0 0 0 0 -46 -46 -46 -46 -46 -46 -46 +45 +45 +45 +45 +45 +45 +45 0 -46 +45 40 -46 -46 -46 -46 -46 +45 +45 +45 +45 +45 0 0 0 -46 -6 -46 -46 -46 +45 +5 +45 +45 +45 0 0 0 @@ -130218,7 +130478,7 @@ 0 0 0 -46 +45 @SRC@/src/host/perf_meter.cpp;_ZN12_GLOBAL__N_13pctB5cxx11Ed # Func Hash: @@ -130226,8 +130486,8 @@ # Num Counters: 2 # Counter Values: -1963 -13608 +1975 +13675 @SRC@/src/host/perf_meter.cpp;_ZN12_GLOBAL__N_19take_snapERNS_11MainSamplesE # Func Hash: @@ -130235,9 +130495,9 @@ # Num Counters: 3 # Counter Values: -3594 -5391 -1797 +3614 +5421 +1807 @SRC@/src/host/perf_meter.cpp;__dtor__ZN12_GLOBAL__N_110g_start_muE # Func Hash: @@ -130368,6 +130628,97 @@ 0 0 +@SRC@/src/host/plugin_panel.cpp;_GLOBAL__sub_I_plugin_panel.cpp +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +12 +0 + +@SRC@/src/host/plugin_panel.cpp;_ZN12_GLOBAL__N_111take_cursorEb +# Func Hash: +784007059655560962 +# Num Counters: +2 +# Counter Values: +0 +0 + +@SRC@/src/host/plugin_panel.cpp;_ZN12_GLOBAL__N_112step_pressedEv +# Func Hash: +798733567612224266 +# Num Counters: +5 +# Counter Values: +0 +0 +0 +0 +0 + +@SRC@/src/host/plugin_panel.cpp;_ZN12_GLOBAL__N_15splitERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEc +# Func Hash: +948827212575308274 +# Num Counters: +7 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 + +@SRC@/src/host/plugin_panel.cpp;__dtor__ZN12_GLOBAL__N_111g_last_pageB5cxx11E +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +0 +0 + +@SRC@/src/host/plugin_panel.cpp;__dtor__ZN12_GLOBAL__N_14g_muE +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +0 +0 + +@SRC@/src/host/plugin_panel.cpp;__dtor__ZN12_GLOBAL__N_16g_dragB5cxx11E +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +0 +0 + +@SRC@/src/host/plugin_panel.cpp;__dtor__ZN12_GLOBAL__N_17g_panelE +# Func Hash: +1096621590013681508 +# Num Counters: +4 +# Counter Values: +0 +0 +0 +0 + +@SRC@/src/host/plugin_panel.cpp;__dtor__ZN12_GLOBAL__N_18g_closedB5cxx11E +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +0 +0 + @SRC@/src/host/plugin_ui.cpp;_ZN12_GLOBAL__N_14helpERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: 238984482720105921 @@ -130619,9 +130970,9 @@ @SRC@/src/host/plugins.cpp;_GLOBAL__sub_I_plugins.cpp # Func Hash: -391331301927502568 +135188632785843263 # Num Counters: -6 +7 # Counter Values: 12 0 @@ -130629,6 +130980,7 @@ 0 0 0 +0 @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_110api_configEPKc # Func Hash: @@ -130637,10 +130989,10 @@ 11 # Counter Values: 0 +23 0 -0 -17 -17 +47 +24 0 0 0 @@ -130672,6 +131024,15 @@ 1 0 +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_110input_readEPKcP7BbInput +# Func Hash: +784007056844089447 +# Num Counters: +2 +# Counter Values: +21237160 +41560 + @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_110toml_valueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: 921025923581092279 @@ -130719,7 +131080,14 @@ # Num Counters: 16 # Counter Values: +1 +1 +1 +1 +1 +1 0 +1 0 0 0 @@ -130727,21 +131095,15 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 +1 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 1 -0 +1 +64:1 @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_111api_visitorEPKc # Func Hash: @@ -130788,10 +131150,10 @@ 0 0 0 -1 +2 0 0 -1 +2 0 0 0 @@ -131047,6 +131409,30 @@ # Counter Values: 0 +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_112api_hud_hideEPKci +# Func Hash: +11922954880198963 +# Num Counters: +7 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 + +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_112api_input_asEPKcP7BbInput +# Func Hash: +1063705162558100101 +# Num Counters: +3 +# Counter Values: +41560 +41560 +41560 + @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_112api_mods_dirEv # Func Hash: 742261418966908927 @@ -131061,7 +131447,9 @@ # Num Counters: 12 # Counter Values: +1 0 +1 0 0 0 @@ -131070,9 +131458,7 @@ 0 0 0 -0 -0 -0 +1 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -131081,6 +131467,15 @@ 1 0 +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_112api_pad_takeEPKcjj +# Func Hash: +784007059655560962 +# Num Counters: +2 +# Counter Values: +0 +0 + @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_112overlay_rootB5cxx11Ev # Func Hash: 283216874563488942 @@ -131102,6 +131497,29 @@ 1 0 +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_112plugin_namedEPKc +# Func Hash: +840643510373597764 +# Num Counters: +8 +# Counter Values: +41560 +41560 +0 +41560 +41560 +41560 +41560 +41560 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +1 +9:41560 + @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_112shader_ownerEPKc # Func Hash: 647472252354617550 @@ -131164,11 +131582,11 @@ # Num Counters: 5 # Counter Values: -0 -0 -0 -0 -0 +39 +39 +31 +1 +1 @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_113api_lamp_warpEi # Func Hash: @@ -131273,14 +131691,14 @@ 18 # Counter Values: 0 -0 -1 -0 1 +2 0 +2 0 0 1 +2 0 0 0 @@ -131297,9 +131715,11 @@ # NumValueSites: 3 0 -1 +2 4:1 -0 +9:1 +1 +9:1 @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_113api_on_renderEPKcjPFvPK12BbRenderCallPvES5_ # Func Hash: @@ -131373,6 +131793,98 @@ 0 0 +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_113api_post_lookEPKcPK6BbLookPj +# Func Hash: +1048589065961338362 +# Num Counters: +78 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_113api_set_rulesEPKcS1_ # Func Hash: 1065123700792884891 @@ -131432,15 +131944,15 @@ # Counter Values: 0 0 -8 -8 +9 +9 0 1 4 4 -8 +9 0 -7 +8 1 0 0 @@ -131564,21 +132076,22 @@ # Num Counters: 8 # Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 +41560 +41560 +41560 +41560 +41560 +41560 +41560 +41560 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 1 -0 +1 +64:41560 @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_114api_call_guestEyP10BbCallRegs # Func Hash: @@ -131664,11 +132177,87 @@ 0 0 -@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_114api_plugin_dirEPKc +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_114api_option_setEPKcS1_S1_ # Func Hash: -436054404667393399 +1032643170362079825 # Num Counters: -16 +24 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_114api_panel_showEPKcPK7BbPanel +# Func Hash: +733435318023062047 +# Num Counters: +24 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_114api_plugin_dirEPKc +# Func Hash: +436054404667393399 +# Num Counters: +16 # Counter Values: 0 0 @@ -131714,6 +132303,18 @@ 0 1 +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_114api_world_stepEPKcj +# Func Hash: +694937220574022716 +# Num Counters: +5 +# Counter Values: +0 +0 +0 +0 +0 + @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_114layout_writtenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIhSaIhEE # Func Hash: 100354221115163643 @@ -131777,6 +132378,31 @@ 0 0 +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_115api_panel_stateEPKcP12BbPanelState +# Func Hash: +285492487023099017 +# Num Counters: +11 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_115api_player_warpEjPKff # Func Hash: 978919877896364917 @@ -131812,16 +132438,106 @@ 0 0 -@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_116api_eboot_is_109Ev +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_115api_world_pauseEPKci # Func Hash: -978919879378686009 +283216875863072310 # Num Counters: -4 +8 # Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: 1 +# ValueKind = IPVK_MemOPSize: 1 +# NumValueSites: 1 +0 + +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_115api_world_stateEP12BbWorldState +# Func Hash: +5051151592183161 +# Num Counters: +51 +# Counter Values: +15850 +41560 +79250 +41560 +79250 +0 +41560 +41560 +41560 +25613 +0 +15987 +15850 +41560 +41560 +14968 +1028 +0 +15947 +0 +41515 +0 +0 +41560 +15987 +15850 +0 +15850 +41560 +41515 +41515 +41515 +41515 +0 +0 +15850 +0 +0 +41560 +15987 +0 +15850 +79250 +0 +0 +41515 +41515 +41515 +0 +0 +41560 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +2 1 +64:41560 +1 +17:41560 + +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_116api_eboot_is_109Ev +# Func Hash: +978919879378686009 +# Num Counters: +4 +# Counter Values: +2 +2 +2 +2 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -131829,7 +132545,7 @@ # NumValueSites: 1 1 -64:1 +64:2 @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_116api_eboot_sha256Ev # Func Hash: @@ -132095,6 +132811,16 @@ 1 0 +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_117api_input_take_asEPKcPKtyjii +# Func Hash: +1063705160746808702 +# Num Counters: +3 +# Counter Values: +0 +0 +0 + @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_117api_on_event_flagEPFvjiPvES0_ # Func Hash: 446927415001687523 @@ -132656,10 +133382,36 @@ # Num Counters: 4 # Counter Values: +2 +2 +2 +2 + +@SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_17api_padEP5BbPad +# Func Hash: +726417000092729058 +# Num Counters: +11 +# Counter Values: +41560 +41560 +41560 +0 +0 +0 +0 +0 +253 +0 +0 +# Num Value Kinds: 1 +# ValueKind = IPVK_MemOPSize: 1 +# NumValueSites: 1 1 +33:41560 @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_18api_hookEyPKvyPFiPK11BbHookFramePvES5_ # Func Hash: @@ -132706,9 +133458,9 @@ @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_18entry_ofERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_PK12BbPluginInfoPK8BbOption # Func Hash: -246572270041565626 +613165732327118785 # Num Counters: -58 +68 # Counter Values: 0 0 @@ -132768,6 +133520,16 @@ 0 0 0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_18open_libERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ # Func Hash: @@ -132776,7 +133538,7 @@ 12 # Counter Values: 0 -8 +9 0 0 0 @@ -132801,26 +133563,26 @@ # Num Counters: 109 # Counter Values: -2 +4 13 -2 -2 -2 -2 +4 +4 +4 +4 0 -2 +4 0 0 -2 -2 -2 -2 -2 -2 +4 +4 +4 +4 +4 +4 0 -2 +4 0 -2 +4 0 0 0 @@ -132905,10 +133667,10 @@ 0 0 0 -2 +4 0 0 -2 +4 0 # Num Value Kinds: 1 @@ -132948,13 +133710,12 @@ @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_19api_inputEP7BbInput # Func Hash: -238984481799490044 +784007056844089447 # Num Counters: -3 +2 # Counter Values: 0 0 -0 @SRC@/src/host/plugins.cpp;_ZN12_GLOBAL__N_19api_patchEyPKvS1_y # Func Hash: @@ -133031,7 +133792,7 @@ # Num Counters: 3 # Counter Values: -8 +9 0 0 @@ -133041,6 +133802,14 @@ # Num Counters: 18 # Counter Values: +14969 +14969 +14969 +14969 +14969 +14969 +14969 +14969 0 0 0 @@ -133049,23 +133818,16 @@ 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +14969 +14969 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: 0 # NumValueSites: 1 -0 +1 +** External Symbol **:14969 @SRC@/src/host/plugins.cpp;_ZNSt12_Vector_baseIN12_GLOBAL__N_112FlagCallbackESaIS1_EE11_M_allocateEy # Func Hash: @@ -133084,8 +133846,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +41561 +41561 0 0 @@ -133106,8 +133868,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +14970 +14970 0 0 @@ -133117,8 +133879,8 @@ # Num Counters: 4 # Counter Values: -1 -1 +2 +2 0 0 @@ -133211,7 +133973,7 @@ 0 0 0 -376739 +380698 0 @SRC@/src/host/plugins.cpp;_ZNSt6vectorIN12_GLOBAL__N_114CameraCallbackESaIS1_EE9push_backEOS1_ @@ -133221,11 +133983,11 @@ 6 # Counter Values: 0 +1 0 0 0 -0 -0 +1 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -133240,8 +134002,8 @@ # Num Counters: 11 # Counter Values: -0 -0 +14969 +14969 0 0 0 @@ -133257,7 +134019,8 @@ 1 # NumValueSites: 4 -0 +1 +16:14969 0 0 0 @@ -133421,6 +134184,15 @@ 0 0 +@SRC@/src/host/plugins.cpp;__dtor__ZN12_GLOBAL__N_112g_look_ownerB5cxx11E +# Func Hash: +146835647075900052 +# Num Counters: +2 +# Counter Values: +0 +0 + @SRC@/src/host/plugins.cpp;__dtor__ZN12_GLOBAL__N_112g_plugin_dirB5cxx11E # Func Hash: 146835647075900052 @@ -133588,6 +134360,15 @@ 0 0 +@SRC@/src/host/plugins.cpp;__dtor__ZN12_GLOBAL__N_19g_look_muE +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +0 +0 + @SRC@/src/host/plugins.cpp;__dtor__ZN12_GLOBAL__N_19g_pluginsE # Func Hash: 391331303044993911 @@ -133702,13 +134483,13 @@ # Num Counters: 7 # Counter Values: -128224024 -139376 -157110 -157110 +128105784 +137764 +153053 +153053 0 -157110 -157110 +153053 +153053 @SRC@/src/host/recorder.cpp;_ZN3gpu12_GLOBAL__N_110DrawPacketC2Ev # Func Hash: @@ -133750,7 +134531,7 @@ # Num Counters: 13 # Counter Values: -57979584 +58451436 0 0 0 @@ -133761,8 +134542,8 @@ 0 0 0 -57979584 -57979584 +58451436 +58451436 @SRC@/src/host/recorder.cpp;_ZN3gpu12_GLOBAL__N_112replay_blockERKNS0_5BlockE # Func Hash: @@ -133770,53 +134551,53 @@ # Num Counters: 97 # Counter Values: -4789374 -9100684 +4811676 +9154761 0 0 -192357808 -2417731 +191724476 +2422040 0 -24597877 +25758412 0 0 -190812626 -102039564 +190245019 +100807376 0 0 -12922299 -9100684 +13108783 +9154761 0 0 -4789374 -22594576 -18252865 -1130159 +4811676 +22685041 +18324540 +1141818 0 -1425116 -3015599 +1480866 +3043595 0 0 -217105 -5596644 -1575255 -940126 -801998 -1350058 -281536 +216252 +5654343 +1579683 +945913 +804199 +1354487 +287951 0 -1506671 -225197 +1534686 +225196 0 -1555779 -773257 -97161685 -2798318 -2798326 -1545182 +1573922 +775484 +95887480 +2827167 +2827176 +1479457 0 0 -2798318 +2827167 0 0 0 @@ -133861,12 +134642,12 @@ 0 0 0 -1187323 -2372639 -12922299 -10549660 +1176333 +2420690 +13108783 +10688093 0 -166869 +170429 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -133874,7 +134655,7 @@ # NumValueSites: 1 1 -** External Symbol **:773262 +** External Symbol **:775490 @SRC@/src/host/recorder.cpp;_ZN3gpu12_GLOBAL__N_113append_recordENS_6stream2OpEy # Func Hash: @@ -133885,16 +134666,16 @@ 0 0 0 -90318264 -102039567 -90318264 -102039567 +90917120 +100807413 +90917120 +100807413 0 -70074 -102039567 +69953 +100807413 0 0 -49978 +49383 0 0 0 @@ -133907,20 +134688,20 @@ # Num Counters: 14 # Counter Values: -103726895 -102039566 +102500856 +100807413 0 -102039566 -99241247 -2798319 -19100839 -999846 +100807413 +97980246 +2827167 +19841217 +988918 0 -19060265 -225633 +19799169 +236938 0 -102039566 -185059 +100807413 +194890 @SRC@/src/host/recorder.cpp;_ZN3gpu12_GLOBAL__N_113replay_packetERNS0_10DrawPacketEP17VkCommandBuffer_TPKS1_PKjS8_ # Func Hash: @@ -133928,96 +134709,96 @@ # Num Counters: 90 # Counter Values: -19279618 -0 -157135 -0 -1063745884 -157135 -0 -139387 -157135 -23399957 -82939132 -121562878 -23399957 -23399957 -12951570 -0 -1766048 -4261051 -17740951 -50669171 -10303559 -122502678 -259493 -35934244 -36679454 -34151727 -37537152 -30285863 -21768590 -36165747 -119517695 -3787048 -0 -122502677 -40385457 -23399957 -23399957 -11878703 -0 -23399957 -23399957 -23399957 -23399957 -23399957 -10303559 -10303559 -0 -10303559 -25642209 -10303559 -26382210 -10303559 -23974035 -10303559 -27276097 -10303559 -19982304 -21768590 -23399575 -10303559 -10303559 -10303559 -20412093 -10303559 -22043078 -10303559 -10303559 -867824 -9377065 -10303559 -2774085 -2774085 -0 -0 -98706867 -100262646 -5989000 -5355912 -0 -0 -0 -0 -40365612 -82939132 -122502678 -0 -0 -23399957 -35297924 -1281191 +19340431 +0 +153079 +0 +1059907538 +153079 +0 +137773 +153079 +24487614 +83562806 +121368786 +24487614 +24487614 +13102027 +0 +1786220 +4280881 +17913712 +50221008 +10658465 +122308032 +253702 +37086547 +37828613 +35222869 +38600946 +31434054 +22697580 +36272992 +119158775 +3966573 +0 +122308031 +40979202 +24487614 +24487614 +12387069 +0 +24487614 +24487614 +24487614 +24487614 +24487614 +10658465 +10658465 +0 +10658465 +26439817 +10658465 +27180841 +10658465 +24692120 +10658465 +27965646 +10658465 +20775589 +22697580 +24487240 +10658465 +10658465 +10658465 +21247670 +10658465 +23037330 +10658465 +10658465 +865521 +9708424 +10658465 +2806796 +2806796 +0 +0 +97366937 +98940859 +5987833 +5348957 +0 +0 +0 +0 +39562543 +83562806 +122308032 +0 +0 +24487614 +35407471 +1298585 # Num Value Kinds: 2 # ValueKind = IPVK_IndirectCallTarget: @@ -134025,19 +134806,19 @@ # NumValueSites: 1 1 -** External Symbol **:121563500 +** External Symbol **:121369423 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 2 3 -8:23399205 -16:236 -17:134 +8:24486914 +16:210 +17:116 3 -8:22042708 -16:236 -17:134 +8:23037004 +16:210 +17:116 @SRC@/src/host/recorder.cpp;_ZN3gpu12_GLOBAL__N_114ensure_startedEv # Func Hash: @@ -134047,7 +134828,7 @@ # Counter Values: 24564 12276 -199201255 +196694933 0 12 12 @@ -134082,16 +134863,16 @@ # Num Counters: 10 # Counter Values: -102039563 -43192797406 -76524662 -77926822 -72645844 -1402152 +100807374 +42260257903 +74703237 +76043401 +70655092 +1340156 0 12 -1504742 -43264039149 +1456508 +42329570567 @SRC@/src/host/recorder.cpp;_ZN3gpu12_GLOBAL__N_17flag_opENS_6stream2OpEjPv # Func Hash: @@ -134099,9 +134880,9 @@ # Num Counters: 4 # Counter Values: -13890063 -13890063 -13890063 +13966440 +13966440 +13966440 0 @SRC@/src/host/recorder.cpp;_ZN3gpu12_GLOBAL__N_18in_placeEPv @@ -134110,14 +134891,14 @@ # Num Counters: 8 # Counter Values: -2018984 +2028340 0 0 -2017952 -421368 -2017952 -119955 -2018984 +2027308 +421665 +2027308 +119240 +2028340 @SRC@/src/host/recorder.cpp;_ZN3gpu12_GLOBAL__N_19before_opEPv # Func Hash: @@ -134125,10 +134906,10 @@ # Num Counters: 4 # Counter Values: -92095183 -969199 +92783635 +1009651 0 -682112 +698077 @SRC@/src/host/recorder.cpp;_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPSt4pairIPvyESt6vectorIS4_SaIS4_EEEExS4_ZN3gpu15recorder_reportB5cxx11EvE3$_0EvT_T0_SD_T1_T2_ # Func Hash: @@ -134416,58 +135197,58 @@ # Num Counters: 52 # Counter Values: -28962661 -3623567 -62776680 -62786426 -62786488 -62781968 -14979 -791079 -4164164 -25825 -7788651 -39400953 -39385487 -4164333 -14979 -0 -54663709 -39400659 -25826 -3374604 -3623755 -39400486 -28961335 -25823 -28962745 -25824 -25822 -14982 -129187507 +31347664 +3978311 +67744064 +67756109 +67756472 +67753173 +15970 +841636 +4429871 +26633 +8409458 +42479194 +42461645 +4430683 +15970 +0 +59152106 +42478397 +26633 +3590300 +3978382 +42478824 +31345673 +26633 +31346290 +26631 +26633 +15969 +129018212 1 1 -13872696 -13368856 -13861295 +14854114 +14344172 +14841288 1 1 -13371242 +14345609 1 1 -13370582 +14345759 1 1 1 -13860799 +14841790 0 -33413463 -25818 -25821 -14981 -54661208 -6254146 -6254407 +36053716 +26631 +26635 +15970 +59148710 +6219795 +6220027 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -134475,7 +135256,7 @@ # NumValueSites: 1 1 -17:13362677 +17:14335824 @SRC@/src/host/render.cpp;_Z15scene_3d_targetRKN3gpu12_GLOBAL__N_19DrawStateE # Func Hash: @@ -134483,17 +135264,17 @@ # Num Counters: 11 # Counter Values: -64330642 -584114040 -514636152 -586659 -450279445 -3721232 -3721232 -73012392 -586576 -465163 -1173148 +65054323 +592022072 +520413592 +614957 +455337582 +3899848 +3899848 +74002290 +614953 +487487 +1229832 @SRC@/src/host/render.cpp;_Z16look_camera_drawRKN3gpu12_GLOBAL__N_19DrawStateE # Func Hash: @@ -134501,12 +135282,12 @@ # Num Counters: 7 # Counter Values: -39931098 -38446878 -33314777 -26857617 -26857446 -26857710 +41857894 +40361588 +35083592 +28304769 +28305233 +28305010 0 @SRC@/src/host/render.cpp;_Z19anisotropy_samplersRKN3gpu12_GLOBAL__N_19DrawStateERNS_11StageImagesE @@ -134515,14 +135296,14 @@ # Num Counters: 12 # Counter Values: -26413519 -26413732 -26413615 -26413412 -129179023 -12198595 -7627188 -7627753 +26304924 +26304961 +26304614 +26304528 +129012174 +12159075 +7587581 +7588307 1 1 1 @@ -134534,24 +135315,24 @@ # Num Counters: 18 # Counter Values: -25001 -3842 -165946565 -98594911 -28843 -25001 -13561 -24603 -96359713 -90654660 -2597844 -90650420 -90628468 -88081401 -88056816 -88056816 -181309320 -90625817 +52710 +3838 +169049438 +97333222 +56548 +52710 +24082 +52313 +95070295 +89412114 +2645965 +89407879 +89386027 +86818436 +86766149 +86766149 +178824228 +89355566 @SRC@/src/host/render.cpp;_ZL13onepass_facesPKfPA16_f # Func Hash: @@ -134581,10 +135362,10 @@ # Num Counters: 61 # Counter Values: -5602654 +5557511 0 -5602653 -5602653 +5557511 +5557511 0 0 0 @@ -134593,12 +135374,12 @@ 0 0 0 -5602653 +5557510 0 0 0 0 -5602653 +5557511 0 0 0 @@ -134630,7 +135411,7 @@ 0 0 0 -5602653 +5557511 0 0 0 @@ -134731,9 +135512,9 @@ @SRC@/src/host/render.cpp;_ZL9draw_implRK7GpuDraw # Func Hash: -1020030305586787198 +1050400163195924923 # Num Counters: -4455 +4475 # Counter Values: 0 0 @@ -134771,13 +135552,13 @@ 0 0 0 -96359682 -35406415 -106219245 -106219245 -106219245 -2623254638 -10668 +95070265 +36065775 +108197325 +108197325 +108197325 +2612396644 +10682 36 0 0 @@ -134785,12 +135566,12 @@ 0 0 0 -28 -28 -271579299 -1072241808 -4 -301531512 +33 +33 +269752043 +1068897056 +2 +308559960 0 0 0 @@ -134798,93 +135579,93 @@ 0 0 0 -129187576 +129014591 0 -96359679 +95070263 0 -175402359 -175401283 -518995750 +180352991 +180364432 +517460836 0 -96359682 -839171266 +95070265 +835824957 0 0 -6022473 -37691643 -6022473 -134052054 -126965798 -6022473 -37647640 -134049370 -134059070 -37711013 +5941885 +38582906 +5941885 +133647578 +126414507 +5941885 +38542239 +133650397 +133644336 +38591577 0 -96359682 +95070265 0 -134043043 -37714568 -134052650 -96359676 -175397402 +133621020 +38588615 +133630951 +95070258 +180351928 0 0 -9382371 -8381670 -96359682 +10115443 +8356103 +95070265 0 -5602653 -5602653 -96359676 +5557511 +5557511 +95070258 0 0 -766352 +765828 0 0 0 0 -115318049 -134052528 +114168371 +133648454 0 -8632 +8643 36 36 -27 -8632 +33 +8643 36 -96359682 +95070265 0 0 0 0 -102399 +100666 0 0 -27 +33 0 -123115844 +122996509 0 -84039795 -16807959 -84039795 +83362635 +16672527 +83362635 0 -2359308 -128314289 +2414337 +127945884 0 -8632 +8643 36 0 0 -5602653 +5557511 0 0 -27 -8632 -8632 +33 +8643 +8643 0 0 -102399 +100666 0 0 0 @@ -134894,17 +135675,17 @@ 0 0 0 -123595265 +123473052 0 0 -122252722 -49440 +122122027 +49436 0 0 0 -47658 +47656 0 -112628961 +111959036 0 0 0 @@ -134914,15 +135695,15 @@ 0 0 0 -17557253 -102399 -37690846 -37735171 +17407983 +100666 +38567291 +38616707 0 0 -37678779 -8632 -8632 +38571989 +8643 +8643 0 0 0 @@ -134930,37 +135711,37 @@ 0 0 0 -775095084 -37666764 -96359683 -96359683 +774089892 +38542481 +95070265 +95070265 0 0 0 -258376292 +258031604 0 -215 -99441821 +205 +98772355 0 -376768 +380645 0 0 0 -5602653 -102399 +5557511 +100666 0 -28452816 +28759558 0 0 0 0 -4428 +4424 0 -258331390 +257996656 0 -215 +205 0 -36208643 +37027475 0 0 0 @@ -134968,59 +135749,59 @@ 0 0 0 -330011208 +329295182 0 -537810128 +536625483 0 -218924640 +218250398 0 0 0 -1767292 -14885418 -36210859 -1767410 -126966738 -126971349 +1932771 +14720681 +37030222 +1933057 +126423772 +126426954 0 0 0 -96359683 -218873362 +95070265 +218205298 0 -76802 +73603 0 -215 +205 0 0 0 -126900742 -1782 +126361292 +1780 0 0 0 -32 +34 0 76 -126974715 -126977073 +126427095 +126431142 0 0 0 0 -126996437 +126457367 0 -134077818 -127000306 -1338 +133665256 +126456296 +1082 0 -658893 -832472 +704353 +761780 0 0 -1690111 -134079088 -198 +1852166 +133668064 +210 0 0 0 @@ -135032,148 +135813,148 @@ 0 0 0 -126997025 +126451486 0 0 -126973855 -126980963 +126432200 +126434602 0 0 0 0 -134021467 -1338 -11205306 -220285 -832353 +133615461 +1082 +11115022 +230347 +761630 0 0 0 0 -198 -133977293 +210 +133567961 0 -134063420 -12649867 -66603296 -127982706 -1535370 -307074 -1535370 -9353386 +133659516 +12683529 +66077784 +127615887 +1509360 +301872 +1509360 +9307819 0 -1938 +1936 0 -126963569 +126421580 0 0 -114327483 -12649867 -114361354 -832352 -59802065 +113743660 +12683529 +113786260 +761641 +58496529 0 0 -126898775 +126355772 0 0 -127990928 -5602653 -5602653 -7081283 -77262 +127617013 +5557511 +5557509 +7213155 +80853 0 0 -1938 +1936 0 -1938 +1936 0 0 0 0 -12649867 +12683529 0 0 0 0 0 -120908180 -120746492 -127958738 -61 +120408143 +120237191 +127596789 +32 0 0 0 0 0 -129180766 -129184939 -129186714 -12649867 -76628533 -192691468 -149326 -832409 +129011814 +129018688 +129013500 +12683529 +75173581 +190106518 +150302 +761674 0 0 -37724990 +38607977 0 0 -12649867 -120743867 +12683529 +120236447 0 -120891400 -120904955 -44704610 -129179687 -129208145 -129178667 -129183111 -129187171 +120385529 +120410720 +44709269 +129005517 +129039295 +129009490 +129017923 +129022136 0 0 -129191692 +129012485 0 0 -129200479 +129030315 0 -61 +32 0 0 -128708893 -128707968 -13869938 +128533442 +128526035 +14851689 0 0 0 0 0 -129191936 -129195634 +129017174 +129024709 0 0 0 -32861321 +33983413 0 -76628533 +75173581 0 0 -832407 +761697 0 -129215391 -129182058 +129044430 +129033563 0 0 -122105568 -6022473 -5602653 -6022473 -193673535 +121807184 +5941885 +5557509 +5941885 +191730166 0 0 0 0 -7081283 +7213155 0 0 0 @@ -135182,11 +135963,11 @@ 0 0 0 -572401249 +570661281 0 0 0 -74898693 +72646731 0 0 0 @@ -135194,59 +135975,59 @@ 0 0 0 -5602653 -4869383 -83196578 -5602653 +5557511 +4626084 +81818288 +5557509 0 -11283199 +11222932 0 0 0 0 0 -129193180 -122118750 +129019035 +121815675 0 0 -129196305 -767506 +129027322 +766809 0 0 -9382116 -9382457 -9381798 +10114125 +10114633 +10114966 0 0 28 -24 -8 -115316287 -115318376 +23 +7 +114167783 +114168553 0 0 0 0 -11514468 +11421841 0 -832418 +761691 0 -123117469 +122996279 0 -7081283 +7213155 0 0 -7081283 +7213155 0 -524379416 -323450614 -227191928 -572403962 +523398601 +322891984 +226861923 +570664291 0 0 0 0 -6022472 +5941881 0 0 0 @@ -135254,19 +136035,19 @@ 0 0 0 -5602653 -12273099 +5557511 +12302884 0 -12273099 +12302884 0 -4142805 -20714025 -12428415 +4196185 +20980925 +12588555 0 0 0 0 -9382402 +10114685 0 0 0 @@ -135274,32 +136055,32 @@ 0 0 0 -5602653 +5557511 0 0 -5489 -129095098 +5518 +128925925 0 0 +200 0 0 -65681880 +67904386 0 -128715958 -128720568 -1152 -766353 +128552429 +128554150 +981 +765828 0 -9382199 -9383808 -170 +10114902 +10116756 0 0 0 0 0 -524378864 -323460914 +523396426 +322886475 0 0 0 @@ -135307,9 +136088,9 @@ 0 0 0 -102363 +100630 36 -832626 +761812 0 0 0 @@ -135317,21 +136098,21 @@ 0 0 0 -5602653 -5602653 -5602653 +5557511 +5557511 +5557509 0 0 0 0 -102358 +100624 0 0 0 0 0 0 -2958487440 +2948345360 0 0 0 @@ -135346,29 +136127,29 @@ 0 0 0 -102363 -37651860 -128719539 -128693588 +100630 +38547933 +128553483 +128519112 0 -1152 +981 0 0 0 0 0 -5602653 +5557509 0 0 0 0 0 -37728470 +38610054 0 36 +6 0 0 -6 0 0 0 @@ -135376,10 +136157,10 @@ 0 0 0 -167 -129195788 -127235736 -20142298 +189 +129028132 +127085734 +20196450 0 0 0 @@ -135387,41 +136168,42 @@ 0 0 0 -102358 +100624 0 0 0 -36807 -763551 +36932 +765441 0 0 0 0 0 -5 -122234766 -89642448 -89642448 +6 +122103092 +88920144 +88920144 0 0 0 0 0 0 -126804 +126650 0 -32856205 -129173624 -129205468 +33979242 +128993354 +129035463 0 +41640 0 -378408016 -255103709 +375409959 +254836899 0 6 6 -256667083 -256671776 +256328078 +256371984 0 0 0 @@ -135429,45 +136211,44 @@ 0 0 0 -302669443 +294458064 0 0 -167 -40413 -41503198 +189 +40233842 0 0 0 -41503158 -96359640 +40234956 +95070221 0 0 0 -102358 -1152 +100624 +981 0 -628540 -27119926 +612324 +27422710 0 0 -134338 +134318 0 0 -7081283 -6022472 -32857192 -740900 +7213155 +5941881 +33979572 +746120 0 0 0 0 -6022472 +5941881 0 -127568458 -217196078 +127434695 +216616163 0 0 -78437142 +77805126 0 0 768 @@ -135485,65 +136266,65 @@ 0 0 0 -89278357 -89278357 -5358 -227283745 +87857066 +87857066 +5365 +226954936 0 0 0 0 -129189375 -32862013 -37044768 +129022473 +33982794 +37920670 0 0 -205976125 -1292567 +205523439 +1298728 0 0 -5602653 +5557509 0 -96359639 -96359639 -5602653 -96359639 -52789991 -97302042 -127554861 -52788608 -627502 -378405526 +95070221 +95070221 +5557509 +95070221 +54014605 +97439600 +127432062 +54013720 +644883 +375402014 0 -134338 -154633967 +134318 +150955478 0 0 -102358 +100624 0 -256612448 +256243376 0 -41070 -47896760 -65418979 -5358 +37551 +47408477 +64791933 +5365 0 0 0 -302669443 +294458064 0 0 0 0 -127120563 +126988208 0 0 -255142571 -255145315 +254880684 +254874901 0 0 0 -59878869 +58570132 0 0 0 @@ -135553,26 +136334,27 @@ 0 0 0 -107840537 +107554111 0 0 0 -129217049 -129179094 -129151043 +129050806 +129003060 +128989307 6 0 0 0 0 0 -7081283 -59802065 +7213155 +58496526 0 0 +1874371 0 -127588230 -113062061 +127461019 +113251425 0 0 0 @@ -135581,54 +136363,54 @@ 0 0 0 -203700626 -9805039 +203233911 +9773457 0 0 0 0 0 -5358 -166429885 +5365 0 -1152 +981 +165844504 0 0 -5358 +5365 0 0 0 0 -134338 -227257545 -255001913 -255020239 -255065593 +134318 +226929218 +254724979 +254747548 +254794972 0 -167 +189 0 0 0 0 0 -97369199 +97492926 0 0 0 0 -11833846 -32857817 -129187829 -129188828 +11727342 +33979652 +129021427 +129022481 0 0 0 -142051671 +139232055 0 0 0 -74939488 -5358 +75063923 +5365 0 0 0 @@ -135638,19 +136420,18 @@ 0 0 0 -7829496 -42092284 -42092414 +7796515 +41620633 +41621458 0 0 -66603296 -41974 +66077784 +41172 0 0 -254564170 +254330080 0 0 -1082536179 0 0 0 @@ -135658,25 +136439,26 @@ 0 0 0 +1079118184 0 -92216833 +90874033 0 0 0 0 0 -10508501 +10388128 0 0 0 -102358 -9352624 -9354370 -9354246 -12857654 +100624 +9307107 +9308845 +9308698 +12837990 0 -76802 -1690250 +73603 +1852325 0 0 0 @@ -135686,26 +136468,25 @@ 36 0 0 -62477700 -0 +64798463 0 -5602653 -5602653 0 +5557509 +5557509 0 0 -113063494 0 +113252580 0 0 0 0 0 -59802067 0 -203709145 +58496529 +203231751 0 -9353429 +9307850 0 0 0 @@ -135714,12 +136495,12 @@ 0 0 0 -166435788 0 0 0 0 0 +165827620 0 0 0 @@ -135728,22 +136509,22 @@ 0 0 0 -65455496 -65458051 0 +64825919 +64828712 0 0 0 0 -7081283 -129186453 -129189301 -129186675 -129191435 0 +7213155 +129024292 +129024919 +129022216 +129024031 0 -74943699 0 +75066964 0 0 0 @@ -135754,35 +136535,35 @@ 0 0 0 -126331685 0 +123603754 0 0 0 0 0 0 -7829490 -42096439 0 -1237628728 +7796506 +41626528 0 +1208340256 0 0 -41070 -9352610 0 +37551 +9307081 0 -149326 0 -46191634 +150302 0 -62480511 -22651 0 +64800653 +19321 0 +45740618 0 -5602653 +5557509 0 0 0 @@ -135791,13 +136572,14 @@ 0 0 0 +41540 0 0 0 -166437718 -128587561 -37077 +125853196 +37198 0 +165836446 0 0 0 @@ -135806,9 +136588,9 @@ 0 0 0 +38850 +113252036 0 -38793 -113062974 0 0 0 @@ -135816,10 +136598,10 @@ 0 0 0 -127874903 +127703633 0 -9353524 -119984 +9307948 +119258 0 0 0 @@ -135830,12 +136612,12 @@ 0 0 0 -7829459 +7796542 0 0 0 -125646357 -134338 +134318 +125518420 0 0 0 @@ -135878,20 +136660,20 @@ 0 0 0 -65456156 +64827335 0 0 0 0 0 -5602653 +5557509 0 0 0 0 0 0 -74947559 +75068212 0 0 0 @@ -135900,19 +136682,18 @@ 0 0 0 -129184630 -129182386 +129021038 +129015875 0 -7572233 -129172623 +7498923 +129001495 0 -203206132 +202691244 0 0 -4139360 -37077 -37077 -37077 +37198 +37198 +37198 0 0 0 @@ -135922,6 +136703,7 @@ 0 0 0 +4119833 0 0 0 @@ -135934,15 +136716,15 @@ 0 0 0 -125692303 0 0 0 0 0 0 +129003707 +125546956 0 -129174866 0 0 0 @@ -135953,17 +136735,16 @@ 0 0 0 -85051332 -128587563 +84650853 +125853197 0 0 0 -37077 +37198 0 0 0 0 -5358 0 0 0 @@ -135971,18 +136752,20 @@ 0 0 0 +5365 0 0 0 0 -126832 +126677 +41439 0 0 -5602653 +5557509 0 0 0 -1531748 +1684922 0 0 0 @@ -135996,19 +136779,17 @@ 0 0 0 -122115756 -32851824 +121820031 +33975922 0 -32509 -127977902 -7829450 -158611 +32582 +127804824 +7796541 +167485 0 0 0 -40242 0 -96359637 0 0 0 @@ -136025,11 +136806,12 @@ 0 0 28 +95070218 0 0 0 0 -170998828 +169755612 0 0 0 @@ -136040,25 +136822,25 @@ 0 0 0 -96359641 0 -109434247 +95070222 0 -102358 +109103785 0 +100624 0 -7572234 0 +7498922 0 0 0 -106390060 0 +103978008 0 0 0 -85051212 0 +84653020 0 0 0 @@ -136072,34 +136854,37 @@ 0 0 0 +1654 0 -1716 0 0 0 0 -5602653 -586043904 -586043904 -792823933 -127600916 0 +5557509 +574644248 +574644248 +781220285 +127471786 0 0 0 0 0 -134338 +0 +0 +134318 0 0 0 0 -60 0 0 28 0 0 +60 +0 0 0 0 @@ -136113,25 +136898,24 @@ 0 0 0 +5557509 +5557509 0 0 -5602653 -5602653 0 0 0 0 0 0 +1609984 0 -1637728 +121340217 +107966016 0 -121637184 -108304570 -25956235 0 +1561140 0 -1598069 0 0 0 @@ -136140,6 +136924,7 @@ 0 0 0 +26875065 0 0 0 @@ -136147,31 +136932,31 @@ 0 0 0 +127243028 0 0 -127388345 0 0 +258004754 0 -258380536 0 0 0 -302937489 -3331946 -3331874 -792823933 +294743779 +3390120 +3390048 +781220285 12 0 0 0 0 -134338 -939218290 +134318 +913509702 0 0 -56363893 -56371840 +58468681 +58477680 0 0 0 @@ -136202,17 +136987,17 @@ 0 0 0 -5974210 +5937832 0 0 0 0 -5602653 -5602653 +5557509 +5557509 0 -792823933 +781220285 0 -31256896 +32418134 0 0 0 @@ -136241,7 +137026,7 @@ 0 0 0 -1674 +1600 48 48 48 @@ -136251,17 +137036,17 @@ 48 48 0 -239340166 -171011640 +232487383 12 0 0 -103763403 -108310713 +103480536 +107972190 0 -1598070 -45589 +1561142 +45187 72 +170323202 0 0 0 @@ -136286,16 +137071,16 @@ 0 0 0 -45592 +45190 0 0 0 0 -5974210 -5602653 -1586870 +5937832 +5557509 +1589690 0 -156932309 +153282080 0 0 0 @@ -136304,28 +137089,28 @@ 0 0 0 -56912719 0 0 48 0 0 0 +353816 +7213155 0 -355274 -7081283 0 +55937621 +58470806 +186108 0 -56364772 -7699991 -186646 0 0 0 0 0 +7840826 0 -120900155 +120398543 0 0 0 @@ -136334,7 +137119,6 @@ 0 0 0 -5322 0 0 0 @@ -136347,14 +137131,15 @@ 48 48 0 -102721707 -1292599 -108315338 -63597323 -63597323 -102358 +5329 +102434077 +1298752 +107977409 +62256396 +62256396 +100624 0 -235137904 +41640 0 0 0 @@ -136362,6 +137147,8 @@ 0 0 0 +200 +244280104 0 0 0 @@ -136369,51 +137156,48 @@ 0 0 0 -40413 12 0 0 0 0 0 -170 0 -1598069 +1561144 0 -168777 -60 +167822 0 0 0 -60 -60 -60 -60 -60 -124567386 0 0 0 0 0 0 +60 0 0 0 -235526224 -148000905 +60 +60 +60 +60 +60 +124423574 0 0 0 +244806592 +154792411 0 0 48 48 48 48 -1586870 -154712840 -0 +1589690 +151054043 0 0 0 @@ -136424,133 +137208,131 @@ 0 0 0 -1292597 -355278 -355276 0 -102358 -102358 +1298756 +353808 +353774 0 +100624 +100624 0 0 -147640920 -65051818 0 +67251433 0 0 0 -626752 0 -127380661 +643720 +154296084 0 +127243887 0 0 0 0 -36 0 -102721460 -108315238 -37065 -37065 -106215502 0 -24 -102358 +102433424 +107976468 +37186 +37186 +105903711 0 -31040621 +36 +100624 +32183881 0 0 +24 0 0 0 -96359640 +95070219 +41640 0 0 0 0 0 0 -124570743 -148000494 0 0 -31042455 -31064490 -40413 0 +32185308 +32217554 +124425397 +154792369 0 0 -12 0 0 -127233343 0 +127080007 0 -126087698 -24753906 -24759393 -31036607 -96359640 -31040461 -127329207 0 +125926909 +32177550 +12 +25947900 +25953547 +95070220 +32182049 +127189455 0 0 0 0 0 0 -122918544 -122967735 0 0 0 +128386711 +128434943 0 0 0 0 -1586870 -78870 -154703594 0 +1589690 +98562 +151042532 0 -125774670 -125775738 -168778 0 +125645526 +125648120 +167821 0 0 0 0 0 0 -409432 0 +402496 +41440 0 -102358 0 +100624 0 -96359640 -26344765 0 +95070220 +26951610 0 0 0 0 12 0 -40243 0 0 -1598067 0 +1561134 0 -674517459 -770877096 0 -76628490 0 +75173536 0 0 0 @@ -136599,31 +137381,33 @@ 0 0 0 -36509292 0 -59802067 -1219822 +665491533 +760561752 +37365985 0 +58496528 +1244408 0 -96359640 0 +95070220 0 0 -8175045 0 +8140360 0 0 -126094354 -266087 -41974 -126804 -96359640 0 +125932613 +274972 +41172 +126650 +95070220 0 0 0 -28 0 +28 0 0 0 @@ -136635,32 +137419,34 @@ 0 0 0 -89318561 0 0 -99428659 -81493689 -10508465 -10820664 -10775451 -85507007 0 +98696365 +80942985 +10388112 +10699514 +10654632 +84884427 +88081019 0 0 +41640 0 0 0 0 -1586870 -53195031 -31064253 -31073747 -31009439 +1589690 +51989005 +32217059 +32228685 +32153475 12 -12078986 -99350052 -40413 -239479579 +0 +14796687 +110852772 +110817614 +98617726 0 0 0 @@ -136676,9 +137462,10 @@ 0 0 28 -29439709 -48409648 -48409648 +232621842 +47167993 +47167993 +41440 0 0 0 @@ -136716,10 +137503,11 @@ 0 0 0 +30595952 0 -26345140 -26345694 -73255490 +26952066 +26952738 +71830532 0 0 0 @@ -136729,14 +137517,10 @@ 0 0 0 -40243 0 0 0 -134348 -191761024 -344723936 -939506463 +134328 0 0 0 @@ -136744,18 +137528,21 @@ 0 0 0 +493412 0 -486347 0 +189177900 +336538525 +926934638 0 0 0 0 -134338 -134338 +134318 +134318 0 0 -7819807 +7786584 0 0 0 @@ -136767,14 +137554,14 @@ 0 0 0 -125996922 -266090 +125837366 +274979 0 0 0 0 0 -41974 +41172 0 0 0 @@ -136786,37 +137573,36 @@ 0 0 0 -1597904 +1561081 0 0 -29440647 0 0 0 -99425639 -10508477 -10508515 -134338 -134338 +98695558 +10388127 +10388134 +134318 +134318 +41540 +12885007 +30598142 0 0 0 -70860586 +69392152 +1589690 +87051 0 0 0 -157123 -1586870 -69624 -36 0 -40328 -12040576 -40328 -355276 +153069 +353817 0 0 -125774725 +41540 +36 28 0 0 @@ -136825,47 +137611,45 @@ 0 0 0 -486335 -29443029 +493400 +125640982 +41440 0 -96359639 -96359639 -96359639 -96359639 0 0 0 0 +30606929 0 0 -13820364 +95070222 +95070222 +95070222 +95070222 +14798120 0 -73254398 -711063 -60614 -60614 +71829443 +720066 +75739 +75739 0 0 0 0 0 -102358 +100624 0 -40243 0 -39229500 0 0 0 0 -103400715 -344723936 0 0 -0 -126010208 -134348 -763554 +125857358 +134328 +765443 +40438195 0 0 0 @@ -136883,112 +137667,116 @@ 0 0 0 +102059419 +336538525 0 0 0 -7819805 -7820465 0 +7786577 +7787262 0 -61202421 -86203998 -59982795 0 +59818016 0 0 0 0 0 -266095 -12 -36 +86878143 +58678999 0 +274975 0 -29336628 0 0 +12 +36 0 -29439916 -29437605 -28 +30466537 0 0 0 0 -10508501 +10388129 60 -134338 +134318 +41540 +1104820 +41540 +0 +30598219 +30598646 +33 +638347 24 -632602 -125785931 -125519027 0 -40328 -1058569 -40328 +125655056 +125393767 0 0 0 -259493 0 -125691147 +5305 0 -830906 -46154865 -46169626 0 -124382689 -92216836 -831385 0 0 -5303 +253705 0 +125535715 0 +760313 +45693837 +45717745 0 +124198396 +90874036 +760245 0 0 0 +1 0 0 0 0 -4142805 0 0 -53058039 -13820408 -11606648 -72769144 -240 +4196185 +14798335 +12449143 +71337122 0 +1104820 +41540 +54048629 0 0 0 0 -1 -96 -102358 +240 +100624 0 -9658166 -9658166 +9574136 +9574136 +96 0 -5358 +5365 +41172 0 +10 0 -39990010 -40843156 -33586609 -344723946 -41974 0 -10 -29394051 -1058569 +41206637 +41966502 +34799368 0 0 +336538525 0 0 +30536341 60 60 60 @@ -136996,12 +137784,13 @@ 0 0 0 -5358 -5358 0 -249557 -259493 0 +5365 +5365 +245053 +0 +253705 0 0 0 @@ -137015,72 +137804,74 @@ 0 0 0 +15985 0 -5602653 0 -101009137 -101010938 0 0 -14989 -0 0 0 +5557509 0 +100755606 +100755700 0 0 +134328 0 -29441737 +60 +60 +1033511 0 0 +30605770 0 0 -28 0 +33 0 -134348 -60 -60 +638347 0 24 -632602 -22441801 -91708041 0 0 +22297747 +90375459 0 -5298 +0 +0 +5305 0 0 60 -5358 -5322 +5365 +5329 60 0 -991058 0 0 -96 -125697648 -46157389 -46169557 -0 -92216836 -125802271 -92216836 -92216836 +5305 0 0 0 0 -5303 -28013116 0 0 +96 +125544127 +45697313 +45715823 0 +90874036 +125672403 +90874036 +90874036 0 0 0 +29098387 +1 +1 24 24 24 @@ -137089,39 +137880,32 @@ 0 0 0 +14798014 +1209507 0 0 -96359640 -13820158 -1134577 0 +10 +41540 0 +95070219 0 -5358 -5358 +5365 +5365 0 -10 +100624 0 0 0 36 36 24 -0 -1 -1 -102358 -37445264 -96 -96 -344723946 10 10 -0 -0 -120188187 -28056243 -28058191 +38565248 +96 +96 +336538525 0 0 60 @@ -137129,15 +137913,16 @@ 0 0 0 +120100906 +29162967 +29164778 0 0 +1562339 +119258 0 0 -1573979 -119984 -125303730 0 -157135 0 0 0 @@ -137145,31 +137930,28 @@ 0 0 0 -4637745 -4637990 0 0 -36 -5298 -5298 +125173539 0 +153081 0 0 -14764 -125633389 +12340 +4586373 +4586753 0 12 -7887 -125798769 -125771605 +6983 +36 +5305 +5305 0 0 +125497215 +5305 0 -101010341 -5298 0 -23384902 -23386589 0 0 0 @@ -137178,153 +137960,167 @@ 0 0 0 +15985 +125665899 +125602605 0 0 -14989 0 +100755760 0 0 +41172 0 -41974 +24523870 +24526076 +1 +1 0 -157135 -157135 +134318 +134318 0 -134338 -134338 0 +41439 +41439 0 0 0 0 0 -34970 -632602 0 0 +153081 +153081 +638347 0 -5358 -36 +0 +0 +32660 28 28 28 0 0 -1 -1 -0 0 -125599745 +5365 +36 +89128 0 -40242 -40242 0 0 -88746 -96 -96 -19731150 -46160228 -46165628 0 -92216836 +125465404 10 10 0 -5303 -102358 0 0 +5305 +100624 +96 +96 +19896684 +45705410 +45712196 +90874037 +0 0 0 0 60 0 0 -125673034 0 -102358 -120016199 -5602653 0 +10 +125530016 0 +100624 +119906551 +5557509 0 0 -5358 -5358 0 0 +5365 +5365 0 0 -5602653 -19330268 0 0 -25955669 +5557509 +18913772 0 0 +26875118 0 0 -5358 -5358 -10 -25542427 0 0 0 0 -29426795 0 -5298 -102358 -102358 -102358 -102358 -184892887 -184901949 -12 -37077 -5322 -93931005 0 +5365 +5365 0 +5305 +26504862 +30587556 +184269458 +184273252 +12 +37198 +100624 +100624 +100624 +100624 0 0 +5329 +93545615 0 0 +1 +126677 0 0 +41439 +0 0 0 -157123 -157123 -157135 -126832 0 0 -24 -24 0 0 0 0 0 12 -157135 -101006561 -101003615 -101002145 -101001964 +153069 +153069 +153081 +0 +1562338 +24 +24 +0 +0 +0 0 0 +153081 +100756607 +100754846 +100753845 +100752239 0 0 0 -1573968 0 -157135 0 0 +153081 0 0 0 @@ -137336,36 +138132,32 @@ 0 36 36 -1 -41070 -41070 -61288 -29350941 -0 -40242 +37551 +37551 +63073 +30507249 0 -96 +10 0 0 0 0 0 0 -101003895 -101006531 -101007164 -10 0 0 0 +96 +1 0 0 0 0 0 0 -1 -19864523 +100749504 +100753077 +100756683 12 12 0 @@ -137375,54 +138167,59 @@ 0 0 0 +134318 +134318 +45190 +0 +0 +0 +0 0 -134338 -134338 -45592 -89729407 0 0 +20107598 0 0 -5334 -5334 -19330268 0 -632602 0 +638347 +89440724 0 0 +5341 +5341 0 +18913772 0 0 0 0 0 0 -5359 -82412556 -76429122 0 0 0 0 +5366 +81218426 +74942549 0 0 -41070 0 -102084 0 0 +37551 +100350 0 0 -12649652 -46166359 -46168142 0 +12683324 +45713124 +45714760 0 -23193302 0 -82877053 +24250977 +82461207 0 0 0 @@ -137431,62 +138228,60 @@ 0 0 0 +15985 0 +12 +10 +10 0 -14989 0 +5557510 0 -5602653 0 0 0 0 0 +130564 0 -131391 0 0 +295000 0 -296332 +5557510 +5557510 +5557510 0 -5602653 -5602653 -5602653 +18913772 +18913772 +153081 0 -19330268 -19330268 -12 -157135 0 0 0 0 -10 -10 0 0 0 0 0 +184267166 +0 +95070223 0 -96359641 0 36 36 0 +93875 0 -94440 -0 -94440 -61288 +93875 +63073 0 26 -184896225 -0 -25957236 -0 0 0 +26874288 0 0 12 @@ -137499,76 +138294,78 @@ 0 0 0 +0 +0 12 12 0 0 -5322 0 0 -5358 -5358 -5358 +5329 0 0 +5365 +5365 +5365 0 0 0 0 +1 +1 +0 0 -81681531 -81679831 0 0 -5 +81847020 +81846825 0 -81684814 0 -100928348 +81848052 0 -100931781 +100684072 +100695531 0 -100915006 +100657825 274 +45190 0 -1 -1 -5322 0 +5329 0 -45592 0 0 0 +638347 +10 +10 0 0 -29409243 -29421764 -29429212 0 0 0 -632602 -10 -10 -36 +30570784 +30580073 +30584666 0 +36 0 -68184591 +67249688 0 0 0 0 0 -36 0 0 0 0 +36 0 0 -46168149 -46172562 +45714799 +45719491 0 0 0 @@ -137578,19 +138375,20 @@ 0 0 0 +1562334 0 -5602653 0 +5557510 0 0 0 0 -7699991 0 +7840826 0 36 36 -1573975 +0 0 0 0 @@ -137601,34 +138399,43 @@ 12 0 0 -96359641 +95070223 +0 0 0 +1 +1 +0 0 0 +26874864 +134 0 0 -25957941 0 0 -134 -1 -1 -24680075 -24680991 -24678384 0 0 +24802767 +24804253 +24799722 0 0 0 0 0 -31948 0 0 0 10 +33930 +57827130 +57834359 +0 +0 +0 +644644 +644642 0 12 12 @@ -137641,34 +138448,26 @@ 12 12 12 -55736925 -55745778 0 0 -0 -0 -627457 -627454 1 0 0 0 0 -46172189 -46172848 -46177170 -81678902 -0 -0 +45718850 +45719800 +45725154 +81845843 0 0 0 0 0 0 +45190 +45190 0 -45592 -45592 0 0 0 @@ -137681,26 +138480,26 @@ 36 36 0 +0 12 0 0 0 -7699991 -7699991 +7840826 +7840826 +1 0 0 0 -1 0 -5 -81683264 0 +81846914 0 0 0 0 0 -5602653 +5557510 0 0 0 @@ -137723,7 +138522,10 @@ 0 0 0 +57828189 0 +1562342 +644635 36 12 12 @@ -137735,18 +138537,15 @@ 12 12 12 -0 12 12 12 +0 12 12 12 0 -55739954 0 -1573976 -627448 0 0 0 @@ -137773,15 +138572,15 @@ 0 0 0 -12 0 0 0 0 0 -1 0 +12 0 +1 0 0 0 @@ -137811,6 +138610,8 @@ 0 0 0 +0 +0 12 12 12 @@ -137850,8 +138651,6 @@ 0 0 0 -0 -0 12 12 12 @@ -137862,6 +138661,10 @@ 0 0 0 +0 +0 +0 +0 12 12 12 @@ -137886,10 +138689,6 @@ 0 0 0 -0 -0 -0 -0 12 0 0 @@ -137899,6 +138698,10 @@ 0 12 12 +0 +0 +0 +0 12 12 12 @@ -137914,10 +138717,6 @@ 0 0 0 -0 -0 -0 -0 12 0 0 @@ -138000,7 +138799,7 @@ 0 0 0 -85513730 +85173127 0 0 0 @@ -138086,9 +138885,9 @@ 0 0 0 +0 12 12 -0 12 0 0 @@ -138103,10 +138902,10 @@ 0 0 0 -125482456 -125571609 -125638028 0 +125351857 +125429584 +125474569 12 0 0 @@ -138143,11 +138942,10 @@ 0 0 0 -24916347 -66917 -627060 -0 0 +25861822 +66593 +644263 0 0 0 @@ -138162,11 +138960,12 @@ 0 0 0 -5602653 0 0 0 0 +5557510 +0 0 0 0 @@ -138215,9 +139014,9 @@ 0 0 0 -5602653 -5602653 -5602653 +5557510 +5557510 +5557510 0 0 0 @@ -138236,16 +139035,16 @@ 0 0 0 -28784527 -28795913 -28803726 0 0 0 -627323 -627335 -627339 +29927637 +29937734 +29940971 0 +644508 +644511 +644509 0 0 0 @@ -138264,13 +139063,13 @@ 0 0 0 -20416 0 0 -11545 +21915 0 0 0 +12027 0 0 0 @@ -138292,9 +139091,9 @@ 0 0 0 -5602653 0 12 +5557510 0 0 0 @@ -138443,6 +139242,7 @@ 0 0 0 +0 12 0 0 @@ -138469,11 +139269,11 @@ 0 0 0 -0 -12 12 0 0 +12 +0 0 0 0 @@ -138494,10 +139294,9 @@ 0 0 0 -12 -0 0 0 +12 0 0 0 @@ -138531,6 +139330,7 @@ 0 0 0 +0 12 0 0 @@ -138544,8 +139344,6 @@ 0 0 0 -12 -12 0 0 0 @@ -138554,6 +139352,8 @@ 0 0 0 +12 +12 0 0 0 @@ -138565,7 +139365,6 @@ 0 0 0 -12 0 0 0 @@ -138586,9 +139385,11 @@ 0 0 12 +12 +12 +0 0 0 -12 0 0 0 @@ -138697,86 +139498,86 @@ 12 0 0 -133959928 -8381692 +133564828 +8356102 0 -37705637 +38592517 0 0 0 -37701601 +38570515 0 0 -134041795 +133614295 0 0 -134045532 -134045993 -134046530 -134043105 +133619547 +133621909 +133622384 +133624218 0 -134033190 +133624720 0 0 0 0 -102399 -5602653 -128304641 -128287702 -128303010 -37661169 -19624741 -134054401 -19636331 -19636331 -832433 -832398 -114401360 -114408763 -114329016 -134085926 +100666 +5557511 +127925253 +127925253 +127934622 +38542113 +19423685 +133645792 +19433770 +19433770 +761796 +761681 +114181303 +114194495 +113744548 +133673397 0 0 -7080158 +7211810 0 0 0 0 0 -134008301 -134008301 -126973456 -126974054 +133602834 +133602834 +126427556 +126438334 0 -1782 -120907260 -127959085 +1780 +120406814 +127596285 0 0 -127965737 -120889304 -12270181 -12273099 -116028214 -7081283 +127597909 +120377959 +12298988 +12302884 +115772252 +7213155 0 0 -7081283 +7213155 0 -133950167 -134052549 +133549017 +133649671 0 0 0 -128720608 +128555440 0 -6081040 -129194741 -129195799 -102393 -109465304 -109465304 +6037776 +129018899 +129026216 +100655 +109129827 +109129827 0 0 0 @@ -138789,17 +139590,17 @@ 0 0 0 -128727588 -128728702 -129212473 +128558273 +128564678 +129039040 0 0 -459032339 +458186656 0 0 0 -9382054 -42650740 +10115168 +42862935 0 0 0 @@ -138807,20 +139608,20 @@ 0 0 0 -129189435 +129021165 0 0 0 -102378 +100648 0 0 0 36 -102363 -102363 -129072884 -129051859 -102337 +100630 +100630 +128878005 +128878005 +100606 0 0 0 @@ -138831,25 +139632,25 @@ 0 0 0 -7080352 -12649867 +7211939 +12683529 0 0 0 -258401032 +258025678 0 -129190570 +129006606 0 -129178055 -129197652 +129000471 +129029070 0 0 0 0 -96349415 -113027821 -22385702 -22385702 +95059955 +113216652 +22395298 +22395298 0 0 0 @@ -138881,69 +139682,69 @@ 0 0 0 -12271514 +12301198 0 0 0 0 0 0 -129139948 -129179537 +128967259 +129009153 0 0 0 0 -102289 -129060566 -217125370 -205926723 -205941805 -205988495 -24669419 -2805459 -90731556 -85024997 -256685536 +100601 +128992371 +216614916 +205503304 +205506247 +205488025 +24493879 +2813868 +90281998 +84628782 +256393524 0 -256702453 +256406599 0 0 0 0 -127556752 -129152508 +127421996 +128977480 0 0 -129021987 -112898175 -22379679 -9353341 +128877840 +113112663 +22391818 +9307892 0 0 0 0 -129075371 -102304 +128875302 +100504 0 0 0 0 0 -73246272 -18038913 +72576765 +17899614 0 -65419166 -129150918 -47878916 -47897024 -47897632 +64791464 +128973086 +47386924 +47408798 +47409456 0 0 0 0 -5602653 -5602653 +5557511 +5557511 0 0 0 @@ -138952,9 +139753,9 @@ 0 0 0 -227186513 +226853295 0 -36807 +36932 0 0 0 @@ -138969,25 +139770,25 @@ 0 0 0 -102358 -614148 +100624 +603744 0 0 0 0 0 -102358 -102358 -102358 +100624 +100624 +100624 0 -96359645 -127280586 -126087104 -5298 -5298 -125996942 -125996942 -265735 +95070223 +127130687 +125922866 +5305 +5305 +125845898 +125845793 +274522 0 0 0 @@ -139020,54 +139821,54 @@ 0 0 0 -570772 +566364 0 0 -73255495 +71830535 0 0 0 0 -5599606 -14220623 -14220623 +5555508 +13790437 +13790437 0 0 0 0 0 0 -154703604 -9246 -154703604 -154712850 -302669465 -927957976 +151042540 +11511 +151042540 +151054051 +294458085 +902182885 0 0 -1173945 -7819785 -96295641 -10818997 -10508516 +1187289 +7786587 +95555915 +10697881 +10388132 0 60 -10819750 -3104186 -85499897 -119986 -119986 -13319068 -1134062 -13819431 -991055 -67508 +10698898 +3110959 +84875034 +119261 +119261 +14292051 +1208782 +0 +1033508 +71303 0 -87537473 +90050676 0 -5358 -5298 -5298 +5364 +5305 +5305 0 0 0 @@ -139085,56 +139886,56 @@ 0 0 0 -170803669 -166324283 -125527824 +170114189 +165674237 +125402631 0 0 -125783856 +125649143 0 -259464 -125765126 -125765359 +253670 +125634730 +125623701 0 0 -1081801955 -125691020 -19720572 -543152 +1077892706 +125533146 +19884154 +550488 0 0 0 -46142907 -46143776 +45672838 +45676599 0 -46165122 -46153649 -46157968 +45712292 +45702961 +45707944 0 0 0 0 0 0 -125780419 -1214 +125640563 +1044 0 0 0 0 0 -864374 +861168 0 0 0 -864271 +861111 0 -11271869 +11312064 0 0 0 -5334 -5334 +5341 +5341 36 36 36 @@ -139144,11 +139945,11 @@ 36 36 60 -12112 -7918 -7918 -28958 -124 +8937 +6749 +6749 +28614 +122 0 0 0 @@ -139157,15 +139958,15 @@ 0 0 0 -6079970 -479018 -5602653 -5602653 -5602653 +6036402 +480948 +5557510 +5557510 +5557510 0 0 -125604887 -125604887 +125467906 +125467906 0 0 12 @@ -139175,8 +139976,8 @@ 0 0 0 -125617298 -24 +125484346 +25 0 0 0 @@ -139201,15 +140002,15 @@ 0 0 1 -17:113007846 +17:113195103 0 0 0 0 1 -17:99389939 +17:98660898 1 -17:13809895 +17:14786410 0 0 0 @@ -139220,7 +140021,7 @@ 0 0 1 -17:96360270 +17:95070857 @SRC@/src/host/render.cpp;_ZN12_GLOBAL__N_110image_stemEPKcPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -139277,68 +140078,68 @@ # Num Counters: 64 # Counter Values: -317911880 +318539704 0 -509586561 +497275488 0 -58415593 -320317159 +57032737 +311117282 0 -320317159 -264077841 +311117282 +256236783 0 0 0 -35312812 -67482083 +35420952 +66018597 0 -96359715 -5705053 -34033931 -90654662 -56620729 +95070295 +5658181 +34159282 +89412114 +55252832 0 0 -61401887 +59992698 0 -2239884 +2177831 0 0 -60061237 +58650759 0 0 0 0 0 -60061237 +58650759 0 0 0 0 -60061237 +58650759 0 0 -3440508 -58415593 +3397927 +57032737 0 0 0 0 0 0 -2239884 +2177831 0 0 0 0 0 -96359715 -96359715 +95070295 +95070295 0 0 -5602654 -89404589 -56239318 +5557515 +88161906 +54880499 0 0 @@ -139348,7 +140149,7 @@ # Num Counters: 7 # Counter Values: -664298961 +662564071 12 12 0 @@ -139533,19 +140334,19 @@ # Num Counters: 13 # Counter Values: -209860485 -209866553 -209876952 +210866771 +210876447 +210891548 0 -3444283 +3598042 0 0 -3444311 +3598081 0 0 0 0 -209879301 +210893723 @SRC@/src/host/render.cpp;_ZN12_GLOBAL__N_112draw_targetsERK7GpuDrawRK13GpuDrawInputsRN3gpu12_GLOBAL__N_19DrawStateERNS_14DrawTargetsOutE # Func Hash: @@ -139553,78 +140354,78 @@ # Num Counters: 101 # Counter Values: -317911872 -150765230 -57814515 +318539704 +150521201 +57603700 0 0 -57814515 -613225 +57603700 +630620 0 0 0 0 -17298534 -39738984 -613225 +17466729 +39817463 +630620 0 0 0 0 0 -1676839 -20189876 +1665038 +20062122 31 -1455824 +1441093 0 0 0 -20189876 -607825 +20062122 +608603 31 192 -1455824 -20189876 +1441093 +20062122 0 0 31 -321538 +322641 0 -20189876 +20062122 0 192 0 31 -20189876 +20062122 0 192 -3648818 +3644830 0 -221015 +223945 0 -106 -1136020 -106 +111 +1143333 +111 0 192 0 0 -106 -106 +111 +111 0 -106 +111 0 -106 +111 0 0 -106 +111 0 0 0 0 0 0 -1455824 +1441093 0 0 0 @@ -139639,20 +140440,20 @@ 0 0 0 -39738986 -39738986 -20189876 -92950715 -57814515 +39817463 +39817463 +20062122 +92917501 +57603700 0 0 0 0 -873671 -215 +896126 +205 0 -106 -106 +111 +111 0 @SRC@/src/host/render.cpp;_ZN12_GLOBAL__N_112image_besideERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcyS7_ @@ -139705,7 +140506,7 @@ # Num Counters: 4 # Counter Values: -42541244 +43726506 0 0 0 @@ -139716,9 +140517,9 @@ # Num Counters: 3 # Counter Values: -6192742 -1837750 -6192734 +6225502 +1916200 +6225494 @SRC@/src/host/render.cpp;_ZN12_GLOBAL__N_112target_namesERK13GpuDrawInputsRA85_j # Func Hash: @@ -139726,20 +140527,20 @@ # Num Counters: 14 # Counter Values: -22542010 -1041322664 -761220842 -488329425 -488406804 -0 -130162500 -107649350 -22542034 -107681741 -129819599 -129826625 -272750539 -488356124 +22845876 +1040748496 +759337867 +485449262 +485518555 +0 +130099471 +107272547 +22845831 +107296052 +129743091 +129748062 +273757145 +485491955 @SRC@/src/host/render.cpp;_ZN12_GLOBAL__N_113gx_ring_placeEPKhyy # Func Hash: @@ -139747,21 +140548,21 @@ # Num Counters: 34 # Counter Values: -39942488 -5167737 -5167668 -5167610 -39942321 -5167620 +39710495 +4927887 +4928096 +4928007 +39710640 +4928102 12 0 -34782254 +34789945 12 -6829 -5167582 +6563 +4927923 24 -6829 -6829 +6563 +6563 0 0 0 @@ -139775,12 +140576,12 @@ 0 0 0 -5167592 -5167624 +4927934 +4928017 24 -34782242 +34789933 0 -33 +34 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -139788,15 +140589,15 @@ # NumValueSites: 1 9 -32:11453614 -128:6411271 -64:5963740 -65:5844046 -33:4373254 -16:3226365 -129:2268550 -257:204238 -513:197249 +32:11436487 +128:6368907 +64:5971025 +65:5640191 +33:4377759 +16:3228427 +129:2274157 +257:211813 +513:202065 @SRC@/src/host/render.cpp;_ZN12_GLOBAL__N_113half_to_floatEt # Func Hash: @@ -139825,9 +140626,9 @@ 0 0 0 -97 -97 -97 +96 +96 +96 0 0 0 @@ -139835,28 +140636,28 @@ 0 0 0 -97 +96 0 -97 +96 0 -97 +96 0 0 0 0 0 0 -97 -97 +96 +96 0 0 0 0 -97 +96 0 -97 -97 -97 +96 +96 +96 0 0 0 @@ -139898,7 +140699,7 @@ 0 0 0 -5602654 +5557515 0 0 0 @@ -139997,7 +140798,7 @@ # Num Counters: 14 # Counter Values: -109371474 +109248992 0 0 0 @@ -140074,7 +140875,7 @@ # Num Counters: 5 # Counter Values: -123393243 +126805509 12 0 12 @@ -140769,26 +141570,26 @@ # Num Counters: 20 # Counter Values: -30830076 -333 -18825739 -308 -16712919 -16712944 -30832176 -14117442 -16731077 -37734461 -22249 -21036967 -21026571 -21023738 -21024273 -37737519 -70 -68 -25 -25 +32078027 +405 +19469960 +368 +16980071 +16980107 +32088209 +15103496 +17211113 +38825209 +231832 +21652296 +21634956 +21634274 +21635066 +38826443 +85 +65 +37 +37 @SRC@/src/host/render.cpp;_ZN12_GLOBAL__N_116gx_object_recordERK14GxStageRecordsjj # Func Hash: @@ -140798,18 +141599,18 @@ # Counter Values: 0 0 -83482 +79298 225197 -373367 +372705 675591 -32060 -501816 -166869 -148170 -204716 +28494 +501198 +170427 +147508 +201248 0 -1218185 -41098 +1222065 +40412 0 0 0 @@ -140818,34 +141619,34 @@ 0 0 0 -166869 -664171 -1555267 -446656 -769245 -2010592 -9711 +170427 +667560 +1560709 +447132 +765758 +2017512 +9475 0 0 0 0 0 -15037588 +15063041 0 -3037592 -12000003 -848915 -8509857 -848915 -4129177 -2836310 -831040 +3038405 +12024657 +847627 +8521464 +847627 +4126655 +2838819 +837987 0 -2001915 -2831848 -831040 +2007821 +2834214 +837987 0 -2001913 +2007827 @SRC@/src/host/render.cpp;_ZN12_GLOBAL__N_116log_fetch_shaderEyRKSt6vectorIjSaIjEERK13GxDrawObjects # Func Hash: @@ -140925,26 +141726,26 @@ 23 # Counter Values: 0 -19476274 +19407739 0 0 -536812029 -537245415 -537247427 -368092633 -91002441 -169194304 -367989189 -122237416 -71522370 +535092301 +535558032 +535564172 +366398121 +90595683 +169189801 +366369555 +122124972 +71194841 0 -368015447 -99511838 +366357872 +99094043 0 -296562981 +295169185 0 -368025369 -368026064 +366372404 +366366322 0 0 @@ -140954,16 +141755,16 @@ # Num Counters: 416 # Counter Values: -2002689435 -2002689435 -2002864665 -136168939 -10122138 +1996462350 +1996462305 +1995642975 +133079864 +10024505 0 0 0 0 -58795028 +59191305 0 0 0 @@ -140974,130 +141775,130 @@ 0 0 0 -161451272 +166559611 0 0 -458624300 +459754833 0 0 -583554838 -447457887 +581522228 +448580730 0 -588361075 +586151153 0 -447445062 -279337269 +448590298 +271910140 0 -232684245 -2059430080 -588350891 +229959755 +2056692032 +586080513 0 -583572710 -10122138 +581597336 +10024505 0 -96985176 +97343993 0 -135766660 +135795268 0 -137530839 +137245513 0 0 0 0 -28102199 +28743138 0 0 0 -39701827 +39665393 0 -588379641 -312549723 -99499282 +586117596 +311075712 +98732390 0 0 -70923510 -97029450 -97030917 +69515430 +97414256 +97412610 0 0 -58355991 +60218461 0 -133569670 +133156254 0 148 -279336990 -279336990 -39701719 +271909849 +271909849 +39665229 0 -58795093 +59191632 0 -282951134 +281642616 0 -19483063 -76973820 -99497068 +19415690 +76607674 +98732580 0 -70921931 +69503726 0 0 -588377789 +586127579 0 -4862776 +4618660 0 -62679655 -128723244 +63683338 +128552134 769 -62676988 -544573583 -133571948 -128701039 -4862782 +63683709 +541958530 +133156445 +128532299 +4618669 0 0 -279020269 -136168940 +271655601 +133079864 0 -588307356 -1579 -128715715 -193878070 -136168940 +586048429 +11704 +128545704 +198654056 +133079864 0 -588281276 -447412704 +586007945 +448482364 738 -136168068 +133078939 0 0 -1579 +11704 0 -447446143 +448535955 0 0 0 0 -161453647 -304757 +166574078 +288645 0 -4862847 -447285208 -15406472 +4618708 +448405095 +15694154 0 0 0 -1579 -136168761 +11704 +133079674 0 0 0 -80669405 -136168891 +75700054 +133079816 0 0 703 0 0 -90 +91 0 0 703 @@ -141105,16 +141906,16 @@ 703 0 0 -872 -161454111 +925 +166561786 0 -128711286 +128505865 0 0 0 0 -136168069 -61825033 +133078939 +63495795 0 0 0 @@ -141122,9 +141923,9 @@ 48 0 0 -61825033 -61825033 -61825033 +63495795 +63495795 +63495795 0 0 0 @@ -141136,19 +141937,19 @@ 0 0 0 -4862825 +4618667 0 0 0 0 0 -302 +301 0 0 0 0 0 -136168069 +133078939 0 0 0 @@ -141170,7 +141971,7 @@ 0 0 0 -32410 +50554 0 0 0 @@ -141178,10 +141979,10 @@ 0 0 0 -401 +402 0 0 -473636930 +485415175 0 0 0 @@ -141190,26 +141991,26 @@ 0 0 0 -235248266 -173423240 +242342245 +178846450 31 0 -4862818 +4618602 0 0 0 -81773350 +83512267 0 -54394719 +49566672 0 -389 -473636930 +390 +485415175 0 0 0 0 -54394719 -32410 +49566672 +50554 0 0 0 @@ -141219,57 +142020,57 @@ 0 0 0 -136168069 +133078939 0 -235174250 +242342245 0 0 0 -19948317 -78303934 -136168069 +20016472 +80232623 +133078939 0 0 0 0 0 -19948317 -81773350 -185 +20016472 +83512267 +190 0 0 -61825905 -78304309 -32250506 +63496720 +80234933 +33001918 0 0 0 -61825720 -78303934 -18175831 -18047046 -9796232 +63496530 +80232623 +18629053 +18471238 +10100225 0 -61825026 +63495795 0 -61825108 +63495856 0 -61825026 -55499349 +63495795 +57379620 0 0 0 -61825108 -61568068 -61568123 -6263147 +63495856 +63309641 +63309641 +6058810 0 -58356219 -6068774 -2940972 +60262895 +5930021 +2796858 0 -26 -256957 +61 +186154 0 0 0 @@ -141280,7 +142081,7 @@ 0 0 0 -19948317 +20016472 0 0 0 @@ -141313,13 +142114,13 @@ 0 0 0 -6068774 +5930021 0 0 0 -2940972 -26 -256957 +2796858 +61 +186154 0 0 0 @@ -141333,42 +142134,42 @@ 0 0 0 -70921932 +69503727 0 0 0 0 0 -133580743 +133165331 0 0 0 -872 +925 0 0 -54394719 +49566672 0 0 0 -32410 +50554 0 0 0 0 0 -61825108 -257569 +63495856 +186828 0 0 0 0 0 -329375259 -128625343 +326983937 +128490244 0 -97069847 -97067982 -97067897 +97421976 +97375488 +97375488 0 # Num Value Kinds: 1 @@ -141433,168 +142234,168 @@ # Num Counters: 162 # Counter Values: -11100321 +11107348 16368 -288198 -1591572 -32060 -166869 -1555267 -936114 -225197 -716689 -501816 -148170 -446656 -168540 +280546 +1594785 +28494 +170427 +1560686 +936182 +225196 +716000 +501196 +147508 +447131 +169328 0 0 -6859 +6714 0 0 0 0 0 -282968 -204716 -1889607 +279092 +201247 +1910146 0 0 0 0 0 -1427873181 +1423387413 0 -21288385 +21410508 0 -22312560 -5754561 +22342408 +5770107 0 -10671770 -10671770 -10616984 -15980329 -1369312 +10677218 +10677218 +10733824 +16044206 +1370605 0 -15980434 +16044215 0 0 0 -11100314 -4991360 -3003093 -2305583 -9273541 -428666 -4713276 -4569896 -22312708 -9283135 -3934578 -2305581 -184686745 -4879975 -426243 -177643063 -184003093 -7190435 -191190127 +11107341 +5047905 +3039382 +2327631 +9283666 +430213 +4722091 +4570952 +22342444 +9293028 +3981006 +2327634 +184047075 +4936836 +427812 +177062066 +183361108 +7159763 +190520626 0 -4713282 -4569913 +4722093 +4570996 0 0 -175399 -168540 +176042 +169328 0 0 -6859 +6714 0 -56047150 -56071229 -183992663 -687418 -687420 +58146863 +58169473 +183354151 +693364 +693362 16 -175397 -687419 -128177653 -476998 +176039 +693365 +125441559 +476286 0 -1154102 +1157931 0 -282968 -183995603 -687421 -210423 +279092 +183353713 +693365 +217076 0 -175400 +176041 0 0 -282968 -168540 -1154101 -55875726 -210424 +279092 +169328 +1157931 +57970709 +217077 0 -204716 +201248 0 -282968 +279092 0 -175400 +176041 0 0 0 -204716 -175400 -210424 +201248 +176041 +217081 0 0 -204716 +201248 0 0 0 -1154100 -204716 -210423 -1154102 -1154101 +1157933 +201248 +217080 +1157929 +1157932 0 -204716 +201248 0 0 0 0 -1154101 -1154102 +1157932 +1157932 28 -1426528601 -177522081 -184610761 -56036565 -184655964 -56071680 -210425 -0 -10671799 -7703662 +1422000288 +176925408 +183970976 +58138042 +184009272 +58173903 +217079 +0 +10677242 +7748750 48 -2623265 -282968 +2628671 +279092 0 -168540 +169328 0 0 -168540 -175400 -1307581 +169328 +176041 +1310179 0 0 0 -204716 +201248 0 -1154102 -687420 +1157931 +693361 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -141602,17 +142403,17 @@ # NumValueSites: 4 2 -16:6650216 -32:2623194 +16:6654880 +32:2628626 2 -16:3848428 -32:864869 +16:3858599 +32:863518 2 -16:2811559 -32:1758348 +16:2805809 +32:1765113 2 -32:1307572 -16:61731 +32:1310165 +16:60426 @SRC@/src/host/render.cpp;_ZN12_GLOBAL__N_118commit_times_flushERNS_11CommitTimesE # Func Hash: @@ -141620,10 +142421,10 @@ # Num Counters: 9 # Counter Values: -115 -115 -46 -115 +120 +120 +48 +120 144 144 72 @@ -141636,14 +142437,14 @@ # Num Counters: 8 # Counter Values: -104056210 -96808090 -96808090 +106003354 +98619805 +98619805 0 -7248120 -36817160 -7248120 -7248120 +7383549 +37504013 +7383549 +7383549 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -141651,8 +142452,8 @@ # NumValueSites: 1 3 -129:7081240 -513:166837 +129:7213114 +513:170395 65:84 @SRC@/src/host/render.cpp;_ZN12_GLOBAL__N_118drop_small_targetsERN3gpu12_GLOBAL__N_19DrawStateE @@ -141663,31 +142464,31 @@ # Counter Values: 0 0 -33299024 -619467584 -618877518 -233237980 +33871131 +627064512 +626513472 +237982487 0 -199952301 -200028689 -33300384 +204133504 +204237087 +33870927 0 -200034983 +204256752 0 -33299830 +33872061 0 0 0 -77462011 +78424197 0 -56400230 -56405068 +57097710 +57104590 0 0 12 12 0 -77354437 +78311659 0 0 0 @@ -141699,16 +142500,16 @@ # Num Counters: 10 # Counter Values: -11764047 -74096099 -74095798 -125888306 -11764107 -11764103 -11764392 -11756991 -11758167 -11757975 +11481892 +72748106 +72748922 +122437837 +11482060 +11482082 +11482137 +11475037 +11476044 +11476001 @SRC@/src/host/render.cpp;_ZN12_GLOBAL__N_118run_diagnostics_onEv # Func Hash: @@ -141716,8 +142517,8 @@ # Num Counters: 11 # Counter Values: -44067844 -44070694 +44976420 +44978223 120 120 0 @@ -141920,14 +142721,14 @@ # Num Counters: 8 # Counter Values: -14435490 -12136717 -15063024 -1495595 -627638 -627637 -627351 -627641 +14834448 +12461240 +15479328 +1538356 +644977 +644982 +644546 +644980 @SRC@/src/host/render.cpp;_ZN12_GLOBAL__N_119compare_draw_inputsERK13GpuDrawInputsS2_ # Func Hash: @@ -142794,49 +143595,49 @@ # Num Counters: 43 # Counter Values: -27828 -11793 -88103 -74192 -27822 -41724 +27846 +11808 +88179 +74256 +27846 +41769 0 -173743 -55398 +173889 +55472 0 -27834 -27822 +27828 +27840 0 27828 -271408 -271585 -271585 -27822 -11791 -27822 -174053 -27822 -27822 -11791 +271704 +271528 +271528 27828 -27822 -27810 -27810 +11808 +27846 +174243 +27846 +27840 +11808 +27846 +27834 +27846 +27846 0 6921 -4870 +4887 0 0 0 0 -4635 -2285 -2285 -173037 -55353 +4641 +2280 +2278 +173460 +55456 0 0 -4639 +4641 @SRC@/src/host/render.cpp;_ZN12_GLOBAL__N_119pass_restart_lockedEj # Func Hash: @@ -142858,15 +143659,15 @@ 0 0 0 -2189 +2202 12 0 0 0 -2189 +2202 12 -22410616 -11205308 +22230060 +11115030 0 108 0 @@ -142881,38 +143682,38 @@ 0 0 144 -5602654 +5557515 0 0 -5602654 +5557515 0 72 -5602654 +5557515 0 0 0 -5602654 +5557515 0 0 -5602654 -5602654 -5602654 -5602618 -5602654 -5602654 +5557515 +5557515 +5557515 +5557479 +5557515 +5557515 0 -5602654 -5602618 +5557515 +5557479 0 0 36 0 0 -5602654 +5557515 0 -5602654 +5557515 72 -5562246 +5511761 36 0 0 @@ -142933,7 +143734,7 @@ 0 36 36 -5602654 +5557515 0 0 0 @@ -142949,7 +143750,7 @@ 0 36 0 -5602654 +5557515 0 108 36 @@ -142982,11 +143783,11 @@ 0 0 0 -5602654 -5602654 +5557515 +5557515 0 0 -5602654 +5557515 0 0 0 @@ -142995,7 +143796,7 @@ 0 0 0 -5602654 +5557515 0 0 0 @@ -143261,11 +144062,11 @@ 0 0 0 -5602654 -5602654 -5602654 +5557515 +5557515 +5557515 0 -4744352 +4700511 0 0 0 @@ -143274,29 +144075,29 @@ 0 36 0 -4703944 +4654757 0 0 0 0 -5602654 -898710 +5557515 +902758 12 12 -5602654 -898710 +5557515 +902758 0 0 72 0 -5602654 -5602654 +5557515 +5557515 0 0 -5602654 +5557515 0 -5602654 -5602654 +5557515 +5557515 0 0 0 @@ -143452,8 +144253,8 @@ # Num Counters: 10 # Counter Values: -89278388 -4095469 +87857098 +4085119 144 144 144 @@ -143493,9 +144294,9 @@ # Num Counters: 15 # Counter Values: -955477554 +951465991 0 -955571202 +951573420 0 0 0 @@ -143516,20 +144317,20 @@ 18 # Counter Values: 0 -44085336 -44086496 -44059374 -44065880 -44068904 -44066301 -44065555 -44064475 +44991630 +44990490 +44970997 +44976531 +44977934 +44975991 +44975304 +44974970 0 0 0 -44055370 -44055370 -44058155 +44965910 +44965910 +44966208 0 0 0 @@ -143682,175 +144483,175 @@ # Num Counters: 711 # Counter Values: -913191924 +910447135 0 0 -14162566 +14426310 0 -193406 -1022118 +201673 +1010588 0 0 -3604800473 +3634572239 0 -3065868 -1107533576 -1107373648 -289068703 -195118183 +3031278 +1103911188 +1103646101 +286279419 +194184944 0 -279115394 -634737272 -244268431 -864773234 -430738 +290069349 +620912373 +243599124 +861711099 +434171 0 -868416931 +865572316 0 -829263984 +825631417 0 -673805195 -673691611 -39171826 -513395 -672819800 +671031797 +671392377 +39596962 +505742 +670976445 0 -913297469 +910413068 0 -673473352 +671508094 0 -240788840 +239887487 0 0 0 0 0 -913004202 -913143413 -913497727 -22494550 -833967940 -173698994 -195112264 +910116150 +910231325 +910684448 +22892767 +830623990 +173037735 +194179388 0 0 0 -193441 +201723 0 0 0 -691763368 +689444086 0 -173692530 -204716 -173701688 -430738 +173030673 +201248 +173032427 +434171 0 -828282940 +824757062 84 0 0 -673752824 -634694791 -38760810 +671637363 +632293285 +39191866 0 -513395 -655594010 -411037 +505742 +658604210 +405118 0 0 0 0 -279880760 +290947785 0 0 -868137800 +865331292 0 0 0 0 -673103826 -240789356 +671092009 +239894089 60 -8269406 +8397392 0 0 0 0 -666376477 -1021287 -913128572 -913456434 +664242456 +1013843 +910241749 +910632919 0 0 0 0 -195088756 +194149687 0 0 0 0 -22905587 +23297885 0 -650745231 +648598603 0 -663820134 -14915273 +661351319 +14942729 0 -193451 +201727 0 -193451 +201736 0 0 0 0 -1022178 +1010648 0 -271633218 -597213378 -232613802 -828360343 +282128715 +583940370 +226934439 +824961028 0 -21410685 -16072835 +21809859 +16097415 0 -664966129 +663268516 0 -3166 +3098 0 0 0 -279988447 +291087742 0 -271662257 +282163211 0 -867975130 -193447 +865163761 +201736 0 0 -665844278 -195054749 +663771858 +194120120 0 0 0 0 0 -671979898 +669807667 0 0 -650066940 +647920761 0 0 0 -340523 +347343 0 -8267319 +8395404 0 0 0 0 -230107222 -828421140 +224157647 +825029863 0 0 0 @@ -143861,8 +144662,8 @@ 0 0 0 -665535893 -610250 +663475633 +608725 0 0 0 @@ -143871,27 +144672,27 @@ 0 0 0 -257652741 -203348809 -271647341 -193454 -193468 +257305354 +211397733 +282152984 +201737 +201735 0 -15222208 -610250 -1022154 -727012 -828464905 -67851187 +15491344 +608725 +1010624 +726390 +825119185 +70234339 0 0 0 -649174547 -202789582 -462079837 +647173142 +210624842 +451986631 0 -649849810 -8267319 +647681800 +8395404 0 0 0 @@ -143902,7 +144703,7 @@ 0 0 0 -230104766 +224155317 0 0 12 @@ -143917,18 +144718,18 @@ 0 0 0 -217192688 +216531513 0 -295166 +284258 0 0 0 0 -15222208 +15491344 0 0 0 -14920977 +15185359 0 0 0 @@ -143944,17 +144745,17 @@ 0 0 0 -446824133 +436696645 12 -8267319 +8395404 0 0 0 0 0 0 -446824129 -249313700 +436696641 +245068328 0 12 0 @@ -143974,32 +144775,32 @@ 0 0 0 -446824129 -232393470 -234057990 -212766139 -249313700 -249313700 +436696641 +226716346 +229778338 +206918303 +245068328 +245068328 0 0 0 0 -8267319 +8395404 0 0 0 0 -212766139 -212766139 +206918303 +206918303 0 0 -446824129 -249313700 -249313700 +436696641 +245068328 +245068328 12 0 0 -234057990 +229778338 0 0 0 @@ -144007,24 +144808,24 @@ 0 0 0 -230106777 -234057990 +224157218 +229778338 0 0 -212766139 -212766139 +206918303 +206918303 0 0 -340523 -233900855 -15412845 -212766139 -249313700 +347343 +229625257 +15443071 +206918303 +245068328 0 0 -7248119 +7383549 0 -411037 +405118 0 0 0 @@ -144032,27 +144833,27 @@ 0 0 0 -212766139 -212766139 -15412845 +206918303 +206918303 +15443071 0 0 0 0 -203787821 +211846979 0 0 0 0 -230104321 -212766139 -233900855 -340523 +224154888 +206918303 +229625257 +347343 0 0 0 0 -102656 +100921 0 0 0 @@ -144066,8 +144867,8 @@ 0 0 0 -212766139 -233900855 +206918303 +229625257 0 0 0 @@ -144127,7 +144928,7 @@ 0 0 0 -14915273 +14942729 0 0 0 @@ -144145,16 +144946,16 @@ 0 0 0 -649964273 +647801179 0 0 0 -212766139 -249313700 -249313700 +206918303 +245068331 +245068331 0 -203161210 -627457 +211200321 +644646 0 0 0 @@ -144286,98 +145087,98 @@ 0 0 0 -217171880 +216504234 0 -430272 +433607 0 -739162 -739162 -243305565 -1108130532 +731508 +731508 +242526021 +1104243073 0 0 0 0 0 -1108018150 -1108303319 -410754 +1104147963 +1104490849 +404777 0 -1069233192 +1064448100 0 -195037776 +194099419 0 -195064546 -194916840 -913549004 -913549004 -240235434 -913464316 -673461507 -278771897 -39051758 -16072834 +194129241 +193988119 +909369595 +909369595 +239280669 +910003426 +671121690 +278129991 +39473091 +16097410 0 -75871834 -279051618 +78801163 +289837589 0 0 0 0 0 0 -239996219 +238953260 0 0 0 0 0 -913006731 -673157658 -410507 -410509 -284796 +910040472 +671108373 +404502 +404489 +284866 0 0 0 0 0 -913132303 -156918 -156850 +910429970 +152737 +152737 0 0 -657988946 +655959053 0 -15235449 -15238264 +15263894 +15267433 8 0 0 0 0 0 -671210968 -663696234 -648963400 +668808641 +661162183 +646716338 12 -663856131 -648649118 -664369794 -648693018 +661786396 +646546984 +662367995 +646545107 0 0 0 -201679245 -201679245 -462079856 -247977733 -234057994 -233900859 -233900859 -233900858 -233900858 -157135 +209440370 +209440370 +451986636 +243744122 +229778342 +229625261 +229625261 +229625261 +229625261 +153081 0 0 0 @@ -144402,21 +145203,21 @@ 0 0 15 -64:100853613 -128:71915298 -257:34104620 -513:19982709 -256:14006428 -129:7153083 -65:502741 -512:301889 -17:190200 -16:189527 -4:52896 -32:35582 -8:20305 -33:5801 -9:737 +64:98762023 +128:70507257 +257:33704760 +513:20047917 +256:13679062 +129:7109133 +65:487998 +512:289358 +16:183363 +17:182562 +4:54916 +32:34889 +8:20438 +33:5882 +9:649 0 0 0 @@ -144593,33 +145394,33 @@ # Num Counters: 27 # Counter Values: -14022026 -3149179 -6056836 -3149179 -6056836 -6056836 -1201958 -1947221 -1947086 -1201958 -1201960 -3223538 -2833298 -1201958 -1201958 -0 -2833298 -0 -0 -6056836 -6056836 -0 -7307052 -7307052 -745126 -1201958 -333833 +14464087 +3211349 +6169750 +3211349 +6169750 +6169750 +1221564 +1989785 +1989647 +1221564 +1221564 +3289757 +2879993 +1221564 +1221564 +0 +2879993 +0 +0 +6169750 +6169750 +0 +7096177 +7096177 +768083 +1221564 +340948 @SRC@/src/host/render.cpp;_ZN12_GLOBAL__N_124vertex_table_from_memoryERKSt6vectorIjSaIjEEyPKjRK13GxDrawObjectsRS7_ # Func Hash: @@ -144634,34 +145435,34 @@ 1836 0 0 -309670128 +312256624 516 0 0 -43842761 -19354383 +44203893 +19516039 36 -19354191 +19515847 0 516 -19354383 +19516039 120 324 -19354383 +19516039 0 108 192 0 192 0 -19354383 +19516039 516 0 0 0 0 192 -19354383 +19516039 192 0 0 @@ -144703,16 +145504,16 @@ 14 # Counter Values: 0 -281214 +287635 0 -281214 -17629 +287635 +21956 0 -281214 -17680 -17629 +287635 +21924 +21956 0 -281214 +287635 0 0 0 @@ -144761,10 +145562,10 @@ # Num Counters: 6 # Counter Values: -21944672 -9730566 -2743084 -2532283 +22001872 +9618007 +2750234 +2533377 0 0 @@ -144941,28 +145742,28 @@ # Num Counters: 22 # Counter Values: -277477245 -277477245 -1387386225 -1387386225 -277477245 -277477245 -1387386225 -1387386225 -277477245 -92492415 -2867264865 -647446905 -647446905 -647446905 -647446905 -277477245 -2867264865 -462462075 -92492415 -92492415 -92492415 -92492415 +273984960 +273984960 +1369924800 +1369924800 +273984960 +273984960 +1369924800 +1369924800 +273984960 +91328320 +2831177920 +639298240 +639298240 +639298240 +639298240 +273984960 +2831177920 +456641600 +91328320 +91328320 +91328320 +91328320 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_110begin_passERKNS0_9DrawStateEyb # Func Hash: @@ -144971,65 +145772,65 @@ 156 # Counter Values: 0 -149476 -5989001 +148890 +5987834 0 0 -141927640 -16436977 -141927640 -16436977 -16436977 +143309712 +16619591 +143309712 +16619591 +16619591 0 -14523026 -14523026 -509829 -1913951 -1913951 +14709594 +14709594 +506346 +1909997 +1909997 0 -1466893 +1470438 0 0 0 -15927148 +16113245 0 0 0 -1466893 +1470438 0 0 0 -96359670 -17740955 -17740955 +95070254 +17913714 +17913714 0 -90702179 -5989001 -5989001 -17740955 -17740955 -5989001 -14523026 -12083464 +89373079 +5987834 +5987834 +17913714 +17913714 +5987834 +14709594 +12216539 0 0 0 -5355913 +5348958 0 0 0 -3343674 -3343674 -2771072 -2771072 +3325814 +3325814 +2783714 +2783714 0 0 -5989001 +5987834 0 -632602 +638347 0 0 -12083464 +12216539 0 0 0 @@ -145037,7 +145838,7 @@ 0 0 0 -5355913 +5348958 0 0 0 @@ -145045,7 +145846,7 @@ 0 0 0 -632602 +638347 0 0 0 @@ -145059,8 +145860,8 @@ 0 0 0 -632602 -149339 +638347 +148572 0 0 0 @@ -145106,13 +145907,13 @@ 0 0 0 -12083464 +12216539 0 0 0 0 0 -125490663 +126690121 0 0 0 @@ -145121,7 +145922,7 @@ 0 0 0 -17740955 +17913714 0 0 0 @@ -145133,7 +145934,7 @@ # Num Counters: 16 # Counter Values: -105984 +105992 0 0 0 @@ -145163,11 +145964,11 @@ # Num Counters: 5 # Counter Values: -37729878 -37717134 -37725964 -37714858 -37698699 +38608494 +38595949 +38607195 +38597154 +38584642 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -145175,11 +145976,11 @@ # NumValueSites: 1 5 -65:27854191 -33:9537876 -129:155219 -17:90110 -128:67038 +65:28582353 +33:9682620 +129:158622 +17:88852 +128:75743 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_110gfx_lookupEy # Func Hash: @@ -145187,18 +145988,18 @@ # Num Counters: 12 # Counter Values: -15978 -258266253 -65660863 -192721058 -65672657 -20459610 -65691168 -20459610 +15999 +257920844 +67900982 +190142200 +67905847 +20515558 +67930981 +20515558 0 0 -258279198 -65689770 +257930357 +67930298 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_110name_stageERN3gcn10LiftResultERKNS1_15TranslateResultERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -145206,12 +146007,12 @@ # Num Counters: 6 # Counter Values: -43016 -43016 -42992 -40293 +42993 +42993 +42969 +40254 0 -42992 +42969 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_110program_atEy # Func Hash: @@ -145219,48 +146020,48 @@ # Num Counters: 80 # Counter Values: -2791 -23 -2062 -67639154 -1292 -67639154 -4528 -4622 -67634532 -67639154 -61881435 -4468 -0 -4622 -0 -4622 -5757719 -4622 -4622 -4622 -4622 -0 -4622 -67634532 +2792 +22 +2063 +67740122 +1288 +67740122 +4532 +4618 +67735504 +67740122 +61880786 +4472 +0 +4618 +0 +4618 +5859336 +4618 +4618 +4618 +4618 +0 +4618 +67735504 0 2085 0 -24 -4622 -4622 -427699 +12 +4618 +4618 +294988 0 0 -4622 +4618 0 0 0 0 -2086 -67634532 -4622 -4622 +2084 +67735504 +4618 +4618 72 72 0 @@ -145268,10 +146069,10 @@ 0 0 0 -2536 +2534 0 60 -2524 +2522 0 0 0 @@ -145296,9 +146097,9 @@ 0 0 0 -4622 +4618 0 -4622 +4618 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -145319,9 +146120,9 @@ # Num Counters: 4 # Counter Values: -419560309 -6924214 -419185869 +410051170 +6779455 +409672847 0 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_110snap_stageERNS0_11ShaderStageEyPKfRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb @@ -145331,33 +146132,33 @@ 47 # Counter Values: 3630 -3470 +3467 0 -913 -438 +907 +433 0 -913 -913 -5 -320 -913 -913 -136 -905 -554 -905 -913 -528 -905 -504 -179 +907 +907 +7 +316 +907 +907 +138 +899 +552 +899 +907 +526 +899 +496 +173 726 -323 +319 38 38 -403 +407 26 -391 +395 0 0 0 @@ -145373,10 +146174,10 @@ 0 0 0 -52 -52 +51 +51 726 -52 +51 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -145396,10 +146197,10 @@ 83 # Counter Values: 0 -2375697 -92695 -2283002 -57029 +2402322 +143049 +2259273 +107383 11474 13958 7174 @@ -145409,36 +146210,36 @@ 0 0 0 -2283002 +2259273 5138 -51891 +102245 3162 -2283002 +2259273 985 6132 -2288140 -2283002 -258252870 -599581190 -599586073 +2264411 +2259273 +267317668 +588037890 +588042721 0 -258320056 -2283002 +267317385 +2259273 0 -2283002 +2259273 0 -597889935 +586367847 0 0 0 -597297933 +585778310 0 0 0 0 0 0 -597297933 +585778310 0 0 0 @@ -145449,13 +146250,13 @@ 0 0 120 -597297933 +585778310 0 0 5138 108 5138 -597297933 +585778310 0 0 5138 @@ -145465,7 +146266,7 @@ 0 0 0 -857107928 +854719963 0 0 0 @@ -145485,9 +146286,9 @@ # Num Counters: 5 # Counter Values: -383952702 -370822688 -383881342 +374218322 +361063110 +374147228 0 0 @@ -145497,13 +146298,13 @@ # Num Counters: 7 # Counter Values: -103017 -515085 -34339 -34339 -34339 -171695 -34339 +103032 +515160 +34344 +34344 +34344 +171720 +34344 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_111GfxPipelineD2Ev # Func Hash: @@ -145534,8 +146335,8 @@ # Num Counters: 3 # Counter Values: -75918 -75918 +75954 +75955 0 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_111cache_stageEyRKN3gcn15TranslateResultEP16VkShaderModule_Tb @@ -145544,8 +146345,8 @@ # Num Counters: 14 # Counter Values: -1819 -49848 +1823 +49850 48170 48170 0 @@ -145566,19 +146367,19 @@ 17 # Counter Values: 12 -321 +316 0 0 144 -321 -106 +316 +111 0 -321 +316 144 51 144 144 -321 +316 0 0 0 @@ -145591,41 +146392,41 @@ # Counter Values: 0 0 -232240 -13091 -63617 -17501 -17502 +232232 +13059 +63709 +17550 +17550 0 -70151 -23719 -7793 -52661 +70259 +23691 +7743 +52717 0 -52664 -52669 -63616 -63618 -63615 -63619 +52719 +52719 +63710 +63716 +63716 +63712 78 78 78 0 -6539 -13092 +6548 +13059 0 -62 +63 0 -6474 -29027 +6487 +29026 0 0 0 0 -21909 -21909 -18668 +21905 +21908 +18659 0 0 0 @@ -145635,7 +146436,7 @@ 0 0 0 -162072 +161950 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_111gs_lift_forERKNS0_9DrawStateERN3gcn6GsLiftERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -145720,7 +146521,7 @@ 0 0 0 -255146561 +254877214 0 0 0 @@ -145733,7 +146534,7 @@ # Num Counters: 4 # Counter Values: -57944 +57983 12 12 0 @@ -145744,29 +146545,29 @@ # Num Counters: 24 # Counter Values: -192719428 -75431401 -153154727 -39564701 +190140590 +77196016 +150246556 +39894034 0 -153154727 -153099485 -55242 +150246556 +150193902 +52654 0 0 -55242 -153099485 +52654 +150193902 0 -153099485 +150193902 0 0 0 0 0 0 -75433694 -268090427 -153154727 +77196816 +267268132 +150246556 0 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_111recipe_file17program_from_gameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjyRSt6vectorIjSaIjEE @@ -145793,13 +146594,13 @@ # Num Counters: 9 # Counter Values: -97389 +97309 0 -97389 -45064 +97309 +45048 0 -24204 -20860 +24182 +20866 0 0 @@ -145809,9 +146610,9 @@ # Num Counters: 3 # Counter Values: -818310 -345 -463000 +828303 +350 +469146 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_111recipe_file5modesERNS0_13manifest_file6ReaderERSt6vectorIbSaIbEE # Func Hash: @@ -145819,11 +146620,11 @@ # Num Counters: 6 # Counter Values: -54446 +54437 0 -54446 +54437 0 -45064 +45048 0 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_111recipe_file5modesERNS0_13manifest_file6WriterERKSt6vectorIbSaIbEE @@ -145832,10 +146633,10 @@ # Num Counters: 6 # Counter Values: -456936 +463432 0 -463000 -919936 +469146 +932578 0 0 @@ -145846,11 +146647,11 @@ 8 # Counter Values: 0 -4075861 -45120 +4069882 +45141 0 -19071 -26049 +19048 +26093 0 0 @@ -145860,8 +146661,8 @@ # Num Counters: 2 # Counter Values: -4567 -4567 +4569 +4569 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_111vertex_lookERSt6vectorIjSaIjEEPKfPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -145870,9 +146671,9 @@ 5 # Counter Values: 0 -963 -963 -963 +957 +957 +957 0 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_112blend_factorEj @@ -145881,15 +146682,15 @@ # Num Counters: 19 # Counter Values: -13075 -954 +13099 +943 0 0 0 -2108 -1326 +2098 +1318 0 -171 +163 0 0 0 @@ -145907,10 +146708,10 @@ # Num Counters: 9 # Counter Values: -77147 -77147 -77147 -51993 +77151 +77151 +77151 +51997 0 0 0 @@ -145977,7 +146778,7 @@ # Counter Values: 0 0 -68653 +68667 0 0 0 @@ -146014,17 +146815,17 @@ # Num Counters: 21 # Counter Values: -129194639 -10620 +129024595 +10634 0 -10787 -10620 -10620 -10620 -10620 -167 +10823 +10634 +10634 +10634 +10634 +189 0 -167 +189 0 0 0 @@ -146042,14 +146843,14 @@ # Num Counters: 8 # Counter Values: -201807608 +209348732 0 -200931509 +208478018 12 -192347762 -9488519 +199510009 +9880692 0 -890421 +889546 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_112look_prewarmEPKfb # Func Hash: @@ -146125,17 +146926,17 @@ # Num Counters: 11 # Counter Values: -1033412984 -483698786 -107834064 -109357847 +1031976672 +482233683 +107409388 +109018945 0 0 -5602653 -102399 -19731151 -19833550 -109472279 +5557515 +100666 +19896684 +19997350 +109141822 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_112plan_bindingERKN3gcn12ResourcePathERK14GxStageRecordsi # Func Hash: @@ -146191,13 +146992,13 @@ # Num Counters: 7 # Counter Values: -120923 -120905 -119354 -119382 -119386 +120151 +120119 +118833 +118845 +118845 0 -119383 +118846 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_112program_saltERNS0_13CachedProgramEy # Func Hash: @@ -146220,7 +147021,7 @@ # Num Counters: 3 # Counter Values: -58199 +58200 3287 0 @@ -146232,28 +147033,28 @@ # Counter Values: 0 0 -11491 +11465 0 0 0 0 -22822 -22811 +22808 +22799 0 0 -7570 -22819 +7565 +22808 0 -19780 +19757 0 -19640 -22821 +19616 +22806 0 0 0 0 0 -19643 +19620 0 0 0 @@ -146277,8 +147078,8 @@ 0 0 0 -19642 -2186 +19617 +2168 0 0 0 @@ -146460,11 +147261,11 @@ # Num Counters: 5 # Counter Values: -21490977 -21490977 -21490977 -14409693 -14409693 +21662627 +21662627 +21662627 +14449472 +14449472 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_112target_imageEiy8VkFormatjjjjbjyjjiPK7GpuDraw # Func Hash: @@ -146472,44 +147273,44 @@ # Num Counters: 160 # Counter Values: -82039539 -7650266 -543625 -543625 +81767271 +7785719 +551068 +551068 0 0 -543625 +551068 0 0 0 -82034994 -543625 -7273713 -105 +81762751 +551068 +7405279 +104 0 0 0 0 -17860461 +18115246 0 0 -958 -65807363 -7273713 +966 +65312774 +7405279 0 0 0 0 0 0 -11112915 -11111957 +11242945 +11241979 0 0 0 0 -65807363 -7273713 +65312774 +7405279 0 0 0 @@ -146519,17 +147320,17 @@ 0 0 0 -65807363 -6747546 +65312774 +6872301 0 0 0 0 0 0 -6004796 +6033572 0 -7273713 +7405279 0 0 0 @@ -146546,8 +147347,8 @@ 0 0 0 -65807363 -6747546 +65312774 +6872301 0 0 0 @@ -146557,32 +147358,32 @@ 0 0 0 -65323096 -6747546 -65323091 -6004796 -64096827 -6004796 -64096827 -63635576 +64830477 +6872301 +64830475 +6033572 +63569421 +6033572 +63569421 +63101080 0 -63635561 -9648268 -333739 -9648268 -9648268 -9648268 -9314529 -333739 +63101065 +9681010 +340854 +9681010 +9681010 +9681010 +9340156 +340854 0 -333739 +340854 12 12 -333739 +340854 0 12 12 -333739 +340854 0 0 0 @@ -146590,7 +147391,7 @@ 0 0 0 -333739 +340854 0 0 0 @@ -146612,26 +147413,26 @@ 0 0 0 -7817338 -526167 -6747546 +7956347 +532978 +6872301 0 -18404086 -17860461 -17860461 -17860461 +18666314 +18115246 +18115246 +18115246 0 0 -17860461 -17860461 +18115246 +18115246 0 0 0 0 -17860461 +18115246 0 -543625 -11130373 +551068 +11261035 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -146664,12 +147465,12 @@ # Num Counters: 6 # Counter Values: -491438979 -482052482 -491475144 -9354380 -491480426 -129229234 +490847351 +481532066 +490938276 +9308879 +490918495 +129075022 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -146677,7 +147478,7 @@ # NumValueSites: 1 1 -8:491282545 +8:490768935 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_112vs_stage_keyERKNS0_13VsStageInputsE # Func Hash: @@ -146685,20 +147486,20 @@ # Num Counters: 15 # Counter Values: -300563 -27369 -62902 -60307 +300469 +27393 +62907 +60313 0 -4841 +4842 2600 273 -27369 -62910 -58072 -4567 -4567 -4567 +27401 +62911 +58070 +4568 +4568 +4568 0 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_113format_blendsE8VkFormat @@ -146707,11 +147508,11 @@ # Num Counters: 5 # Counter Values: -23719 -86 -23717 -86 -86 +23690 +84 +23690 +84 +84 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_113gbuffer_slotsERKNS0_9DrawStateE # Func Hash: @@ -146768,8 +147569,8 @@ # Num Counters: 2 # Counter Values: -115372461 -829290 +116898440 +841669 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_113pair_samplersERNS0_11GfxPipelineE # Func Hash: @@ -146777,16 +147578,16 @@ # Num Counters: 11 # Counter Values: -531581 -167245 -167249 -167254 -167254 -167254 -34330 -5451 -273004 -273004 +530403 +167115 +167115 +167100 +167100 +167100 +34335 +5427 +272301 +272301 0 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_113precompile_psERNS0_11PrecompilerERKNS0_13PrecompileJobE @@ -146796,16 +147597,16 @@ 281 # Counter Values: 597624 -581436 +581472 0 0 -69995 +70008 0 -76673 -60499 +76678 +60504 0 -76669 -6465 +76676 +6498 0 16152 16152 @@ -146817,7 +147618,7 @@ 0 16152 336 -76673 +76678 0 0 16152 @@ -146826,11 +147627,11 @@ 0 16152 16152 -76673 +76679 0 0 0 -15454 +15456 0 0 0 @@ -146852,16 +147653,16 @@ 0 0 0 -16151 +16152 16152 0 0 16152 16152 -16148 +16150 16152 0 -16148 +16150 16152 0 16152 @@ -146873,12 +147674,12 @@ 0 0 0 -13486 -1227 +13498 +1194 0 16152 -15408 -15456 +15407 +15455 0 0 16019 @@ -146899,30 +147700,30 @@ 0 0 0 -6465 -6465 -6465 -13486 +6498 +6497 +6498 +13498 0 -13485 -13486 +13498 +13498 0 0 24 0 -6465 -13462 -13066 -13114 +6498 +13474 +13078 +13126 0 0 -13402 +13414 0 0 -13486 -13485 -13486 -13462 +13498 +13498 +13498 +13474 0 0 0 @@ -147048,31 +147849,31 @@ 0 0 0 -597153 +597299 0 16152 -76637 -16148 -0 -16149 -13486 -13486 -0 -13485 -13486 -13486 -13462 -13486 -13486 -13485 -13486 -13482 +76648 +16150 +0 +16151 +13498 +13498 +0 +13498 +13498 +13498 +13474 +13498 +13498 +13498 +13498 +13496 7692 7692 -7043 -6465 -6465 -1227 +7050 +6498 +6498 +1194 7692 0 16152 @@ -147083,7 +147884,7 @@ # NumValueSites: 2 1 -@SRC@/src/host/render.cpp;_ZNSt17_Function_handlerIFbRKN3gpu12_GLOBAL__N_111ShaderStageEEZNS1_13precompile_psERNS1_11PrecompilerERKNS1_13PrecompileJobEE3$_0E10_M_managerERSt9_Any_dataRKSD_St18_Manager_operation:16150 +@SRC@/src/host/render.cpp;_ZNSt17_Function_handlerIFbRKN3gpu12_GLOBAL__N_111ShaderStageEEZNS1_13precompile_psERNS1_11PrecompilerERKNS1_13PrecompileJobEE3$_0E10_M_managerERSt9_Any_dataRKSD_St18_Manager_operation:16149 0 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_113precompile_vsERNS0_11PrecompilerERKNS0_13PrecompileJobE @@ -147094,12 +147895,12 @@ # Counter Values: 1057608 1029024 -25881 -129405 -8626 -8626 -8626 -28583 +25875 +129375 +8625 +8625 +8625 +28584 28578 0 0 @@ -147111,18 +147912,18 @@ 0 0 0 -47550 +47549 0 60 0 0 -95945 +95948 0 0 1008 3915360 0 -28578 +28582 0 0 0 @@ -147145,14 +147946,14 @@ 0 19954 28582 -19956 +19954 19955 8628 26580 2004 8628 8628 -8628 +8627 0 0 17952 @@ -147255,20 +148056,20 @@ 0 0 0 -1056775 +1056589 0 28578 -2003 -26576 -28579 +2004 +26575 +28581 0 -28583 +28582 26578 26578 -17256 +17255 0 8628 -17951 +17952 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_113reuse_idle_msEv # Func Hash: @@ -147276,7 +148077,7 @@ # Num Counters: 6 # Counter Values: -3583 +3604 12 12 0 @@ -147415,14 +148216,14 @@ # Num Counters: 10 # Counter Values: -37506 -37506 -37506 -280 -5358 -5358 +37555 +37555 +37555 +284 +5365 +5365 0 -5358 +5365 0 0 # Num Value Kinds: @@ -147432,7 +148233,7 @@ # NumValueSites: 1 1 -8:37506 +8:37555 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_113vs_capture_onEv # Func Hash: @@ -147440,8 +148241,8 @@ # Num Counters: 4 # Counter Values: -115038 -12 +115045 +13 12 0 @@ -147451,12 +148252,12 @@ # Num Counters: 6 # Counter Values: -57234 -57233 -56959 +57237 +57239 +56889 0 0 -57231 +57234 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_114decomp_selectsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -147464,9 +148265,9 @@ # Num Counters: 5 # Counter Values: -122032 +122042 0 -14 +16 12 0 @@ -147476,10 +148277,10 @@ # Num Counters: 6 # Counter Values: -341788 -173088 -121091 -294162 +341754 +173120 +121105 +294201 0 0 @@ -147489,7 +148290,7 @@ # Num Counters: 45 # Counter Values: -34331 +34334 0 0 0 @@ -147604,7 +148405,7 @@ 0 0 0 -1358 +1371 0 0 0 @@ -147648,10 +148449,10 @@ # Num Counters: 9 # Counter Values: -71394 -71394 -71394 -26294 +71382 +71382 +71382 +26299 0 0 0 @@ -147664,7 +148465,7 @@ # Num Counters: 5 # Counter Values: -86469 +86479 384 12 12 @@ -147676,16 +148477,16 @@ # Num Counters: 26 # Counter Values: -588 -243 -243 +574 +236 +236 9 9 -319 +314 0 -319 -17 -17 +314 +15 +15 0 0 0 @@ -147718,11 +148519,11 @@ # Num Counters: 7 # Counter Values: -17740954 +17913714 12 12 0 -17740954 +17913714 0 0 @@ -147732,16 +148533,16 @@ # Num Counters: 10 # Counter Values: -4442 -3845 -19760 -3836 -15187 -959 -15898 -3319 -17 -12919 +4308 +3692 +19838 +3683 +15115 +971 +16127 +3130 +19 +13160 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_114set_cache_findEyRKSt6vectorIySaIyEEPy # Func Hash: @@ -147750,23 +148551,23 @@ 18 # Counter Values: 0 -255049568 -67138415 -255047653 -62454185 -192659601 -62456247 -67140614 -188034937 -67140628 -188034937 -62461891 -4647327 -188034937 -188034937 -4647327 -188034937 -255055722 +254767386 +69348517 +254779918 +64761060 +190080826 +64760176 +69349143 +185557772 +69349370 +185557772 +64776910 +4545537 +185557772 +185557772 +4545537 +185557772 +254783466 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -147774,17 +148575,17 @@ # NumValueSites: 2 5 -8:109333023 -33:37610225 -129:31690464 -65:6340420 -257:3062001 +8:107976042 +33:37570501 +129:30759276 +65:6227745 +257:3025399 5 -8:35116653 -129:22227396 -33:5568266 -65:2548688 -257:1660139 +8:36238396 +129:22980896 +33:5641620 +65:2787110 +257:1683239 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_114tess_lds_boundEv # Func Hash: @@ -147792,8 +148593,8 @@ # Num Counters: 4 # Counter Values: -702 -16 +706 +12 12 0 @@ -147814,14 +148615,14 @@ # Num Counters: 25 # Counter Values: -1593920 +1639147 0 0 -21812753 -613225 +21976805 +630620 0 -613070 -612946 +630465 +630341 0 0 0 @@ -147833,9 +148634,9 @@ 0 0 0 -613225 -735684 -735684 +630620 +756558 +756558 124 0 0 @@ -147872,35 +148673,35 @@ # Num Counters: 42 # Counter Values: -914526152 -59603610 -58436 -114322663 -239378444 -239378444 -418912277 -418854359 -59844599 -102054506 -60434371 -1753360 +909879328 +59120930 +57964 +113740195 +237451392 +237451392 +415539936 +415459093 +59362836 +99519346 +59948689 +1739248 48 -233744 -569128 +231856 +519995 37 -116840 +115896 0 -60433834 -60435739 +59948603 +59951596 0 0 0 -59844494 +59362724 0 -59844611 -233775 -59821775 -233775 +59362848 +231893 +59338118 +231893 12 24 24 @@ -147911,7 +148712,7 @@ 0 0 37 -59844599 +59362836 0 0 @@ -148012,7 +148813,7 @@ 0 0 0 -129187709 +129021745 0 0 0 @@ -148025,7 +148826,7 @@ 12 12 0 -129187848 +129021967 0 0 0 @@ -148114,7 +148915,7 @@ 0 0 0 -73448789 +74221649 0 0 0 @@ -148206,13 +149007,13 @@ # Num Counters: 10 # Counter Values: -4130 +4135 0 0 -4130 -4130 +4135 +4135 0 -3185 +3187 12 12 0 @@ -148224,20 +149025,20 @@ 15 # Counter Values: 0 -37077 +37198 0 12 12 -37077 -37077 +37198 +37198 0 0 12 -37077 -37077 +37198 +37198 0 0 -37077 +37198 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_115set_cache_flushEv # Func Hash: @@ -148264,15 +149065,15 @@ # Num Counters: 9 # Counter Values: -268109147 -10553350 -10553350 -256830038 -255987363 -255952123 -258132960 -255964474 -256846710 +271692877 +4985626 +4985626 +265939380 +265147616 +265171594 +267225743 +265161899 +265966777 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_115tess_hull_spirvERKNS0_9DrawStateE # Func Hash: @@ -148299,9 +149100,9 @@ # Num Counters: 30 # Counter Values: -4568 -4532 -4532 +4569 +4533 +4533 36 36 36 @@ -148310,8 +149111,8 @@ 36 0 0 -13 -13 +12 +12 0 0 0 @@ -148414,7 +149215,7 @@ 9 # Counter Values: 124 -2053 +2055 0 0 0 @@ -148429,37 +149230,37 @@ # Num Counters: 48 # Counter Values: -31552 -31552 -24780 -22808 -22808 -1433 -30564205 +31504 +31504 +24757 +22788 +22788 +1415 +30645668 22 -975 -30564205 -1972 -558 -30562235 +970 +30645668 +1969 +551 +30643701 0 -1972 -2178 -30562235 -2130 -1972 -1972 +1969 +2185 +30643701 +2137 +1969 +1969 0 0 -999 +994 2 -1972 -1972 -1970 +1969 +1969 +1967 0 -972 -1972 -1972 +969 +1969 +1969 60 60 998 @@ -148473,10 +149274,10 @@ 0 0 0 -1972 +1969 0 -1970 -4990 +1967 +4984 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -148484,10 +149285,10 @@ # NumValueSites: 2 4 -33:18285443 -65:11651244 -17:618753 -129:6924 +33:18440894 +65:11575774 +17:620171 +129:6987 4 513:24 65:12 @@ -148500,21 +149301,21 @@ # Num Counters: 58 # Counter Values: -27594 -1650 -28305 -28305 -957 -957 +27683 +1739 +28287 +28287 +1021 +1021 0 -7570 -54245 +7565 +54228 0 25944 0 0 0 -54249 +54231 0 0 0 @@ -148522,22 +149323,22 @@ 25944 25944 0 -54249 +54231 0 0 0 0 -55 +60 0 0 -55 +60 0 0 -55 +60 0 0 -55 -55 +60 +60 0 0 0 @@ -148556,7 +149357,7 @@ 0 0 0 -55 +60 0 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_116full_write_inputERKNS0_9DrawStateEiRKNS0_11GfxPipelineERK7GpuDrawPKNS0_15VertexInputPlanERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE @@ -148735,21 +149536,21 @@ # Num Counters: 27 # Counter Values: -880616 -261408 -261271 -55410 -58051726 -58048198 -58038813 -167613 -957823 -1697740 -261365 -411785 -58352 -58065 -58064 +880618 +261494 +261367 +55366 +58026054 +58024009 +58008882 +167736 +958140 +1698333 +261455 +411923 +58359 +58068 +58067 0 0 0 @@ -148759,9 +149560,9 @@ 0 0 0 -495410 -495410 -38234 +495153 +495153 +38247 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_116parse_keep_specsEPKc # Func Hash: @@ -148845,21 +149646,21 @@ # Num Counters: 27 # Counter Values: -10006 +10019 0 0 -662 +663 24 24 -7 +8 0 0 0 0 -38 +36 0 0 -38 +36 0 0 0 @@ -148879,9 +149680,9 @@ # NumValueSites: 3 3 -16:4 -32:2 -17:1 +33:4 +16:3 +32:1 0 3 65:12 @@ -148895,27 +149696,27 @@ 66 # Counter Values: 0 -70367802 +71129903 0 -5705011 -5705011 -1100173207 +5658132 +5658132 +1072463384 0 -5705011 -517805061 +5658132 +516243450 0 -310320954 -828240306 -5705011 -478143757 -660697881 -517756929 +309375087 +824931373 +5658132 +476536365 +658082077 +516218856 0 0 -828263627 +824942315 0 -310317689 -517768859 +309372196 +516218306 0 0 0 @@ -148932,19 +149733,19 @@ 0 0 0 -1652387306 -5705011 -1652540315 -5705011 +1646540791 +5658132 +1647247631 +5658132 0 -554481508 -627443 +576295334 +644638 0 0 0 0 -554599726 -627444 +576313159 +644637 0 0 0 @@ -148976,36 +149777,36 @@ # Num Counters: 40 # Counter Values: +1 +5205 +5 0 -5200 -0 -0 -0 -107 -107 -1040 -0 -107 +4 +108 +108 +1041 +1 +108 0 0 -104 +105 104 0 0 -107 +108 0 -107 +108 0 -107 +108 0 -107 -107 +108 +108 0 0 -107 -107 +108 +108 0 -107 +108 0 0 0 @@ -149023,33 +149824,33 @@ # Num Counters: 40 # Counter Values: -240315 -240315 -20756 -135205 -53 -15508 -105110 -5245 -20375 -20291 -37077 -37077 -0 -15561 -0 -37077 -0 -37077 -37077 -15543 -37077 -37077 +241053 +241053 +20710 +135915 +59 +15498 +105138 +5154 +20466 +20382 +37198 +37198 +0 +15557 +0 +37198 +0 +37198 +37198 +15545 +37198 +37198 96 96 -21534 +21653 84 -21522 +21641 0 0 0 @@ -149062,7 +149863,7 @@ 0 0 0 -37077 +37198 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -149257,15 +150058,15 @@ # Num Counters: 42 # Counter Values: -4257 +4268 0 -387 +388 0 143 -196 -196 -196 -196 +197 +197 +197 +197 0 48 0 @@ -149295,7 +150096,7 @@ 0 0 0 -196 +197 0 48 48 @@ -149306,9 +150107,9 @@ # NumValueSites: 5 1 -9:196 +9:197 1 -9:196 +9:197 1 9:48 0 @@ -149340,7 +150141,7 @@ # Num Counters: 1 # Counter Values: -228988466 +228393413 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_117build_gs_es_stageERNS0_11GfxPipelineERKNS0_9DrawStateEPKNS0_15VertexInputPlanERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -149532,69 +150333,69 @@ # Num Counters: 109 # Counter Values: -3047 -1127 -23 -107 -19799 -19799 -21803 -21803 -23 -98 -23 -98 +3053 +1114 +13 +94 +19770 +19770 +21790 +21790 +13 +90 +13 +90 0 0 -88178 -22821 -3024 +88031 +22808 +3040 1020 -22626 -88172 -22823 -2983 -22823 -22813 +22614 +88032 +22810 +2993 +22810 +22798 0 0 -3024 -3024 +3040 +3040 1020 1020 -3024 +3040 1020 -22823 -22823 -22812 -28 -22801 -2988 -0 +22810 +22810 +22794 +33 +22793 +3004 0 0 0 +2 0 0 0 0 0 0 -22813 +22794 0 0 0 0 0 0 -19631 +19609 0 0 0 0 0 0 -19630 +19605 0 0 0 @@ -149627,20 +150428,20 @@ 0 0 0 -2983 +2993 0 0 0 0 -2853 -2983 -5341 +2863 +2993 +5316 0 0 0 0 -22817 -2806 +22804 +2819 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_117look_prewarm_seenEPKf # Func Hash: @@ -149648,9 +150449,9 @@ # Num Counters: 3 # Counter Values: -9383718 +10116921 3 -9383107 +10116557 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_117manifest_note_hitEy # Func Hash: @@ -149658,8 +150459,8 @@ # Num Counters: 8 # Counter Values: -21312 -21312 +21340 +21340 0 0 0 @@ -149709,10 +150510,10 @@ 0 0 0 -42743 +42744 0 0 -42742 +42744 0 0 0 @@ -149797,19 +150598,19 @@ # Num Counters: 13 # Counter Values: -39687 -39687 +39699 +39698 251 -39437 +39447 251 -5428 +5421 0 251 -5428 -5428 -5428 -5428 -3667 +5421 +5421 +5421 +5421 +3684 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_117stage_manifest_onEv # Func Hash: @@ -149817,7 +150618,7 @@ # Num Counters: 4 # Counter Values: -22694 +22735 12 12 0 @@ -149889,11 +150690,11 @@ # Num Counters: 6 # Counter Values: -316685 -316685 -63339 +316680 +316680 +63340 0 -58012 +58000 0 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_118PipelineBuildScopeD2Ev @@ -149904,7 +150705,7 @@ # Counter Values: 0 0 -63355 +63360 0 0 0 @@ -149927,46 +150728,46 @@ # Num Counters: 1758 # Counter Values: -34328 -5334 -10620 +34330 +5341 +10634 0 -2255 +2299 0 -5452 +5427 143 0 -10620 -9081744 -1098592 -33969 +10634 +9075842 +1098752 +33974 0 0 0 -775861 +776505 165 15737 711470 -5334 +5341 0 -990 +913 0 0 -775841 +776513 27384 13148 0 0 -85248 +85360 0 0 0 0 0 0 -3483 +3480 20810 -22848 +22914 0 0 0 @@ -149977,7 +150778,7 @@ 0 0 0 -34331 +34336 0 0 0 @@ -149987,8 +150788,8 @@ 0 33243 0 -34331 -34331 +34336 +34336 0 0 0 @@ -149996,37 +150797,37 @@ 0 0 0 -34329 -34330 -34329 -34329 +34332 +34334 +34336 +34333 0 3287 0 -34328 +34335 0 0 0 -33945 +33947 0 0 -34330 -34330 -34330 +34336 +34336 +34334 0 0 -33733 -33733 -16596 -29485 -4565 +33738 +33738 +16556 +29490 +4569 0 0 0 -34331 +34335 3287 -34330 -34325 +34331 +34331 0 0 0 @@ -150035,71 +150836,71 @@ 0 0 0 -34329 -10656 +34334 +10670 0 -10656 -15400 +10670 +15428 0 288 0 0 3287 -10620 -10656 -10620 -10656 -10656 +10634 +10670 +10634 +10670 +10670 0 0 0 0 -34331 +34336 0 0 -34329 -5452 +34334 +5427 0 0 -33733 -29270 -4565 -34329 +33738 +29274 +4568 +34332 0 3287 0 0 0 -5452 +5427 0 -5334 +5341 0 0 0 -10656 -10656 -10656 -10656 -10656 -10656 -10656 -10656 -10656 -10656 -288 +10670 +10670 +10670 +10670 +10670 +10670 +10670 +10670 +10670 +10670 288 +287 288 0 0 -10620 -10656 -10656 -10656 +10634 +10670 +10670 +10670 0 0 0 0 -5452 +5427 143 143 215 @@ -150107,7 +150908,7 @@ 215 215 0 -34322 +34330 0 215 143 @@ -150118,27 +150919,26 @@ 0 0 0 -5452 -7554 -7636 -7636 -7636 -10572 -10572 -10572 -10572 +5426 +7558 +7644 +7644 +7644 +10586 +10586 +10586 +10586 288 288 0 -1174 -1174 -1174 -0 +1158 +1158 +1158 0 0 0 -7198 0 +7210 0 0 0 @@ -150148,31 +150948,32 @@ 0 0 0 -1174 0 +1158 0 0 -5200 -5201 0 +5176 +5176 0 -5416 0 +5390 0 0 0 -10620 -10656 -10620 -10656 -10656 0 +10634 +10670 +10634 +10670 +10670 +16 0 0 0 0 0 -7198 +7210 0 0 0 @@ -150184,11 +150985,11 @@ 0 0 0 -288 +287 0 0 0 -3483 +3480 36 0 36 @@ -150199,17 +151000,17 @@ 0 0 0 -5452 -34329 -34331 +5427 34330 -34328 +34330 +34334 +34336 0 0 -5452 +5427 0 143 -34186 +34190 215 0 0 @@ -150219,16 +151020,16 @@ 0 0 0 -10620 -10656 -10656 -10656 +10634 +10670 +10670 +10670 0 0 0 0 -1174 -1174 +1158 +1158 0 0 0 @@ -150246,17 +151047,17 @@ 0 0 0 -1174 -1174 -1174 -1174 -1174 -1174 -1174 -1174 +1158 +1158 +1158 +1158 +1158 +1158 +1158 +1158 0 -34330 -6438 +34334 +6462 0 0 0 @@ -150266,16 +151067,16 @@ 0 0 0 -5452 +5426 0 0 0 0 -718 +693 0 0 -718 -3483 +693 +3480 0 0 0 @@ -150286,22 +151087,22 @@ 0 0 0 -6438 -3520 +6462 +3517 0 0 0 0 -34331 +34333 0 0 -34331 -3483 +34332 +3480 0 0 0 -1174 -1174 +1158 +1158 0 0 0 @@ -150309,7 +151110,7 @@ 0 0 0 -3520 +3517 0 0 0 @@ -150320,18 +151121,18 @@ 0 96 96 -3238 -3483 +3234 +3480 0 0 -5334 +5341 0 0 0 0 0 0 -5452 +5427 0 0 0 @@ -150341,30 +151142,30 @@ 0 0 0 -9136 +9138 0 0 0 -3470 -3470 +3467 +3467 0 215 0 0 0 -4568 -5452 -5452 +4569 +5427 +5427 0 0 0 -3483 +3480 0 -5452 +5427 0 215 215 -3483 +3480 0 0 0 @@ -150381,7 +151182,7 @@ 0 0 0 -4302 +4300 0 96 96 @@ -150390,10 +151191,10 @@ 0 0 0 -1174 -1174 +1158 +1158 130 -34055 +34061 143 0 0 @@ -150413,14 +151214,14 @@ 0 0 143 -34330 +34335 0 -34328 -34331 +34334 +34334 34330 0 -3057 -101 +3049 +102 0 0 0 @@ -150431,16 +151232,16 @@ 72 0 0 -3483 +3480 0 130 0 0 0 0 -4302 +4300 0 -4302 +4300 0 0 0 @@ -150449,16 +151250,16 @@ 0 0 0 -90 -1174 -1174 -4567 +83 +1158 +1158 +4568 143 143 0 -1088 -1088 -0 +1093 +1093 +2 0 0 0 @@ -150473,34 +151274,34 @@ 0 0 0 +4569 4568 -4567 0 +4567 4568 -4566 0 130 0 0 -34329 +34336 0 -34327 -34329 -5334 -5334 +34334 +34335 +5341 +5341 0 -3057 +3049 0 -205 +209 0 0 -101 +102 0 0 24 -4302 +4300 0 -4302 +4300 0 0 165 @@ -150511,57 +151312,57 @@ 0 0 0 -1174 -4568 +1158 +4569 143 143 -4567 -90 +4569 +83 0 0 -1088 +1093 0 0 -3057 -205 -3057 -101 -53 -205 -205 +3049 +209 +3047 +102 +54 +209 +209 0 0 -101 +102 0 0 0 0 0 -3057 -205 -101 +3049 +209 +102 0 0 0 0 0 -4302 +4300 0 -4568 +4569 0 165 72 72 24 -4568 -4568 +4569 +4569 0 0 0 0 143 130 -90 +83 130 0 0 @@ -150570,14 +151371,14 @@ 0 0 0 -90 +83 0 -2656 +2650 0 156 0 72 -1088 +1093 0 0 0 @@ -150594,8 +151395,8 @@ 0 165 0 -4568 -90 +4569 +83 0 0 0 @@ -150611,8 +151412,8 @@ 0 0 72 -4568 -4568 +4569 +4569 130 0 0 @@ -150631,10 +151432,10 @@ 0 0 24 -4568 -2656 +4569 +2650 0 -2656 +2650 0 156 0 @@ -150646,8 +151447,8 @@ 24 0 0 -4568 -4568 +4569 +4569 0 0 0 @@ -150659,16 +151460,16 @@ 24 0 0 -4568 +4569 0 -4568 +4569 0 -4568 -1174 -4568 -2656 +4569 +1158 +4569 +2650 0 -2656 +2650 0 156 0 @@ -150683,7 +151484,7 @@ 0 0 0 -4568 +4569 108 0 0 @@ -150691,11 +151492,11 @@ 0 0 0 -4568 +4569 0 4568 0 -2656 +2650 0 156 0 @@ -150717,26 +151518,26 @@ 0 0 0 -1174 -90 -24 +1158 +83 +28 108 108 0 -90 -90 +83 +83 0 24 24 0 0 0 -4567 +4569 0 0 0 0 -4568 +4569 108 0 0 @@ -150745,65 +151546,65 @@ 0 0 0 -90 -24 +83 +28 0 108 -4565 +4569 0 0 0 0 0 0 -4568 +4569 0 0 0 0 0 0 -730 -730 -90 +735 +735 +83 0 0 0 0 0 -90 -90 +83 +83 0 0 0 0 0 -24 +28 0 0 0 0 0 -24 +28 0 0 0 -24 +28 0 0 0 0 -24 +28 0 0 -90 +83 0 -66 -24 -24 -24 -24 -24 +55 +28 +28 +28 +28 +28 0 0 0 @@ -150811,27 +151612,27 @@ 0 0 0 -66 +55 0 0 0 0 0 0 -66 +55 0 0 0 0 0 -90 +83 0 0 0 0 0 48 -24 +28 0 0 0 @@ -150842,12 +151643,12 @@ 0 0 0 -66 -66 +55 +55 0 0 0 -90 +83 0 0 0 @@ -150864,8 +151665,8 @@ 0 0 0 -24 -24 +28 +28 0 0 0 @@ -150886,7 +151687,7 @@ 0 0 0 -24 +28 0 0 0 @@ -151089,9 +151890,9 @@ 0 0 0 +19 14 -14 -14 +15 0 0 0 @@ -151378,7 +152179,7 @@ 0 0 15 -13 +14 0 0 0 @@ -151543,32 +152344,32 @@ 0 0 0 -5334 +5341 0 -1174 -1174 -1174 -1174 -1174 -1174 +1158 +1158 +1158 +1158 +1158 +1158 0 0 0 -1174 -1174 -1174 -1174 +1158 +1158 +1158 +1158 34328 34328 0 0 15737 6574 +34332 34329 -34328 -18221 -7198 -5452 +18235 +7210 +5427 0 0 0 @@ -151582,78 +152383,78 @@ 0 0 0 -5452 +5427 0 -5452 +5427 12 0 -5452 -5452 -4302 +5427 +5427 +4300 0 0 -28946 -5382 -34330 -5452 -5452 -5452 -5452 +28942 +5389 +34329 +5427 +5427 +5427 +5427 0 0 0 0 143 358 -33732 -31035 -12889 -33867 -34319 -34190 -29483 +33739 +31043 +12933 +33877 +34331 +34201 +29489 215 -34322 -4837 -34200 +34331 +4841 +34201 0 0 -34198 -20192 -6438 -2765 +34202 +20184 +6462 +2786 0 -3483 +3480 0 -221 -3057 -3057 -3057 -2656 -205 -205 -205 +222 +3049 +3049 +3049 +2650 +209 +209 +209 156 -101 -101 -101 +102 +102 +102 72 24 24 24 24 -34188 -34116 +34191 +34119 0 0 -28946 -5382 -34198 -3483 -3483 -3483 -3483 -3520 +28944 +5389 +34200 +3480 +3479 +3480 +3480 +3517 0 0 0 @@ -151662,25 +152463,25 @@ 165 0 4567 -90 -24 -24 +83 +28 +28 0 0 -90 +83 0 -90 +83 0 -90 -90 -90 -90 -90 +83 +83 +83 +83 +83 0 4698 0 -4567 4568 +4569 12 0 0 @@ -151911,7 +152712,7 @@ 6 # Counter Values: 0 -262 +263 0 3 0 @@ -151923,10 +152724,10 @@ # Num Counters: 4 # Counter Values: -22707775 -439 -54 -180 +22895639 +446 +60 +186 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_118feedback_census_onEv # Func Hash: @@ -151934,7 +152735,7 @@ # Num Counters: 6 # Counter Values: -125784940 +125651590 12 12 0 @@ -151948,49 +152749,49 @@ 95 # Counter Values: 0 -1216239 +1214914 0 0 0 0 -104191008 -105780423 +103788008 +105464449 0 -125507685 -105778557 +125350033 +105465033 0 -19737879 +19903425 0 0 -5387573 -105777134 +5472241 +105462501 0 -105760289 -22441488 -19737879 +105445477 +22297211 +19903425 0 -1216239 +1214914 0 0 -99997451 -22441549 -105758446 +99597305 +22296618 +105455086 0 0 0 -19737880 +19903425 0 0 0 0 0 -17305326 +17473521 0 -1216315 +1214990 0 0 0 -19737879 +19903424 0 0 0 @@ -152016,30 +152817,30 @@ 0 0 0 -26 -20 +25 +21 12 12 0 0 -22 +16 12 0 0 0 0 -64195228 +63866684 215 -6182327 -6182318 -80368435 +6282632 +6282632 +79989057 0 0 0 -19737879 -19737629 -19737629 -12108913 +19903425 +19903184 +19903184 +12135113 0 0 @@ -152062,7 +152863,7 @@ # Num Counters: 18 # Counter Values: -102358 +100624 0 0 0 @@ -152072,8 +152873,8 @@ 0 0 0 -102358 -102358 +100624 +100624 0 0 0 @@ -152087,7 +152888,7 @@ # Num Counters: 4 # Counter Values: -742689 +738642 12 12 0 @@ -152098,51 +152899,51 @@ # Num Counters: 75 # Counter Values: -29044 -1798 -41937 -41937 -1027 -1027 +28999 +1764 +41912 +41912 +1029 +1029 0 -2983 -19777 +2993 +19753 0 -3622 -69163 -49403 +3578 +69124 +49390 0 -27246 +27235 0 0 0 -69183 +69147 0 0 0 -27246 -27246 -27246 +27235 +27235 +27235 0 -69182 +69144 0 0 0 0 0 0 -41 +57 0 0 0 -41 +57 0 0 -41 +57 0 0 -41 -41 +57 +57 0 0 0 @@ -152162,16 +152963,16 @@ 0 0 0 -6819 -24261 -25733 +6877 +24256 +25720 0 -28002 -69179 -28002 +27989 +69143 +27987 0 0 -41 +57 0 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_118precompile_enabledEv @@ -152180,7 +152981,7 @@ # Num Counters: 4 # Counter Values: -57444 +57472 12 12 0 @@ -152193,10 +152994,10 @@ # Counter Values: 0 0 -1614911 -54453 -148936 -50483 +1614795 +54466 +149042 +50488 0 0 0 @@ -152226,11 +153027,11 @@ # Num Counters: 14 # Counter Values: -18400024 -385 -10585282 +18662246 +381 +10708497 144 -385 +381 144 144 144 @@ -152268,7 +153069,7 @@ # Num Counters: 4 # Counter Values: -19300 +19325 12 12 0 @@ -152279,27 +153080,27 @@ # Num Counters: 23 # Counter Values: -13 +9 0 0 -1653312 -451222485 -277600134 -3136656 +1706412 +432400358 +261862807 +3191733 0 -54414 -2062346 -176653733 -413328 -106 -3031382 -10 -3031276 -2116866 +42994 +2130775 +173611647 +426603 +111 +3074096 +8 +3073985 +2173880 0 -10 -96 -5 +8 +103 +1 0 64 @@ -152309,13 +153110,13 @@ # Num Counters: 7 # Counter Values: -5428 -1761 -1761 -1761 -1761 -3394 -1761 +5421 +1737 +1737 +1737 +1737 +3411 +1737 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_119clip_control_censusERKNS0_9DrawStateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -152323,18 +153124,18 @@ # Num Counters: 12 # Counter Values: -19731151 -109467689 +19896684 +109136340 0 -19730936 +19896479 0 -166870 -7081284 -7081284 -12649652 +170427 +7213155 +7213155 +12683324 0 -7081284 -19728089 +7213155 +19893047 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_119compact_keep_lockedEv # Func Hash: @@ -152359,8 +153160,8 @@ 0 0 0 -587 -587 +579 +579 0 0 0 @@ -152374,7 +153175,7 @@ 0 0 0 -29033 +29031 0 0 0 @@ -152390,94 +153191,94 @@ 0 0 0 -4254 -28598 -25964 -25964 -25969 -9320 +4263 +28599 +25979 +25978 +25981 +9296 0 0 0 -1002 -29030 -1821 +1009 +29026 +1804 0 -3684 +3704 0 -880 +890 0 -880 -23681 +890 +23685 0 0 0 -23690 +23691 0 -23697 +23694 0 -4254 +4263 0 -5128 -1002 -28597 +5095 +1009 +28595 0 0 0 -29030 -29029 -29027 +29024 +29026 +29024 +29024 29025 -29029 -0 -0 -880 0 0 +889 +1 0 0 0 -28 0 +34 +18 480 -28 +34 0 -5330 -5330 -5330 +5331 +5331 +5331 0 0 -28600 +28598 0 0 0 0 -28 +34 0 0 0 0 0 -109 +114 456 0 -2516 -2514 -1002 +2497 +2498 +1009 215 -1002 -4254 +1009 +4263 215 215 -4254 -4254 -0 -479 +4263 +4263 +18 480 -5311 -5311 -5330 -28 +480 +5312 +5312 +5331 +34 0 0 0 @@ -152487,9 +153288,9 @@ 0 0 215 -4254 -4254 -3981 +4263 +4263 +3990 0 0 0 @@ -152502,14 +153303,14 @@ 0 0 0 -4254 -4254 -0 +4263 +4263 +18 0 -28 -28 -28 -28 +34 +34 +34 +34 480 0 0 @@ -152521,38 +153322,43 @@ 0 0 0 -28 +34 0 0 0 +17 +18 0 0 0 0 0 +579 +579 +5331 0 0 -587 -587 -5330 +17 +18 0 0 0 0 +5312 0 +18 +579 +579 +559 0 0 +4753 +4705 0 -5311 0 0 -587 -587 -570 0 0 -4741 -4708 0 0 0 @@ -152589,13 +153395,8 @@ 0 0 0 -0 -0 -0 -0 -0 -38 42 +41 12 12 0 @@ -152653,36 +153454,31 @@ 0 0 0 -3981 -4124 -29027 -29027 -28026 +3990 +4133 +29029 +29029 +28020 111 -28598 -0 -28027 -4224 +28597 0 +28018 4253 -4253 -4253 -4253 -587 -587 -23673 -0 -570 -570 -570 -179 -3684 -23694 -0 -0 -0 0 +4263 +4262 +4262 +4262 +579 +579 +23664 0 +559 +559 +559 +179 +3704 +23697 0 0 0 @@ -152698,8 +153494,13 @@ 0 0 0 -325 -373 +18 +18 +12 +16 +18 +321 +365 0 0 0 @@ -152724,7 +153525,7 @@ 27 # Counter Values: 0 -26946 +26953 0 0 0 @@ -152836,20 +153637,20 @@ # Counter Values: 0 0 -333216844 -333216844 +332936682 +332936682 17054 -47114 -47114 -39855 -39857 -23477 +47108 +47108 +39843 +39844 +23464 0 0 0 0 108 -17054 +17053 10202 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_119precompile_manifestERKNS0_13ManifestStageE @@ -152932,7 +153733,7 @@ 0 0 12 -959 +960 960 0 0 @@ -153239,19 +154040,19 @@ # Num Counters: 119 # Counter Values: -146623 +141297 0 0 1015808 0 0 -102358 -102332 -102332 +100624 +100598 +100598 26 0 14 -102332 +100598 0 26 0 @@ -153339,8 +154140,8 @@ 0 0 0 -41072 -41072 +37553 +37553 0 0 0 @@ -153623,7 +154424,7 @@ # Num Counters: 4 # Counter Values: -1731 +1749 12 12 0 @@ -153645,18 +154446,18 @@ # Num Counters: 12 # Counter Values: -35114 -35113 -35110 -35113 -35113 +35101 +35101 +35100 +35100 +35100 0 0 0 0 0 0 -35113 +35101 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_120queue_library_relinkERNS0_11GfxPipelineEPKN3gcn11StageParamsE # Func Hash: @@ -153664,28 +154465,28 @@ # Num Counters: 62 # Counter Values: -84 -420 -28 -28 +99 +495 +33 +33 +33 28 -22 0 0 -66 -66 -9 -9 -11 +65 +65 +4 +4 +14 0 -11 +14 0 -28 +33 0 0 -28 -11 -28 +33 +14 +33 0 0 0 @@ -153702,24 +154503,24 @@ 0 0 0 -6 +9 0 0 0 0 -6 +9 0 0 0 0 0 0 -28 -11 +33 +14 0 0 -11 -66 +14 +65 0 0 0 @@ -154195,7 +154996,7 @@ # Num Counters: 4 # Counter Values: -5602653 +5557512 12 12 0 @@ -154206,12 +155007,12 @@ # Num Counters: 6 # Counter Values: -128976454 -128985959 +128813609 +128817422 12 12 0 -128980332 +128813557 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_120vb_mirror_pages_noteERSt13unordered_setIySt4hashIyESt8equal_toIyESaIyEEyy # Func Hash: @@ -154334,19 +155135,19 @@ # Num Counters: 32 # Counter Values: -49890 -52139 -52142 -52152 -52152 -52149 -49906 -52153 -402 -402 -51746 -402 -205 +49892 +52144 +52145 +52145 +52143 +52141 +49895 +52145 +407 +407 +51735 +406 +209 0 0 0 @@ -154360,12 +155161,12 @@ 0 0 0 -2249 -2249 -52141 -51739 -52152 -402 +2250 +2250 +52144 +51738 +52145 +407 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_120write_pipeline_statsEP12VkPipeline_TRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -154580,7 +155381,7 @@ 0 0 0 -28179 +28175 0 0 0 @@ -154610,9 +155411,9 @@ # Num Counters: 7 # Counter Values: -55227 -50460 -50460 +55246 +50479 +50479 0 0 0 @@ -154644,9 +155445,9 @@ # Counter Values: 0 0 -1744 +1717 0 -1744 +1717 0 0 0 @@ -154682,17 +155483,17 @@ 0 0 0 -324910647 +324927985 0 -306993016 -17947873 -306992915 -17947873 +306718372 +18241595 +306719501 +18241595 0 -17947873 -17947873 +18241595 +18241595 0 -17947873 +18241595 0 0 0 @@ -154705,9 +155506,9 @@ # NumValueSites: 1 3 -8:267383520 -16:21593700 -32:17822099 +8:266817433 +16:21733291 +32:17988353 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_121stage_pipeline_layoutEP23VkDescriptorSetLayout_TS2_ # Func Hash: @@ -154715,8 +155516,8 @@ # Num Counters: 15 # Counter Values: -77075 -77075 +77080 +77080 12 0 12 @@ -154742,11 +155543,11 @@ 0 0 0 -29023 -29024 +29022 +29018 0 0 -29032 +29031 0 0 0 @@ -154828,12 +155629,12 @@ # Num Counters: 15 # Counter Values: -54689 -54688 -54694 -23594 -13200 -5688 +54706 +54702 +54710 +23579 +13174 +5629 0 0 0 @@ -154842,7 +155643,7 @@ 0 0 0 -54688 +54705 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_122spirv_discard_branchesERKSt6vectorIjSaIjEERbS6_ # Func Hash: @@ -154913,15 +155714,15 @@ 29 # Counter Values: 715 -1159 -1746 -2160 -2160 -1016 -873 -849 -849 -873 +1164 +1756 +2165 +2165 +1021 +878 +854 +854 +878 0 24 143 @@ -154949,13 +155750,13 @@ 18 # Counter Values: 2004 -2003 -2003 2004 +2004 +2003 0 0 2004 -2004 +2003 2004 0 0 @@ -154973,60 +155774,60 @@ # Num Counters: 68 # Counter Values: -3831765 -1532706 -1532708 -36 -0 -1532708 -766352 -0 -766353 -84994 -766353 -107826 -107294 -166442 -45561 -71997 +3829140 +1531656 +1531656 +35 0 -766354 -766338 -503 -2071 +1531654 +765828 +0 +765828 +80766 +765828 +104211 +103683 +131285 +38151 +71989 +0 +765828 +765810 +614 +1901 96 -621616 +620661 0 16 -766354 +765828 0 96 -613583 +612612 0 96 -4503 +4211 96 -195652 -78094 -609330 -613547 -119124 -609330 -613051 -611904 +185613 +75473 +608654 +612577 +118395 +608654 +612084 +611169 0 25 -609185 -117558 +608507 +110140 20 20 -417931 +426999 25 -609080 +608401 0 -298807 +308604 25 -609080 +608401 25 0 0 @@ -155034,13 +155835,13 @@ 0 0 0 -766354 -621616 -621616 -621616 -535489 -613583 -1522849 +765828 +620661 +620661 +620661 +537139 +612612 +1522340 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -155599,28 +156400,28 @@ # Num Counters: 61 # Counter Values: -286899 +287054 0 0 0 0 0 -105216 +105311 0 -105215 +105312 0 0 0 0 -34327 +34333 0 0 0 -34327 +34334 0 0 -28889 -29176 +28885 +29181 29178 0 0 @@ -155643,16 +156444,16 @@ 0 0 0 -5452 -4337 +5427 +4331 0 -4841 -5056 -3754 -5130 +4842 +5057 +3744 +5118 0 -101569 -101569 +101599 +101599 0 0 0 @@ -155704,17 +156505,17 @@ # Num Counters: 26 # Counter Values: -4414668 -308754 -308754 -778753 +4510400 +303509 +303509 +785888 0 -35719 -472862 -192598 +37099 +477272 +192100 0 -183438 -9165 +182963 +9142 0 0 0 @@ -155722,14 +156523,14 @@ 0 12 0 -2285 +2279 0 0 -2285 +2279 0 0 5 -57 +48 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -155737,9 +156538,9 @@ # NumValueSites: 4 3 -17:92018 -33:85138 -65:15448 +17:95696 +33:81548 +65:14862 0 0 0 @@ -155750,23 +156551,23 @@ # Num Counters: 28 # Counter Values: -156 +172 0 12 -102346 +100612 12 12 12 12 0 -149 -102084 +145 +100350 12 -68 +70 12 12 -57 -45 +59 +47 12 0 12 @@ -155799,10 +156600,10 @@ # Num Counters: 19 # Counter Values: -1088 -1088 -1052 -1052 +1093 +1093 +1057 +1057 12 36 0 @@ -155815,8 +156616,8 @@ 0 0 0 -1088 -1088 +1093 +1093 0 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_129particle_gate_vertices_lockedERKNS0_11GfxPipelineERKN3gcn15TranslateResultEPKy @@ -155825,18 +156626,18 @@ # Num Counters: 12 # Counter Values: -82140 -41070 -41070 -41070 -41070 -41070 -41070 +75102 +37551 +37551 +37551 +37551 +37551 +37551 0 -41070 -41070 -28958 -12112 +37551 +37551 +28614 +8937 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_130spirv_has_early_fragment_testsERKSt6vectorIjSaIjEE # Func Hash: @@ -155858,16 +156659,16 @@ # Num Counters: 12 # Counter Values: -6465 -50385 -43920 -12930 -12930 -6465 -6465 -6465 -6465 -6465 +6498 +50632 +44134 +12996 +12996 +6498 +6498 +6498 +6498 +6498 0 0 # Num Value Kinds: @@ -155877,7 +156678,7 @@ # NumValueSites: 1 1 -513:6464 +513:6496 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_132compact_largest_elsewhere_lockedEi # Func Hash: @@ -155899,10 +156700,10 @@ # Num Counters: 4 # Counter Values: -1005754824 -469558889 -125734057 -104452343 +1004618848 +468227390 +125607100 +104058945 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_18rt_imageEy8VkFormatjjbjyj # Func Hash: @@ -155910,75 +156711,75 @@ # Num Counters: 354 # Counter Values: -55212252 -55212195 -12189 +55998939 +55998882 +12204 12 0 0 0 -730 -161795 +733 +161660 0 -3650 +3665 0 0 -37995913 -2920 -145554325 +38506942 +2932 +147523483 155 155 0 0 0 0 -32359 +32332 0 -730 +733 0 0 -18404084 -32567 -32567 -12206135 +18666313 +32678 +32678 +12380954 19 -18404065 -133 +18666294 +135 0 -133 -133 -4063 +135 +135 +4068 0 0 -18403637 +18665860 19 -18400338 +18662555 0 -336 +329 0 -336 +329 0 3885 0 -4063 +4068 19 -18400284 +18662507 0 0 -282 -336 +281 +329 0 -336 +329 0 0 0 0 -173 -181 -181 +170 +174 +174 0 0 -3155 +3152 0 0 0 @@ -155989,20 +156790,20 @@ 0 0 0 -4063 +4068 19 -18400157 +18662381 155 -168 +167 0 -181 -181 +174 +174 0 0 0 0 -336 -336 +329 +329 0 0 0 @@ -156011,43 +156812,43 @@ 0 0 0 -181 -181 +174 +174 19 -18400157 +18662381 155 155 -4063 -4063 -4063 -4063 -4063 -168 +4068 +4068 +4068 +4068 +4068 +167 0 0 0 0 0 0 -181 +174 0 -4063 +4068 0 0 -4063 -3635 -3635 -1081 -44 -44 -44 +4068 +3634 +3634 +1089 +45 +45 +45 5 5 5 -18400002 -18400002 +18662226 +18662226 19 -18400002 +18662226 19 19 19 @@ -156057,9 +156858,9 @@ 0 288 0 -4063 +4068 155 -4063 +4068 0 0 0 @@ -156075,9 +156876,9 @@ 16 0 0 -1081 -35 -5 +1089 +33 +4 0 0 0 @@ -156092,21 +156893,21 @@ 288 155 0 -3908 +3913 0 0 0 19 19 0 -4063 -4063 +4068 +4068 0 155 155 288 288 -5 +4 0 0 19 @@ -156125,28 +156926,28 @@ 0 19 19 -5 +4 0 -5 +4 0 -1524 +1332 0 19 0 0 -5 -5 +4 +4 0 -2206 +2398 0 0 -5 +4 0 0 0 0 0 -2206 +2398 0 0 0 @@ -156225,44 +157026,44 @@ 0 0 0 -15158142 -15158142 -12206116 -77 -77 +15438833 +15438833 +12380935 +78 +78 16 0 0 -77 -77 +78 +78 16 -77 -77 +78 +78 0 0 -71082335 -71082335 -3299 -8 -168 +70364014 +70364014 +3305 +4 +167 0 -178 -178 -178 -55 -178 -178 +183 +183 +183 +60 +183 +183 0 155 63 0 -19401 -19401 -3635 -19401 -19401 -4027 -4027 +19209 +19209 +3634 +19209 +19209 +4032 +4032 0 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_19DrawStateC2Ev @@ -156271,22 +157072,22 @@ # Num Counters: 16 # Counter Values: -2010488400 -1474358160 -134021943 -2010329145 -937875519 -937875519 -937861533 -937861533 -4151734551 -2008903815 -2008955490 -669651830 -267877384 -669693460 -535662856 -133915714 +2004400395 +1469893623 +133610792 +2004160965 +934845548 +934845548 +935041058 +934889865 +4140044141 +2003247165 +2003265000 +667754830 +267077138 +667692845 +533999748 +133474533 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_19cb_formatERKNS0_6CbInfoE # Func Hash: @@ -156294,34 +157095,34 @@ # Num Counters: 53 # Counter Values: -166925642 +164834076 0 -17395943 -4306412 -25060838 -63389420 -554564830 -36078 +17727697 +4434518 +25156974 +62875634 +551615557 +36096 0 0 -4306401 -310936056 -17395922 +4434518 +310521201 +17727619 0 0 -55294237 +54396856 0 0 -452080 +465886 0 -36078 +36096 0 0 0 0 -285944234 -25060849 -222669574 +285419751 +25156973 +222686578 0 0 0 @@ -156330,19 +157131,19 @@ 0 0 0 -452080 -4306396 +465886 +4434524 0 0 0 0 0 -63287060 +62771073 0 0 0 0 -17395940 +17727668 0 0 0 @@ -156354,9 +157155,9 @@ # Num Counters: 18 # Counter Values: -12686249 +12725989 0 -120253055 +119810789 0 0 0 @@ -156371,7 +157172,7 @@ 0 0 0 -18354058 +18405934 @SRC@/src/host/render.cpp;_ZN3gpu12_GLOBAL__N_19fetch_forEjyRPKNS0_12FetchProgramE # Func Hash: @@ -156379,39 +157180,39 @@ # Num Counters: 34 # Counter Values: -37730633 -90277893 -19354383 +38607657 +89031469 +19516039 0 -37730562 -70923510 -70921931 -1579 +38609815 +69515430 +69503726 +11704 0 -61 +32 0 -1579 -70921931 +11704 +69503726 0 0 0 -61 -70921931 -70921931 +32 +69503726 +69503726 0 0 0 -61 +32 0 0 0 0 -61 +32 0 0 0 -127990144 -70923510 +127617174 +69515430 0 @SRC@/src/host/render.cpp;_ZN3gpu16read_recipe_fileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERjRNS_12_GLOBAL__N_111recipe_file6OriginERSt6vectorISt10shared_ptrINS9_14PipelineRecipeEESaISG_EERSD_ISE_INS9_13ComputeRecipeEESaISL_EES8_ @@ -156421,71 +157222,71 @@ 299 # Counter Values: 432 -6840 +6870 0 0 -10558 +10552 0 0 -3158 -8036 +3135 +8028 0 0 0 0 600 0 -426056 +425904 0 -179392 +179328 0 -179392 +179328 0 -717568 +717312 0 -179392 +179328 384 -106673 +106591 264 -44848 +44832 384 -106529 -106529 -106529 +106447 +106447 +106447 0 -106529 -36866 -36866 +106447 +36718 +36718 0 -36866 -106673 -106673 -106673 +36718 +106591 +106591 +106591 0 -106673 -106529 +106591 +106447 0 -201816 +201744 24 -58281 +58154 0 -22640 +22632 0 1080 120 -22424 -22424 +22416 +22416 0 -22424 +22416 0 -6840 +6870 0 -6840 -13716 +6870 +13687 0 0 -3096 -6840 +3126 +6870 120 0 0 @@ -156502,24 +157303,24 @@ 3744 3744 3744 -22424 -22424 -22424 -22424 -22424 -22424 -22424 -22424 -22424 -22424 -8036 -8036 -0 -22424 -0 -22424 -0 -6840 +22416 +22416 +22416 +22416 +22416 +22416 +22416 +22416 +22416 +22416 +8028 +8028 +0 +22416 +0 +22416 +0 +6870 8760 0 24 @@ -156546,13 +157347,13 @@ 0 14388 0 -22424 +22416 0 -22424 -22424 +22416 +22416 336 336 -47723 +47602 0 108 24 @@ -156562,9 +157363,9 @@ 24 0 216 -22424 -22424 -22424 +22416 +22416 +22416 108 14388 14388 @@ -156598,37 +157399,37 @@ 192 0 192 -22424 +22416 0 -22076 +22068 348 -22424 +22416 0 -22076 +22068 348 -22424 +22416 0 -22076 +22068 348 -22424 -22424 -22424 -22424 -22424 -22424 -22424 -22424 +22416 +22416 +22416 +22416 +22416 +22416 +22416 +22416 0 -22424 +22416 0 0 96 96 96 96 -3168 -3168 -3168 +3183 +3183 +3183 0 24 0 @@ -156639,7 +157440,7 @@ 120 216 120 -22424 +22416 0 0 0 @@ -156655,10 +157456,10 @@ 0 0 96 -19004 -19004 -19256 -22424 +18981 +18981 +19233 +22416 0 168 168 @@ -156666,15 +157467,15 @@ 168 96 168 -1874 +1870 0 -1874 +1870 0 -22424 +22416 96 0 0 -22424 +22416 96 0 0 @@ -156698,20 +157499,20 @@ 0 0 0 -22640 +22632 0 0 120 24 0 0 -5176 -5176 -5176 -52729 -3420 -3420 -3420 +5185 +5185 +5185 +52584 +3435 +3435 +3435 120 168 0 @@ -156973,14 +157774,14 @@ # Num Counters: 8 # Counter Values: -13613 +13600 0 -56 -9615 +59 +9608 0 0 19956 -9671 +9667 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -157049,14 +157850,14 @@ # Num Counters: 8 # Counter Values: -11390 +11372 0 -76 -7934 +81 +7921 0 0 16152 -8010 +8002 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -157094,13 +157895,13 @@ 9 # Counter Values: 0 -16014531 +16506435 0 -32 -612 -62662177 -62680278 -62677202 +28 +626 +63663132 +63687409 +63684328 24 @SRC@/src/host/render.cpp;_ZNKSt10_HashtableIySt4pairIKyN3gpu12_GLOBAL__N_114TessHullModuleEESaIS5_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -157126,13 +157927,13 @@ 9 # Counter Values: 0 -33173 +33146 0 -133 -21115 -52708 -52600 -29765 +120 +21119 +52697 +52589 +29716 108 @SRC@/src/host/render.cpp;_ZNKSt10_HashtableIySt4pairIKySt10shared_ptrIKN3gpu12_GLOBAL__N_111CachedStageEEESaIS8_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -157141,14 +157942,14 @@ # Num Counters: 9 # Counter Values: -101045 +101023 0 -98 -49783 -179129 -179105 +105 +49764 +179141 +179117 24 -128847 +128843 24 @SRC@/src/host/render.cpp;_ZNKSt10_HashtableIySt4pairIKySt10shared_ptrIKN3gpu12_GLOBAL__N_113ManifestStageEEESaIS8_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -157178,10 +157979,10 @@ 0 0 24 -227 -197 +226 +199 70 -30 +27 @SRC@/src/host/render.cpp;_ZNKSt10_HashtableIySt4pairIKySt10shared_ptrIN3gpu12_GLOBAL__N_113ComputeRecipeEEESaIS7_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ # Func Hash: @@ -157206,13 +158007,13 @@ 9 # Counter Values: 0 -32782 +32874 0 -75 -15935 -52842 -52830 -36900 +79 +15996 +52847 +52835 +36928 12 @SRC@/src/host/render.cpp;_ZNKSt10_HashtableIySt4pairIKyZN12_GLOBAL__N_124vertex_table_from_memoryERKSt6vectorIjSaIjEEyPKjRK13GxDrawObjectsRSA_E5LoadsESaISF_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENSH_18_Mod_range_hashingENSH_20_Default_ranged_hashENSH_20_Prime_rehash_policyENSH_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -157222,13 +158023,13 @@ 9 # Counter Values: 0 -4496829 +4520850 0 26 96 -19354575 -19354551 -19354313 +19516231 +19516207 +19515969 24 @SRC@/src/host/render.cpp;_ZNKSt14default_deleteIN12_GLOBAL__N_112TargetPixelsEEclEPS1_ @@ -157305,15 +158106,15 @@ # Num Counters: 11 # Counter Values: -97 -407 -383 -309 +88 +416 +392 +318 36 36 -396 +393 24 -384 +381 0 0 # Num Value Kinds: @@ -157333,15 +158134,15 @@ # Num Counters: 11 # Counter Values: -10858 -43046 -42950 -24023 +10869 +43035 +42939 +24007 108 108 -24147 +24163 96 -24135 +24151 0 0 # Num Value Kinds: @@ -157417,15 +158218,15 @@ # Num Counters: 11 # Counter Values: -4931 -20689 -20605 -15973 +4924 +20696 +20612 +16029 96 96 -15932 +15912 84 -15920 +15900 0 0 # Num Value Kinds: @@ -157446,12 +158247,12 @@ # Num Counters: 6 # Counter Values: -4395 -4389 +4400 +4391 8112 -3610 -9 -6240 +3620 +4 +6222 @SRC@/src/host/render.cpp;_ZNSt10unique_ptrIN3gpu12_GLOBAL__N_111GxStagePlanESt14default_deleteIS2_EED2Ev # Func Hash: @@ -157511,7 +158312,7 @@ # Num Counters: 4 # Counter Values: -1501 +1500 260 0 0 @@ -157522,8 +158323,8 @@ # Num Counters: 4 # Counter Values: -1548 -1548 +1568 +1568 0 0 @@ -157544,8 +158345,8 @@ # Num Counters: 4 # Counter Values: -28 -28 +33 +33 0 0 @@ -157560,12 +158361,12 @@ 20097 19956 0 -9654 +9647 96 96 -10302 +10309 84 -10290 +10297 0 0 0 @@ -157591,17 +158392,17 @@ # Num Counters: 18 # Counter Values: -5132 -20488 -20404 +5140 +20480 +20396 16152 0 -8007 +7993 96 96 -8145 +8159 84 -8133 +8147 0 0 0 @@ -157627,24 +158428,24 @@ # Num Counters: 18 # Counter Values: -2751708 -14 -114 -34 -122 -110 -8070656 -8070501 -8070373 -131 +3041176 +13 +116 +37 +119 +107 +8203258 +8203099 +8202970 +129 24 24 -152 +159 12 -140 +147 0 0 -283 +288 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -157663,14 +158464,14 @@ # Counter Values: 24 0 -44355097 +43045482 0 -59 -7693 -86127734 -86146891 -86136471 -86153513 +73 +7822 +88419258 +88445715 +88428624 +88449130 @SRC@/src/host/render.cpp;_ZNSt13unordered_mapIyN3gpu12_GLOBAL__N_111GfxPipelineESt4hashIyESt8equal_toIyESaISt4pairIKyS2_EEEixERS8_ # Func Hash: @@ -157678,24 +158479,24 @@ # Num Counters: 18 # Counter Values: -7055 -38 -5008 -2606 -9706 -9634 -10656 -5046 -0 -5023 +7118 +48 +5060 +2616 +9696 +9624 +10670 +5108 +0 +5088 84 84 -5633 +5582 72 -5621 +5570 0 0 -10656 +10670 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -157716,14 +158517,14 @@ # Counter Values: 12 0 -22575838 +23182366 0 22 -1035 -68268874 -68280687 -68269482 -68279491 +1001 +69224632 +69242192 +69228827 +69240752 @SRC@/src/host/render.cpp;_ZNSt13unordered_mapIyN3gpu12_GLOBAL__N_112PendingHtileESt4hashIyESt8equal_toIyESaISt4pairIKyS2_EEEixERS8_ # Func Hash: @@ -157731,12 +158532,12 @@ # Num Counters: 9 # Counter Values: -134699 -7 -251 -390240 -389946 -389688 +146566 +8 +248 +409764 +409468 +409212 552 0 552 @@ -157749,14 +158550,14 @@ # Counter Values: 12 0 -3654062 +3690361 0 -23 -2886 -5878620 -5872448 -5878598 -5875367 +22 +2699 +5979450 +5973544 +5979430 +5976270 @SRC@/src/host/render.cpp;_ZNSt13unordered_mapIyN3gpu12_GLOBAL__N_19CachedSetESt4hashIyESt8equal_toIyESaISt4pairIKyS2_EEE4findERS8_ # Func Hash: @@ -157766,14 +158567,14 @@ # Counter Values: 24 0 -50299129 +59534712 0 -167 -49417 -140007582 -139908411 -140018557 -139971170 +173 +48907 +145311153 +145218134 +145304793 +145281209 @SRC@/src/host/render.cpp;_ZNSt13unordered_mapIyPN3gpu12_GLOBAL__N_111GfxPipelineESt4hashIyESt8equal_toIyESaISt4pairIKyS3_EEE7emplaceIJRS9_RS3_EEES8_INSt8__detail14_Node_iteratorISA_Lb0ELb0EEEbEDpOT_ # Func Hash: @@ -157781,17 +158582,17 @@ # Num Counters: 16 # Counter Values: -5476 -22501 -22416 -3187 -20488 -10242 +5466 +22511 +22426 +3146 +20520 +10270 97 97 -10246 +10250 85 -10234 +10238 0 0 0 @@ -157833,7 +158634,7 @@ 0 0 0 -13 +12 84 12 12 @@ -157861,9 +158662,9 @@ # Num Counters: 6 # Counter Values: -119114 -119104 -119104 +118385 +118375 +118375 20 10 0 @@ -157874,10 +158675,10 @@ # Num Counters: 5 # Counter Values: -535380 -1548372 -119124 -119124 +537031 +1538895 +118395 +118395 0 @SRC@/src/host/render.cpp;_ZNSt17_Function_handlerIFbRKN3gpu12_GLOBAL__N_111ShaderStageEEZNS1_13precompile_psERNS1_11PrecompilerERKNS1_13PrecompileJobEE3$_0E10_M_managerERSt9_Any_dataRKSD_St18_Manager_operation @@ -157886,7 +158687,7 @@ # Num Counters: 6 # Counter Values: -16151 +16152 16152 0 0 @@ -157983,12 +158784,12 @@ # Num Counters: 6 # Counter Values: +26576 26578 -26577 0 0 0 -26577 +26578 @SRC@/src/host/render.cpp;_ZNSt17_Function_handlerIFbRKN3gpu12_GLOBAL__N_111ShaderStageEEZZNS1_13precompile_vsERNS1_11PrecompilerERKNS1_13PrecompileJobEENK3$_0clEjRyRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlS4_E_E9_M_invokeERKSt9_Any_dataS4_ # Func Hash: @@ -158005,7 +158806,7 @@ # Num Counters: 7 # Counter Values: -11197 +11193 24 0 0 @@ -158019,7 +158820,7 @@ # Num Counters: 6 # Counter Values: -1381 +1380 0 0 0 @@ -158068,7 +158869,7 @@ # Num Counters: 1 # Counter Values: -13 +12 @SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN12_GLOBAL__N_16LsPipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv # Func Hash: @@ -158077,7 +158878,7 @@ 2 # Counter Values: 0 -13 +12 @SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN12_GLOBAL__N_16LsPipeESaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info # Func Hash: @@ -158103,7 +158904,7 @@ # Num Counters: 1 # Counter Values: -1819 +1823 @SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_111CachedStageESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv # Func Hash: @@ -158111,7 +158912,7 @@ # Num Counters: 1 # Counter Values: -1819 +1823 @SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_111CachedStageESaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info # Func Hash: @@ -158216,7 +159017,7 @@ # Num Counters: 1 # Counter Values: -9624 +9587 @SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_114PipelineRecipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv # Func Hash: @@ -158226,26 +159027,26 @@ # Counter Values: 47 47 -796 -817 -817 -9520 -9520 -9520 -8177 +787 +808 +808 +9482 +9482 +9482 +8157 8 -8177 +8157 8 0 -9625 -4819 -9625 -9625 -9625 -9625 -9625 -9625 -9625 +9585 +4831 +9587 +9586 +9586 +9587 +9587 +9585 +9585 @SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_114PipelineRecipeESaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info # Func Hash: @@ -158271,13 +159072,13 @@ # Num Counters: 7 # Counter Values: -2760670 -905556 -856644 +2736118 +913712 +865126 7 7 -528972 -528972 +551315 +551315 @SRC@/src/host/render.cpp;_ZNSt5dequeIN3gpu12_GLOBAL__N_113PrecompileJobESaIS2_EE10push_frontEOS2_ # Func Hash: @@ -158381,7 +159182,7 @@ 0 0 0 -69963 +69959 @SRC@/src/host/render.cpp;_ZNSt5dequeIN3gpu12_GLOBAL__N_113PrecompileJobESaIS2_EE9push_backEOS2_ # Func Hash: @@ -158390,11 +159191,11 @@ 7 # Counter Values: 0 -68559 +68555 0 -23675 +23666 169 -44884 +44889 0 # Num Value Kinds: 1 @@ -158405,7 +159206,7 @@ 0 2 9:44856 -1:28 +1:33 @SRC@/src/host/render.cpp;_ZNSt5dequeIN3gpu12_GLOBAL__N_113PrecompileJobESaIS2_EEC2Ev # Func Hash: @@ -158643,33 +159444,33 @@ # Num Counters: 116 # Counter Values: -3753 -18765 -1251 -1251 -1251 -1869 -1251 -1251 -1251 +3750 +18750 +1250 +1250 +1250 +1868 +1250 +1250 +1250 0 -1869 +1868 0 0 -1717 +1716 0 -1251 -1251 -1251 -1717 -1717 +1250 +1250 +1250 +1716 +1716 1 -1713 +1712 1 1 -1251 +1250 1 -1251 +1250 0 1 1 @@ -158807,7 +159608,7 @@ # Num Counters: 1 # Counter Values: -345 +350 @SRC@/src/host/render.cpp;_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN3gpu28pipeline_manifest_save_asyncERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE3$_0EEEEED0Ev # Func Hash: @@ -158815,7 +159616,7 @@ # Num Counters: 2 # Counter Values: -345 +350 0 @SRC@/src/host/render.cpp;_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN3gpu28pipeline_manifest_save_asyncERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE3$_0EEEEED2Ev @@ -158898,17 +159699,17 @@ # Num Counters: 35 # Counter Values: -2638 -732 -10668 +2668 +757 +10682 0 -662 -9936 -10668 +663 +9925 +10682 0 0 -1304 -1304 +1282 +1282 0 0 0 @@ -158932,20 +159733,19 @@ 0 0 0 -8632 +8643 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 1 -6 -17:777 -33:311 -65:146 +5 +17:746 +33:310 +65:155 129:54 -257:15 -513:1 +257:17 @SRC@/src/host/render.cpp;_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZZN3gpu12_GLOBAL__N_118table_mask_workersEvENK3$_0clEvEUlvE_EEEEED0Ev # Func Hash: @@ -159042,7 +159842,7 @@ 0 140 140 -33296 +33248 140 @SRC@/src/host/render.cpp;_ZNSt6vectorIN3gpu12_GLOBAL__N_18KeepSpecESaIS2_EE9push_backEOS2_ @@ -159087,12 +159887,12 @@ # Num Counters: 6 # Counter Values: -107142 +103529 0 -613051 -77562 +612084 +74945 0 -535489 +537139 @SRC@/src/host/render.cpp;_ZNSt6vectorISt10shared_ptrIN3gpu12_GLOBAL__N_113ComputeRecipeEESaIS4_EE9push_backERKS4_ # Func Hash: @@ -159100,16 +159900,16 @@ # Num Counters: 10 # Counter Values: -2595 -1440 -1440 -1440 -1440 -1083 +2630 +1460 +1460 +1460 +1460 +1098 0 0 0 -357 +362 @SRC@/src/host/render.cpp;_ZNSt6vectorISt10shared_ptrIN3gpu12_GLOBAL__N_114PipelineRecipeEESaIS4_EE9push_backEOS4_ # Func Hash: @@ -159118,7 +159918,7 @@ 6 # Counter Values: 36840 -23399 +23390 276 252 0 @@ -159131,8 +159931,8 @@ 10 # Counter Values: 24564 -22280 -22280 +22272 +22272 144 144 132 @@ -159158,10 +159958,10 @@ # Num Counters: 5 # Counter Values: -1 0 -28 -1 +0 +33 +0 0 @SRC@/src/host/render.cpp;_ZNSt6vectorISt4pairIyPKN3gpu12_GLOBAL__N_111GfxPipelineEESaIS6_EE9push_backEOS6_ @@ -159341,10 +160141,10 @@ # Num Counters: 4 # Counter Values: -612942 -612942 -535380 -535380 +611976 +611976 +537031 +537031 @SRC@/src/host/render.cpp;_ZNSt8functionIFbRKN3gpu12_GLOBAL__N_111ShaderStageEEEC2IZNS1_13precompile_psERNS1_11PrecompilerERKNS1_13PrecompileJobEE3$_0vEEOT_ # Func Hash: @@ -159411,18 +160211,18 @@ # Num Counters: 12 # Counter Values: -231560 -231560 -33080 -496200 -496200 -496200 -496200 -496200 -33080 -33080 -33080 -33080 +231602 +231602 +33086 +496290 +496290 +496290 +496290 +496290 +33086 +33086 +33086 +33086 @SRC@/src/host/render.cpp;_ZSt11stable_sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIyPN3gpu7RtImageEESt6vectorIS6_SaIS6_EEEEZNS3_25compact_image_heap_lockedEvE3$_0EvT_SD_T0_ # Func Hash: @@ -159463,13 +160263,13 @@ # Num Counters: 7 # Counter Values: -2410 -2572 -16794 -8097 -11029 -786 -445 +2708 +2634 +16475 +8023 +10719 +784 +435 @SRC@/src/host/render.cpp;_ZSt12__move_mergeIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN3gpu12_GLOBAL__N_114PipelineRecipeEESt6vectorIS6_SaIS6_EEEES7_ZNS3_22pipeline_manifest_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESJ_E3$_1ET0_T_SM_SM_SM_SL_T1_ # Func Hash: @@ -159503,13 +160303,13 @@ # Num Counters: 7 # Counter Values: -411 -2536 -18492 -8078 -13083 -402 -21308 +393 +2480 +18576 +8118 +13093 +400 +21351 @SRC@/src/host/render.cpp;_ZSt12__move_mergeIPSt10shared_ptrIN3gpu12_GLOBAL__N_114PipelineRecipeEEN9__gnu_cxx17__normal_iteratorIS5_St6vectorIS4_SaIS4_EEEEZNS1_22pipeline_manifest_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESJ_E3$_1ET0_T_SM_SM_SM_SL_T1_ # Func Hash: @@ -159677,12 +160477,12 @@ # Num Counters: 6 # Counter Values: -9660 -2297 -2415 +9800 +2334 +2450 0 -345 -345 +350 +350 @SRC@/src/host/render.cpp;_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN3gpu12_GLOBAL__N_114PipelineRecipeEESt6vectorIS6_SaIS6_EEEEZNS3_22pipeline_manifest_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESJ_E3$_0EvT_SL_T0_ # Func Hash: @@ -159690,14 +160490,14 @@ # Num Counters: 8 # Counter Values: -4943 -243 -11324 -6451 -5090 -1786 -1161 +4893 +238 +11350 +6446 +5127 +1744 1160 +1157 @SRC@/src/host/render.cpp;_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN3gpu12_GLOBAL__N_114PipelineRecipeEESt6vectorIS6_SaIS6_EEEEZNS3_22pipeline_manifest_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESJ_E3$_1EvT_SL_T0_ # Func Hash: @@ -159740,9 +160540,9 @@ 6 # Counter Values: 5 -12 -25 -11 +18 +21 +15 24 24 @@ -159752,10 +160552,10 @@ # Num Counters: 6 # Counter Values: -158 -26 -74 -10 +169 +37 +72 +12 12 12 @@ -159791,12 +160591,12 @@ # Num Counters: 6 # Counter Values: -139 -35 -5140 -345 -345 -4673 +194 +34 +5216 +350 +350 +4822 @SRC@/src/host/render.cpp;_ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP28VkDescriptorSetLayoutBindingSt6vectorIS2_SaIS2_EEEExZN3gpu12_GLOBAL__N_116stage_set_layoutERKN3gcn15TranslateResultEE3$_1EvT_SF_T0_T1_ # Func Hash: @@ -159848,7 +160648,7 @@ 0 0 0 -345 +350 0 0 0 @@ -159966,31 +160766,31 @@ # Num Counters: 25 # Counter Values: -210708 -334491 -468506 +220261 +331197 +474673 0 0 0 0 -1044 -2062 -1453 -1704 -1597 -12897 -21102 +1113 +1909 +1299 +1803 +1663 +13344 +21481 0 0 0 0 -17042 -2601 -2294 -14353 -13236 -522512 -523050 +17149 +2435 +2251 +14621 +13628 +524613 +526430 @SRC@/src/host/render.cpp;_ZSt16__merge_adaptiveIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN3gpu12_GLOBAL__N_113ComputeRecipeEESt6vectorIS6_SaIS6_EEEExS7_ZNS3_22pipeline_manifest_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESJ_E3$_2EvT_SL_SL_T0_SM_T1_T2_ # Func Hash: @@ -160020,18 +160820,18 @@ # Num Counters: 17 # Counter Values: -2013 -2002 -2289 +1997 +2014 +2339 0 0 -2289 -287 -2002 -813 +2339 +325 +2014 +1058 0 -549 -2007 +736 +1991 6 6 6 @@ -160310,7 +161110,7 @@ 8 # Counter Values: 140 -1381 +1380 0 0 0 @@ -160445,9 +161245,9 @@ # Num Counters: 5 # Counter Values: -714 -330 -1137 +712 +328 +1136 72 24 @@ -160529,9 +161329,9 @@ # Num Counters: 3 # Counter Values: -143050 -229740 -319069 +144394 +232789 +321466 @SRC@/src/host/render.cpp;_ZSt29__stable_sort_adaptive_resizeIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN3gpu12_GLOBAL__N_113ComputeRecipeEESt6vectorIS6_SaIS6_EEEES7_xZNS3_22pipeline_manifest_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESJ_E3$_2EvT_SL_T0_T1_T2_ # Func Hash: @@ -160872,18 +161672,18 @@ 13 # Counter Values: 0 -11622325 -412466256 -412466256 -58355850 +12025910 +425562112 +425562112 +60260591 0 -58356225 -15559568 +60262901 +16099204 0 -58355850 -16639794 -16808982 -9347506 +60260591 +17173935 +17338269 +9649183 @SRC@/src/host/render.cpp;_ZZN12_GLOBAL__N_117plan_vertex_inputERKSt6vectorIjSaIjEEyRK13GxDrawObjectsRN3gpu12_GLOBAL__N_115VertexInputPlanEPNS9_9FetchByIdEENK3$_4clESB_PKZNS_17plan_vertex_inputES4_yS7_SB_SD_E6Placedb # Func Hash: @@ -160891,24 +161691,24 @@ # Num Counters: 18 # Counter Values: -304757 -1060251550 -476610168 -447785052 -447693286 -447753230 -584711487 -137593315 -583644219 -469 -584382161 -583647813 -137925055 +288645 +1056414519 +474726410 +446008330 +445927269 +445951025 +582675277 +137273776 +581682738 +404 +582359862 +581679449 +137590207 138 80 -129041360 -129041580 -129041100 +128856836 +128856819 +128856550 @SRC@/src/host/render.cpp;_ZZN12_GLOBAL__N_119compare_gx_bindingsERKN3gpu12_GLOBAL__N_111GfxPipelineEPKjS6_RK13GxDrawObjectsENK3$_0clEiRKN3gcn15TranslateResultES6_ # Func Hash: @@ -161056,86 +161856,86 @@ 81 # Counter Values: 0 -1934811296 -6981043248 -483543396 -135609263 -160567660 -92586113 -32891 +2007624860 +7233228388 +501818084 +140971458 +167693808 +96540296 +34190 0 -90106470 -1745075461 -25792587 -19047408 -32891 -1398799 +93937158 +1808003303 +26432489 +18986848 +34190 +1454719 0 -32891 -80587434 +34190 +83711845 0 -202902585 -101178213 +210865657 +105043176 0 -103722796 -100162767 +108025659 +103924725 0 0 -103776851 +108106450 0 -203531456 -100001338 +211559113 +103746589 0 -103747261 +108074559 0 0 -32891 -100181990 +34190 +103945921 0 0 0 -203547524 +211576056 0 -100149480 -103750623 +103918684 +108084931 0 -45995 +47567 0 0 -13732398 +14229432 0 0 -203573605 -116508 +211610335 +123171 0 -19638325 +20289762 0 0 0 -28 -74696 +75 +79769 0 0 0 -100215676 +103995843 0 0 -28 -100181233 +75 +103967067 0 -8 -20 +43 +32 0 -99587992 -627380 +103350624 +644575 0 0 -201753145 -95986459 -100195745 -100162874 +209607450 +99914303 +104001172 +103921295 16 -203504937 +211536041 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -161143,21 +161943,21 @@ # NumValueSites: 1 15 -64:48283002 -128:32435765 -256:7932821 -257:7874671 -513:5139531 -129:1625705 -65:258754 -512:104336 -17:92044 -16:86989 -4:26249 -8:10543 -32:10310 -33:651 -9:376 +64:50359579 +128:33677090 +256:8251221 +257:8233909 +513:5353961 +129:1722517 +65:264335 +512:105477 +17:93844 +16:91841 +4:29223 +32:11357 +8:8950 +33:850 +9:310 @SRC@/src/host/render.cpp;_ZZN12_GLOBAL__N_121resolve_stage_buffersERKN3gcn15TranslateResultEPKjRNS0_11StageParamsERSt6vectorI22VkDescriptorBufferInfoSaIS9_EEPK14GxStageRecordsbPjPyENK3$_2clEv # Func Hash: @@ -161165,19 +161965,19 @@ # Num Counters: 13 # Counter Values: -3166 -3166 -3166 -3166 -3166 -3166 -3166 -3166 -3166 -3166 -3166 -3166 -3166 +3098 +3098 +3098 +3098 +3098 +3098 +3098 +3098 +3098 +3098 +3098 +3098 +3098 @SRC@/src/host/render.cpp;_ZZN12_GLOBAL__N_121resolve_stage_buffersERKN3gcn15TranslateResultEPKjRNS0_11StageParamsERSt6vectorI22VkDescriptorBufferInfoSaIS9_EEPK14GxStageRecordsbPjPyENK3$_4clEv # Func Hash: @@ -161185,27 +161985,27 @@ # Num Counters: 22 # Counter Values: -195051297 -194879621 +194124851 +193949702 0 0 0 0 -194893760 +193947314 0 -194882386 +193947650 0 0 0 0 -127277311 +123963492 0 -194890044 +193956249 0 -194874767 +193946322 0 -67668159 -194886773 +70045514 +193947993 0 @SRC@/src/host/render.cpp;_ZZN12_GLOBAL__N_121resolve_stage_buffersERKN3gcn15TranslateResultEPKjRNS0_11StageParamsERSt6vectorI22VkDescriptorBufferInfoSaIS9_EEPK14GxStageRecordsbPjPyENK3$_6clEv @@ -161224,21 +162024,21 @@ # Num Counters: 34 # Counter Values: -249322616 -24936 +245077454 +24675 0 -24792 +24531 0 -249313785 -249313785 +245068411 +245068411 0 0 0 -2071 +2050 0 0 0 -2071 +2050 0 0 0 @@ -161256,7 +162056,7 @@ 0 0 0 -249313785 +245068411 0 @SRC@/src/host/render.cpp;_ZZN3gpu12_GLOBAL__N_111precompilerEvENK3$_0clEv @@ -161304,21 +162104,21 @@ 18 # Counter Values: 0 -119382 -75398155 -1536 -119380 -75357008 +118843 +77159764 +1292 +118847 +77125854 0 -1536 -75371794 -75318169 -1536 +1292 +77128495 +77081191 +1292 0 -75314677 +77085432 0 -1536 -75326182 +1292 +77084179 0 0 @@ -161389,11 +162189,11 @@ # Num Counters: 134 # Counter Values: -26580 +26579 0 0 0 -28584 +28582 0 0 0 @@ -161408,11 +162208,11 @@ 26580 26580 26580 -26578 +26579 0 -26580 +26579 0 -26578 +26579 26580 744 744 @@ -161421,24 +162221,24 @@ 0 0 0 -20088 +20087 20085 26580 2004 0 0 20088 -26580 +26579 12 24 26579 -26580 +26579 0 0 0 0 -20088 -20088 +20087 +20087 20088 0 0 @@ -161448,11 +162248,11 @@ 12 24 20088 -20088 +20087 0 0 -20087 -20087 +20088 +20088 20088 20088 0 @@ -161510,17 +162310,17 @@ 0 0 2004 -28584 +28579 0 -22092 -22092 -2004 -20087 +22091 +22091 +2003 +20088 20088 20088 -20084 20085 -20083 +20086 +20086 20088 0 # Num Value Kinds: @@ -161531,7 +162331,7 @@ 3 0 1 -@SRC@/src/host/render.cpp;_ZNSt17_Function_handlerIFbRKN3gpu12_GLOBAL__N_111ShaderStageEEZZNS1_13precompile_vsERNS1_11PrecompilerERKNS1_13PrecompileJobEENK3$_0clEjRyRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlS4_E_E10_M_managerERSt9_Any_dataRKSM_St18_Manager_operation:26576 +@SRC@/src/host/render.cpp;_ZNSt17_Function_handlerIFbRKN3gpu12_GLOBAL__N_111ShaderStageEEZZNS1_13precompile_vsERNS1_11PrecompilerERKNS1_13PrecompileJobEENK3$_0clEjRyRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlS4_E_E10_M_managerERSt9_Any_dataRKSM_St18_Manager_operation:26577 0 # ValueKind = IPVK_MemOPSize: 1 @@ -161686,27 +162486,27 @@ 22 # Counter Values: 3534 -366 -27245 +355 +27234 460 0 0 0 0 0 -26879 -366 +26880 +355 0 -366 -366 -3534 +355 +355 +3533 24 26880 0 0 0 0 -27246 +27235 @SRC@/src/host/render.cpp;_ZZN3gpu12_GLOBAL__N_118table_mask_workersEvENK3$_0clEv # Func Hash: @@ -161747,15 +162547,15 @@ # Num Counters: 10 # Counter Values: -19730936 -19730936 +19896479 +19896479 0 -3886203 +3875519 0 0 0 0 -15844715 +16020908 0 @SRC@/src/host/render.cpp;_ZZN3gpu12_GLOBAL__N_119create_gfx_pipelineERNS0_11GfxPipelineERKNS0_9DrawStateEPKNS0_15VertexInputPlanEyENK3$_2clEv @@ -161766,15 +162566,15 @@ # Counter Values: 0 72 -4254 +4263 0 273 215 -24777 +24761 0 -4254 -4254 -4254 +4263 +4263 +4263 130 0 0 @@ -161782,7 +162582,7 @@ 0 0 0 -24564 +24551 215 @SRC@/src/host/render.cpp;_ZZN3gpu12_GLOBAL__N_119create_gfx_pipelineERNS0_11GfxPipelineERKNS0_9DrawStateEPKNS0_15VertexInputPlanEyENK3$_4clB5cxx11Ev @@ -161833,19 +162633,19 @@ # Num Counters: 13 # Counter Values: -10701349 -37 -627613 +10646652 +463 +644954 0 -29423126 +30585736 0 0 0 -627184 +644391 0 0 0 -29438060 +30602054 @SRC@/src/host/render.cpp;_ZZN3gpu27render_retire_reused_lockedEyyNSt6chrono10time_pointINS0_3_V212steady_clockENS0_8durationIxSt5ratioILx1ELx1000000000EEEEEEbENK3$_0clERSt3mapIyNS_7RtImageESt4lessIyESaISt4pairIKySB_EEEbRy # Func Hash: @@ -161853,35 +162653,35 @@ # Num Counters: 30 # Counter Values: -12639 +12727 0 -12887 +13144 0 -164992 -10268 -165154 -79541 -180 -487 -3534 -168 +161171 +10148 +161327 +76690 +178 +480 +3554 162 +156 56 -2632 +2612 96 0 -1448 -10772 +1462 +11024 0 96 96 -451 +471 96 96 -1445 -1445 -180 -180 +1338 +1338 +178 +178 0 @SRC@/src/host/render.cpp;_ZZN3gpu28copy_elide_point_copy_lockedERKNS_12_GLOBAL__N_19DrawStateERK7GpuDrawRKNS0_11GfxPipelineEPKNS0_15VertexInputPlanEPKNS_11StageImagesEENK3$_0clEiPKc @@ -162087,88 +162887,88 @@ # Num Counters: 350 # Counter Values: -639198 +638955 210144 1050720 -70040 -70039 -70041 -334 -355080 -355080 -355095 -355095 -355095 +70035 +70035 +70035 +333 +354945 +354945 +354930 +354930 +354930 120 -23675 +23666 972 -19 +20 0 0 0 -28584 +28583 432 16152 -5616 -68352 -341760 -22785 -22785 -22785 +5648 +68313 +341565 +22771 +22771 +22771 0 0 0 0 0 -3667 +3684 0 -19 -9047 -639 -419 -19 +20 +9049 +675 +421 +20 0 0 -213066 -213006 -189384 -58703 -69963 +212994 +212928 +189320 +58770 +69959 130 -11304 -61335 -45168 -23675 +11311 +61331 +45166 +23666 130 -71 -69963 -69963 -21209 +75 +69959 +69959 +21281 0 8628 -66458 -46286 -33 -69962 -97 +66447 +46293 +34 +69958 +96 0 0 -21209 +21281 45168 12 -9011 +9020 0 0 0 0 16150 432 -28581 -28 -968 -23674 +28580 +33 +972 +23665 120 -28 +33 0 0 0 @@ -162181,58 +162981,58 @@ 12 12 0 -28 -28 +33 +33 0 0 0 -1251 -383 +1250 +394 0 12 12 0 0 -23674 -23675 +23666 +23665 0 0 12 0 0 -18114 -23675 -23675 -23306 -23306 -23306 -23306 -23305 -23305 -3667 -3667 -23669 -23671 -1251 -23675 -71 -23675 -23675 -23675 -23162 -20561 -2744 -23163 -2744 -20559 -1251 -22424 +18110 +23664 +23666 +23297 +23297 +23297 +23296 +23293 +23295 +3684 +3684 +23663 +23661 +1250 +23666 +75 +23666 +23666 +23666 +23154 +20543 +2753 +23154 +2754 +20538 +1250 +22416 0 0 0 12 -22793 -43 +22777 +42 4767 0 0 @@ -162243,25 +163043,25 @@ 0 0 0 -23545 +23536 130 0 0 4767 -23163 +23154 0 0 12516 0 12 -22790 -43 +22775 +42 0 108 108 4767 0 -23545 +23536 12516 0 0 @@ -162269,9 +163069,9 @@ 12 0 12 -43 -43 -43 +42 +42 +42 0 0 0 @@ -162280,7 +163080,7 @@ 0 0 12516 -3063 +3025 0 0 12 @@ -162288,20 +163088,20 @@ 12 0 0 -22784 -43 -43 -9453 -9453 +22768 +42 +42 +9491 +9491 0 12 -11484 -43 +11462 +42 0 -22786 +22773 0 0 -11308 +11309 0 0 0 @@ -162419,23 +163219,23 @@ 0 8628 8628 -5214 -5214 -5214 -23162 -2744 -23303 -3667 -3667 -3394 +5222 +5222 +5222 +23153 +2753 +23291 +3684 +3684 +3411 179 179 -23672 +23665 130 0 -22793 +22775 120 -69843 +69839 120 # Num Value Kinds: 1 @@ -164918,149 +165718,167 @@ 0 0 0 -1791 -0 -1 -0 -1790 -1754 -0 -0 -0 -0 -0 -0 -36 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -12 -12 1803 0 +4 0 +1799 +1762 0 0 0 - -@SRC@/src/host/sampler.cpp;_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZ22sampler_watchdog_startyyE3$_1EEEEED0Ev -# Func Hash: -742261418966908927 -# Num Counters: -1 -# Counter Values: -0 - -@SRC@/src/host/sampler.cpp;__dtor__ZZN12_GLOBAL__N_112scan_threadsERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERS0_INS_7WatchedESaISB_EEP6_iobufE4seen -# Func Hash: -784007056844089447 -# Num Counters: -2 -# Counter Values: -0 -0 - -@SRC@/src/host/scene_look.cpp;_GLOBAL__sub_I_scene_look.cpp -# Func Hash: -784007058953177093 -# Num Counters: -2 -# Counter Values: -12 -0 - -@SRC@/src/host/scene_look.cpp;__dtor__ZN12_GLOBAL__N_18g_cut_muE -# Func Hash: -784007058953177093 -# Num Counters: -2 -# Counter Values: -0 -0 - -@SRC@/src/host/shader_bundles.cpp;_GLOBAL__sub_I_shader_bundles.cpp -# Func Hash: -784007058953177093 -# Num Counters: -2 -# Counter Values: -12 -0 - -@SRC@/src/host/shader_bundles.cpp;_ZN3gpu12_GLOBAL__N_112read_bundlesEv -# Func Hash: -423525953201841347 -# Num Counters: -71 -# Counter Values: -1890432 -0 -169692 -222204 -52512 -169692 -96 -96 -2124 -0 -0 -52512 -0 -0 -96 -0 -0 -52512 -52512 -52512 -0 -0 0 -96 -96 0 -96 0 +37 0 -96 0 0 0 -12 0 -12 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +12 +12 +1815 +0 +0 +0 +0 +0 + +@SRC@/src/host/sampler.cpp;_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZ22sampler_watchdog_startyyE3$_1EEEEED0Ev +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +0 + +@SRC@/src/host/sampler.cpp;__dtor__ZZN12_GLOBAL__N_112scan_threadsERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERS0_INS_7WatchedESaISB_EEP6_iobufE4seen +# Func Hash: +784007056844089447 +# Num Counters: +2 +# Counter Values: +0 +0 + +@SRC@/src/host/scene_look.cpp;_GLOBAL__sub_I_scene_look.cpp +# Func Hash: +238984481941143025 +# Num Counters: +3 +# Counter Values: +12 +0 +0 + +@SRC@/src/host/scene_look.cpp;__dtor__ZN12_GLOBAL__N_112g_hud_ownersB5cxx11E +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +0 + +@SRC@/src/host/scene_look.cpp;__dtor__ZN12_GLOBAL__N_18g_cut_muE +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +0 +0 + +@SRC@/src/host/scene_look.cpp;__dtor__ZN12_GLOBAL__N_18g_hud_muE +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +0 +0 + +@SRC@/src/host/shader_bundles.cpp;_GLOBAL__sub_I_shader_bundles.cpp +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +12 +0 + +@SRC@/src/host/shader_bundles.cpp;_ZN3gpu12_GLOBAL__N_112read_bundlesEv +# Func Hash: +423525953201841347 +# Num Counters: +71 +# Counter Values: +1890432 +0 +169692 +222204 +52512 +169692 +96 +96 +2124 +0 +0 +52512 +0 +0 +96 +0 +0 +52512 +52512 +52512 +0 +0 +0 +96 +96 +0 +96 +0 +0 +96 +0 +0 +0 +12 +0 +12 0 0 0 @@ -165380,7 +166198,7 @@ # Num Counters: 3 # Counter Values: -1117794 +1119329 0 0 @@ -165399,16 +166217,16 @@ 35 # Counter Values: 0 -260775 +261565 0 -1156852 +1158234 0 0 0 0 -53296 -53298 -53298 +53455 +53456 +53456 0 0 0 @@ -165422,8 +166240,8 @@ 0 0 0 -83805 -83805 +84014 +84014 0 0 0 @@ -165553,7 +166371,7 @@ 0 0 0 -27 +31 0 0 0 @@ -165563,7 +166381,7 @@ 0 0 0 -25 +26 0 0 0 @@ -165740,22 +166558,22 @@ 18 # Counter Values: 0 -46 +55 0 0 36 0 -40 -40 -40 +45 +45 +45 0 0 0 0 0 0 -3 -3 +7 +7 0 @SRC@/src/host/shader_overrides.cpp;_ZN3gpu12_GLOBAL__N_112state_lockedERKNS0_8RegistryEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS9_ @@ -165896,7 +166714,7 @@ 0 12 0 -13 +14 0 0 0 @@ -165904,15 +166722,15 @@ 0 0 0 -13 +14 0 0 0 0 -13 +14 0 12 -13 +14 0 0 0 @@ -165929,7 +166747,7 @@ # Num Counters: 4 # Counter Values: -89350 +89329 12 12 0 @@ -165940,7 +166758,7 @@ # Num Counters: 5 # Counter Values: -3174888 +3207628 12 12 0 @@ -166056,19 +166874,19 @@ # Num Counters: 40 # Counter Values: -1 +2 0 0 0 -13 +14 1 -13 +14 0 -12 +13 1 0 -0 -0 +1 +1 0 0 12 @@ -166081,8 +166899,8 @@ 0 0 0 -0 -0 +1 +1 0 0 0 @@ -166474,18 +167292,42 @@ 0 0 -@SRC@/src/host/shader_patch.cpp;_ZN12_GLOBAL__N_116settings_changedERK12HostSettings +@SRC@/src/host/shader_patch.cpp;_ZN12_GLOBAL__N_111mask_updateEv # Func Hash: -287486628871086851 +174542565064577551 # Num Counters: -6 +9 # Counter Values: -36 +24 +12 +12 0 -36 +0 +12 +0 +0 +0 + +@SRC@/src/host/shader_patch.cpp;_ZN12_GLOBAL__N_116settings_changedERK12HostSettings +# Func Hash: +334492580799002320 +# Num Counters: +5 +# Counter Values: 24 +0 24 12 +0 + +@SRC@/src/host/shader_patch.cpp;__dtor__ZZN12_GLOBAL__N_111mask_updateEvE2mu +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +0 +0 @SRC@/src/host/slow_calls.cpp;_GLOBAL__sub_I_slow_calls.cpp # Func Hash: @@ -166504,12 +167346,12 @@ # Num Counters: 6 # Counter Values: -0 -0 -0 -0 -0 -0 +110 +710 +110 +11 +10 +29 @SRC@/src/host/slow_calls.cpp;_ZN10slow_calls12_GLOBAL__N_111append_seenEPcyRyPKNS0_4SeenEi # Func Hash: @@ -166517,13 +167359,13 @@ # Num Counters: 8 # Counter Values: +22 +22 +22 0 -0 -0 -0 -0 -0 -0 +22 +13 +13 0 # Num Value Kinds: 1 @@ -166531,7 +167373,9 @@ 1 # NumValueSites: 1 -0 +2 +33:11 +65:11 @SRC@/src/host/slow_calls.cpp;_ZN10slow_calls12_GLOBAL__N_116this_thread_nameEv # Func Hash: @@ -166539,8 +167383,8 @@ # Num Counters: 10 # Counter Values: -1095 -1095 +1090 +1090 165 0 165 @@ -166558,32 +167402,35 @@ # Counter Values: 0 0 -61 -241 -1077 -359 -371 -359 -0 -0 -0 -0 -0 -0 -0 +66 +218 +942 +331 +323 +314 0 +17 +17 +13 0 +17 +4 +17 +17 0 0 -61 -241 +66 +218 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 1 -0 +3 +129:11 +65:4 +257:2 @SRC@/src/host/slow_calls.cpp;_ZN10slow_calls12_GLOBAL__N_15claimEv # Func Hash: @@ -166591,8 +167438,8 @@ # Num Counters: 20 # Counter Values: -1260 -1095 +1255 +1090 165 0 165 @@ -166658,15 +167505,15 @@ 10 # Counter Values: 0 +2176 +2159 +128 0 +22 +22 +17 0 -0 -0 -0 -0 -0 -0 -0 +13 @SRC@/src/host/slow_calls.cpp;_ZN10slow_calls12_GLOBAL__N_19test_hookERKNS_4SiteE # Func Hash: @@ -166716,11 +167563,11 @@ # Counter Values: 0 0 +9 0 0 0 -0 -0 +13 0 0 # Num Value Kinds: @@ -166750,7 +167597,7 @@ 0 0 0 -0 +13 0 0 @@ -166883,12 +167730,12 @@ # Num Counters: 11 # Counter Values: -3184 -1592 -3096 -199 -1592 -1592 +3168 +1584 +3080 +198 +1584 +1584 0 0 0 @@ -166901,7 +167748,7 @@ # NumValueSites: 1 1 -@SRC@/src/host/textures.cpp;_ZNSt17_Function_handlerIFvjEZN3gpu12_GLOBAL__N_112untile_sliceEPhPKhyjjjjjE3$_0E9_M_invokeERKSt9_Any_dataOj:1568 +@SRC@/src/host/textures.cpp;_ZNSt17_Function_handlerIFvjEZN3gpu12_GLOBAL__N_112untile_sliceEPhPKhyjjjjjE3$_0E9_M_invokeERKSt9_Any_dataOj:1573 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_110UntilePoolC2Ev # Func Hash: @@ -166949,7 +167796,7 @@ # Num Counters: 8 # Counter Values: -381717319 +373673003 12 12 12 @@ -166965,7 +167812,7 @@ 11 # Counter Values: 0 -319009476 +311055784 0 0 0 @@ -166984,7 +167831,7 @@ # Counter Values: 0 0 -29210 +28637 0 0 0 @@ -167000,14 +167847,14 @@ # Num Counters: 8 # Counter Values: -102589 +102292 0 12 12 12 0 0 -979 +931 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_111prep_census7blockedENS1_5ClassE # Func Hash: @@ -167030,8 +167877,8 @@ 4 # Counter Values: 6 -3 -3 +2 +2 0 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_111settle_prepERNS0_7SurfaceEi @@ -167040,8 +167887,8 @@ # Num Counters: 18 # Counter Values: -20179 -11926 +20317 +11921 0 0 0 @@ -167068,40 +167915,40 @@ 0 0 0 -1720480 +1646304 0 0 0 0 0 0 -1720480 +1646304 0 0 0 0 -1183 +1140 0 0 0 0 -1671328 +1597152 0 0 0 49152 -215328 -215328 +206048 +206048 0 0 -202880 -202624 -36096 -36096 -1183 -1583 +201984 +202112 +34624 +34624 +1140 +1578 0 -1183 +1140 0 0 0 @@ -167113,7 +167960,7 @@ # NumValueSites: 4 1 -513:105307 +513:101187 0 0 0 @@ -167124,34 +167971,34 @@ # Num Counters: 64 # Counter Values: -6133628 -3650072 -199106 +6110955 +3868784 +198299 0 -1159019 -6133629 +1239177 +6110963 0 -7782944 -60404 +8016287 +63744 0 -3641786 -16943478 -3650079 +3858326 +17659930 +3868786 0 -79123638 +82226804 0 -92850 -30897839 -45331083 -485908 -1159020 +91641 +32335977 +46686618 +484362 +1239181 0 -524 -68169 -8501913 +540 +71100 +8932292 0 -16742866 -60404 +17460043 +63744 0 0 0 @@ -167165,29 +168012,29 @@ 0 0 0 -3641233 -1159023 +3857580 +1239175 0 0 -198961 +198125 0 0 0 -524 -3650071 +540 +3868917 0 0 0 0 0 -485908 -55684870 +484361 +57752781 0 0 0 0 0 -1577392 +1586479 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_112quality_dropEyjjjjjjb # Func Hash: @@ -167199,7 +168046,7 @@ 0 0 0 -101343 +101090 0 0 0 @@ -167212,7 +168059,7 @@ 0 0 0 -101343 +101090 0 0 0 @@ -167223,11 +168070,11 @@ # Num Counters: 6 # Counter Values: -769566 +761200 24 0 -142362 -142362 +141585 +141585 0 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_113upload_hashesERNS0_11TexturePrepE @@ -167236,10 +168083,10 @@ # Num Counters: 4 # Counter Values: -82172 -20282 -130 -130 +81968 +20186 +136 +136 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_114compute_levelsERNS0_7SurfaceEjj # Func Hash: @@ -167247,47 +168094,47 @@ # Num Counters: 41 # Counter Values: -43 +41 12 -809848 +809145 0 -5179 +5016 0 0 0 -5621 -803423 -803423 -5179 -809875 -102474 -429065 -815800 +5480 +802859 +802859 +5016 +809172 +102180 +428527 +815026 0 -531942 -523658 -2212 -326591 -326591 +531496 +523314 +2123 +326347 +326347 0 -713381 -2967 +712899 +2893 0 0 -33468 -102474 -90030 -12444 +33472 +102180 +89948 +12232 0 215 -68436 -97295 +68161 +97164 0 0 -90042 +89960 12 0 -102474 +102180 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -167295,10 +168142,10 @@ # NumValueSites: 1 4 -33:89920 -65:89784 -129:89419 -257:57468 +33:89843 +65:89714 +129:89363 +257:57427 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_114quality_forcedEPKc # Func Hash: @@ -167393,7 +168240,7 @@ # Num Counters: 4 # Counter Values: -3448990 +3469572 12 12 0 @@ -167418,114 +168265,114 @@ # Counter Values: 0 0 -1666527 -370641 -3511319 -109780 -3412303 -10836 -3412014 -10836 -102589 +1662459 +367762 +3583962 +107982 +3485350 +9442 +3485058 +9442 +102292 0 -43177 -9876 -8834 -43177 -9876 +40036 +8473 +8536 +40036 +8473 0 -102589 -102589 +102292 +102292 0 -100436 -102589 -300 -102589 -102589 -195 -93755 -102589 -93755 -8834 -784 -8834 -784 +100181 +102292 +299 +102292 +102292 +171 +93756 +102292 +93756 +8536 +760 +8536 +760 0 -8050 -2784 +7776 +2918 0 0 -7855 -784 -784 -8050 +7605 +760 +760 +7776 0 0 -99479 -1485 -101104 +99282 +1420 +100872 0 0 -93755 -93755 -99805 -8834 -8834 +93756 +93756 +99374 +8536 +8536 6132 -469 +446 0 0 0 0 -784 +760 0 0 -105 -8050 -8050 -8050 -8050 -8050 -1485 +78 +7776 +7776 +7776 +7776 +7776 +1420 0 -93755 -469 +93756 +446 0 0 -784 -784 -784 -784 -784 -7855 -93755 -8639 -11 -1485 +760 +760 +760 +760 +760 +7605 +93756 +8365 +10 +1420 0 -93755 -93755 -469 -195 -195 -8834 -8834 +93756 +93756 +446 +171 +171 +8536 +8536 0 0 -469 -11 -195 -93755 +446 +10 +171 +93756 0 -8834 -8834 -11 -93755 -93755 -195 -11 -93635 -784 +8536 +8536 +10 +93756 +93756 +171 +10 +93636 +760 3864 0 120 @@ -167552,45 +168399,45 @@ 0 0 0 -99247 +99045 0 -1395207 -1395207 +1398455 +1398455 684 -3412014 -3368837 -105 -360784 -360784 +3485058 +3445022 +78 +358458 +358458 756 -10836 -960 +9442 +969 0 -102589 -101104 -1485 -101104 -101104 -93910 -93910 -93755 -93755 -8834 +102292 +100872 +1420 +100872 +100872 +93889 +93889 +93756 +93756 +8536 12 -8834 +8536 0 -8639 -8639 -8639 +8365 +8365 +8365 0 -784 -784 -8050 -7952 -220 -784 +760 +760 +7776 +7678 +200 +760 0 -582 +559 0 # Num Value Kinds: 1 @@ -167607,14 +168454,14 @@ 9 # Counter Values: 0 -214169768 +213103188 0 -919322232 +914166248 0 0 -107084884 -150217 -26100 +106551594 +149863 +25971 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_115gpu_untile_planERKNS0_7SurfaceEyRSt6vectorINS_13UntileGpuPassESaIS5_EEy # Func Hash: @@ -167622,37 +168469,37 @@ # Num Counters: 34 # Counter Values: -2967 -0 -0 +2893 0 -1604574 0 -5907 -122814 -5974 -760 -5907 0 -769488 -196344 -2967 -1604589 -5974 -844042 -1604589 -1604589 -196320 -5974 -5974 -1604589 -195560 -195560 +1603707 0 -66839 -195560 +5765 +122674 +5975 +736 +5765 0 -128721 +769126 +196048 +2893 +1603722 +5975 +843464 +1603722 +1603722 +196024 +5975 +5975 +1603722 +195288 +195288 +0 +66849 +195288 +0 +128439 0 24 0 @@ -167663,7 +168510,7 @@ # Num Counters: 1 # Counter Values: -1886831 +1923520 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_115watch_verify_onEv # Func Hash: @@ -167671,7 +168518,7 @@ # Num Counters: 4 # Counter Values: -142 +148 12 12 0 @@ -167682,16 +168529,16 @@ # Num Counters: 10 # Counter Values: -570 +547 0 -3122 +3030 0 0 -45262 +45231 0 -1339 -102251 -22989 +1338 +101953 +22833 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_118note_surface_addedERNS0_7SurfaceE # Func Hash: @@ -167699,26 +168546,26 @@ # Num Counters: 44 # Counter Values: -3690 +3630 0 0 -102474 -102474 +102180 +102180 0 -840 +829 0 -732 -840 +718 +829 0 -108 -732 +111 +718 0 -715 -96 +688 +99 0 0 12 -732 +718 0 0 0 @@ -167727,13 +168574,13 @@ 0 0 0 -2347 -2347 +2211 +2211 0 0 0 -619 -619 +589 +589 0 0 0 @@ -167742,7 +168589,7 @@ 0 0 0 -113 +129 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_119note_surface_erasedERKNS0_7SurfaceE # Func Hash: @@ -167750,20 +168597,20 @@ # Num Counters: 14 # Counter Values: -166186 -39888 +161500 +39405 0 -39888 -4606 +39405 +4154 0 -643 +587 0 -643 +587 0 0 0 -157595 -157595 +153682 +153682 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_120record_upload_lockedERNS0_7SurfaceERKNS0_12UploadRecordEjb # Func Hash: @@ -167772,30 +168619,30 @@ 25 # Counter Values: 36 -394210 -429707 -823838 -815078 -813864 -102589 -102589 -102589 -102589 -102589 -102589 -102589 -101805 -101805 +393986 +429177 +823086 +814324 +813154 +102292 +102292 +102292 +102292 +102292 +102292 +102292 +101532 +101532 0 0 0 0 0 24 -102289 -822703 +101993 +821993 24 -101805 +101532 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_121record_pending_lockedERNS0_7SurfaceEi # Func Hash: @@ -167804,23 +168651,23 @@ 28 # Counter Values: 0 -4135731 -93755 +4399182 +93756 0 -93755 +93756 0 -93755 +93756 0 -93755 -93755 +93756 +93756 0 0 0 0 -93755 +93756 0 -19 -19 +18 +18 0 0 0 @@ -167850,20 +168697,20 @@ # Num Counters: 22 # Counter Values: -228 -123 -114 +64 +40 +32 4 -114 -118 +32 +36 0 0 -114 -114 -114 -114 -114 -114 +32 +32 +32 +32 +32 +32 0 0 0 @@ -167879,16 +168726,16 @@ # Num Counters: 11 # Counter Values: -11784921 -786069 +11637212 +813728 0 -786069 -786069 -773891 -773891 +813728 +813728 +801504 +801504 0 -6811673 -6811673 +6470547 +6470547 0 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_125narrow_sampled_view_usageER21VkImageViewCreateInfoR26VkImageViewUsageCreateInfo @@ -167897,9 +168744,9 @@ # Num Counters: 6 # Counter Values: -114392 -114165 -105417 +114368 +114141 +105383 227 12 12 @@ -167915,10 +168762,10 @@ 0 0 0 -2798331 +2827181 0 -2798331 -2798331 +2827181 +2827181 12 0 0 @@ -167940,8 +168787,8 @@ 0 0 0 -2798319 -2798319 +2827169 +2827169 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_18PrepPool3getEv # Func Hash: @@ -167949,7 +168796,7 @@ # Num Counters: 4 # Counter Values: -131799 +130929 12 12 0 @@ -167961,10 +168808,10 @@ 17 # Counter Values: 44 -29210 -29210 -44 -29210 +28637 +28637 +47 +28637 3 3 3 @@ -167984,10 +168831,10 @@ # Num Counters: 24 # Counter Values: -99389 -99389 -3200 -3200 +99100 +99100 +3192 +3192 0 0 0 @@ -167997,10 +168844,10 @@ 0 0 0 -791 +790 0 0 -791 +790 0 0 0 @@ -168059,7 +168906,7 @@ # Num Counters: 2 # Counter Values: -102589 +102292 0 @SRC@/src/host/textures.cpp;_ZN3gpu12_GLOBAL__N_18run_prepERNS0_11TexturePrepE @@ -168079,7 +168926,7 @@ 0 49152 49152 -168 +169 0 0 0 @@ -168087,27 +168934,27 @@ 0 192 3072 -1183 +1140 0 -199 +198 0 0 0 -199 +198 0 0 -199 +198 0 -199 +198 0 -199 +198 0 0 0 0 0 0 -1214 +1170 0 0 0 @@ -168115,9 +168962,9 @@ 0 0 0 -101610 -101795 -784 +101361 +101526 +760 0 0 0 @@ -168154,9 +169001,9 @@ 0 0 0 -1214 -1574 -199 +1170 +1530 +198 # Num Value Kinds: 2 # ValueKind = IPVK_IndirectCallTarget: @@ -168165,16 +169012,16 @@ 3 0 1 -@SRC@/src/host/textures.cpp;_ZNSt17_Function_handlerIFvjEZN3gpu12_GLOBAL__N_112untile_sliceEPhPKhyjjjjjE3$_0E10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation:199 +@SRC@/src/host/textures.cpp;_ZNSt17_Function_handlerIFvjEZN3gpu12_GLOBAL__N_112untile_sliceEPhPKhyjjjjjE3$_0E10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation:198 0 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 7 3 -513:99927 -256:1213 -512:469 +513:99709 +256:1183 +512:467 1 1:49152 0 @@ -168189,8 +169036,8 @@ # Num Counters: 2 # Counter Values: -102589 -5 +102292 +9 @SRC@/src/host/textures.cpp;_ZN3gpu13census_uploadERNS_12_GLOBAL__N_17SurfaceEPKc # Func Hash: @@ -168198,28 +169045,28 @@ # Num Counters: 38 # Counter Values: +14 +299 +12 0 -300 -0 -0 -101 -0 -0 -1384 -188 -94133 -6957 -6 +96 +4 +4 +1324 +189 +94104 +6752 5 +9 0 0 -0 -5 -5 -5 -5 -5 -5 +2 +9 +9 +7 +9 +9 +9 0 0 0 @@ -168227,15 +169074,15 @@ 0 0 0 -5 -5 -5 -5 -101289 -101289 -101289 -101289 -101289 +9 +7 +7 +7 +101059 +101059 +101059 +101059 +101059 @SRC@/src/host/textures.cpp;_ZN3gpu13images_staticERKNS_12_GLOBAL__N_17SurfaceE # Func Hash: @@ -168243,18 +169090,18 @@ # Num Counters: 12 # Counter Values: -7318391 -6827794 -7318391 -490597 -490597 -490597 -490597 -490597 -1489005 -1489005 -1489005 -5829386 +7545826 +7001333 +7545826 +544493 +544493 +544493 +544493 +544493 +1556973 +1556973 +1556973 +5988853 @SRC@/src/host/textures.cpp;_ZN3gpu20carry_surface_lockedERNS_12_GLOBAL__N_17SurfaceERKS1_ # Func Hash: @@ -168263,29 +169110,29 @@ 44 # Counter Values: 0 -1274 -4263 -1131 -4263 -1090 -1090 -1385 -1090 -2878 +1222 +4101 1090 -949 -949 -949 -949 -949 -764 -185 -949 -949 +4101 +1053 +1053 +1339 +1053 +2762 +1053 +911 +911 +911 +911 +911 +724 +187 +911 +911 0 192 0 -764 +724 192 192 192 @@ -168298,14 +169145,14 @@ 12 0 0 -1131 -1131 -1131 -41 -41 -41 -41 -764 +1090 +1090 +1090 +37 +37 +37 +37 +724 @SRC@/src/host/textures.cpp;_ZN3gpu22refresh_surface_lockedERNS_12_GLOBAL__N_17SurfaceE # Func Hash: @@ -168315,127 +169162,127 @@ # Counter Values: 0 0 -6 +5 0 0 0 -19014478 -242 +19315890 +232 0 0 0 0 -187 +186 0 -8388762 +8495562 0 0 -10625716 +10820328 0 -108 -810 +102 +1060 0 0 -10625716 +10820328 0 0 -10625427 +10820043 0 0 -810 -102 -1070198 +1060 +99 +1070485 0 0 -810 +1060 0 -20179 +20317 0 -9555229 -102 +9749558 +99 0 0 0 -54 +46 0 -1066387 -18917 +1066538 +18795 0 0 0 -102 +99 0 -11926 +11921 0 -1047470 +1047743 0 0 0 0 0 -54 +46 0 -3811 -1 -20168 -20110 -5 -11 -20168 -54 -1047470 +3947 +3 +20303 +20238 +9 +14 +20303 +46 +1047743 0 0 -4 -6 -16368 -1 -5341 +2 +3 +16370 +3 +5315 0 0 -11 -54 +14 +46 0 -1031102 -16362 -16362 -1 +1031373 +16365 +16365 +3 0 0 -11 +14 0 -320 +418 0 -1 -11 -3135 +3 +14 +3164 0 -5284 -5284 +5253 +5253 0 0 -1 -11 +3 +14 0 0 0 0 -10145202 -810 -810 -1070198 -1066387 -1051281 -1051281 -1047470 +10336081 +1060 +1060 +1070485 +1066538 +1051690 +1051690 +1047743 0 -6 +3 0 -20168 -20168 +20303 +20303 0 -20168 -20168 +20303 +20303 0 0 0 @@ -168450,8 +169297,8 @@ 0 0 480 -1384 -1384 +1324 +1324 0 480 0 @@ -168471,11 +169318,11 @@ # Num Counters: 12 # Counter Values: -101525 -101525 -101525 -100154 -100154 +101269 +101269 +101269 +99958 +99958 151 139 96 @@ -168490,39 +169337,39 @@ # Num Counters: 61 # Counter Values: -437 -437 +431 +431 0 -224533 -101525 -1145 -437 -101525 -35236 -1145 -437 -11073 -437 -12551 -437 -9702 -437 -6488 -437 -437 -437 -9399 -437 -303 -437 -437 +221359 +101269 +1107 +431 +101269 +34439 +1107 +431 +10854 +431 +12086 +431 +9543 +431 +6296 +431 +431 +431 +9233 +431 +310 +431 +431 0 -437 -437 -437 -437 +431 +431 +431 +431 96 -437 +431 96 96 96 @@ -168543,14 +169390,14 @@ 0 0 0 -101525 -11073 +101269 +10854 0 24 -437 -437 -1588 -1588 +431 +431 +1562 +1562 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -168558,10 +169405,10 @@ # NumValueSites: 1 4 -513:6187 -64:5952 +513:5929 +64:5744 16:220 -4:192 +4:193 @SRC@/src/host/textures.cpp;_ZNSt12_Vector_baseIN3gpu12_GLOBAL__N_17Surface5LevelESaIS3_EE11_M_allocateEy # Func Hash: @@ -168569,8 +169416,8 @@ # Num Counters: 4 # Counter Values: -635402 -635402 +634221 +634221 0 0 @@ -168591,8 +169438,8 @@ # Num Counters: 4 # Counter Values: -1052 -1052 +1026 +1026 0 0 @@ -168602,12 +169449,12 @@ # Num Counters: 6 # Counter Values: -199 -199 +198 +198 0 0 0 -199 +198 @SRC@/src/host/textures.cpp;_ZNSt17_Function_handlerIFvjEZN3gpu12_GLOBAL__N_112untile_sliceEPhPKhyjjjjjE3$_0E9_M_invokeERKSt9_Any_dataOj # Func Hash: @@ -168615,8 +169462,8 @@ # Num Counters: 3 # Counter Values: -1584 -1585 +1580 +1579 0 @SRC@/src/host/textures.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_111TexturePrepESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv @@ -168625,7 +169472,7 @@ # Num Counters: 1 # Counter Values: -47657 +47170 @SRC@/src/host/textures.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_111TexturePrepESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv # Func Hash: @@ -168633,8 +169480,8 @@ # Num Counters: 2 # Counter Values: -47657 -47657 +47170 +47170 @SRC@/src/host/textures.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_111TexturePrepESaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info # Func Hash: @@ -168660,7 +169507,7 @@ # Num Counters: 1 # Counter Values: -93755 +93756 @SRC@/src/host/textures.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_113PendingUploadESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv # Func Hash: @@ -168668,7 +169515,7 @@ # Num Counters: 1 # Counter Values: -93755 +93756 @SRC@/src/host/textures.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_113PendingUploadESaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info # Func Hash: @@ -168694,7 +169541,7 @@ # Num Counters: 1 # Counter Values: -1274 +1222 @SRC@/src/host/textures.cpp;_ZNSt3mapIyN3gpu12_GLOBAL__N_17SurfaceESt4lessIyESaISt4pairIKyS2_EEE7emplaceIJRyRS2_EEES5_ISt17_Rb_tree_iteratorIS7_EbEDpOT_ # Func Hash: @@ -168702,17 +169549,17 @@ # Num Counters: 22 # Counter Values: -1707678 -89301 +1705862 +89070 0 -101525 -93755 -102474 +101269 +93756 +102180 0 0 0 0 -75047 +74502 0 0 0 @@ -168721,9 +169568,9 @@ 0 0 0 -1412755 -1412755 -27415 +1417230 +1417230 +27666 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -168731,11 +169578,11 @@ # NumValueSites: 1 5 -257:74356 -513:14213 -33:12554 -129:1215 -65:136 +257:74313 +513:14206 +33:12337 +129:1195 +65:129 @SRC@/src/host/textures.cpp;_ZNSt3mapIyN3gpu12_GLOBAL__N_17SurfaceESt4lessIyESaISt4pairIKyS2_EEEixERS6_ # Func Hash: @@ -168806,14 +169653,14 @@ # Num Counters: 20 # Counter Values: -99310 +99540 3 -3200 -102586 +3192 +102289 3 3 -102586 -102586 +102289 +102289 0 0 0 @@ -168841,8 +169688,8 @@ # Num Counters: 11 # Counter Values: -103863 -103863 +103514 +103514 0 0 0 @@ -168859,11 +169706,11 @@ # NumValueSites: 4 5 -257:74617 -513:14216 -33:13254 -129:1523 -65:253 +257:74565 +513:14209 +33:13013 +129:1487 +65:240 0 0 0 @@ -168875,8 +169722,8 @@ 10 # Counter Values: 3060 -8531 -8531 +8257 +8257 108 108 96 @@ -168891,8 +169738,8 @@ # Num Counters: 3 # Counter Values: -39888 -39888 +39405 +39405 0 @SRC@/src/host/textures.cpp;_ZNSt8_Rb_treeIySt4pairIKyN3gpu12_GLOBAL__N_17SurfaceEESt10_Select1stIS5_ESt4lessIyESaIS5_EE24_M_get_insert_unique_posERS1_ @@ -168914,16 +169761,16 @@ # Num Counters: 12 # Counter Values: -13173 -13161 -13161 +13110 +13098 +13098 0 12 0 -27403 +27654 0 0 -61886 +61404 0 0 @@ -169162,23 +170009,23 @@ # Num Counters: 18 # Counter Values: -179691300 -3391408 -176204194 -176294868 -176406467 +186122252 +2394666 +183328765 +183744297 +183724123 0 -29978 -176385063 +29908 +183741301 0 -176031202 -176009514 -176067862 +183069794 +183007037 +183047416 0 -29978 +29906 0 0 -8846 +8872 0 @SRC@/src/host/textures.cpp;_ZZN3gpu21texture_view_uncachedEPKjbRbRjS2_bbyENK3$_0clEy @@ -169193,31 +170040,31 @@ 0 0 0 -5244557 +5675256 0 -312492 +277014 0 -311431 -312492 +275884 +277014 0 -311431 +275884 0 0 -20 -10414 +15 +30757 0 0 -300997 +245112 0 -10414 +30757 0 0 -300987 +245101 0 0 -300987 -300997 -10 +245101 +245112 +11 31 0 0 @@ -169226,13 +170073,13 @@ 0 0 0 -10 +11 0 31 0 0 0 -10 +11 0 0 31 @@ -169769,7 +170616,7 @@ # Num Counters: 5 # Counter Values: -44000 +43981 12 12 0 @@ -169783,7 +170630,7 @@ # Counter Values: 0 0 -1703151520 +1702322756 0 0 0 @@ -169800,130 +170647,130 @@ 0 0 0 -175944 -175920 -175920 -175920 -175924 -425787880 -219920 +175876 +175860 +175860 +175864 +175860 +425580689 +219835 0 0 0 -131958 +131907 0 -87974 +87934 0 0 -101758 -101700 -474 -1146 -1146 -474 -101753 -11015 +103418 +103172 +483 +1167 +1167 +483 +103487 +10996 0 0 0 0 -44007 +43986 0 -474 -474 -101043 +483 +483 +102680 0 -9352 +9348 0 -5040 -1146 -102328 +5229 +1166 +104516 0 -11015 -44006 +10996 +43986 0 -43987 -43985 -43987 -43982 -730 +43967 +43969 +43969 +43964 +743 0 0 -242 -232 +247 +236 0 -44012 -44012 +43993 +43993 0 0 -11054 -2140 -1145 -1146 -672 -672 +11041 +2178 +1166 +1167 +682 +684 0 0 0 0 -116 -58 -42850 +118 +59 +42863 0 0 -945 -43983 -58 +947 +43962 +59 0 0 -474 -473 +483 +483 0 -43986 -43988 +43969 +43968 0 -43987 -42754 -58 +43965 +42767 +59 0 0 0 0 0 0 -43988 +43969 0 0 -43986 +43969 0 0 0 -43986 -43982 -58 +43964 +43965 +59 0 0 0 0 -43988 -43988 +43969 +43969 0 -58 +59 0 0 0 0 0 0 -58 -58 +59 +59 0 -43988 -43988 +43968 +43968 0 0 0 -10749 +10724 0 0 0 @@ -169931,25 +170778,25 @@ 0 0 0 -58 +59 0 0 0 0 0 -43988 -43988 -43988 +43969 +43969 +43969 0 0 -58 +59 0 -58 +59 0 0 0 0 -12 +13 0 0 0 @@ -169958,15 +170805,15 @@ 0 0 0 -43977 -43974 -33239 -43988 +43960 +43959 +33245 +43969 0 0 0 -43988 -58 +43969 +59 0 0 0 @@ -169975,21 +170822,21 @@ 0 0 0 -58 -58 -58 -43988 -43987 -43987 +59 +59 +59 +43969 +43968 +43969 0 0 -42409 +42407 0 0 0 -16342 +16338 0 -58 +59 0 0 0 @@ -170003,19 +170850,19 @@ 0 0 0 -43988 -43987 +43969 +43969 0 -9170 +9162 0 0 0 0 0 -16897 +16907 0 0 -43988 +43969 0 0 0 @@ -170025,13 +170872,139 @@ 0 0 0 -58 +59 +0 +0 +0 +43968 +0 +16895 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +43967 +0 +0 +0 +0 +0 +59 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 0 0 0 -43988 0 -16885 0 0 0 @@ -170050,13 +171023,11 @@ 0 0 0 -43987 0 0 0 0 0 -58 0 0 0 @@ -170214,6 +171185,13 @@ 0 0 0 +43967 +43969 +59 +59 +118 +59 +118 0 0 0 @@ -170224,13 +171202,49 @@ 0 0 0 +43961 +33245 +1549 0 0 0 0 +43967 +43966 +43968 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +7 +1 +9:43988 +1 +2:59 +7 +513:330 +16:59 +32:59 +64:59 +128:59 +256:59 +512:59 +4 +513:72 +65:12 +129:12 +257:12 0 0 0 + +@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_110hlsl_titleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +# Func Hash: +549370525576477208 +# Num Counters: +26 +# Counter Values: 0 0 0 @@ -170257,16 +171271,144 @@ 0 0 0 +# Num Value Kinds: +2 +# ValueKind = IPVK_IndirectCallTarget: 0 +# NumValueSites: +1 0 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +2 +0 +0 + +@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_110write_liftERNS0_6WriterERKN3gcn10LiftResultE +# Func Hash: +146835646621254984 +# Num Counters: +2 +# Counter Values: +0 +2 + +@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_112hash_optionsERNS0_9KeyHasherERKN3gcn16TranslateOptionsE +# Func Hash: +86547362442492232 +# Num Counters: +74 +# Counter Values: +1694724 +1082480 +1082480 +1082480 +1082480 +1082524 +1217780 +1217780 +592808 +564900 +564908 +564940 +564908 +564912 +0 +564932 +564924 +564880 +564908 +564932 +564920 +564924 +564932 +564932 +564928 +423669 +564920 +564956 +564940 +270622 +564944 +564960 +564972 +564964 +564928 +564904 +564904 +564924 +564904 +304432 +564928 +148207 +564916 +564928 +564924 +564924 +564940 +564920 +564956 +564976 +564972 +564912 +564920 +564920 +564932 +564944 +564956 +956 +564948 0 0 +7700 +141235 +239 +141238 +1925 0 0 +1925 +289413 0 0 +81895 0 + +@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_112hash_programERNS0_9KeyHasherERKN3gcn7ProgramE +# Func Hash: +29693991935507450 +# Num Counters: +21 +# Counter Values: +244031512 +198569404 +61009732 +12673080 +565248 +565232 +49644625 +3168542 +16753546 +49641308 +108226 +558146 +0 +4028 +141323 +108103 +1008 0 +1007 +60992456 +108889 + +@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_112hlsl_compileERKSt6vectorIjSaIjEERKN3gcn11HlslOptionsERKNS_3DxcERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +# Func Hash: +470337361265636719 +# Num Counters: +126 +# Counter Values: 0 0 0 @@ -170338,13 +171480,6 @@ 0 0 0 -43987 -43985 -58 -58 -116 -58 -116 0 0 0 @@ -170355,49 +171490,13 @@ 0 0 0 -43982 -33239 -1567 0 0 0 0 -43986 -43988 -43987 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -7 -1 -9:44012 -1 -2:58 -7 -513:324 -16:58 -32:58 -64:58 -128:58 -256:58 -512:58 -4 -513:72 -65:12 -129:12 -257:12 0 0 0 - -@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_110hlsl_titleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE -# Func Hash: -549370525576477208 -# Num Counters: -26 -# Counter Values: 0 0 0 @@ -170424,143 +171523,47 @@ 0 0 0 -# Num Value Kinds: -2 -# ValueKind = IPVK_IndirectCallTarget: 0 -# NumValueSites: -1 0 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -2 0 0 - -@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_110write_liftERNS0_6WriterERKN3gcn10LiftResultE -# Func Hash: -146835646621254984 -# Num Counters: -2 -# Counter Values: 0 0 - -@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_112hash_optionsERNS0_9KeyHasherERKN3gcn16TranslateOptionsE -# Func Hash: -86547362442492232 -# Num Counters: -74 -# Counter Values: -1695360 -1083212 -1083212 -1083212 -1083212 -1083200 -1218948 -1218948 -593360 -565012 -565048 -565072 -565044 -565052 -0 -565072 -565064 -565040 -565044 -565052 -565056 -565052 -565076 -565060 -565084 -423828 -565116 -565124 -565108 -270774 -565080 -565068 -565092 -565092 -565072 -565052 -565040 -565100 -565048 -304737 -565044 -148335 -565044 -565052 -565044 -565048 -565080 -565084 -565084 -565056 -565076 -565068 -565060 -565044 -565112 -565124 -565124 -956 -565096 0 0 -7772 -141274 -239 -141273 -1943 0 0 -1943 -289590 0 0 -81904 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 0 -@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_112hash_programERNS0_9KeyHasherERKN3gcn7ProgramE +@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_113hlsl_dump_dirEv # Func Hash: -29693991935507450 +1031809833912299484 # Num Counters: -21 +9 # Counter Values: -244174504 -198687056 -61044476 -12677208 -565400 -565364 -49671741 -3169537 -16769294 -49667795 -108263 -558491 -0 -4020 -141359 -108144 -1007 +43969 +0 +0 +0 +12 +12 +0 +0 0 -1006 -61029125 -108926 -@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_112hlsl_compileERKSt6vectorIjSaIjEERKN3gcn11HlslOptionsERKNS_3DxcERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_113hlsl_validateB5cxx11ERKSt6vectorIjSaIjEE # Func Hash: -470337361265636719 +142287160004707337 # Num Counters: -126 +17 # Counter Values: 0 0 @@ -170579,12 +171582,31 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_IndirectCallTarget: 0 +# NumValueSites: +2 0 0 + +@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_113lift_hash_hexB5cxx11ERKSt6vectorIjSaIjEE +# Func Hash: +536873291336558756 +# Num Counters: +3 +# Counter Values: 0 0 0 + +@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_114hlsl_dump_textERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ +# Func Hash: +197171367599019946 +# Num Counters: +44 +# Counter Values: 0 0 0 @@ -170629,11 +171651,24 @@ 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +5 0 0 0 0 0 + +@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_114hlsl_met_wordsERKNS0_7HlslMet4LiftERSt6vectorIjSaIjEE +# Func Hash: +182677338841833530 +# Num Counters: +55 +# Counter Values: 0 0 0 @@ -170688,263 +171723,75 @@ 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 0 -@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_113hlsl_dump_dirEv +@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_114lift_stage_tagB5cxx11ERKSt6vectorIjSaIjEE # Func Hash: -1031809833912299484 +303685790327532385 # Num Counters: -9 +13 # Counter Values: -43988 -0 -0 -0 -12 -12 -0 +44011 +292470 +248462 +44014 +44023 0 0 +23655 +142 +310 +24 +18909 +972 -@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_113hlsl_validateB5cxx11ERKSt6vectorIjSaIjEE +@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_115module_identityERKSt6vectorIjSaIjEE # Func Hash: -142287160004707337 +1134130824283611410 # Num Counters: -17 +21 # Counter Values: 0 0 0 +414418 +1398290 0 +45293 0 +77185678 +1512624324 +905940 0 +378156081 +181188 +226480 0 +79054592 +79054592 +45297 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_IndirectCallTarget: -0 -# NumValueSites: -2 -0 -0 +271771 -@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_113lift_hash_hexB5cxx11ERKSt6vectorIjSaIjEE +@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_115save_due_lockedEb # Func Hash: -536873291336558756 +694937219190745276 # Num Counters: -3 +7 # Counter Values: -0 -0 +1371 +152 +47 +47 +47 +47 0 -@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_114hlsl_dump_textERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ +@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_116hlsl_stable_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: -197171367599019946 +361214703413769892 # Num Counters: -44 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -5 -0 -0 -0 -0 -0 - -@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_114hlsl_met_wordsERKNS0_7HlslMet4LiftERSt6vectorIjSaIjEE -# Func Hash: -182677338841833530 -# Num Counters: -55 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_114lift_stage_tagB5cxx11ERKSt6vectorIjSaIjEE -# Func Hash: -303685790327532385 -# Num Counters: -13 -# Counter Values: -44030 -292585 -248559 -44031 -44046 -0 -0 -23668 -143 -306 -24 -18921 -971 - -@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_115module_identityERKSt6vectorIjSaIjEE -# Func Hash: -1134130824283611410 -# Num Counters: -21 -# Counter Values: -0 -0 -0 -414627 -1399020 -0 -45315 -0 -77224282 -1513336120 -906400 -0 -378345727 -181288 -226605 -0 -79083201 -79083201 -45322 -0 -271905 - -@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_115save_due_lockedEb -# Func Hash: -694937219190745276 -# Num Counters: -7 -# Counter Values: -1358 -0 -0 -0 -0 -0 -0 - -@SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_116hlsl_stable_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE -# Func Hash: -361214703413769892 -# Num Counters: -26 +26 # Counter Values: 0 0 @@ -171121,22 +171968,22 @@ # Num Counters: 28 # Counter Values: -10816 -43088 -42992 -1964 -1964 +10811 +43093 +42997 +1945 +1945 0 0 0 42024 42024 -20667 +20682 108 108 -21357 +21342 96 -21345 +21330 0 0 0 @@ -171440,19 +172287,19 @@ # Num Counters: 25 # Counter Values: +4 +4 0 0 0 0 0 +4 +4 +4 +1 0 -0 -0 -0 -0 -0 -0 -0 +3 0 0 0 @@ -171473,15 +172320,15 @@ 10 # Counter Values: 0 -2012002 -2012024 -2012024 -2012006 +2010616 +2010604 +2010604 +2010600 0 0 -291770 -291780 -291774 +291681 +291680 +291678 @SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_16Reader3strB5cxx11Ev # Func Hash: @@ -171491,9 +172338,9 @@ # Counter Values: 0 0 -234330 -234332 -234325 +234251 +234254 +234251 0 @SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_16Reader4pathERN3gcn12ResourcePathE @@ -171503,23 +172350,23 @@ 19 # Counter Values: 0 -1533 -1533 -1533 -1533 +1524 +1524 +1524 +1524 0 -1039204 -1039228 -1039432 -1038177 -1341 -1039548 -1039498 -1039563 -1039199 -1039408 +1038620 +1038689 +1038862 +1037672 +1332 +1039015 +1038995 +1039056 +1038635 +1038802 0 -1039527 +1038961 0 @SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_16Reader5wordsERSt6vectorIjSaIjEE @@ -171529,16 +172376,16 @@ 11 # Counter Values: 0 -381066 -381081 -130422 -250716 +380959 +380914 +130393 +250588 0 -250571 -381075 +250507 +380931 0 0 -250581 +250510 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -171546,14 +172393,14 @@ # NumValueSites: 1 8 -513:156456 -17:34930 -32:11604 -33:11493 -8:10230 -16:9449 -9:8869 -4:7646 +513:156383 +17:34887 +32:11619 +33:11486 +8:10231 +16:9446 +9:8882 +4:7651 @SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_16Writer2atERKSt3mapIjjSt4lessIjESaISt4pairIKjjEEE # Func Hash: @@ -171561,8 +172408,8 @@ # Num Counters: 2 # Counter Values: -0 -0 +56 +6 @SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_16Writer3strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -171580,7 +172427,7 @@ # Counter Values: 0 0 -0 +16 0 @SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_16Writer5wordsERKSt6vectorIjSaIjEE @@ -171589,8 +172436,8 @@ # Num Counters: 2 # Counter Values: -0 -0 +8 +6 @SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_17key_forERKN3gcn7ProgramERKNS1_16TranslateOptionsENS_14TranslationUseE # Func Hash: @@ -171598,9 +172445,9 @@ # Num Counters: 3 # Counter Values: -561200 -140300 -97 +561024 +140256 +96 @SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_18hlsl_dxcEv # Func Hash: @@ -171608,7 +172455,7 @@ # Num Counters: 6 # Counter Values: -43987 +43966 0 12 0 @@ -171621,10 +172468,10 @@ # Num Counters: 4 # Counter Values: -202081412 -1794648 -50520397 -448652 +202016832 +1794028 +50503212 +448508 @SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_19KeyHasher4listIhEEvRKSt6vectorIT_SaIS4_EE # Func Hash: @@ -171632,10 +172479,10 @@ # Num Counters: 4 # Counter Values: -6986820 -1129900 -1746632 -282480 +6984872 +1129720 +1746212 +282436 @SRC@/src/host/translation_cache.cpp;_ZN3gpu12_GLOBAL__N_19hlsl_dumpERKSt6vectorIjSaIjEERKN3gcn10HlslResultERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -171862,10 +172709,10 @@ 24 0 0 -45347 -45347 -45347 -45347 +45315 +45319 +45318 +45313 @SRC@/src/host/translation_cache.cpp;_ZNKSt10_HashtableIN3gpu12_GLOBAL__N_113HlslOverrides2IdESt4pairIKS3_NS2_4DoneEESaIS7_ENSt8__detail10_Select1stESt8equal_toIS3_ENS2_6IdHashENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb1ELb0ELb1EEEE9_M_locateERS5_ # Func Hash: @@ -171895,17 +172742,17 @@ 12 # Counter Values: 0 -29192 -3299 -91 -20624 +29236 +3274 +89 +20636 0 -45323 -45311 -24014 +45298 +45286 +23999 12 0 -3299 +3274 @SRC@/src/host/translation_cache.cpp;_ZNKSt10_HashtableIN3gpu12_GLOBAL__N_13KeyESt4pairIKS2_NS1_4SlotEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS2_ENS1_7KeyHashENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb1ELb0ELb1EEEE9_M_locateERS4_ # Func Hash: @@ -171914,17 +172761,17 @@ 12 # Counter Values: 0 -162781 -186619 -60 -70992 +164605 +186551 +66 +71234 0 -349975 -349963 -257671 +349939 +349927 +257851 12 0 -186619 +186551 @SRC@/src/host/translation_cache.cpp;_ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorISt10shared_ptrIKN3gpu12_GLOBAL__N_17HlslMet4LiftEESaISF_EEESaISI_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSK_18_Mod_range_hashingENSK_20_Default_ranged_hashENSK_20_Prime_rehash_policyENSK_17_Hashtable_traitsILb1ELb0ELb1EEEE22_M_find_before_node_trIS5_EEPNSK_15_Hash_node_baseEyRKT_y # Func Hash: @@ -171932,14 +172779,14 @@ # Num Counters: 8 # Counter Values: -25744 -10749 -75 -16302 -10749 -10749 -43988 -27126 +25756 +10724 +71 +16306 +10724 +10724 +43969 +27101 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -171947,7 +172794,7 @@ # NumValueSites: 1 1 -9:10749 +9:10724 @SRC@/src/host/translation_cache.cpp;_ZNSt10_HashtableIN3gpu12_GLOBAL__N_13KeyESt4pairIKS2_NS1_4SlotEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS2_ENS1_7KeyHashENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb1ELb0ELb1EEEE21_M_insert_unique_nodeEyyPNS8_10_Hash_nodeIS6_Lb1EEEy # Func Hash: @@ -171955,15 +172802,15 @@ # Num Counters: 11 # Counter Values: -69012 -169212 -169092 -71028 +68862 +169362 +169242 +71263 132 132 -92328 +92121 120 -92316 +92109 0 0 # Num Value Kinds: @@ -172010,7 +172857,7 @@ 5 # Counter Values: 0 -33239 +33245 0 0 0 @@ -172041,8 +172888,8 @@ # Num Counters: 4 # Counter Values: -42409 -42409 +42407 +42407 0 0 @@ -172052,8 +172899,8 @@ # Num Counters: 4 # Counter Values: -0 -0 +1 +1 0 0 @@ -172345,6 +173192,40 @@ # Num Counters: 11 # Counter Values: +39 +11670 +0 +0 +1 +1946 +1946 +1 +1 +14 +14 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +@SRC@/src/host/translation_cache.cpp;_ZSt16__merge_adaptiveIN9__gnu_cxx17__normal_iteratorIPZN3gpu22translation_cache_saveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbE3OutSt6vectorISB_SaISB_EEEExSC_ZNS2_22translation_cache_saveESA_bE3$_0EvT_SI_SI_T0_SJ_T1_T2_ +# Func Hash: +608860175731325577 +# Num Counters: +26 +# Counter Values: +0 +0 +12 +6807 +0 +1 +0 +1 +0 0 0 0 @@ -172356,73 +173237,40 @@ 0 0 0 +0 +0 +0 +0 +0 +3 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: +5 +0 +0 1 +513:1 +0 0 -@SRC@/src/host/translation_cache.cpp;_ZSt16__merge_adaptiveIN9__gnu_cxx17__normal_iteratorIPZN3gpu22translation_cache_saveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbE3OutSt6vectorISB_SaISB_EEEExSC_ZNS2_22translation_cache_saveESA_bE3$_0EvT_SI_SI_T0_SJ_T1_T2_ +@SRC@/src/host/translation_cache.cpp;_ZSt21__inplace_stable_sortIN9__gnu_cxx17__normal_iteratorIPZN3gpu22translation_cache_saveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbE3OutSt6vectorISB_SaISB_EEEEZNS2_22translation_cache_saveESA_bE3$_0EvT_SI_T0_ # Func Hash: -608860175731325577 +146835647075900052 # Num Counters: -26 +2 # Counter Values: 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -5 -0 -0 -0 -0 -0 - -@SRC@/src/host/translation_cache.cpp;_ZSt21__inplace_stable_sortIN9__gnu_cxx17__normal_iteratorIPZN3gpu22translation_cache_saveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbE3OutSt6vectorISB_SaISB_EEEEZNS2_22translation_cache_saveESA_bE3$_0EvT_SI_T0_ -# Func Hash: -146835647075900052 -# Num Counters: -2 -# Counter Values: -0 -0 - -@SRC@/src/host/translation_cache.cpp;_ZSt22__merge_without_bufferIN9__gnu_cxx17__normal_iteratorIPZN3gpu22translation_cache_saveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbE3OutSt6vectorISB_SaISB_EEEExZNS2_22translation_cache_saveESA_bE3$_0EvT_SI_SI_T0_SJ_T1_ -# Func Hash: -452556439210827537 -# Num Counters: -29 -# Counter Values: + +@SRC@/src/host/translation_cache.cpp;_ZSt22__merge_without_bufferIN9__gnu_cxx17__normal_iteratorIPZN3gpu22translation_cache_saveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbE3OutSt6vectorISB_SaISB_EEEExZNS2_22translation_cache_saveESA_bE3$_0EvT_SI_SI_T0_SJ_T1_ +# Func Hash: +452556439210827537 +# Num Counters: +29 +# Counter Values: 0 0 0 @@ -172459,7 +173307,7 @@ # Num Counters: 1 # Counter Values: -0 +1 @SRC@/src/host/translation_cache.cpp;_ZSt23__merge_adaptive_resizeIN9__gnu_cxx17__normal_iteratorIPZN3gpu22translation_cache_saveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbE3OutSt6vectorISB_SaISB_EEEExSC_ZNS2_22translation_cache_saveESA_bE3$_0EvT_SI_SI_T0_SJ_T1_SJ_T2_ # Func Hash: @@ -172532,57 +173380,73 @@ # Num Counters: 37 # Counter Values: +5132 +25599 +7718 +30130 +1262 +621 +1609 +4534 +6444 +9072 +1944 +5 +2 +1288 +28 +639 +21 +22 +4 +15 +3 +6 +7 +6 +5 +2 +1 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +1 +1266 +10 +4 +3 +30749 +7 +15520 +10 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 8 -0 -0 -0 -0 -0 -0 -0 -0 +1 +65:2 +4 +257:964 +513:296 +65:1 +129:1 +2 +129:2 +513:2 +2 +129:2 +513:1 +1 +65:3 +2 +513:620 +65:1 +2 +129:2 +513:2 +2 +513:4 +129:1 @SRC@/src/host/translation_cache.cpp;_ZSt29__stable_sort_adaptive_resizeIN9__gnu_cxx17__normal_iteratorIPZN3gpu22translation_cache_saveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbE3OutSt6vectorISB_SaISB_EEEESC_xZNS2_22translation_cache_saveESA_bE3$_0EvT_SI_T0_T1_T2_ # Func Hash: @@ -172722,8 +173586,8 @@ 0 0 0 -58 -58 +59 +59 @SRC@/src/host/translation_cache.cpp;_ZZNSt9once_flag18_Prepare_executionC1IZSt9call_onceIZN3gpu12_GLOBAL__N_18hlsl_dxcEvE3$_0JEEvRS_OT_DpOT0_EUlvE_EERS7_ENUlvE_8__invokeEv # Func Hash: @@ -172859,7 +173723,7 @@ # Num Counters: 2 # Counter Values: -225863 +225780 120 @SRC@/src/host/updater.cpp;_GLOBAL__sub_I_updater.cpp @@ -173322,25 +174186,25 @@ # Num Counters: 42 # Counter Values: -88746 -88746 -88746 +89128 +89128 +89128 0 -177492 +178256 14 -976206 -798714 -798714 -354984 -88746 -532476 -88746 +980408 +802152 +802152 +356512 +89128 +534768 +89128 0 0 -83367 +83666 0 -78729 -88746 +78727 +89128 0 0 0 @@ -173351,12 +174215,12 @@ 7 0 0 -10017 -10017 +10401 +10402 0 -83367 -5386 -5386 +83666 +5469 +5469 0 0 0 @@ -173371,7 +174235,7 @@ # Num Counters: 4 # Counter Values: -48183220 +47675130 10 10 0 @@ -173405,7 +174269,7 @@ # Num Counters: 7 # Counter Values: -400887 +400775 0 10 10 @@ -173419,7 +174283,7 @@ # Num Counters: 7 # Counter Values: -400887 +400775 0 10 10 @@ -173433,10 +174297,10 @@ # Num Counters: 21 # Counter Values: -762972 -254324 +760740 +253580 0 -119957 +119233 0 0 10 @@ -173445,7 +174309,7 @@ 10 0 0 -119957 +119234 0 0 0 @@ -173461,15 +174325,15 @@ # Num Counters: 24 # Counter Values: -217325 -43465 -43462 +215055 +43011 +43008 3 -43465 -43465 +43011 +43011 3 -43465 -43465 +43011 +43011 3 3 3 @@ -173492,9 +174356,9 @@ # Num Counters: 5 # Counter Values: -247422 -41237 -41237 +243096 +40516 +40516 9 9 @@ -173504,7 +174368,7 @@ # Num Counters: 6 # Counter Values: -119986 +119262 10 10 0 @@ -173517,19 +174381,19 @@ # Num Counters: 122 # Counter Values: -5974077 -5974077 -2905403 -5132403 -5973639 -5974077 -5958307 -5958307 -119974 +5937584 +5937584 +2886131 +5118917 +5937045 +5937584 +5921567 +5921567 +119247 0 -15230722 -5958307 -5958307 +15138676 +5921567 +5921567 0 0 0 @@ -173537,67 +174401,67 @@ 0 0 0 -5973639 +5937045 0 0 0 0 0 -2077186 -5958307 +2028950 +5921567 0 0 0 -3896453 -5958217 -3776489 +3908095 +5921477 +3788859 0 -119976 -119986 -119986 -119986 +119252 +119262 +119262 +119262 10 90 -119952 -119962 -119974 +119223 +119233 +119247 80 80 10 -119976 -119986 -119976 +119251 +119262 +119251 10 -119962 -119962 -119962 -119962 -119962 -195 +119233 +119233 +119233 +119233 +119233 +194 0 -119964 -119986 +119237 +119262 0 -119976 +119251 0 0 0 -119976 +119251 0 0 -195 -195 +194 +194 0 0 0 0 0 -195 -195 +194 +194 0 0 0 -195 +194 0 0 0 @@ -173632,12 +174496,12 @@ 0 0 0 -119976 +119252 10 0 0 -119986 -119976 +119262 +119252 10 # Num Value Kinds: 1 @@ -173765,11 +174629,11 @@ # Num Counters: 5 # Counter Values: -134338 +134318 10 0 0 -134328 +134308 @SRC@/src/host/upscale_pass.cpp;_ZN3gpu12_GLOBAL__N_117velo_previous_envEv # Func Hash: @@ -173777,7 +174641,7 @@ # Num Counters: 6 # Counter Values: -10715811 +10668315 12 12 0 @@ -173849,7 +174713,7 @@ 7 77 28 -177485 +178249 7 42 0 @@ -173871,7 +174735,7 @@ # Num Counters: 14 # Counter Values: -119976 +119252 10 10 10 @@ -173902,7 +174766,7 @@ # Num Counters: 9 # Counter Values: -119976 +119252 10 10 10 @@ -173955,7 +174819,7 @@ # Num Counters: 1 # Counter Values: -311850 +312594 @SRC@/src/host/upscale_pass.cpp;_ZNKSt10_HashtableIySt4pairIKyPKN3gpu12_GLOBAL__N_17CapDrawEESaIS7_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ # Func Hash: @@ -173963,15 +174827,15 @@ # Num Counters: 9 # Counter Values: -5318218 +5165211 0 -123091 -1963044 -11947716 -11827264 -120452 -8044442 -120452 +92300 +1945779 +11874629 +11754745 +119884 +7959646 +119884 @SRC@/src/host/upscale_pass.cpp;_ZNSt10_HashtableIySt4pairIKyPKN3gpu12_GLOBAL__N_17CapDrawEESaIS7_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE # Func Hash: @@ -173982,7 +174846,7 @@ 0 0 0 -119976 +119251 0 0 # Num Value Kinds: @@ -173992,10 +174856,10 @@ # NumValueSites: 1 4 -257:103272 -513:16676 -129:16 -16:12 +257:102639 +513:16581 +129:17 +16:15 @SRC@/src/host/upscale_pass.cpp;_ZNSt10unique_ptrIN3gpu12_GLOBAL__N_110CapIndicesESt14default_deleteIS2_EEaSEOS5_ # Func Hash: @@ -174037,12 +174901,12 @@ 9 # Counter Values: 0 -4998930 +4972590 0 0 0 -1020457 -975147 +1014538 +964994 0 0 # Num Value Kinds: @@ -174060,13 +174924,13 @@ 24 # Counter Values: 0 -1433603 +1486939 0 -1438420 -43297 -76677 +1372095 +46075 +73172 0 -76677 +73172 0 0 0 @@ -174090,13 +174954,13 @@ # NumValueSites: 5 2 -513:43290 -257:7 +513:46070 +257:6 0 4 -512:55635 -513:21033 -257:7 +512:52487 +513:20674 +257:9 256:2 0 0 @@ -174149,7 +175013,7 @@ # Num Counters: 1 # Counter Values: -119974 +119247 @SRC@/src/host/upscale_pass.cpp;_ZSt23__merge_adaptive_resizeIN9__gnu_cxx17__normal_iteratorIPN3gpu12_GLOBAL__N_17CapDrawESt6vectorIS4_SaIS4_EEEExS5_ZNS3_14record_captureEP17VkCommandBuffer_TjjE3$_1EvT_SD_SD_T0_SE_T1_SE_T2_ # Func Hash: @@ -174221,38 +175085,38 @@ 33 # Counter Values: 0 -836248 +816256 0 -3028753 -358471 -59732 +2980971 +353847 +58304 0 -768845 +763371 0 -4369246 -780509 -236766 -239948 -358471 +4313988 +776044 +235047 +238494 +353847 0 -59732 +58304 0 0 0 0 0 -81438 -198501 -237963 -38158 -1177 -2692 -62 -1115 -358471 -80261 -836248 -4406269 +80463 +197191 +236194 +37729 +1127 +2628 +38 +1089 +353847 +79336 +816256 +4350608 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -174261,44 +175125,44 @@ 8 0 2 -129:333735 -513:24736 +129:329847 +513:24002 7 -65:65581 -64:57067 -129:44852 -257:23004 -513:1692 -128:1280 +65:62120 +64:53567 +129:49929 +257:22422 +128:2727 +513:1540 256:10 8 -65:38863 -64:22497 -513:5407 -128:5129 -257:2296 -129:2188 -512:31 -256:12 +65:37362 +64:19702 +128:8974 +513:5331 +257:2241 +129:1933 +512:36 +256:6 0 1 -257:59732 +257:58304 7 -257:24235 -513:10240 -64:1401 -128:773 -65:181 -129:107 -256:24 +257:23626 +513:10280 +128:1462 +64:1044 +129:96 +65:56 +256:18 7 -257:66120 -65:65400 -64:55666 -129:44745 -256:2636 -513:1692 -128:507 +257:65222 +65:62064 +64:52523 +129:49833 +256:2602 +513:1540 +128:1265 @SRC@/src/host/upscale_pass.cpp;_ZSt29__stable_sort_adaptive_resizeIN9__gnu_cxx17__normal_iteratorIPN3gpu12_GLOBAL__N_17CapDrawESt6vectorIS4_SaIS4_EEEES5_xZNS3_14record_captureEP17VkCommandBuffer_TjjE3$_1EvT_SD_T0_T1_T2_ # Func Hash: @@ -174633,7 +175497,7 @@ # Num Counters: 6 # Counter Values: -45219 +44938 0 0 0 @@ -174646,33 +175510,33 @@ # Num Counters: 108 # Counter Values: -1926 -1926 -1926 -1926 -1926 -1926 -1925 -1926 -1925 -1925 -1926 -1925 -1926 -1926 -1926 -1926 -1926 -1926 -963 -963 -963 -963 -963 -963 -963 -963 -963 +1914 +1913 +1912 +1914 +1912 +1914 +1914 +1914 +1914 +1914 +1914 +1914 +1914 +1914 +1914 +1914 +1913 +1913 +957 +956 +956 +956 +957 +957 +957 +956 +957 0 0 0 @@ -174772,8 +175636,8 @@ 0 0 0 -1232 -1232 +1233 +1233 @SRC@/src/host/win_crash.cpp;_ZN12_GLOBAL__N_111on_purecallEv # Func Hash: @@ -174949,7 +175813,7 @@ # Num Counters: 10 # Counter Values: -1232 +1233 0 0 0 @@ -174987,11 +175851,19 @@ @SRC@/src/host/window.cpp;_GLOBAL__sub_I_window.cpp # Func Hash: -446858651865976343 +475914734928985671 # Num Counters: -15 +32 # Counter Values: 24 +12 +0 +12 +12 +12 +0 +0 +0 0 12 12 @@ -175006,6 +175878,22 @@ 0 0 0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 @SRC@/src/host/window.cpp;_ZN12_GLOBAL__N_110note_inputE11InputDevice # Func Hash: @@ -175061,11 +175949,11 @@ 0 0 -@SRC@/src/host/window.cpp;_ZN12_GLOBAL__N_117apply_window_modeEi +@SRC@/src/host/window.cpp;_ZN12_GLOBAL__N_115take_sum_lockedEv # Func Hash: -734311860409939967 +1083424332932287452 # Num Counters: -16 +11 # Counter Values: 0 0 @@ -175078,18 +175966,36 @@ 0 0 0 + +@SRC@/src/host/window.cpp;_ZN12_GLOBAL__N_117apply_window_modeEi +# Func Hash: +734311860409939967 +# Num Counters: +16 +# Counter Values: 0 0 0 0 0 - -@SRC@/src/host/window.cpp;_ZN12_GLOBAL__N_117text_title_lockedEv -# Func Hash: -2702956176947122 -# Num Counters: -33 -# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + +@SRC@/src/host/window.cpp;_ZN12_GLOBAL__N_117text_title_lockedEv +# Func Hash: +2702956176947122 +# Num Counters: +33 +# Counter Values: 0 0 0 @@ -175152,6 +176058,21 @@ 0 0 +@SRC@/src/host/window.cpp;_ZN12_GLOBAL__N_118take_settle_lockedERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +# Func Hash: +613345748813765097 +# Num Counters: +8 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 + @SRC@/src/host/window.cpp;_ZN12_GLOBAL__N_119present_thread_mainEv # Func Hash: 214331241909144112 @@ -175855,268 +176776,483 @@ 0 0 -@SRC@/src/host/window.cpp;_ZNSt3_V26rotateIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS4_SaIS4_EEEEEET_SA_SA_SA_ -# Func Hash: -393640462177975509 -# Num Counters: -18 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -2 -0 -0 - -@SRC@/src/host/window.cpp;_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEEZ19host_test_keys_playPKcE3$_0EvT_SC_T0_ -# Func Hash: -788747810676145047 -# Num Counters: -9 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 -0 - -@SRC@/src/host/window.cpp;_ZSt16__merge_adaptiveIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEExS4_Z19host_test_keys_playPKcE3$_0EvT_SC_SC_T0_SD_T1_T2_ +@SRC@/src/host/window.cpp;_ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N12_GLOBAL__N_18TakeSlotEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE14_M_lower_boundEPSt18_Rb_tree_node_baseSI_RS7_ # Func Hash: -864492990009768585 +234856436597202767 # Num Counters: -24 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: 5 -0 -0 -0 -0 -0 - -@SRC@/src/host/window.cpp;_ZSt21__inplace_stable_sortIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEEZ19host_test_keys_playPKcE3$_0EvT_SC_T0_ -# Func Hash: -146835647075900052 -# Num Counters: -2 -# Counter Values: -0 -0 - -@SRC@/src/host/window.cpp;_ZSt22__merge_without_bufferIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEExZ19host_test_keys_playPKcE3$_0EvT_SC_SC_T0_SD_T1_ -# Func Hash: -948127689295098101 -# Num Counters: -17 # Counter Values: 0 0 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/host/window.cpp;_ZSt22__stable_sort_adaptiveIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEES4_Z19host_test_keys_playPKcE3$_0EvT_SC_SC_T0_T1_ -# Func Hash: -742261418966908927 -# Num Counters: -1 -# Counter Values: -0 - -@SRC@/src/host/window.cpp;_ZSt23__merge_adaptive_resizeIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEExS4_Z19host_test_keys_playPKcE3$_0EvT_SC_SC_T0_SD_T1_SD_T2_ -# Func Hash: -225324199268809780 -# Num Counters: -35 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: -6 -0 -0 -0 -0 -0 -0 - -@SRC@/src/host/window.cpp;_ZSt24__merge_sort_with_bufferIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEES4_Z19host_test_keys_playPKcE3$_0EvT_SC_T0_T1_ -# Func Hash: -534284102807260170 -# Num Counters: -33 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: 1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -8 -0 -0 -0 -0 -0 -0 -0 0 -@SRC@/src/host/window.cpp;_ZSt29__stable_sort_adaptive_resizeIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEES4_xZ19host_test_keys_playPKcE3$_0EvT_SC_T0_T1_T2_ +@SRC@/src/host/window.cpp;_ZNSt3_V26rotateIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS4_SaIS4_EEEEEET_SA_SA_SA_ # Func Hash: -146835647075900052 +393640462177975509 # Num Counters: -2 +18 # Counter Values: 0 0 - -@SRC@/src/host/window.cpp;_ZZN12_GLOBAL__N_119vk_create_swapchainEvENK3$_0clEv -# Func Hash: -1070517934799054987 -# Num Counters: -16 -# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +2 +0 +0 + +@SRC@/src/host/window.cpp;_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN12_GLOBAL__N_18TakeSlotESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_ +# Func Hash: +168654923492242004 +# Num Counters: +38 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +7 +0 +0 +0 +0 +0 +0 +0 + +@SRC@/src/host/window.cpp;_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N12_GLOBAL__N_111PluginReadsEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE24_M_get_insert_unique_posERS7_ +# Func Hash: +685179185207487770 +# Num Counters: +10 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +12 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +2 +0 +0 + +@SRC@/src/host/window.cpp;_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N12_GLOBAL__N_111PluginReadsEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISA_ERS7_ +# Func Hash: +547674796782126033 +# Num Counters: +22 +# Counter Values: +13 +1 +0 +0 +0 +0 +0 +1 +1 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +5 +0 +0 +0 +0 +0 + +@SRC@/src/host/window.cpp;_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N12_GLOBAL__N_111PluginReadsEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE8_M_eraseEPSt13_Rb_tree_nodeISA_E +# Func Hash: +536873290231689177 +# Num Counters: +3 +# Counter Values: +0 +0 +0 + +@SRC@/src/host/window.cpp;_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N12_GLOBAL__N_18TakeSlotEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE12_M_drop_nodeEPSt13_Rb_tree_nodeISA_E +# Func Hash: +1124680650748772420 +# Num Counters: +3 +# Counter Values: +0 +0 +0 + +@SRC@/src/host/window.cpp;_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N12_GLOBAL__N_18TakeSlotEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE24_M_get_insert_unique_posERS7_ +# Func Hash: +685179185207487770 +# Num Counters: +10 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +2 +0 +0 + +@SRC@/src/host/window.cpp;_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N12_GLOBAL__N_18TakeSlotEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE4findERS7_ +# Func Hash: +952936701825100763 +# Num Counters: +5 +# Counter Values: +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +@SRC@/src/host/window.cpp;_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N12_GLOBAL__N_18TakeSlotEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE8_M_eraseEPSt13_Rb_tree_nodeISA_E +# Func Hash: +146835646621254984 +# Num Counters: +2 +# Counter Values: +0 +0 + +@SRC@/src/host/window.cpp;_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEEZ19host_test_keys_playPKcE3$_0EvT_SC_T0_ +# Func Hash: +788747810676145047 +# Num Counters: +9 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +@SRC@/src/host/window.cpp;_ZSt16__merge_adaptiveIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEExS4_Z19host_test_keys_playPKcE3$_0EvT_SC_SC_T0_SD_T1_T2_ +# Func Hash: +864492990009768585 +# Num Counters: +24 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +5 +0 +0 +0 +0 +0 + +@SRC@/src/host/window.cpp;_ZSt21__inplace_stable_sortIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEEZ19host_test_keys_playPKcE3$_0EvT_SC_T0_ +# Func Hash: +146835647075900052 +# Num Counters: +2 +# Counter Values: +0 +0 + +@SRC@/src/host/window.cpp;_ZSt22__merge_without_bufferIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEExZ19host_test_keys_playPKcE3$_0EvT_SC_SC_T0_SD_T1_ +# Func Hash: +948127689295098101 +# Num Counters: +17 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + +@SRC@/src/host/window.cpp;_ZSt22__stable_sort_adaptiveIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEES4_Z19host_test_keys_playPKcE3$_0EvT_SC_SC_T0_T1_ +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +0 + +@SRC@/src/host/window.cpp;_ZSt23__merge_adaptive_resizeIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEExS4_Z19host_test_keys_playPKcE3$_0EvT_SC_SC_T0_SD_T1_SD_T2_ +# Func Hash: +225324199268809780 +# Num Counters: +35 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +6 +0 +0 +0 +0 +0 +0 + +@SRC@/src/host/window.cpp;_ZSt24__merge_sort_with_bufferIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEES4_Z19host_test_keys_playPKcE3$_0EvT_SC_T0_T1_ +# Func Hash: +534284102807260170 +# Num Counters: +33 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +8 +0 +0 +0 +0 +0 +0 +0 +0 + +@SRC@/src/host/window.cpp;_ZSt29__stable_sort_adaptive_resizeIN9__gnu_cxx17__normal_iteratorIPN12_GLOBAL__N_19ScriptKeyESt6vectorIS3_SaIS3_EEEES4_xZ19host_test_keys_playPKcE3$_0EvT_SC_T0_T1_T2_ +# Func Hash: +146835647075900052 +# Num Counters: +2 +# Counter Values: +0 +0 + +@SRC@/src/host/window.cpp;_ZZN12_GLOBAL__N_119vk_create_swapchainEvENK3$_0clEv +# Func Hash: +1070517934799054987 +# Num Counters: +16 +# Counter Values: 0 0 0 @@ -176186,6 +177322,15 @@ 0 0 +@SRC@/src/host/window.cpp;__dtor__ZN12_GLOBAL__N_112g_take_slotsB5cxx11E +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +0 +0 + @SRC@/src/host/window.cpp;__dtor__ZN12_GLOBAL__N_112g_text_labelB5cxx11E # Func Hash: 146835647075900052 @@ -176204,6 +177349,15 @@ 0 0 +@SRC@/src/host/window.cpp;__dtor__ZN12_GLOBAL__N_114g_plugin_readsB5cxx11E +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +0 +0 + @SRC@/src/host/window.cpp;__dtor__ZN12_GLOBAL__N_116g_present_threadE # Func Hash: 784007058953177093 @@ -176279,6 +177433,15 @@ 0 0 +@SRC@/src/host/window.cpp;__dtor__ZN12_GLOBAL__N_19g_ppad_muE +# Func Hash: +784007058953177093 +# Num Counters: +2 +# Counter Values: +0 +0 + @SRC@/src/host/window.cpp;__dtor__ZN12_GLOBAL__N_19g_take_muE # Func Hash: 784007058953177093 @@ -176453,7 +177616,7 @@ # Num Counters: 2 # Counter Values: -216 +224 0 @SRC@/src/main.cpp;_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZ16device_lost_exitbE3$_0EEEEE6_M_runEv @@ -177196,78 +178359,12 @@ @SRC@/src/net/nat_job.cpp;_GLOBAL__sub_I_nat_job.cpp # Func Hash: -844982796950093491 +784007058953177093 # Num Counters: -4 +2 # Counter Values: 12 0 -0 -0 - -@SRC@/src/net/nat_job.cpp;_ZN3net3nat12_GLOBAL__N_110state_pathB5cxx11Ev -# Func Hash: -1119356335780560828 -# Num Counters: -5 -# Counter Values: -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 -0 - -@SRC@/src/net/nat_job.cpp;_ZN3net3nat12_GLOBAL__N_117read_state_lockedEv -# Func Hash: -920543274940024969 -# Num Counters: -11 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -@SRC@/src/net/nat_job.cpp;_ZN3net3nat12_GLOBAL__N_118write_state_lockedERKNS0_9AutoStateE -# Func Hash: -534572322013194877 -# Num Counters: -20 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 @SRC@/src/net/nat_job.cpp;_ZNSt17_Function_handlerIFbvEZN3net3nat3Job3runENS2_9JobParamsEE3$_0E10_M_managerERSt9_Any_dataRKS7_St18_Manager_operation # Func Hash: @@ -177309,9 +178406,9 @@ @SRC@/src/net/nat_job.cpp;_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN3net3nat3Job5startERKNS4_9JobParamsEE3$_0EEEEE6_M_runEv # Func Hash: -1070589992709944035 +653247343366515388 # Num Counters: -14 +10 # Counter Values: 0 0 @@ -177323,47 +178420,30 @@ 0 0 0 -0 -0 -0 -0 @SRC@/src/net/nat_job.cpp;_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN3net3nat3Job5startERKNS4_9JobParamsEE3$_0EEEEED0Ev # Func Hash: -599005162970527890 +391331301809014468 # Num Counters: -7 +5 # Counter Values: 0 0 0 0 0 -0 -0 @SRC@/src/net/nat_job.cpp;_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN3net3nat3Job5startERKNS4_9JobParamsEE3$_0EEEEED2Ev # Func Hash: -599005162970527890 +391331301809014468 # Num Counters: -7 +5 # Counter Values: 0 0 0 0 0 -0 -0 - -@SRC@/src/net/nat_job.cpp;__dtor__ZN3net3nat12_GLOBAL__N_110g_state_muE -# Func Hash: -784007058953177093 -# Num Counters: -2 -# Counter Values: -0 -0 @SRC@/src/net/nat_job.cpp;__dtor__ZN3net3nat12_GLOBAL__N_115g_remembered_muE # Func Hash: @@ -177374,15 +178454,6 @@ 0 0 -@SRC@/src/net/nat_job.cpp;__dtor__ZN3net3nat12_GLOBAL__N_19g_auto_muE -# Func Hash: -784007058953177093 -# Num Counters: -2 -# Counter Values: -0 -0 - @SRC@/src/net/nat_probe.cpp;_ZN3net3nat12_GLOBAL__N_110error_textB5cxx11Ei # Func Hash: 564099568026096187 @@ -181943,9 +183014,9 @@ # Num Counters: 3 # Counter Values: -10887751 -11415607 -527856 +10851661 +11377897 +526236 @SRC@/third_party/libatrac9/C/src/scale_factors.c;ReadVlcDeltaOffsetWithBaseline # Func Hash: @@ -181953,10 +183024,10 @@ # Num Counters: 4 # Counter Values: -1018445 -1067765 -1205 -49320 +1015857 +1065074 +1266 +49217 @SRC@/third_party/libatrac9/C/src/scale_factors.c;ReadVlcDistanceToBaseline # Func Hash: @@ -181964,9 +183035,9 @@ # Num Counters: 3 # Counter Values: -29580872 -12004 -1382203 +29585923 +12150 +1383142 @SRC@/third_party/monocypher/monocypher-ed25519.c;ed25519_dom_sign # Func Hash: @@ -182428,8 +183499,8 @@ AlignPosition # Num Counters: 2 # Counter Values: -1883434 -1579839 +1883139 +1581007 ApplyBandExtension # Func Hash: @@ -182458,7 +183529,7 @@ ApplyBandExtension 0 0 0 -1883434 +1883139 0 0 0 @@ -182470,7 +183541,7 @@ Atrac9Decode # Num Counters: 1 # Counter Values: -1564015 +1566653 Atrac9GetCodecInfo # Func Hash: @@ -182478,7 +183549,7 @@ Atrac9GetCodecInfo # Num Counters: 1 # Counter Values: -2738 +2724 Atrac9GetHandle # Func Hash: @@ -182486,7 +183557,7 @@ Atrac9GetHandle # Num Counters: 1 # Counter Values: -6828 +6803 Atrac9InitDecoder # Func Hash: @@ -182494,7 +183565,7 @@ Atrac9InitDecoder # Num Counters: 1 # Counter Values: -6560 +6538 Atrac9ReleaseHandle # Func Hash: @@ -182502,7 +183573,7 @@ Atrac9ReleaseHandle # Num Counters: 1 # Counter Values: -6607 +6585 BitReverse32 # Func Hash: @@ -182510,7 +183581,7 @@ BitReverse32 # Num Counters: 1 # Counter Values: -3352160 +3340918 CalculateMask # Func Hash: @@ -182518,10 +183589,10 @@ CalculateMask # Num Counters: 4 # Counter Values: -38265701 -2955587 -6550688 -2017666 +38224912 +2962808 +6546881 +2017043 CalculatePrecisions # Func Hash: @@ -182530,18 +183601,18 @@ CalculatePrecisions 13 # Counter Values: 0 -43238954 -6377040 -43238954 -43238954 +43204763 +6376665 +43204763 +43204763 0 -41755318 +41707890 0 -3955155 +3965426 0 -41755318 +41707890 0 -2017666 +2017043 Clamp16 # Func Hash: @@ -182549,7 +183620,7 @@ Clamp16 # Num Counters: 1 # Counter Values: -516522496 +516363008 CreateGradient # Func Hash: @@ -182557,12 +183628,12 @@ CreateGradient # Num Counters: 8 # Counter Values: -58386454 +58377309 0 -23217416 +23224329 0 -1883434 -1883411 +1883139 +1883116 0 0 @@ -182573,17 +183644,17 @@ Decode 12 # Counter Values: 142688 -892416 -1564015 -2017666 -516522496 -64694 -400387840 -1883434 -134232 -32357 -1564015 -1564015 +887168 +1566653 +2017043 +516363008 +64366 +401063168 +1883139 +133904 +32193 +1566653 +1566653 DecodeHuffmanValues # Func Hash: @@ -182591,9 +183662,9 @@ DecodeHuffmanValues # Num Counters: 3 # Counter Values: -245839048 -89588304 -43014763 +245583142 +89516257 +42971160 DequantizeSpectra # Func Hash: @@ -182601,10 +183672,10 @@ DequantizeSpectra # Num Counters: 4 # Counter Values: -246163624 -43174260 -2017666 -1883434 +245927848 +43140397 +2017043 +1883139 GenerateGradientCurves # Func Hash: @@ -182612,9 +183683,9 @@ GenerateGradientCurves # Num Counters: 3 # Counter Values: -7714560 -314880 -6560 +7688688 +313824 +6538 GetCodecInfo # Func Hash: @@ -182622,7 +183693,7 @@ GetCodecInfo # Num Counters: 1 # Counter Values: -2738 +2724 InitBitReaderCxt # Func Hash: @@ -182630,7 +183701,7 @@ InitBitReaderCxt # Num Counters: 1 # Counter Values: -1570575 +1573191 InitDecoder # Func Hash: @@ -182638,25 +183709,25 @@ InitDecoder # Num Counters: 19 # Counter Values: -6746 -7210 -7210 -3352160 -3352160 -6978 -59040 -1679360 -1679360 -45920 -39360 -419840 +6722 +7186 +7186 +3340918 +3340918 +6954 +58842 +1673728 +1673728 +45766 +39228 +418432 0 232 -6560 -6560 -6560 -6560 -6560 +6538 +6538 +6538 +6538 +6538 InitHuffmanCodebook # Func Hash: @@ -182664,11 +183735,11 @@ InitHuffmanCodebook # Num Counters: 5 # Counter Values: -169759680 -36381760 -26777920 -505120 -341120 +169190364 +36259748 +26688116 +503426 +339976 Max # Func Hash: @@ -182684,7 +183755,7 @@ Min # Num Counters: 1 # Counter Values: -55714977 +55663934 PeekInt # Func Hash: @@ -182693,9 +183764,9 @@ PeekInt 6 # Counter Values: 0 -131781378 +131708573 0 -21154699 +21134337 0 0 @@ -182705,8 +183776,8 @@ ReadHuffmanValue # Num Counters: 2 # Counter Values: -29580872 -101494500 +29585923 +101383775 ReadInt # Func Hash: @@ -182714,7 +183785,7 @@ ReadInt # Num Counters: 1 # Counter Values: -21486809 +21479289 ReadOffsetBinary # Func Hash: @@ -182722,7 +183793,7 @@ ReadOffsetBinary # Num Counters: 1 # Counter Values: -49320 +49217 ReadScaleFactors # Func Hash: @@ -182730,24 +183801,24 @@ ReadScaleFactors # Num Counters: 18 # Counter Values: -43238954 -43238954 -1161501 -134232 -2017666 -1883434 -50859 -79212 -1848 -2313 -1252132 -47472 -58287 -525543 -50859 -58287 -47472 -1252132 +43204763 +43204763 +1162453 +133904 +2017043 +1883139 +50730 +79016 +1847 +2311 +1253396 +47370 +58448 +523925 +50730 +58448 +47370 +1253396 ReadSignedInt # Func Hash: @@ -182755,7 +183826,7 @@ ReadSignedInt # Num Counters: 1 # Counter Values: -324576 +344706 Round # Func Hash: @@ -182763,7 +183834,7 @@ Round # Num Counters: 1 # Counter Values: -516522496 +516363008 RunImdct # Func Hash: @@ -182771,13 +183842,13 @@ RunImdct # Num Counters: 7 # Counter Values: -903914368 -256243582 -258261248 -14123662 -516522496 -258261248 -2017666 +903635264 +256164461 +258181504 +14119301 +516363008 +258181504 +2017043 ScaleSpectrumBlock # Func Hash: @@ -182785,10 +183856,10 @@ ScaleSpectrumBlock # Num Counters: 4 # Counter Values: -247198728 -43238954 -2017666 -1883434 +246957704 +43204763 +2017043 +1883139 SignExtend32 # Func Hash: @@ -182796,7 +183867,7 @@ SignExtend32 # Num Counters: 1 # Counter Values: -275744496 +275513771 UnpackFrame # Func Hash: @@ -182806,84 +183877,84 @@ UnpackFrame # Counter Values: 0 0 -89588304 -324576 +89516257 +344706 0 0 0 0 -43174260 +43140397 0 0 0 -43014763 -159497 -1883434 -1883434 -1883434 -27032932 -19011486 -1883434 -2200630 -471241 +42971160 +169237 +1883139 +1883139 +1883139 +27004053 +18986223 +1883139 +2205268 +471163 0 -23842596 -25931186 -17744247 -1883434 +23826456 +25897660 +17717833 +1883139 14175 -1883434 +1883139 0 0 -1029756 -2017666 -1883434 +1028698 +2017043 +1883139 0 -1883434 -522907 -151544 -1883434 -134232 -1564015 -2017666 +1883139 +523059 +153110 +1883139 +133904 +1566653 +2017043 0 -1883434 -1883434 -1564015 -2017666 -1883434 -1883434 -33741 -489166 -1986883 +1883139 +1883139 +1566653 +2017043 +1883139 +1883139 +33659 +489400 +1985538 0 -1883434 +1883139 0 0 0 7090 -522907 +523059 0 0 0 -1883434 -127142 -1883434 -1412193 +1883139 +126814 +1883139 +1411976 0 0 0 -1883434 -1883434 +1883139 +1883139 0 0 0 -1883434 -2017666 -1883434 -1883434 -1883434 -390874 +1883139 +2017043 +1883139 +1883139 +1883139 +391534 _Exit # Func Hash: @@ -189313,11 +190384,11 @@ _Z10thunk_wrapPv # Num Counters: 23 # Counter Values: -8030 -8030 +8044 +8044 0 12 -8030 +8044 0 0 0 @@ -189765,7 +190836,7 @@ _Z11camera_tickv 0 36 36 -166888 +170449 0 12 0 @@ -189877,9 +190948,9 @@ _Z11camera_zoomib _Z11config_loadiPPcP10HostConfigPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: -587370602953103609 +707684995248345711 # Num Counters: -866 +864 # Counter Values: 24 0 @@ -190733,8 +191804,6 @@ _Z11config_loadiPPcP10HostConfigPNSt7__cxx1112basic_stringIcSt11char_traitsIcESa 0 0 0 -0 -0 11 11 1 @@ -190835,8 +191904,8 @@ _Z11equeue_liveP10HostEqueue # Num Counters: 6 # Counter Values: -340128 -340128 +345563 +345563 0 0 0 @@ -190848,14 +191917,14 @@ _Z11equeue_postP10HostEqueueRK9HostEvent # Num Counters: 12 # Counter Values: -23528 -376541 -376541 -5 -168 -353013 -60207 -23528 +23774 +380429 +380429 +8 +187 +356655 +60526 +23774 0 0 0 @@ -190897,7 +191966,7 @@ _Z11gx_blend_idy 0 0 0 -101888994 +101645185 0 0 0 @@ -190917,12 +191986,12 @@ _Z11gx_view_geny # Num Counters: 7 # Counter Values: -469401 -5170545 -469400 -5170619 -5170585 -469397 +656730 +5279385 +656722 +5279327 +5279334 +656726 0 _Z11hle_fn_namePv @@ -191279,7 +192348,7 @@ _Z11params_tickv 0 0 0 -155310 +156984 0 0 0 @@ -191293,7 +192362,7 @@ _Z11params_tickv 744 0 0 -155310 +156984 0 0 0 @@ -191301,33 +192370,33 @@ _Z11params_tickv 0 0 0 -155310 +156984 0 0 0 0 0 0 -968523 -155310 +978972 +156984 0 0 -968523 +978972 0 0 0 -155310 -159564 +156984 +161292 0 0 0 -2269530 -2269530 +2293992 +2293992 0 0 -157815 +159516 0 -155310 +156984 0 0 0 @@ -191342,41 +192411,41 @@ _Z11params_tickv 0 0 0 -155310 +156984 0 -376739 +380698 0 0 0 0 0 -2517 -155310 +2544 +156984 0 0 0 0 744 -2517 +2544 0 0 0 -155238 -155310 +156912 +156984 0 0 -87675 +88620 0 -154566 +156240 0 744 0 -147795 +149388 0 0 0 0 -155238 +156912 0 744 744 @@ -191391,18 +192460,18 @@ _Z11params_tickv 108 192 48 -155310 +156984 744 744 0 0 672 -154566 +156240 744 744 72 0 -2505 +2532 0 0 0 @@ -191553,16 +192622,16 @@ _Z11params_tickv 0 0 0 -2517 -157815 -155310 -155310 -155310 -155310 -2424840 -2269530 -465702 -465702 +2544 +159516 +156984 +156984 +156984 +156984 +2450976 +2293992 +470724 +470724 240 744 0 @@ -191583,21 +192652,21 @@ _Z11params_tickv # NumValueSites: 31 7 -9:503025 -5:165066 -17:145038 -16:77631 -8:42669 -6:17571 -4:17523 +9:508452 +5:166848 +17:146604 +16:78468 +8:43128 +6:17760 +4:17712 7 -9:75210 -17:49944 -16:17475 -8:5046 -5:2529 -6:2529 -4:2505 +9:76020 +17:50484 +16:17664 +8:5100 +5:2556 +6:2556 +4:2532 3 9:36 4:12 @@ -191669,7 +192738,7 @@ _Z11tls_gs_modev # Num Counters: 1 # Counter Values: -5305475435 +5358513970 _Z11tls_gs_slotv # Func Hash: @@ -191685,192 +192754,190 @@ _Z11vertex_snapRSt6vectorIjSaIjEEffPNSt7__cxx1112basic_stringIcSt11char_traitsIc # Num Counters: 296 # Counter Values: -273945 +273970 0 -2770 -468 +2756 +462 0 0 -8307 -25534 +8263 +25489 0 -905 +899 0 0 0 0 0 -6183 -11659 -10763 +6162 +11648 +10752 0 0 0 0 0 0 -156 -10761 +154 +10752 0 0 0 -19916 -1193639 -1397937 -13275 -963 +19803 +1192649 +1416130 +13198 +957 0 0 -1398019 -1398538 +1411986 +1408328 0 -1387455 -2693 -962 -11270 +1405525 +2688 +957 +11201 0 -273574 +273906 0 -10290 -10273 -962 -1982 -157204 -271019 +10238 +10219 +957 +1968 +157045 +271144 0 0 0 -963 -6183 -6183 +956 +6162 +6162 0 -963 -108531 -9743 -963 -2888 -2342 -10039 -18243 -963 -921 -6189 -157239 -6183 +956 +108651 +9686 +956 +2870 +2328 +9975 +18182 +957 +918 +6154 +157031 +6162 0 -1727 -963 -233962 -18240 -29846 +1721 +956 +234044 +18181 +29775 0 -963 -8857 -963 -2888 -2342 -10038 -898 -898 -898 -898 -0 -0 -117003 -6188 -2372 -963 -963 -6188 -2373 +957 +8804 +956 +2870 +2327 +9973 +896 +896 +896 +896 0 -898 -962 -963 -963 -1314321 0 +116755 +6168 +2355 +956 +957 +6168 +2355 0 -979 +896 +956 +957 +957 +1299916 0 -1194890 0 -962 -962 +973 0 -963 +1193894 0 +956 +956 0 +957 0 0 -65 -1334420 0 -963 -898 -963 0 -978 -1194602 +60 +1329391 0 +957 +896 +957 0 +973 +1193606 0 -780 0 -963 -962 0 -963 +732 0 -963 +957 +956 0 -117012 -962 +957 0 -117046 +957 0 -963 +116774 +956 0 +116829 0 +957 0 0 0 -963 -963 0 0 -963 -963 -963 -963 -963 -963 +957 +957 0 -963 -963 -65 -963 0 +957 +956 +957 +956 +957 +957 0 +957 +957 +61 +957 0 0 0 0 -42 0 0 +39 0 -42 0 0 -65 +39 0 0 +61 0 -65 -65 0 0 +61 +61 0 0 0 @@ -191954,24 +193021,25 @@ _Z11vertex_snapRSt6vectorIjSaIjEEffPNSt7__cxx1112basic_stringIcSt11char_traitsIc 0 0 0 -959 -895 -952 0 -963 0 +951 +897 +953 0 -7394 -7394 +956 0 -11553 -11553 -764 -965 -965 0 -962 +7344 +7344 +0 +11479 +11477 +767 +957 +957 0 +955 0 0 0 @@ -191979,7 +193047,8 @@ _Z11vertex_snapRSt6vectorIjSaIjEEffPNSt7__cxx1112basic_stringIcSt11char_traitsIc 0 0 0 -16224 +0 +14896 0 # Num Value Kinds: 1 @@ -191988,15 +193057,15 @@ _Z11vertex_snapRSt6vectorIjSaIjEEffPNSt7__cxx1112basic_stringIcSt11char_traitsIc # NumValueSites: 2 7 -513:4530 -64:963 -512:963 -128:962 -256:962 -32:961 -16:959 +513:4508 +256:957 +512:957 +64:956 +128:956 +32:953 +16:951 1 -9:898 +9:896 _Z12ImLowerBoundP16ImGuiStoragePairS0_j # Func Hash: @@ -192015,12 +193084,12 @@ _Z12SetEventFlagyjj # Num Counters: 6 # Counter Values: -1247171 +1245875 0 -1247171 +1245875 219 0 -296827 +295523 _Z12blink_updateyf # Func Hash: @@ -192028,13 +193097,13 @@ _Z12blink_updateyf # Num Counters: 7 # Counter Values: -288954 +289728 0 -32683549 -32683549 -3334457 -48159 -83065 +33211302 +33211302 +3357481 +48288 +83450 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -192043,13 +193112,13 @@ _Z12blink_updateyf 5 0 1 -** External Symbol **:32683922 +** External Symbol **:33211302 1 -** External Symbol **:3334467 +** External Symbol **:3357481 1 -** External Symbol **:83065 +** External Symbol **:83450 1 -** External Symbol **:48159 +** External Symbol **:48288 _Z12config_valueRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -192057,7 +193126,7 @@ _Z12config_valueRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Num Counters: 2 # Counter Values: -730 +761 5 _Z12decomp_guesty @@ -192082,7 +193151,7 @@ _Z12fov_watchingv # Num Counters: 4 # Counter Values: -166888 +170449 12 12 0 @@ -192094,13 +193163,13 @@ _Z12gnm_dma_datayjyjyjj 8 # Counter Values: 0 -1067844 +1059482 0 0 -1067843 +1059480 0 0 -533920 +529740 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -192121,16 +193190,16 @@ _Z12gs_emit_gateRKN3gcn7ProgramEj 177870 177870 2640 -29535 -29370 -255322 -255286 -254966 -29535 -255289 +29532 +29365 +255267 +255153 +254841 +29531 +255130 1650 -254971 -254965 +254832 +254897 0 330 3135 @@ -192192,7 +193261,7 @@ _Z12gs_emit_gateRKN3gcn7ProgramEj 0 0 0 -255648 +255597 330 1980 1980 @@ -192207,12 +193276,12 @@ _Z12gx_object_idy # Num Counters: 7 # Counter Values: -113122557 -788547947 -113227295 -781660007 -783473486 -113108937 +113433336 +783478457 +113207409 +779234570 +781132234 +113433363 0 _Z12gx_post_drawyy @@ -192221,10 +193290,10 @@ _Z12gx_post_drawyy # Num Counters: 7 # Counter Values: -202837158 +202042522 0 0 -101601975 +101202383 0 0 0 @@ -192243,7 +193312,7 @@ _Z12gx_raster_idy # Num Counters: 15 # Counter Values: -102163436 +101791934 0 0 0 @@ -192265,7 +193334,7 @@ _Z12hle_av_statsB5cxx11v # Num Counters: 1 # Counter Values: -1346 +1359 _Z12hle_fs_mountPKcS0_ # Func Hash: @@ -192273,14 +193342,14 @@ _Z12hle_fs_mountPKcS0_ # Num Counters: 28 # Counter Values: -239 +247 0 0 0 -251 -251 -251 -251 +259 +259 +259 +259 0 48 0 @@ -192346,7 +193415,7 @@ _Z12host_presentiyjjRK11PresentFlip # Num Counters: 21 # Counter Values: -371775 +375414 0 0 0 @@ -192370,9 +193439,9 @@ _Z12host_presentiyjjRK11PresentFlip _Z12launcher_runRK10HostConfigRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb # Func Hash: -879024131488053445 +309846081341163952 # Num Counters: -3053 +2968 # Counter Values: 0 0 @@ -195342,108 +196411,18 @@ _Z12launcher_runRK10HostConfigRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaI 0 0 0 +# Num Value Kinds: +2 +# ValueKind = IPVK_IndirectCallTarget: 0 +# NumValueSites: +2 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -2 -# ValueKind = IPVK_IndirectCallTarget: -0 -# NumValueSites: -2 -0 -0 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -142 -0 -0 -0 -0 -0 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +137 0 0 0 @@ -195619,21 +196598,21 @@ _Z12loading_ticky # Num Counters: 24 # Counter Values: -376739 -376554 -376715 +380698 +380445 +380674 66 -17658 +21900 66 -376706 +380665 33 12 -376715 +380674 21 33 12 -227194 -376715 +231766 +380674 12 21 33 @@ -195642,7 +196621,7 @@ _Z12loading_ticky 33 21 33 -227358 +231998 _Z12np_test_tickv # Func Hash: @@ -195657,7 +196636,7 @@ _Z12np_test_tickv 0 0 0 -376739 +380698 0 0 0 @@ -195672,7 +196651,7 @@ _Z12np_test_tickv 0 0 0 -26983 +27010 0 0 0 @@ -195950,7 +196929,7 @@ _Z12np_test_tickv 0 0 0 -322827 +326465 2 0 0 @@ -196055,22 +197034,22 @@ _Z12plugins_loadv 356 # Counter Values: 0 -8 +9 0 0 -9 -9 -9 -9 -9 -9 -32 +10 +10 +10 +10 +10 +10 +36 0 0 0 0 -8 -8 +9 +9 0 0 0 @@ -196084,12 +197063,12 @@ _Z12plugins_loadv 0 0 0 -8 -8 +9 +9 3 3 -8 -8 +9 +9 0 0 1 @@ -196107,48 +197086,48 @@ _Z12plugins_loadv 0 0 0 +1 0 +1 0 0 -0 -0 -8 -8 +9 +9 0 0 0 -8 -8 -8 -8 +9 +9 +9 +9 0 0 0 0 0 -8 +9 0 0 -8 +9 0 -8 -1 -1 -8 +9 +2 +2 +9 0 -8 +9 0 0 -8 -8 -8 +9 +9 +9 0 0 0 0 0 +2 1 -0 1 1 0 @@ -196158,7 +197137,7 @@ _Z12plugins_loadv 0 12 0 -8 +9 0 0 0 @@ -196176,46 +197155,46 @@ _Z12plugins_loadv 1 12 0 -8 +9 0 0 0 -1 -1 +2 +2 0 7 0 -1 +2 0 0 0 0 -1 -1 -1 -1 -1 +2 +2 +2 +2 +2 0 11 1 -0 +1 1 1 0 0 -1 -1 +2 +2 0 0 0 0 0 -1 +2 0 1 0 0 -1 +2 11 0 0 @@ -196398,16 +197377,16 @@ _Z12plugins_loadv 0 0 2 -7 +8 7 0 -1 -1 +2 +2 0 1 0 0 -1 +2 0 1 # Num Value Kinds: @@ -196429,7 +197408,8 @@ _Z12plugins_loadv 0 0 0 -0 +1 +9:1 0 _Z12plugins_scanv @@ -196532,17 +197512,17 @@ _Z12rebirth_tickv # Counter Values: 132 0 -376739 +380698 0 0 -212170 +213023 33 0 0 0 0 0 -164536 +167642 0 0 0 @@ -196553,7 +197533,7 @@ _Z12rebirth_tickv 0 0 0 -164536 +167642 0 0 0 @@ -196627,9 +197607,9 @@ _Z12sfx_wobble_ayyPKfy # Num Counters: 4 # Counter Values: -1126008 -726108 -726308 +1162224 +736150 +736390 0 # Num Value Kinds: 1 @@ -196638,9 +197618,9 @@ _Z12sfx_wobble_ayyPKfy # NumValueSites: 2 1 -** External Symbol **:1122797 +** External Symbol **:1158236 1 -** External Symbol **:727472 +** External Symbol **:737561 _Z12sfx_wobble_byyPKfy # Func Hash: @@ -197028,27 +198008,27 @@ _Z13decomp_reportv @SRC@/src/decomp/gx/dead_packets.cpp;_ZN12_GLOBAL__N_16reportEv:252 @SRC@/src/decomp/gx/labels.cpp;_ZN12_GLOBAL__N_16reportEv:144 @SRC@/src/decomp/gx/constant_engine.cpp;_ZN12_GLOBAL__N_16reportEv:48 -@SRC@/src/decomp/gx/draw.cpp;_ZN12_GLOBAL__N_16reportEv:12 -@SRC@/src/decomp/gx/render_queue.cpp;_ZN12_GLOBAL__N_119render_queue_reportEv:12 -@SRC@/src/decomp/gx/block_reclaim.cpp;_ZN12_GLOBAL__N_16reportEv:12 -@SRC@/src/decomp/items/item_lots.cpp;_ZN12_GLOBAL__N_16reportEv:12 -@SRC@/src/decomp/gx/drain_token.cpp;_ZN12_GLOBAL__N_16reportEv:12 -@SRC@/src/decomp/gx/flush_wait.cpp;_ZN12_GLOBAL__N_16reportEv:12 -@SRC@/src/decomp/chalice/ritual.cpp;_ZN12_GLOBAL__N_16reportEv:12 -@SRC@/src/decomp/talk/evaluator.cpp;_ZN11talk_script12_GLOBAL__N_16reportEv:12 -@SRC@/src/decomp/chr/chr_sync.cpp;_ZN12_GLOBAL__N_16reportEv:12 -_Z24decomp_water_gate_reportv:12 -@SRC@/src/decomp/gx/query_token.cpp;_ZN12_GLOBAL__N_16reportEv:12 -@SRC@/src/decomp/camera/follow_camera.cpp;_ZN12_GLOBAL__N_16reportEv:12 @SRC@/src/decomp/gx/job_barrier.cpp;_ZN12_GLOBAL__N_16reportEv:12 -@SRC@/src/decomp/gx/movie_draw.cpp;_ZN12_GLOBAL__N_16reportEv:12 -@SRC@/src/decomp/gx/rename_wait.cpp;_ZN12_GLOBAL__N_16reportEv:12 -@SRC@/src/decomp/yebis/context.cpp;_ZN12_GLOBAL__N_16reportEv:12 @SRC@/src/decomp/events/interpreter.cpp;_ZN12_GLOBAL__N_110report_endEv:12 +@SRC@/src/decomp/gx/query_token.cpp;_ZN12_GLOBAL__N_16reportEv:12 +@SRC@/src/decomp/chalice/ritual.cpp;_ZN12_GLOBAL__N_16reportEv:12 @SRC@/src/decomp/gx/resources.cpp;_ZN12_GLOBAL__N_16reportEv:12 -_Z22decomp_gx_blink_reportv:12 +@SRC@/src/decomp/gx/drain_token.cpp;_ZN12_GLOBAL__N_16reportEv:12 @SRC@/src/decomp/gx/dma.cpp;_ZN12_GLOBAL__N_16reportEv:12 +@SRC@/src/decomp/gx/movie_draw.cpp;_ZN12_GLOBAL__N_16reportEv:12 +@SRC@/src/decomp/yebis/context.cpp;_ZN12_GLOBAL__N_16reportEv:12 +@SRC@/src/decomp/camera/follow_camera.cpp;_ZN12_GLOBAL__N_16reportEv:12 @SRC@/src/decomp/player/player_data.cpp;_ZN12_GLOBAL__N_16reportEv:12 +_Z24decomp_water_gate_reportv:12 +@SRC@/src/decomp/talk/evaluator.cpp;_ZN11talk_script12_GLOBAL__N_16reportEv:12 +@SRC@/src/decomp/items/item_lots.cpp;_ZN12_GLOBAL__N_16reportEv:12 +@SRC@/src/decomp/gx/block_reclaim.cpp;_ZN12_GLOBAL__N_16reportEv:12 +@SRC@/src/decomp/gx/rename_wait.cpp;_ZN12_GLOBAL__N_16reportEv:12 +@SRC@/src/decomp/chr/chr_sync.cpp;_ZN12_GLOBAL__N_16reportEv:12 +_Z22decomp_gx_blink_reportv:12 +@SRC@/src/decomp/gx/render_queue.cpp;_ZN12_GLOBAL__N_119render_queue_reportEv:12 +@SRC@/src/decomp/gx/flush_wait.cpp;_ZN12_GLOBAL__N_16reportEv:12 +@SRC@/src/decomp/gx/draw.cpp;_ZN12_GLOBAL__N_16reportEv:12 _Z13grading_tablePKj # Func Hash: @@ -197068,9 +198048,9 @@ _Z13gx_blend_descj # Num Counters: 3 # Counter Values: -126978589 -114330133 -114326156 +126427698 +113750359 +113751998 _Z13gx_buffer_endy # Func Hash: @@ -197078,20 +198058,20 @@ _Z13gx_buffer_endy # Num Counters: 14 # Counter Values: -979615882 -61824913 -6263547 -6263547 -6263547 -6263547 -6263249 +1004010915 +63495307 +6059268 +6059268 +6059268 +6059268 +6058921 0 0 0 0 -884136859 -884136859 -6263141 +909395349 +909395349 +6058800 _Z13gx_draw_stylei # Func Hash: @@ -197107,7 +198087,7 @@ _Z13gx_state_modev # Num Counters: 1 # Counter Values: -253901034 +252802011 _Z13gx_words_hashPKh # Func Hash: @@ -197136,11 +198116,11 @@ _Z13hle_fs_umountPKc # Num Counters: 9 # Counter Values: -478 -239 -239 -239 -239 +494 +247 +247 +247 +247 0 0 0 @@ -197152,7 +198132,7 @@ _Z13hle_fs_umountPKc # NumValueSites: 1 1 -9:239 +9:247 _Z13hle_make_stubRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_y # Func Hash: @@ -197210,7 +198190,7 @@ _Z13hle_raw_clockv # Num Counters: 6 # Counter Values: -1442 +1455 12 12 12 @@ -197231,8 +198211,8 @@ _Z13host_gpu_busyv # Num Counters: 4 # Counter Values: -14457 -14421 +14555 +14518 0 0 @@ -197242,11 +198222,11 @@ _Z13host_gpu_drawRK7GpuDraw # Num Counters: 286 # Counter Values: -84039795 -61629183 -16807959 -84039795 -5602653 +83362665 +61132621 +16672533 +83362665 +5557511 0 0 0 @@ -197255,49 +198235,49 @@ _Z13host_gpu_drawRK7GpuDraw 0 0 0 -96359675 -7081282 +95070258 +7213155 0 0 0 0 -96359682 +95070265 0 0 -96359682 -96359682 +95070265 +95070265 0 0 -90757029 -96359682 -96359682 +89512754 +95070265 +95070265 0 0 0 0 0 0 -90757029 -5602653 -5602653 -5602653 +89512754 +5557511 +5557511 +5557511 0 0 0 0 0 -5602653 +5557511 0 0 -102399 +100666 0 0 0 0 0 0 -5602653 -5602653 +5557511 +5557511 0 0 0 @@ -197314,7 +198294,7 @@ _Z13host_gpu_drawRK7GpuDraw 0 0 0 -102399 +100666 0 0 0 @@ -197334,29 +198314,29 @@ _Z13host_gpu_drawRK7GpuDraw 0 0 0 -5602653 +5557511 0 0 0 0 0 -5602653 +5557511 0 0 0 0 0 -5602653 +5557511 0 0 0 0 0 0 -29 +30 0 0 -102358 +100624 0 0 0 @@ -197497,19 +198477,19 @@ _Z13host_gpu_drawRK7GpuDraw 0 0 0 -96359682 +95070265 0 0 -96359682 -5602653 -90757029 -90757029 +95070265 +5557511 +89512754 +89512754 0 -5602653 -5602653 -5602653 -5602653 -5602653 +5557511 +5557511 +5557511 +5557511 +5557511 0 0 0 @@ -197518,11 +198498,11 @@ _Z13host_gpu_drawRK7GpuDraw 0 0 0 -5602653 -5602653 -5602653 -5602653 -5602653 +5557511 +5557511 +5557511 +5557511 +5557511 0 0 0 @@ -197594,12 +198574,12 @@ _Z13host_list_dirPKcPSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIc 22 # Counter Values: 28 -2002 +2004 0 -1544 +1546 708 0 -1086 +1088 486 396 486 @@ -197629,11 +198609,11 @@ _Z13host_log_linePKc # Num Counters: 8 # Counter Values: -117903 -117903 +117620 +117618 0 64 -117836 +117554 64 64 64 @@ -197673,7 +198653,7 @@ _Z13host_settingsv # Num Counters: 1 # Counter Values: -216 +204 _Z13host_sleep_usy # Func Hash: @@ -197681,12 +198661,12 @@ _Z13host_sleep_usy # Num Counters: 10 # Counter Values: -3947067 -3947069 +3983649 +3983663 0 -1 -3947867 -226 +0 +3984424 +231 0 12 12 @@ -197698,7 +198678,7 @@ _Z13legacy_cpu_onv # Num Counters: 1 # Counter Values: -5834 +5848 _Z13legacy_decodePKhyP10LegacyInsn # Func Hash: @@ -198479,9 +199459,9 @@ _Z13player_originPi _Z13plugins_framev # Func Hash: -520788473551770859 +502035557308856170 # Num Counters: -420 +440 # Counter Values: 0 0 @@ -198514,6 +199494,22 @@ _Z13plugins_framev 0 0 0 +41560 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 0 0 0 @@ -198596,9 +199592,11 @@ _Z13plugins_framev 0 0 0 +41560 0 0 0 +41560 0 0 0 @@ -198613,9 +199611,9 @@ _Z13plugins_framev 0 0 0 +339138 0 0 -376739 0 0 0 @@ -198649,8 +199647,8 @@ _Z13plugins_framev 0 0 0 +339138 0 -376739 0 0 0 @@ -198680,8 +199678,8 @@ _Z13plugins_framev 0 0 0 +339138 0 -376739 0 0 0 @@ -198769,6 +199767,7 @@ _Z13plugins_framev 0 0 0 +41560 0 0 0 @@ -198836,6 +199835,7 @@ _Z13plugins_framev 0 0 0 +0 12 0 0 @@ -198866,8 +199866,8 @@ _Z13plugins_framev 0 0 0 -376739 0 +380698 0 0 0 @@ -198912,13 +199912,16 @@ _Z13plugins_framev 0 0 0 -0 +1 +** External Symbol **:41560 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: -15 +16 0 0 +1 +16:41560 0 0 0 @@ -198941,8 +199944,8 @@ _Z13plugins_imageP8ElfImage # Counter Values: 0 0 -1 -1 +2 +2 0 0 0 @@ -198978,7 +199981,8 @@ _Z13plugins_imageP8ElfImage 0 # NumValueSites: 1 -1 +2 +** External Symbol **:1 ** External Symbol **:1 # ValueKind = IPVK_MemOPSize: 1 @@ -199116,7 +200120,7 @@ _Z13sfx_node_emityyy # Num Counters: 1 # Counter Values: -244021 +294185 _Z13sysv_vfprintfP6_iobufPKcP10SysvVaList # Func Hash: @@ -199446,7 +200450,7 @@ _Z14audio_crush_onv # Num Counters: 1 # Counter Values: -336462 +338242 _Z14bb_free_memoryP10VkDevice_TP16VkDeviceMemory_TPK21VkAllocationCallbacksRKN10slow_calls4SiteE # Func Hash: @@ -199454,32 +200458,32 @@ _Z14bb_free_memoryP10VkDevice_TP16VkDeviceMemory_TPK21VkAllocationCallbacksRKN10 # Num Counters: 33 # Counter Values: -18 +23 0 0 -18 +23 0 0 0 -417 -417 -417 -417 -417 -417 -417 -190 -417 -227 +431 +431 +431 +431 +431 +431 +431 +201 +431 +230 0 -227 -417 -17 -227 -399 -14 -1 -218 +230 +431 +19 +230 +411 +15 +0 +216 0 0 0 @@ -199723,8 +200727,8 @@ _Z14engine_on_flipy # Num Counters: 10 # Counter Values: -376541 -376541 +380429 +380429 12 12 12 @@ -199845,13 +200849,13 @@ _Z14gx_drain_tokenyjj # Num Counters: 7 # Counter Values: -18666548 -18673049 -1258514 +18746173 +18752298 +1267898 +0 +1267898 0 -1258514 0 -2 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -199859,9 +200863,9 @@ _Z14gx_drain_tokenyjj # NumValueSites: 1 3 -** External Symbol **:1258460 -** External Symbol **:39 -** External Symbol **:12 +** External Symbol **:1267855 +** External Symbol **:33 +** External Symbol **:9 _Z14gx_guest_to_bny # Func Hash: @@ -199869,7 +200873,7 @@ _Z14gx_guest_to_bny # Num Counters: 2 # Counter Values: -228 +240 0 _Z14gx_query_tokenyjy @@ -199878,20 +200882,20 @@ _Z14gx_query_tokenyjy # Num Counters: 14 # Counter Values: -23587328 -2948416 -2948416 -182 +23336016 +2917002 +2917002 +178 0 -1474208 -182 +1458501 +178 0 -1474208 -1474208 -1474208 -1474208 -154 -1474208 +1458501 +1458501 +1458501 +1458501 +136 +1458501 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -199899,7 +200903,7 @@ _Z14gx_query_tokenyjy # NumValueSites: 1 1 -** External Symbol **:182 +** External Symbol **:178 _Z14gx_raster_descj # Func Hash: @@ -199907,9 +200911,9 @@ _Z14gx_raster_descj # Num Counters: 3 # Counter Values: -126979559 -114334495 -114335573 +126431676 +113748947 +113749581 _Z14gx_resource_atyyP14GxResourceInfo # Func Hash: @@ -199917,19 +200921,19 @@ _Z14gx_resource_atyyP14GxResourceInfo # Num Counters: 13 # Counter Values: -1221212492 -59218240 -59224045 -59224045 -59224045 -59154274 -58957757 +1324382669 +63793643 +63801704 +63801704 +63801704 +63732811 +63537251 0 0 0 0 -397866551 -397866551 +428186622 +428186622 _Z14gx_view_extenty # Func Hash: @@ -199937,12 +200941,12 @@ _Z14gx_view_extenty # Num Counters: 7 # Counter Values: -469370 -5170359 -469369 -5170260 -5170263 -469370 +656671 +5279040 +656651 +5278939 +5278987 +656664 0 _Z14hle_call_guestIiJPKvS1_EET_PvDpT0_ @@ -200095,8 +201099,8 @@ _Z14hle_call_guestIxJPhS0_EET_PvDpT0_ # Num Counters: 2 # Counter Values: -405154 -202577 +403026 +201513 _Z14hle_call_guestIxJPhS0_PKciEET_PvDpT0_ # Func Hash: @@ -200338,8 +201342,8 @@ _Z14hle_call_guestIxJPyyEET_PvDpT0_ # Num Counters: 2 # Counter Values: -333638 -166819 +340754 +170377 _Z14hle_call_guestIxJhEET_PvDpT0_ # Func Hash: @@ -200347,8 +201351,8 @@ _Z14hle_call_guestIxJhEET_PvDpT0_ # Num Counters: 2 # Counter Values: -1129742 -1129742 +1141414 +1141414 _Z14hle_call_guestIxJiEET_PvDpT0_ # Func Hash: @@ -200401,8 +201405,8 @@ _Z14hle_call_guestIxJxEET_PvDpT0_ # Num Counters: 2 # Counter Values: -2036275 -2036275 +2021280 +2021280 _Z14hle_call_guestIxJxxEET_PvDpT0_ # Func Hash: @@ -200410,8 +201414,8 @@ _Z14hle_call_guestIxJxxEET_PvDpT0_ # Num Counters: 2 # Counter Values: -6030986 -3015493 +5988714 +2994357 _Z14hle_call_guestIxJxxxEET_PvDpT0_ # Func Hash: @@ -200419,8 +201423,8 @@ _Z14hle_call_guestIxJxxxEET_PvDpT0_ # Num Counters: 2 # Counter Values: -3026184 -1008728 +3003726 +1001242 _Z14hle_call_guestIxJxxxxEET_PvDpT0_ # Func Hash: @@ -200428,8 +201432,8 @@ _Z14hle_call_guestIxJxxxxEET_PvDpT0_ # Num Counters: 2 # Counter Values: -4033224 -1008306 +4003064 +1000766 _Z14hle_call_guestIxJxxxxxEET_PvDpT0_ # Func Hash: @@ -200446,8 +201450,8 @@ _Z14hle_call_guestIxJxxxxxxEET_PvDpT0_ # Num Counters: 2 # Counter Values: -6046716 -1007786 +5998836 +999806 _Z14hle_call_guestIxJyEET_PvDpT0_ # Func Hash: @@ -200455,8 +201459,8 @@ _Z14hle_call_guestIxJyEET_PvDpT0_ # Num Counters: 2 # Counter Values: -198297254 -198297254 +197806157 +197806111 _Z14hle_call_guestIxJyPKcEET_PvDpT0_ # Func Hash: @@ -200500,8 +201504,8 @@ _Z14hle_call_guestIxJyiyiEET_PvDpT0_ # Num Counters: 2 # Counter Values: -26661200 -6665300 +26753844 +6688461 _Z14hle_call_guestIxJyiyyEET_PvDpT0_ # Func Hash: @@ -200509,8 +201513,8 @@ _Z14hle_call_guestIxJyiyyEET_PvDpT0_ # Num Counters: 2 # Counter Values: -800 -200 +736 +184 _Z14hle_call_guestIxJyjPiEET_PvDpT0_ # Func Hash: @@ -200572,8 +201576,8 @@ _Z14hle_call_guestIxJyyEET_PvDpT0_ # Num Counters: 2 # Counter Values: -204110418 -102055209 +203374794 +101403285 _Z14hle_call_guestIxJyyiEET_PvDpT0_ # Func Hash: @@ -200680,8 +201684,8 @@ _Z14hle_call_guestIyJyyyyEET_PvDpT0_ # Num Counters: 2 # Counter Values: -11887012 -2971753 +11859684 +2964921 _Z14host_gpu_flushv # Func Hash: @@ -200689,9 +201693,9 @@ _Z14host_gpu_flushv # Num Counters: 6 # Counter Values: -4544 -4544 -4544 +3876 +3876 +3876 0 0 0 @@ -200703,14 +201707,14 @@ _Z14host_gpu_statsv 11 # Counter Values: 0 -3429432 -1524192 -1524192 -4191528 -2286288 -6096768 +3464748 +1539888 +1539888 +4234692 +2309832 +6159552 0 -381048 +384972 0 0 @@ -200781,7 +201785,7 @@ _Z14host_pad_statev # Num Counters: 3 # Counter Values: -1111055 +1123155 0 0 @@ -200800,8 +201804,8 @@ _Z14host_read_safePKvPvy # Num Counters: 2 # Counter Values: -95199241 -95249858 +96096530 +96145781 _Z14host_text_showPKcffffj # Func Hash: @@ -200829,7 +201833,7 @@ _Z14host_thread_idv # Num Counters: 1 # Counter Values: -1137 +1138 _Z14legacy_addressRK10LegacyInsnPKyy # Func Hash: @@ -201114,9 +202118,9 @@ _Z14params_installP8ElfImage _Z14plugin_ui_drawR8PluginUiff # Func Hash: -737064946691270635 +997460825234885654 # Num Counters: -289 +293 # Counter Values: 0 0 @@ -201407,6 +202411,10 @@ _Z14plugin_ui_drawR8PluginUiff 0 0 0 +0 +0 +0 +0 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -201431,11 +202439,11 @@ _Z14plugins_activeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 7 # Counter Values: 0 +2 +2 1 1 0 -0 -0 12 # Num Value Kinds: 1 @@ -201443,7 +202451,8 @@ _Z14plugins_activeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 1 # NumValueSites: 1 -0 +1 +9:1 _Z14plugins_adoptsB5cxx11v # Func Hash: @@ -201478,9 +202487,9 @@ _Z14rebirth_reportB5cxx11v # Num Counters: 4 # Counter Values: -788 -558 -1346 +791 +568 +1359 0 _Z14rebirth_scriptRSt6vectorIhSaIhEEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE @@ -201842,10 +202851,10 @@ _Z14sysv_vsnprintfPcyPKcP10SysvVaList # Num Counters: 11 # Counter Values: -58173 +58282 0 -453261 -395092 +452917 +394631 0 0 0 @@ -201860,13 +202869,13 @@ _Z14sysv_vsnprintfPcyPKcP10SysvVaList # NumValueSites: 1 12 -9:362153 -17:38614 -8:21913 +9:361634 +17:38711 +8:21947 33:10116 -16:9335 -7:7734 -4:1680 +16:9349 +7:7746 +4:1683 3:1176 1:296 2:144 @@ -202429,7 +203438,7 @@ _Z14world_chr_tickv 9 0 0 -376739 +380698 0 9 0 @@ -202602,50 +203611,50 @@ _Z15bb_alloc_memoryP10VkDevice_TPK20VkMemoryAllocateInfoPK21VkAllocationCallback # Num Counters: 77 # Counter Values: -29634 +29843 0 0 0 -194868 -29634 -1521 +196237 +29843 +1254 0 -21 -1194 -338 -2694 +22 +1019 +385 +2713 0 -2398 +2351 0 0 0 -2694 -2350 +2713 +2303 0 0 0 -2694 -2694 -2694 +2713 +2713 +2713 0 -1215 +1041 0 0 -1000 -1281 -1281 -2694 -2694 +1039 +1285 +1285 +2713 +2713 768 -1413 -1188 +1428 +1018 60 60 -1506 +1695 768 768 48 -1494 +1683 768 768 768 @@ -202673,12 +203682,12 @@ _Z15bb_alloc_memoryP10VkDevice_TPK20VkMemoryAllocateInfoPK21VkAllocationCallback 0 0 0 -2694 -1413 -0 -0 +2713 +1428 0 -2694 +5 +5 +2713 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -202697,9 +203706,9 @@ _Z15bb_memory_peaksPyS_ # Num Counters: 5 # Counter Values: -228 -228 -228 +231 +231 +231 0 0 @@ -202709,9 +203718,9 @@ _Z15chr_sync_updateyy # Num Counters: 3 # Counter Values: -39870 -108698 -7988 +39945 +107972 +8002 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -202719,9 +203728,9 @@ _Z15chr_sync_updateyy # NumValueSites: 2 1 -** External Symbol **:39870 +** External Symbol **:39945 1 -** External Symbol **:108699 +** External Symbol **:107973 _Z15config_user_dirB5cxx11v # Func Hash: @@ -202737,7 +203746,7 @@ _Z15debug_menu_openv # Num Counters: 4 # Counter Values: -24 +15971 0 0 0 @@ -202778,7 +203787,7 @@ _Z15framegen_activev # Num Counters: 1 # Counter Values: -82498368 +84285199 _Z15framegen_wantedv # Func Hash: @@ -202807,7 +203816,7 @@ _Z15gx_draw_gbufferv # Num Counters: 1 # Counter Values: -102282347 +101828375 _Z15gx_state_reportB5cxx11v # Func Hash: @@ -202850,9 +203859,9 @@ _Z15hle_audio_statsB5cxx11v # Num Counters: 8 # Counter Values: -1346 -1346 -1346 +1359 +1359 +1359 0 0 0 @@ -202865,7 +203874,7 @@ _Z15hle_fs_map_pathB5cxx11PKc # Num Counters: 1 # Counter Values: -1905 +1929 _Z15hle_gnm_executePKvy # Func Hash: @@ -203105,7 +204114,7 @@ _Z15host_futex_spinv # Num Counters: 4 # Counter Values: -18136144 +18556666 12 12 0 @@ -203116,20 +204125,20 @@ _Z15host_futex_waitPSt6atomicIjEjPKNSt6chrono10time_pointINS2_3_V212steady_clock # Num Counters: 26 # Counter Values: -5157844 -5157844 -197092 -162427 -661859 -130347734 -652385 -162388 -119211308 +5025079 +5025079 +197220 +163989 +674817 +128731259 +665362 +162907 +118190051 0 -162388 +162907 0 0 -118117176 +117061275 0 0 0 @@ -203149,7 +204158,7 @@ _Z15host_gpu_reportv # Num Counters: 493 # Counter Values: -733 +737 0 0 0 @@ -203663,81 +204672,81 @@ _Z15host_gpu_splicey # Num Counters: 124 # Counter Values: -2714 -51116 +1356 +28471 12 -314421 -2714 -291808 -1700 -15264062 -1700 -1700 -10421243 -51823 -1700 -4840033 -1700 -302503 -302503 -302503 -302503 -4788282 -4788282 -4788282 -3611965 -4788282 +285414 +1356 +266237 +1210 +15251154 +1210 +1210 +10400088 +52137 +1210 +4849644 +1210 +303104 +303104 +303104 +303104 +4797573 +4797573 +4797573 +3157212 +4797573 0 -151320 -1682283 +146004 +1745144 0 -2954679 +2906425 0 -115796136 +100702552 0 -1409141 +1426619 0 0 -1545538 +1479806 0 -1545538 -1545538 -1334737 +1479806 +1479806 +1262949 0 0 -1545538 -5971005 -14150180 +1479806 +5367571 +12668757 0 -14150180 +12668757 0 -38918 -38918 +36773 +36773 0 -14150180 +12668757 0 -169613 -3 -3611965 +170736 +7 +3157212 0 -1545535 -3090896 -3611965 -1545535 -3090896 -2922235 -3090896 +1479799 +2959412 +3157212 +1479799 +2959412 +2704237 +2959412 0 -1334658 -1568602 +1262896 +1501617 0 87 -1545448 -0 +1479706 +6 0 0 0 -169613 +170736 0 0 0 @@ -203745,28 +204754,28 @@ _Z15host_gpu_splicey 0 0 0 -3090364 -1568329 +2958914 +1501359 0 0 0 0 -1545448 -1545182 -266 -1545182 +1479706 +1479457 +249 +1479457 0 -1545182 -1545182 -1545182 -1545182 +1479457 +1479457 +1479457 +1479457 0 0 0 0 -1187308 -96753 -1545182 +1176314 +92528 +1479457 0 0 0 @@ -203778,15 +204787,15 @@ _Z15host_gpu_splicey 0 0 0 -184 -302503 -4840105 +290 +303104 +4849710 0 -57108772 -57108772 +46226919 +46226919 0 0 -1144110 +1060639 _Z15host_gpu_submitv # Func Hash: @@ -203794,8 +204803,8 @@ _Z15host_gpu_submitv # Num Counters: 5 # Counter Values: -3189528 -3189528 +3226594 +3226594 0 0 0 @@ -203814,7 +204823,7 @@ _Z15host_guest_freePv # Num Counters: 1 # Counter Values: -5367453 +5355120 _Z15host_image_basev # Func Hash: @@ -203830,7 +204839,7 @@ _Z15host_key_strongv # Num Counters: 1 # Counter Values: -499325 +510131 _Z15host_log_decideb # Func Hash: @@ -203877,7 +204886,7 @@ _Z15host_pad_rumblehh 6 # Counter Values: 0 -1125232 +1136909 0 0 0 @@ -203900,6 +204909,21 @@ _Z15host_page_guardPvy # Counter Values: 1053 +_Z15host_plugin_padR9PluginPad +# Func Hash: +816289418656529905 +# Num Counters: +8 +# Counter Values: +41560 +0 +0 +41560 +41560 +41019 +41560 +0 + _Z15host_steam_deckv # Func Hash: 536873290121808688 @@ -203971,7 +204995,7 @@ _Z15lua_events_tickv 44 # Counter Values: 0 -376739 +380698 0 0 0 @@ -203987,11 +205011,11 @@ _Z15lua_events_tickv 0 0 0 -376739 -376739 +380698 +380698 0 0 -376739 +380698 0 0 0 @@ -204021,9 +205045,9 @@ _Z15menu_steps_takei # Num Counters: 3 # Counter Values: -753478 -753478 -753478 +761396 +761396 +761396 _Z15np_test_installP8ElfImage # Func Hash: @@ -204176,20 +205200,20 @@ _Z15perf_meter_exitv 41 # Counter Values: 120 -45 -45 +47 +47 12 9 -36 +38 12 0 12 12 -3 +4 0 0 12 -6 +7 0 0 12 @@ -204223,10 +205247,10 @@ _Z15perf_meter_flipv # Num Counters: 8 # Counter Values: -376559 -376559 -361755 -14804 +380447 +380447 +365559 +14888 0 0 0 @@ -204253,15 +205277,15 @@ _Z15player_stat_getPKcPx 10 # Counter Values: 0 -86628 -79371 -7257 -7257 -6853 -6853 -6853 -7257 -6793 +104184 +95464 +8720 +8720 +8266 +8266 +8266 +8720 +8206 _Z15player_stat_setPKcx # Func Hash: @@ -204349,7 +205373,7 @@ _Z15ppfx_sub_fb2720yfff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204357,7 +205381,7 @@ _Z15ppfx_sub_fb2720yfff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb2740yfff # Func Hash: @@ -204365,7 +205389,7 @@ _Z15ppfx_sub_fb2740yfff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204373,7 +205397,7 @@ _Z15ppfx_sub_fb2740yfff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb27c0yyj # Func Hash: @@ -204381,7 +205405,7 @@ _Z15ppfx_sub_fb27c0yyj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204389,7 +205413,7 @@ _Z15ppfx_sub_fb27c0yyj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb27d0yyj # Func Hash: @@ -204397,7 +205421,7 @@ _Z15ppfx_sub_fb27d0yyj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204405,7 +205429,7 @@ _Z15ppfx_sub_fb27d0yyj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb27e0yyj # Func Hash: @@ -204413,7 +205437,7 @@ _Z15ppfx_sub_fb27e0yyj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204421,7 +205445,7 @@ _Z15ppfx_sub_fb27e0yyj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb27f0yyj # Func Hash: @@ -204429,7 +205453,7 @@ _Z15ppfx_sub_fb27f0yyj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204437,7 +205461,7 @@ _Z15ppfx_sub_fb27f0yyj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb2800yf # Func Hash: @@ -204445,7 +205469,7 @@ _Z15ppfx_sub_fb2800yf # Num Counters: 2 # Counter Values: -166877 +170436 0 _Z15ppfx_sub_fb2850yj @@ -204454,7 +205478,7 @@ _Z15ppfx_sub_fb2850yj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204462,7 +205486,7 @@ _Z15ppfx_sub_fb2850yj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb2860yy # Func Hash: @@ -204485,7 +205509,7 @@ _Z15ppfx_sub_fb2900yjyjffffff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204493,7 +205517,7 @@ _Z15ppfx_sub_fb2900yjyjffffff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb2920yjyffff # Func Hash: @@ -204501,7 +205525,7 @@ _Z15ppfx_sub_fb2920yjyffff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204509,7 +205533,7 @@ _Z15ppfx_sub_fb2920yjyffff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb2940yjff # Func Hash: @@ -204517,7 +205541,7 @@ _Z15ppfx_sub_fb2940yjff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204525,7 +205549,7 @@ _Z15ppfx_sub_fb2940yjff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb2960yj # Func Hash: @@ -204533,7 +205557,7 @@ _Z15ppfx_sub_fb2960yj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204541,7 +205565,7 @@ _Z15ppfx_sub_fb2960yj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb2970yjfffff # Func Hash: @@ -204549,7 +205573,7 @@ _Z15ppfx_sub_fb2970yjfffff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204557,7 +205581,7 @@ _Z15ppfx_sub_fb2970yjfffff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb34a0yjff # Func Hash: @@ -204565,7 +205589,7 @@ _Z15ppfx_sub_fb34a0yjff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204573,7 +205597,7 @@ _Z15ppfx_sub_fb34a0yjff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb34d0yfff # Func Hash: @@ -204581,7 +205605,7 @@ _Z15ppfx_sub_fb34d0yfff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204589,7 +205613,7 @@ _Z15ppfx_sub_fb34d0yfff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb34e0yf # Func Hash: @@ -204597,7 +205621,7 @@ _Z15ppfx_sub_fb34e0yf # Num Counters: 1 # Counter Values: -166877 +170436 _Z15ppfx_sub_fb3560yf # Func Hash: @@ -204605,7 +205629,7 @@ _Z15ppfx_sub_fb3560yf # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204613,7 +205637,7 @@ _Z15ppfx_sub_fb3560yf # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb3600yj # Func Hash: @@ -204621,7 +205645,7 @@ _Z15ppfx_sub_fb3600yj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204629,7 +205653,7 @@ _Z15ppfx_sub_fb3600yj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb3670yff # Func Hash: @@ -204637,7 +205661,7 @@ _Z15ppfx_sub_fb3670yff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204645,7 +205669,7 @@ _Z15ppfx_sub_fb3670yff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb37d0yjyy # Func Hash: @@ -204653,7 +205677,7 @@ _Z15ppfx_sub_fb37d0yjyy # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204661,7 +205685,7 @@ _Z15ppfx_sub_fb37d0yjyy # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb3890yj # Func Hash: @@ -204669,7 +205693,7 @@ _Z15ppfx_sub_fb3890yj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204677,7 +205701,7 @@ _Z15ppfx_sub_fb3890yj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb38b0yh # Func Hash: @@ -204685,7 +205709,7 @@ _Z15ppfx_sub_fb38b0yh # Num Counters: 1 # Counter Values: -166877 +170436 _Z15ppfx_sub_fb38e0yff # Func Hash: @@ -204693,7 +205717,7 @@ _Z15ppfx_sub_fb38e0yff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204701,7 +205725,7 @@ _Z15ppfx_sub_fb38e0yff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb38f0yjjfff # Func Hash: @@ -204709,7 +205733,7 @@ _Z15ppfx_sub_fb38f0yjjfff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204717,7 +205741,7 @@ _Z15ppfx_sub_fb38f0yjjfff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb3900yjff # Func Hash: @@ -204725,7 +205749,7 @@ _Z15ppfx_sub_fb3900yjff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204733,7 +205757,7 @@ _Z15ppfx_sub_fb3900yjff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb3c10yf # Func Hash: @@ -204741,7 +205765,7 @@ _Z15ppfx_sub_fb3c10yf # Num Counters: 1 # Counter Values: -166877 +170436 _Z15ppfx_sub_fb3c30yf # Func Hash: @@ -204749,7 +205773,7 @@ _Z15ppfx_sub_fb3c30yf # Num Counters: 1 # Counter Values: -166877 +170436 _Z15ppfx_sub_fb3f80yf # Func Hash: @@ -204757,7 +205781,7 @@ _Z15ppfx_sub_fb3f80yf # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204765,7 +205789,7 @@ _Z15ppfx_sub_fb3f80yf # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb3fb0yj # Func Hash: @@ -204773,7 +205797,7 @@ _Z15ppfx_sub_fb3fb0yj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204781,7 +205805,7 @@ _Z15ppfx_sub_fb3fb0yj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb3fd0yjj # Func Hash: @@ -204789,7 +205813,7 @@ _Z15ppfx_sub_fb3fd0yjj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204797,7 +205821,7 @@ _Z15ppfx_sub_fb3fd0yjj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb40f0yf # Func Hash: @@ -204805,7 +205829,7 @@ _Z15ppfx_sub_fb40f0yf # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204813,7 +205837,7 @@ _Z15ppfx_sub_fb40f0yf # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb4100yf # Func Hash: @@ -204821,7 +205845,7 @@ _Z15ppfx_sub_fb4100yf # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204829,7 +205853,7 @@ _Z15ppfx_sub_fb4100yf # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb4110yf # Func Hash: @@ -204837,7 +205861,7 @@ _Z15ppfx_sub_fb4110yf # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204845,7 +205869,7 @@ _Z15ppfx_sub_fb4110yf # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb4120yf # Func Hash: @@ -204853,7 +205877,7 @@ _Z15ppfx_sub_fb4120yf # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204861,7 +205885,7 @@ _Z15ppfx_sub_fb4120yf # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb4130yf # Func Hash: @@ -204869,7 +205893,7 @@ _Z15ppfx_sub_fb4130yf # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204877,7 +205901,7 @@ _Z15ppfx_sub_fb4130yf # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb4160yj # Func Hash: @@ -204885,7 +205909,7 @@ _Z15ppfx_sub_fb4160yj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204893,7 +205917,7 @@ _Z15ppfx_sub_fb4160yj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb4180yff # Func Hash: @@ -204901,7 +205925,7 @@ _Z15ppfx_sub_fb4180yff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204909,7 +205933,7 @@ _Z15ppfx_sub_fb4180yff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb4190yyy # Func Hash: @@ -204917,7 +205941,7 @@ _Z15ppfx_sub_fb4190yyy # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204925,7 +205949,7 @@ _Z15ppfx_sub_fb4190yyy # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15ppfx_sub_fb41a0yf # Func Hash: @@ -204933,7 +205957,7 @@ _Z15ppfx_sub_fb41a0yf # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -204941,7 +205965,7 @@ _Z15ppfx_sub_fb41a0yf # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z15rebirth_installP8ElfImage # Func Hash: @@ -205140,7 +206164,7 @@ _Z15render_hooks_onv # Num Counters: 1 # Counter Values: -79921335 +81745316 _Z15render_scale_onP11RenderScale # Func Hash: @@ -205148,8 +206172,8 @@ _Z15render_scale_onP11RenderScale # Num Counters: 4 # Counter Values: -268699 -91186 +268660 +90383 0 0 @@ -205167,7 +206191,7 @@ _Z15scene_look_snapv # Num Counters: 1 # Counter Values: -138557047 +139117173 _Z15sfx_light_fadesyf # Func Hash: @@ -205176,7 +206200,7 @@ _Z15sfx_light_fadesyf 5 # Counter Values: 0 -376318 +380226 0 0 0 @@ -205187,7 +206211,7 @@ _Z15sfx_light_fadesyf # NumValueSites: 1 1 -** External Symbol **:376318 +** External Symbol **:380227 _Z15sfx_node_updateyPfyy # Func Hash: @@ -205195,9 +206219,9 @@ _Z15sfx_node_updateyPfyy # Num Counters: 4 # Counter Values: -64561060 -69917480 -70390609 +66014062 +71075677 +71318570 0 _Z15upscaler_attachP12VkInstance_TP18VkPhysicalDevice_TP10VkDevice_Tj @@ -205314,10 +206338,10 @@ _Z15upscaler_jitterijjjjPfS_ # Num Counters: 8 # Counter Values: -232959 -155307 +233958 +155973 0 -88746 +89128 0 0 0 @@ -205339,18 +206363,18 @@ _Z15upscaler_methodv # Counter Values: 0 0 -532158126 -532217248 -532263579 -144853710 -288661100 +531610476 +531640758 +531681327 +141111697 +289012882 0 -144894094 +141159252 0 -144910900 +141172357 0 -144927871 -78924058 +141194305 +78500313 0 0 0 @@ -205358,8 +206382,8 @@ _Z15upscaler_methodv 12 12 0 -288666461 -65962127 +289021450 +62645311 _Z15win_crash_whereyPcy # Func Hash: @@ -205375,6 +206399,37 @@ _Z15win_crash_whereyPcy 0 0 +_Z15world_pause_setRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb +# Func Hash: +724568856527183050 +# Num Counters: +24 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + _Z16ImTextCharToUtf8Pcj # Func Hash: 1096621590747868067 @@ -205625,7 +206680,7 @@ _Z16engine_site_hookP8ElfImageyPKhyPvy # Num Counters: 1 # Counter Values: -0 +1 _Z16event_flag_watchb # Func Hash: @@ -205650,16 +206705,16 @@ _Z16event_flags_tickv 144 120 0 -376739 +380698 0 -376739 +380698 0 0 -416 +466 0 12 0 -416 +466 12 0 12 @@ -205667,7 +206722,7 @@ _Z16event_flags_tickv 12 0 12 -416 +466 0 _Z16fmod_ring_reportv @@ -205701,7 +206756,7 @@ _Z16frame_tick_framef # Num Counters: 2 # Counter Values: -376739 +380695 0 _Z16framegen_acquireP10VkDevice_TP16VkSwapchainKHR_TyP13VkSemaphore_TP9VkFence_TPj @@ -205889,13 +206944,13 @@ _Z16gnm_wait_reg_memyyjjj # Num Counters: 7 # Counter Values: -336073 +343191 0 -336073 +343191 0 -336073 -336073 -336073 +343191 +343191 +343191 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -205927,7 +206982,7 @@ _Z16guest_protect_rxP11GuestMemoryyy # Num Counters: 5 # Counter Values: -9471 +9449 0 0 0 @@ -205939,24 +206994,24 @@ _Z16gx_buffers_coveryy # Num Counters: 18 # Counter Values: -213257502 -16363700 -10904794 -6529765 -10904794 -10904794 -10904794 -9999849 -6548543 -9999849 -9833935 +191405196 +15694617 +10387521 +6944592 +10387521 +10387521 +10387521 +8943226 +7000465 +8943226 +8750025 0 0 0 0 -61696488 -61696488 -18778 +55963849 +55963849 +55873 _Z16gx_create_bufferyyyyyyy # Func Hash: @@ -205970,8 +207025,8 @@ _Z16gx_create_bufferyyyyyyy 0 0 0 -870328 -870328 +870380 +870380 0 0 0 @@ -205987,17 +207042,17 @@ _Z16gx_create_bufferyyyyyyy 9 0 1 -** External Symbol **:870328 +** External Symbol **:870380 0 2 -** External Symbol **:870304 +** External Symbol **:870356 ** External Symbol **:24 0 0 0 0 1 -** External Symbol **:870328 +** External Symbol **:870380 _Z16gx_middleware_atyy # Func Hash: @@ -206055,9 +207110,9 @@ _Z16gx_view_resourceyP14GxResourceInfo # Num Counters: 3 # Counter Values: -116412 -116402 -116412 +116368 +116362 +116367 _Z16gx_write_seq_nowv # Func Hash: @@ -206081,7 +207136,7 @@ _Z16hle_fs_data_rootv # Num Counters: 1 # Counter Values: -4257 +4297 _Z16hle_fs_game_fileRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -206491,9 +207546,9 @@ _Z16hle_gx_trace_armP11GuestMemory _Z16hle_net_p2p_stunPKctiPjPtPN3net4stun5RelayE # Func Hash: -390174261606154280 +288907644127376115 # Num Counters: -85 +73 # Counter Values: 0 0 @@ -206568,18 +207623,6 @@ _Z16hle_net_p2p_stunPKctiPjPtPN3net4stun5RelayE 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 _Z16hle_np_fill_npidPvPKc # Func Hash: @@ -206687,38 +207730,38 @@ _Z16host_audio_writeiPKvj # Num Counters: 49 # Counter Values: -689072128 -351 +692717568 +354 0 -336461 -336461 -336449 -336461 -336461 -336449 -336341 +338241 +338241 +338229 +338241 +338241 +338229 +338121 12 -336461 +338241 0 -351 +354 12 -336449 -351 -336425 +338229 +354 +338205 36 0 0 0 -336425 +338205 0 0 0 -335535 +337357 0 -351 +354 0 0 -351 +354 0 0 0 @@ -206729,10 +207772,10 @@ _Z16host_audio_writeiPKvj 12 0 0 -2703 -43797 +2715 +43550 0 -336461 +338241 0 0 0 @@ -206743,8 +207786,8 @@ _Z16host_binding_keyi # Num Counters: 2 # Counter Values: -0 -0 +31 +31 _Z16host_cpu_threadsv # Func Hash: @@ -206772,7 +207815,7 @@ _Z16host_mouse_statev # Num Counters: 3 # Counter Values: -1111019 +1123118 0 0 @@ -206806,8 +207849,8 @@ _Z16host_sleep_untilNSt6chrono10time_pointINS_3_V212steady_clockENS_8durationIxS # Num Counters: 2 # Counter Values: -443195 -441464 +445585 +443818 _Z16host_start_againPKcbRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -206941,9 +207984,9 @@ _Z16host_timing_initv _Z16host_window_pumpv # Func Hash: -1117779274731047153 +341683007969704012 # Num Counters: -543 +592 # Counter Values: 0 0 @@ -207488,21 +208531,70 @@ _Z16host_window_pumpv 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -2 0 0 - -_Z16host_window_stopv -# Func Hash: -1117982117520804619 -# Num Counters: -23 -# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +2 +0 +0 + +_Z16host_window_stopv +# Func Hash: +1117982117520804619 +# Num Counters: +23 +# Counter Values: 0 0 0 @@ -207557,7 +208649,7 @@ _Z16ingame_menu_openv # Num Counters: 1 # Counter Values: -1313572 +1324608 _Z16ingame_menu_pumpv # Func Hash: @@ -207634,7 +208726,7 @@ _Z16legacy_cpu_meetsyy 0 0 0 -3314 +3328 0 0 0 @@ -207651,13 +208743,21 @@ _Z16live_shadows_cani 0 0 +_Z16loading_cutscenev +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +211996 + _Z16loading_fast_nowv # Func Hash: 742261418966908927 # Num Counters: 1 # Counter Values: -376739 +380698 _Z16loading_in_worldv # Func Hash: @@ -207665,7 +208765,7 @@ _Z16loading_in_worldv # Num Counters: 1 # Counter Values: -0 +41560 _Z16menu_back_buttonv # Func Hash: @@ -207801,14 +208901,33 @@ _Z16player_data_tickv 228 228 228 -376739 -7029 +380698 +8492 12 12 12 12 -7029 -6625 +8492 +8038 + +_Z16plugin_panel_keyi +# Func Hash: +287486626473548692 +# Num Counters: +12 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 _Z16plugins_aa_claimv # Func Hash: @@ -207816,7 +208935,7 @@ _Z16plugins_aa_claimv # Num Counters: 1 # Counter Values: -549149899 +548437126 _Z16plugins_aa_ownerB5cxx11v # Func Hash: @@ -208052,10 +209171,10 @@ _Z16scene_look_scalePj # Num Counters: 4 # Counter Values: -146992638 -40266 -14657603 -40244 +146752849 +41463 +15704605 +41441 _Z16sfx_light_updateyyy # Func Hash: @@ -208063,13 +209182,13 @@ _Z16sfx_light_updateyyy # Num Counters: 12 # Counter Values: -2042585 -919046 -1122329 -919208 -919165 +2042526 +913266 +1128647 +913451 +913418 0 -2041598 +2042147 0 0 0 @@ -208084,9 +209203,9 @@ _Z16sfx_light_updateyyy 0 0 1 -** External Symbol **:1119522 +** External Symbol **:1125864 1 -** External Symbol **:914405 +** External Symbol **:909608 _Z16sfx_ribbon_alongPhjPKfS1_S1_S1_ffffffffPKjS1_S1_S1_S1_jffjjff # Func Hash: @@ -208122,7 +209241,7 @@ _Z16sound_wake_framev # Num Counters: 4 # Counter Values: -376739 +380698 0 0 0 @@ -208160,6 +209279,58 @@ _Z16win_watch_disarmv 0 0 +_Z16world_pause_dropRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +# Func Hash: +1085769283003895561 +# Num Counters: +16 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + +_Z16world_pause_heldv +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +41560 + +_Z16world_pause_stepRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj +# Func Hash: +653247343355659772 +# Num Counters: +14 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + _Z16world_warp_allowv # Func Hash: 798733565221271237 @@ -208178,19 +209349,19 @@ _Z17GetEventFlagValueyjj # Num Counters: 13 # Counter Values: -1317388 +1314748 2016 2016 -3869420 +3854230 6048 168 6048 336 -1317640 -1317388 +1315000 +1314748 252 252 -3415627 +3394139 _Z17ImBezierCubicCalcRK6ImVec2S1_S1_S1_f # Func Hash: @@ -209504,13 +210675,13 @@ _Z17follow_cam_updatePhS_Pvf 8 # Counter Values: 0 -164179 -164179 -14822 +167283 +167283 +18609 0 0 -164179 -164179 +167283 +167283 _Z17frame_pool_reportv # Func Hash: @@ -209556,22 +210727,22 @@ _Z17gnmx_cue_pre_drawy # Num Counters: 16 # Counter Values: -166877 -333754 -333754 -333754 -333754 -333754 -166877 -166877 +170436 +340872 +340872 +340872 +340872 +340872 +170436 +170436 0 0 -166877 +170436 0 -166877 -166877 -166877 -166877 +170436 +170436 +170436 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -209579,28 +210750,39 @@ _Z17gnmx_cue_pre_drawy # NumValueSites: 10 1 -** External Symbol **:166879 +** External Symbol **:170437 1 -** External Symbol **:166879 +** External Symbol **:170437 1 -** External Symbol **:166879 +** External Symbol **:170437 1 -** External Symbol **:333758 +** External Symbol **:340874 1 -** External Symbol **:333758 +** External Symbol **:340874 0 0 0 0 0 +_Z17graphics_look_setRK12GraphicsLook +# Func Hash: +886271540078755313 +# Num Counters: +4 +# Counter Values: +0 +0 +0 +0 + _Z17guest_protect_rwxP11GuestMemoryyy # Func Hash: 742261418966908927 # Num Counters: 1 # Counter Values: -9471 +9449 _Z17gx_context_commityy # Func Hash: @@ -209632,9 +210814,9 @@ _Z17gx_immediate_drawyyyy # Num Counters: 3 # Counter Values: -21621744 +21674387 0 -21596744 +21647670 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -209642,7 +210824,7 @@ _Z17gx_immediate_drawyyyy # NumValueSites: 11 1 -** External Symbol **:21596994 +** External Symbol **:21648832 0 0 0 @@ -209660,17 +210842,17 @@ _Z17gx_texture_extentyP15GxTextureExtent # Num Counters: 28 # Counter Values: -303555567 -17298513 -17298513 -16921961 -16921961 -16921961 -7081282 -9840679 -7081282 -7081282 -6076630 +306442135 +17466715 +17466715 +17086275 +17086275 +17086275 +7213155 +9873120 +7213155 +7213155 +6133134 0 0 0 @@ -209685,9 +210867,9 @@ _Z17gx_texture_extentyP15GxTextureExtent 0 0 0 -82089093 -82089093 -376552 +83297647 +83297647 +380440 _Z17gx_view_gen_by_idj # Func Hash: @@ -209695,10 +210877,10 @@ _Z17gx_view_gen_by_idj # Num Counters: 4 # Counter Values: -1879827 -1879827 -1879827 -1879827 +2053018 +2053018 +2053018 +2053018 _Z17hle_gnm_cp_reportv # Func Hash: @@ -209944,18 +211126,18 @@ _Z17hle_gnm_op_windowB5cxx11v # Num Counters: 20 # Counter Values: -3443 +3478 0 -103290 -344576 -3443 +104340 +347904 +3478 0 -100 -3343 -1346 -1346 -1346 -1346 +98 +3380 +1359 +1359 +1359 +1359 0 0 0 @@ -209963,7 +211145,7 @@ _Z17hle_gnm_op_windowB5cxx11v 0 0 0 -3443 +3478 _Z17hle_gx_copy_tokeny # Func Hash: @@ -209972,77 +211154,77 @@ _Z17hle_gx_copy_tokeny 99 # Counter Values: 106 -2389476 -8772394 +2422473 +8808707 0 0 0 0 -67223788 +67320798 0 -67600328 -67600222 -67600222 -67600222 -67600222 +67701228 +67701122 +67701122 +67701122 +67701122 0 106 106 106 106 -10072873 -9148934 -2389476 +10125389 +9189136 +2422473 0 0 -1300479 +1316682 0 -1300479 +1316682 0 0 -9148922 -9148922 -9148922 -9148922 -9148934 -376540 -1300479 +9189124 +9189124 +9189124 +9189124 +9189136 +380428 +1316682 0 0 0 0 0 0 -10072873 -10072873 -10072873 -10072873 +10125390 +10125389 +10125389 +10125390 0 -2098711 +2125650 0 0 -10072873 +10125390 0 -10072873 -196 -1997272 +10125390 +198 +2023985 0 -196 -196 -6919577 -1936080 +198 +198 +6929432 +1961904 0 0 0 0 0 -196 -196 -1054585 -6635224 +198 +198 +1070308 +6642937 0 0 -196 +198 0 12 12 @@ -210115,10 +211297,10 @@ _Z17hle_gx_native_fedy # Num Counters: 4 # Counter Values: -79729445 -79729445 -79729445 -79729445 +78226891 +78226891 +78226891 +78226891 _Z17hle_gx_native_pinyP13GxDrawObjects # Func Hash: @@ -210126,12 +211308,12 @@ _Z17hle_gx_native_pinyP13GxDrawObjects # Num Counters: 8 # Counter Values: -40153433 +41262195 0 -37 -39855629 +463 +40998899 0 -39858115 +41001595 0 0 @@ -210748,17 +211930,17 @@ _Z17hle_timing_windowdPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Num Counters: 11 # Counter Values: -21536 -21536 -21536 -21536 -21536 -21536 -1346 -1346 -1346 -1346 -1346 +21744 +21744 +21744 +21744 +21744 +21744 +1359 +1359 +1359 +1359 +1359 _Z17host_account_busyv # Func Hash: @@ -210791,7 +211973,7 @@ _Z17host_futex_countsv # Num Counters: 1 # Counter Values: -1346 +1359 _Z17host_futex_nativev # Func Hash: @@ -210799,7 +211981,7 @@ _Z17host_futex_nativev # Num Counters: 1 # Counter Values: -1358 +1371 _Z17host_futex_wait64PSt6atomicIyEy # Func Hash: @@ -210807,7 +211989,7 @@ _Z17host_futex_wait64PSt6atomicIyEy # Num Counters: 1 # Counter Values: -1402152 +1340152 _Z17host_gpu_dispatchRK11GpuDispatch # Func Hash: @@ -210815,17 +211997,17 @@ _Z17host_gpu_dispatchRK11GpuDispatch # Num Counters: 980 # Counter Values: -11598855 -5412799 -298 +11632260 +5428388 +297 0 0 12 0 -639706 +645089 0 -257257 -298 +253690 +297 0 0 0 @@ -210834,11 +212016,11 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -282968 +279092 0 -225197 +225196 0 -282968 +279092 0 0 0 @@ -210858,13 +212040,13 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -225197 +225196 119150 408 0 -225197 -181617 -548060 +225196 +179262 +550288 39 0 0 @@ -210873,7 +212055,7 @@ _Z17host_gpu_dispatchRK11GpuDispatch 39 672 672 -773257 +775484 12 39 0 @@ -210882,51 +212064,51 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -2263744 -308679 +2232736 +304494 0 0 0 0 0 0 -308679 -308679 -2263744 +304494 +304494 +2232736 0 0 -1540494 -1540494 +1545873 +1545873 2 0 0 -533876 +529690 0 0 0 0 0 0 -2263744 -2263744 -308679 -308679 +2232736 +2232736 +304494 +304494 0 0 -533876 -308679 -2263744 -308679 -308679 +529690 +304494 +2232736 +304494 +304494 0 0 0 0 -2417731 +2422040 0 0 0 -308679 +304494 0 0 0 @@ -210956,22 +212138,22 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -308679 +304494 0 -308679 +304494 0 0 0 0 0 0 -1540494 -2263744 -533876 -533876 -533876 -308679 -533876 +1545873 +2232736 +529690 +529690 +529690 +304494 +529690 0 0 0 @@ -210980,35 +212162,35 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -598007 -773095 -773095 +597027 +775322 +775322 0 -57 +68 0 -773257 -773257 -773257 -773257 -773257 +775484 +775484 +775484 +775484 +775484 0 0 -308679 -308679 +304494 +304494 0 -308679 +304494 0 0 84 0 -308679 +304494 0 0 0 22 0 0 -773245 +775472 0 162 0 @@ -211020,13 +212202,13 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -533876 +529690 0 0 0 0 0 -715486 +721588 162 162 162 @@ -211034,37 +212216,37 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -298 -1540494 +297 +1545873 0 -533876 +529690 0 0 0 0 0 -308679 -308679 +304494 +304494 0 0 0 0 0 -773146 +775373 0 0 0 0 -773257 +775484 0 -257257 +253690 162 0 0 0 0 0 -298 +297 0 84 0 @@ -211073,7 +212255,7 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 51 0 -773095 +775322 0 0 0 @@ -211093,15 +212275,15 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -639706 -639706 -639706 -639706 -490289 -639706 -490289 -639706 -639706 +645089 +645089 +645089 +645089 +496392 +645089 +496392 +645089 +645089 0 0 0 @@ -211110,19 +212292,19 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -298 +297 0 0 0 0 0 0 -773257 +775484 0 -257257 +253690 0 -257257 -257257 +253690 +253690 0 0 162 @@ -211139,12 +212321,12 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -773257 -773257 -773257 -773257 -773257 -773257 +775484 +775484 +775484 +775484 +775484 +775484 0 0 0 @@ -211164,7 +212346,7 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 51 -773257 +775484 0 0 0 @@ -211173,20 +212355,20 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -149417 +148697 846 -623840 +626787 0 0 14 14 0 -282968 -773257 -773257 -773257 -773257 -773257 +279092 +775484 +775484 +775484 +775484 +775484 0 0 0 @@ -211203,35 +212385,35 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -773257 -773257 +775484 +775484 0 0 0 0 0 -773257 -282968 +775484 +279092 111 0 0 -773257 -773257 -773257 +775484 +775484 +775484 0 -773257 -773257 -773257 -773257 -773257 +775484 +775484 +775484 +775484 +775484 0 2 -773233 +775460 0 0 -225197 -773257 -773257 +225196 +775484 +775484 0 0 0 @@ -211239,7 +212421,7 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -622994 +625941 0 0 0 @@ -211259,19 +212441,19 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -282968 -282968 -282968 +279092 +279092 +279092 0 0 -773257 -773257 +775484 +775484 99 0 0 -773257 -773257 -225197 +775484 +775484 +225196 0 0 0 @@ -211280,16 +212462,16 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -773257 -773257 +775484 +775484 0 0 0 -773257 +775484 0 0 0 -225197 +225196 0 0 0 @@ -211297,8 +212479,8 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -773257 -622994 +775484 +625941 0 0 0 @@ -211312,7 +212494,7 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -548060 +550288 0 60 0 @@ -211338,8 +212520,8 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -225197 -225197 +225196 +225196 0 0 0 @@ -211359,7 +212541,7 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -225197 +225196 0 0 0 @@ -211392,8 +212574,8 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -548060 -548060 +550288 +550288 0 0 0 @@ -211757,13 +212939,13 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -257257 +253690 0 0 0 0 516 -562 +564 672 0 0 @@ -211787,14 +212969,14 @@ _Z17host_gpu_dispatchRK11GpuDispatch 0 0 0 -773257 -225197 +775484 +225196 0 0 -490289 -472423 +496392 +474177 0 -773257 +775484 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -211815,13 +212997,13 @@ _Z17host_gpu_home_endyi # Num Counters: 12 # Counter Values: -23584 -23584 -10278 -9331 -9263 -9241 -9241 +23636 +23636 +10297 +9349 +9275 +9257 +9257 0 0 0 @@ -211882,8 +213064,8 @@ _Z17host_guest_callocyy # Num Counters: 2 # Counter Values: -8432224 -8432188 +8544216 +8544175 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -211891,20 +213073,20 @@ _Z17host_guest_callocyy # NumValueSites: 1 14 -33:2049546 -257:1729142 -17:1228660 -129:999874 -513:740791 -32:652817 +33:2085132 +257:1764625 +17:1242894 +129:1012205 +513:742016 +32:659934 16:556807 -64:334969 +64:342086 9:90434 65:29068 8:12632 -512:5716 -256:1203 +512:5492 128:612 +256:310 _Z17host_guest_mallocy # Func Hash: @@ -211920,7 +213102,7 @@ _Z17host_input_devicev # Num Counters: 1 # Counter Values: -16679575 +17004213 _Z17host_input_serialv # Func Hash: @@ -211946,9 +213128,9 @@ _Z17host_message_showPKcf _Z17host_options_loadv # Func Hash: -645132097115785918 +897256288365700745 # Num Counters: -367 +379 # Counter Values: 0 0 @@ -211979,33 +213161,30 @@ _Z17host_options_loadv 200 0 0 -12 -965 0 +12 0 0 +965 0 -588 0 132 180 60 -852 -852 -0 +840 +840 +588 0 0 -12 -12 -12 0 0 -588 -88 0 0 0 0 +12 +12 +12 0 0 0 @@ -212013,6 +213192,8 @@ _Z17host_options_loadv 0 0 0 +588 +88 12 0 0 @@ -212025,14 +213206,13 @@ _Z17host_options_loadv 0 0 0 -0 48 48 0 0 0 -0 12 +0 116 0 0 @@ -212041,7 +213221,6 @@ _Z17host_options_loadv 0 0 0 -6248 0 0 0 @@ -212052,18 +213231,18 @@ _Z17host_options_loadv 0 0 0 +6160 0 100 0 0 -490 0 0 0 0 0 -16 0 +16 0 0 0 @@ -212071,11 +213250,15 @@ _Z17host_options_loadv 0 490 0 +0 +0 +0 12 +0 100 84 0 -0 +490 0 12 0 @@ -212135,7 +213318,6 @@ _Z17host_options_loadv 0 12 0 -88 0 0 0 @@ -212153,12 +213335,11 @@ _Z17host_options_loadv 12 0 0 -0 12 -0 24 12 12 +88 0 0 0 @@ -212177,25 +213358,38 @@ _Z17host_options_loadv 0 0 0 -12 -24 0 -3 +0 +0 +0 +0 +0 +0 +0 +0 12 +0 +0 +0 24 0 -12 0 0 0 0 0 -12 0 0 +12 +24 0 +3 +12 24 0 +12 +0 +0 0 0 0 @@ -212322,7 +213516,7 @@ _Z17host_options_loadv # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: -49 +51 0 0 0 @@ -212347,6 +213541,8 @@ _Z17host_options_loadv 7:12 1 9:24 +0 +0 1 9:12 1 @@ -212397,7 +213593,7 @@ _Z17host_options_openv # Num Counters: 1 # Counter Values: -3738163 +3772335 _Z17host_options_postSt8functionIFvvEE # Func Hash: @@ -212526,17 +213722,55 @@ _Z17host_pad_play_biti 0 0 -_Z17host_plugin_inputR11PluginInput +_Z17host_plugin_inputPKcR11PluginInput # Func Hash: -1096621587626867316 +379657538895668410 # Num Counters: -5 +30 # Counter Values: +83119 +41559 +83119 +41559 +0 +41559 +1 +41560 +0 +41559 +1 +0 +1 +0 +0 +1 +0 +0 +0 0 0 0 0 0 +0 +0 +0 +41560 +41560 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +4 +1 +9:41559 +1 +9:41559 +1 +9:1 +0 _Z17host_present_stepRd # Func Hash: @@ -212560,7 +213794,7 @@ _Z17host_settings_refv # Num Counters: 1 # Counter Values: -721107884 +719917790 _Z17host_thread_stackPyS_ # Func Hash: @@ -212568,8 +213802,8 @@ _Z17host_thread_stackPyS_ # Num Counters: 5 # Counter Values: -66579821 -66579975 +67245763 +67245913 84 84 84 @@ -212580,13 +213814,13 @@ _Z17host_thread_timesv # Num Counters: 17 # Counter Values: -340175 -285 -339890 -339890 -339890 +341833 +289 +341544 +341544 +341544 0 -3540 +3558 0 0 0 @@ -212666,9 +213900,9 @@ _Z17host_window_startiiPKc _Z17ingame_menu_eventRK9SDL_Eventf # Func Hash: -1076717090643898032 +932379829565205731 # Num Counters: -127 +233 # Counter Values: 0 0 @@ -212797,13 +214031,6 @@ _Z17ingame_menu_eventRK9SDL_Eventf 0 0 0 - -_Z17legacy_cpu_verifyPKc -# Func Hash: -807055965650412963 -# Num Counters: -17 -# Counter Values: 0 0 0 @@ -212814,66 +214041,19 @@ _Z17legacy_cpu_verifyPKc 0 0 0 -24 0 0 0 0 0 0 - -_Z17loading_screen_upv -# Func Hash: -742261418966908927 -# Num Counters: -1 -# Counter Values: -1668364 - -_Z17maiden_event_mapsv -# Func Hash: -331779891078953411 -# Num Counters: -8 -# Counter Values: -36 -12 -48 -12 -12 0 0 0 - -_Z17menu_pointer_tickv -# Func Hash: -742261418966908927 -# Num Counters: -1 -# Counter Values: 0 - -_Z17menu_step_releasey -# Func Hash: -784007059655560962 -# Num Counters: -2 -# Counter Values: 0 0 - -_Z17params_definitionPKc -# Func Hash: -888579790787503805 -# Num Counters: -20 -# Counter Values: 0 -36 -36 -36 -12 -36 0 0 0 @@ -212888,26 +214068,10 @@ _Z17params_definitionPKc 0 0 0 - -_Z17patch_manifest_onRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb -# Func Hash: -469216293619982791 -# Num Counters: -24 -# Counter Values: 0 -396 -384 -384 -72 0 -72 -12 -384 -384 0 0 -180 0 0 0 @@ -212919,34 +214083,12 @@ _Z17patch_manifest_onRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -3 -1 -9:72 0 0 - -_Z17perf_meter_glanceRA96_cS0_ -# Func Hash: -844982799463459685 -# Num Counters: -4 -# Counter Values: 0 0 0 0 - -_Z17plugin_ui_refreshR8PluginUi -# Func Hash: -193343369557553798 -# Num Counters: -15 -# Counter Values: 0 0 0 @@ -212962,20 +214104,7 @@ _Z17plugin_ui_refreshR8PluginUi 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 0 - -_Z17present_pass_initP10VkDevice_TP18VkPhysicalDevice_T8VkFormat -# Func Hash: -404142955159008785 -# Num Counters: -19 -# Counter Values: 0 0 0 @@ -212995,12 +214124,34 @@ _Z17present_pass_initP10VkDevice_TP18VkPhysicalDevice_T8VkFormat 0 0 0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +3 +0 +0 +0 -_Z17render_frame_infoP11BbFrameInfo +_Z17legacy_cpu_verifyPKc # Func Hash: -334421639408013903 +807055965650412963 # Num Counters: -11 +17 # Counter Values: 0 0 @@ -213012,23 +214163,66 @@ _Z17render_frame_infoP11BbFrameInfo 0 0 0 +24 +0 0 -# Num Value Kinds: +0 +0 +0 +0 + +_Z17loading_screen_upv +# Func Hash: +742261418966908927 +# Num Counters: 1 -# ValueKind = IPVK_MemOPSize: +# Counter Values: +1722521 + +_Z17maiden_event_mapsv +# Func Hash: +331779891078953411 +# Num Counters: +8 +# Counter Values: +36 +12 +48 +12 +12 +0 +0 +0 + +_Z17menu_pointer_tickv +# Func Hash: +742261418966908927 +# Num Counters: 1 -# NumValueSites: +# Counter Values: +0 + +_Z17menu_step_releasey +# Func Hash: +784007059655560962 +# Num Counters: 2 +# Counter Values: 0 0 -_Z17render_hooks_dropRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +_Z17params_definitionPKc # Func Hash: -97431131189716837 +888579790787503805 # Num Counters: -28 +20 # Counter Values: 0 +36 +36 +36 +12 +36 0 0 0 @@ -213043,8 +214237,26 @@ _Z17render_hooks_dropRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 0 0 0 + +_Z17patch_manifest_onRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb +# Func Hash: +469216293619982791 +# Num Counters: +24 +# Counter Values: +0 +396 +384 +384 +72 +0 +72 +12 +384 +384 0 0 +180 0 0 0 @@ -213061,15 +214273,28 @@ _Z17render_hooks_dropRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: -2 +3 +1 +9:72 0 0 -_Z17render_queue_flipjf +_Z17perf_meter_glanceRA96_cS0_ # Func Hash: -348203916741931081 +844982799463459685 # Num Counters: -42 +4 +# Counter Values: +0 +0 +0 +0 + +_Z17plugin_panel_drawfb +# Func Hash: +164929637610535783 +# Num Counters: +327 # Counter Values: 0 0 @@ -213085,9 +214310,603 @@ _Z17render_queue_flipjf 0 0 0 -376559 0 -376559 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +13 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + +_Z17plugin_panel_hideRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +# Func Hash: +564099566781340224 +# Num Counters: +14 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +_Z17plugin_panel_showRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK15PluginPanelShow +# Func Hash: +529582827848179836 +# Num Counters: +65 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +11 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + +_Z17plugin_ui_refreshR8PluginUi +# Func Hash: +193343369557553798 +# Num Counters: +15 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +_Z17present_pass_initP10VkDevice_TP18VkPhysicalDevice_T8VkFormat +# Func Hash: +404142955159008785 +# Num Counters: +19 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + +_Z17render_frame_infoP11BbFrameInfo +# Func Hash: +334421639408013903 +# Num Counters: +11 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +2 +0 +0 + +_Z17render_hooks_dropRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +# Func Hash: +97431131189716837 +# Num Counters: +28 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +2 +0 +0 + +_Z17render_queue_flipjf +# Func Hash: +348203916741931081 +# Num Counters: +42 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +380447 +0 +380447 0 0 0 @@ -213109,7 +214928,7 @@ _Z17render_queue_flipjf 0 0 0 -376559 +380447 8 12 8 @@ -213125,7 +214944,7 @@ _Z17render_scale_flipy 0 0 0 -376566 +380457 0 0 0 @@ -213173,7 +214992,7 @@ _Z17sampler_note_exitPKc # Num Counters: 1 # Counter Values: -216 +224 _Z17sampler_note_pumpv # Func Hash: @@ -213190,11 +215009,11 @@ _Z17scene_look_camerav 6 # Counter Values: 0 -26345162 -12525212 -12525272 +26951843 +12154196 +12154115 0 -12525321 +12154399 _Z17scene_look_ditherv # Func Hash: @@ -213202,7 +215021,7 @@ _Z17scene_look_ditherv # Num Counters: 1 # Counter Values: -125772382 +125643380 _Z17sfx_ribbon_facingPhjPKfS1_S1_S1_ffffffffPKjS1_fffffjjff # Func Hash: @@ -213211,27 +215030,27 @@ _Z17sfx_ribbon_facingPhjPKfS1_S1_S1_ffffffffPKjS1_fffffjjff 22 # Counter Values: 0 -1469 -1469 -475 -1469 -723 -723 -723 -723 -723 -723 -723 -723 -723 +1439 +1439 +459 +1439 +709 +709 +709 +709 +709 +709 +709 +709 +709 0 0 0 0 0 0 -1301 -452 +1277 +443 _Z17sfx_wobble_followyyPKfy # Func Hash: @@ -213239,11 +215058,11 @@ _Z17sfx_wobble_followyyPKfy # Num Counters: 5 # Counter Values: -12875 -7074 +12962 +6595 0 0 -7074 +6595 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -213251,10 +215070,18 @@ _Z17sfx_wobble_followyyPKfy # NumValueSites: 3 1 -** External Symbol **:12875 +** External Symbol **:12962 0 1 -** External Symbol **:7074 +** External Symbol **:6595 + +_Z17shader_patch_looki +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +0 _Z17shader_patch_maskv # Func Hash: @@ -213262,7 +215089,7 @@ _Z17shader_patch_maskv # Num Counters: 4 # Counter Values: -486115 +353393 12 12 0 @@ -213306,7 +215133,7 @@ _Z17sound_wake_reportB5cxx11v 7 # Counter Values: 0 -1346 +1359 0 0 0 @@ -213336,76 +215163,76 @@ _Z17texture_origin_ofy # Num Counters: 96 # Counter Values: -1832903 -865202 -279671 -218086 -704179 -214808 -32662 -28931 -28932 -0 -939771 -234265 -28932 -2873 -47718 -28932 -94254 -704189 -0 -58709 -28932 -4373 -1487 -0 -94250 -1485 -4373 -32663 -28930 -0 -4372 +1871652 +872491 +279441 +217954 +707912 +215216 +32714 +29038 +29039 +0 +970184 +238342 +29038 +2951 +48512 +29041 +94214 +707882 +0 +58532 +29040 +4432 +1473 +0 +94208 +1472 +4431 +32717 +29036 0 -4368 -4373 -11702 -4261 -4259 -4258 -3937 +4430 0 -4196 -1310 -0 -4373 -4371 -28931 -4196 -8808 -28930 -0 -2885 -28857 -13012 -13010 -199 -8615 +4426 +4432 +11898 +4325 +4317 +4317 +4002 +0 +4266 +1311 +0 +4432 +4431 +29036 +4269 +8935 +29040 +0 +2958 +28965 +13207 +13202 +209 +8724 0 -4196 +4269 0 -2645 +2718 0 -28857 +28965 0 -4196 -15860 -1486 -15848 -1982 -15848 -611 +4267 +15766 +1472 +15754 +2036 +15754 +663 60 0 0 @@ -213426,12 +215253,12 @@ _Z17texture_origin_ofy 0 0 0 -28932 +29040 0 -28931 +29039 0 0 -611 +663 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -213439,11 +215266,11 @@ _Z17texture_origin_ofy # NumValueSites: 2 5 -9:3050 -7:902 -16:244 -8:48 -6:10 +9:3107 +7:904 +16:252 +8:43 +6:11 0 _Z17thunk_set_lookupsPFPKcPvEPFyvE @@ -213479,17 +215306,17 @@ _Z17upscaler_evaluateP17VkCommandBuffer_TRK11UpscaleCall # Num Counters: 11 # Counter Values: -45592 -45592 -45592 +45190 +45190 +45190 0 -19942 +19328 0 0 0 -45592 -25650 -19942 +45190 +25862 +19328 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -213497,7 +215324,7 @@ _Z17upscaler_evaluateP17VkCommandBuffer_TRK11UpscaleCall # NumValueSites: 2 1 -** External Symbol **:45592 +** External Symbol **:45190 0 _Z17upscaler_mip_biasijjj @@ -213600,18 +215427,18 @@ _Z17write_watch_dirtyyyR10WriteWatch # Num Counters: 13 # Counter Values: -21201309 -497486 -21201309 -21201309 -4038847 -1325121 -4038847 -4038847 -7630275 -7630275 -4038847 -3989427 +20571705 +490143 +20571705 +20571705 +3757656 +1285760 +3757656 +3757656 +6298265 +6298265 +3757656 +3708306 0 _Z17write_watch_freadPvyyP6_iobuf @@ -213628,14 +215455,14 @@ _Z17write_watch_statsv # Num Counters: 8 # Counter Values: -4074 -4074 -4074 -5432 -1358 -1358 -1358 -1358 +4113 +4113 +4113 +5484 +1371 +1371 +1371 +1371 _Z17yebis_wait_pixelsy # Func Hash: @@ -213925,8 +215752,8 @@ _Z18decomp_gx_gpu_stepv # Num Counters: 2 # Counter Values: -187082 -183708 +192657 +189793 _Z18event_flag_changedjb # Func Hash: @@ -214128,7 +215955,7 @@ _Z18frame_stats_detailv # Num Counters: 1 # Counter Values: -1755 +1763 _Z18frame_tick_installP8ElfImage # Func Hash: @@ -214187,7 +216014,7 @@ _Z18gnmx_cue_post_drawy # Num Counters: 2 # Counter Values: -166877 +170436 0 # Num Value Kinds: 1 @@ -214238,19 +216065,19 @@ _Z18gx_resource_tsharpyPj # Num Counters: 14 # Counter Values: -50264667 -2683623 -2683626 -2683626 -2683626 -2683626 -2683626 +51446230 +2746469 +2746473 +2746473 +2746473 +2746473 +2746473 0 0 0 0 -23810610 -23810610 +24008079 +24008079 0 _Z18gx_view_extent_genyPy @@ -214259,12 +216086,12 @@ _Z18gx_view_extent_genyPy # Num Counters: 7 # Counter Values: -80051452 -534159173 -80052666 -533029204 -533355016 -80051992 +89395736 +529769147 +89424716 +529964552 +529390108 +89392454 0 _Z18hle_fs_update_rootv @@ -214286,7 +216113,7 @@ _Z18hle_gnm_arena_flipv 0 0 0 -376559 +380447 0 0 0 @@ -214308,8 +216135,8 @@ _Z18hle_gnm_cp_backlogv # Num Counters: 9 # Counter Values: -2772 -1386 +2826 +1413 0 0 0 @@ -214324,7 +216151,7 @@ _Z18hle_gnm_cp_job_seqv # Num Counters: 1 # Counter Values: -422741174 +413213770 _Z18hle_gnm_draw_countv # Func Hash: @@ -214350,7 +216177,7 @@ _Z18hle_gnm_flip_callsv # Num Counters: 1 # Counter Values: -0 +17 _Z18hle_gx_clear_tokeny # Func Hash: @@ -214358,14 +216185,14 @@ _Z18hle_gx_clear_tokeny # Num Counters: 22 # Counter Values: -20683036 -15512277 -952766 -5170759 -5170759 -5170759 +21118168 +15838626 +1094175 +5279542 +5279542 +5279542 0 -5170759 +5279542 0 0 0 @@ -214418,10 +216245,10 @@ _Z18hle_gx_native_skipy # Num Counters: 6 # Counter Values: -24597877 -24597877 -24597877 -24597877 +25758412 +25758412 +25758412 +25758412 0 0 @@ -214518,6 +216345,23 @@ _Z18hle_net_p2p_signaljtPKvy 1 0 +_Z18hle_np_room_othersv +# Func Hash: +141929913858687702 +# Num Counters: +10 +# Counter Values: +0 +0 +0 +41560 +0 +0 +0 +0 +0 +0 + _Z18hle_register_audiov # Func Hash: 742261418966908927 @@ -214552,8 +216396,8 @@ _Z18host_binding_mousei # Num Counters: 2 # Counter Values: -998650 -998650 +1020262 +1020262 _Z18host_binding_reseti # Func Hash: @@ -214729,7 +216573,7 @@ _Z18host_gpu_draw_markv # Num Counters: 1 # Counter Values: -376553 +380440 _Z18host_gpu_home_madeyyjhhhj # Func Hash: @@ -214740,29 +216584,29 @@ _Z18host_gpu_home_madeyyjhhhj 835380 0 0 -2327 -870328 -2971 -1037 -0 -0 -838495 -31833 -838495 -836108 -836108 -2387 -838495 -8393 -7586 -830102 -8393 -830102 -830909 -830897 -8393 +2331 +870380 +2979 +1040 +0 +0 +838514 +31866 +838514 +836123 +836123 +2391 +838514 +8379 +7587 +830135 +8379 +830135 +830927 +830915 +8379 204 -830909 +830927 0 60 60 @@ -214777,8 +216621,8 @@ _Z18host_gpu_home_madeyyjhhhj 0 0 0 -830102 -830102 +830135 +830135 0 0 @@ -214796,8 +216640,8 @@ _Z18host_gpu_phase_addiy # Num Counters: 2 # Counter Values: -45256427 -45256427 +44965251 +44965251 _Z18host_gpu_vendor_idv # Func Hash: @@ -215109,7 +216953,7 @@ _Z18legacy_cpu_releaseyyPKc 0 0 0 -3206 +3220 0 0 0 @@ -216099,8 +217943,8 @@ _Z18mouse_camera_flickRfS_ # Num Counters: 18 # Counter Values: -499325 -14822 +510131 +18609 0 0 0 @@ -216162,8 +218006,8 @@ _Z18perf_meter_limiteryyf # Num Counters: 2 # Counter Values: -376739 -376739 +380695 +380695 _Z18pixel_cutaway_onlyRK8PixelCuty # Func Hash: @@ -216230,6 +218074,39 @@ _Z18pixel_cutaway_onlyRK8PixelCuty 0 0 +_Z18plugin_panel_shownv +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +510131 + +_Z18plugin_panel_stateRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER16PluginPanelState +# Func Hash: +151646353976904334 +# Num Counters: +11 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + _Z18plugins_event_flagjb # Func Hash: 1076584760820767291 @@ -216520,7 +218397,7 @@ _Z18scene_look_cutawayPf # Num Counters: 5 # Counter Values: -124696932 +124281726 0 0 0 @@ -216532,7 +218409,7 @@ _Z18scene_look_nearestv # Num Counters: 1 # Counter Values: -129185252 +129017033 _Z18sfx_wind_receiversyf # Func Hash: @@ -216540,11 +218417,11 @@ _Z18sfx_wind_receiversyf # Num Counters: 5 # Counter Values: -103395 -376318 -272923 -272923 -272923 +104175 +380227 +276052 +276052 +276052 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -216552,9 +218429,9 @@ _Z18sfx_wind_receiversyf # NumValueSites: 2 1 -** External Symbol **:103395 +** External Symbol **:104175 1 -** External Symbol **:272923 +** External Symbol **:276052 _Z18shader_cache_stateRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS4_SaIS4_EE # Func Hash: @@ -216630,17 +218507,17 @@ _Z18shader_patch_applyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6 # Num Counters: 18 # Counter Values: -72 +36 0 0 -161368 -161369 -161369 +107569 +107570 +107572 0 0 0 0 -53792 +53787 0 0 0 @@ -216655,7 +218532,7 @@ _Z18shader_patch_applyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6 # NumValueSites: 1 1 -8:161364 +8:107559 _Z18sound_wake_installP8ElfImage # Func Hash: @@ -216701,18 +218578,18 @@ _Z18world_player_blockPj # Num Counters: 12 # Counter Values: -378542 -165993 -378542 -168313 -165993 -168313 -165993 -165984 -378542 +382511 +169108 +382511 +171883 +169108 +171883 +169108 +169099 +382511 0 -168313 -165993 +171883 +169108 _Z18write_watch_forgetyy # Func Hash: @@ -216757,9 +218634,9 @@ _Z18yebis_gnm_dispatchyyyy # Num Counters: 3 # Counter Values: -181140 +184699 0 -181140 +184699 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -216776,7 +218653,7 @@ _Z18yebis_wait_computey # Num Counters: 1 # Counter Values: -181140 +184699 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -216784,7 +218661,7 @@ _Z18yebis_wait_computey # NumValueSites: 1 1 -** External Symbol **:181142 +** External Symbol **:184700 _Z19ImFontAtlasBakedAddP11ImFontAtlasP6ImFontffj # Func Hash: @@ -217279,7 +219156,7 @@ _Z19event_flag_watchingv # Num Counters: 1 # Counter Values: -376739 +380698 _Z19event_flags_installP8ElfImage # Func Hash: @@ -217318,7 +219195,7 @@ _Z19frame_stats_enabledv # Num Counters: 1 # Counter Values: -753322 +761169 _Z19frame_stats_on_flipv # Func Hash: @@ -217329,32 +219206,32 @@ _Z19frame_stats_on_flipv 0 0 0 -1206 -15964 -21383 -9594 +1196 +15154 +19739 +11443 0 -375846 -168724 -12679 -12679 +379696 +169478 +12647 +12647 0 -167875 -167875 -376031 -13624 +168629 +168629 +379949 +12617 0 -22643 -22643 +22603 +22603 0 0 0 0 0 0 -9019 +9986 0 -1957 +2045 0 0 0 @@ -217362,23 +219239,23 @@ _Z19frame_stats_on_flipv 0 0 0 -376559 -8067 +380447 +7534 0 0 -22643 -22643 -22643 +22603 +22603 +22603 0 0 0 0 0 -265 -6414 -6048 -5557 -6789 +452 +6997 +6522 +5083 +6796 0 0 0 @@ -217387,42 +219264,42 @@ _Z19frame_stats_on_flipv 0 0 0 -2971 +3464 0 0 0 -376419 +380307 12 12 128 0 -1743 -1743 -1739 -1743 -1743 -1743 -1743 -1743 -1665 -1739 -0 -1743 -0 -1743 -1743 -150 -1743 -150 -1743 +1751 +1751 +1751 +1751 +1751 +1751 +1751 +1751 +1671 +1751 +0 +1751 +0 +1751 +1751 +158 +1751 +158 +1751 1593 0 0 -78 -533 -1206 -1743 -1743 +80 +555 +1196 +1751 +1751 0 0 0 @@ -217434,7 +219311,7 @@ _Z19frame_stats_on_flipv 0 0 0 -1743 +1751 0 0 0 @@ -217555,10 +219432,10 @@ _Z19frame_stats_on_flipv 0 0 0 -10027 -1739 -14086 -1743 +10409 +1751 +14034 +1751 0 0 # Num Value Kinds: @@ -217568,14 +219445,14 @@ _Z19frame_stats_on_flipv # NumValueSites: 5 2 -9:3320 -16:2728 +9:3636 +16:2886 2 -9:1742 -16:1229 +9:2042 +16:1422 2 -9:5375 -16:4219 +9:6254 +16:5189 0 0 @@ -217635,7 +219512,7 @@ _Z19gx_depth_stencil_idy # Num Counters: 15 # Counter Values: -102002914 +101673543 0 0 0 @@ -217972,11 +219849,11 @@ _Z19hle_gx_arena_markery # Num Counters: 5 # Counter Values: -16162523 -8079008 -16162523 -8083515 -8083515 +16226261 +8110846 +16226261 +8115415 +8115415 _Z19hle_gx_native_tokenyPKjS0_ # Func Hash: @@ -217984,13 +219861,13 @@ _Z19hle_gx_native_tokenyPKjS0_ # Num Counters: 456 # Counter Values: -390868325 -1172604975 -1172604975 -1172604975 +383264825 +1149794475 +1149794475 +1149794475 0 0 -49600 +48640 0 0 0 @@ -217999,14 +219876,14 @@ _Z19hle_gx_native_tokenyPKjS0_ 0 0 0 -49600 -24800 +48640 +24320 0 0 0 0 0 -10736016 +10685766 0 0 0 @@ -218016,8 +219893,8 @@ _Z19hle_gx_native_tokenyPKjS0_ 0 0 0 -1407125970 -781736650 +1379753370 +766529650 0 0 0 @@ -218028,56 +219905,59 @@ _Z19hle_gx_native_tokenyPKjS0_ 0 0 0 -12400 +12160 0 -12400 -12400 -12400 -12400 -12400 -12400 -3100 -4650 -12400 -12400 -12400 -12400 -12400 -12400 -12400 -12400 -12400 -12400 +12160 +12160 +12160 +12160 +12160 +12160 +3040 +4560 +12160 +12160 +12160 +12160 +12160 +12160 +12160 +12160 +12160 +12160 +0 +0 +0 +566276452 +389120 +7359 +389120 +1520 +5130 0 0 0 -586050335 -396800 -7581 -396800 -1550 -5274 0 0 0 0 +4560 0 0 +6080 0 -4650 0 0 -6200 0 0 0 +76652965 0 0 +4600 0 -78173665 0 0 -4539 0 0 0 @@ -218088,166 +219968,163 @@ _Z19hle_gx_native_tokenyPKjS0_ 0 0 0 +47 +3510 0 +1520 0 0 -47 -3655 0 -1550 +1520 +1520 0 0 0 -1550 -1550 0 0 0 0 +47 0 0 0 -47 0 0 +76652965 0 0 0 -78173665 0 0 0 0 +61116420 +15536545 0 0 0 -62595179 -15578486 0 0 0 0 0 +57443999 +76652965 0 +76652965 0 0 -59079017 -78173665 +76652965 0 -78173665 +76652965 0 0 -78173665 0 -78173665 0 0 0 +15536545 0 0 +57443999 +19208966 +57443999 0 -15578486 +760 +760 +760 +760 0 +10685766 0 -59079017 -19094648 -59079017 +76652965 0 -775 -775 -775 -775 0 -10736016 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 0 -78173665 0 0 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 0 0 +61116420 +760 +760 +760 +760 +760 +760 +760 +570 +570 0 +760 +760 +760 +15536545 +15536545 0 0 -62595179 -775 -775 -775 -775 -775 -775 -775 -586 -586 +760 0 -775 -775 -775 -15578486 -15578486 -0 -0 -775 -0 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -586 -586 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +570 +570 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 0 -775 -775 +760 +760 0 -775 +760 0 0 0 @@ -218256,72 +220133,72 @@ _Z19hle_gx_native_tokenyPKjS0_ 0 0 0 -775 +760 0 -775 +760 0 0 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -586 -586 -775 -775 -775 -775 -775 -775 -775 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +570 +570 +760 +760 +760 +760 +760 +760 +760 0 -775 -775 -4842470 +760 +760 +4850779 0 -775 -775 +760 +760 0 0 0 0 -775 +760 0 0 -775 -775 -775 -775 -775 -775 -775 -775 -775 -775 -586 -775 -775 -775 -775 +760 +760 +760 +760 +760 +760 +760 +760 +760 +760 +570 +760 +760 +760 +760 0 -775 -775 -775 +760 +760 +760 0 0 0 @@ -218424,18 +220301,18 @@ _Z19hle_gx_native_tokenyPKjS0_ 0 0 0 -775 +760 0 0 -775 +760 0 -7831 -1550 -775 -775 -775 -775 -775 +7723 +1520 +760 +760 +760 +760 +760 0 0 0 @@ -218455,7 +220332,7 @@ _Z19hle_gx_native_unpiny # Num Counters: 1 # Counter Values: -39855132 +41001858 _Z19hle_gx_upload_tokeny # Func Hash: @@ -218463,27 +220340,27 @@ _Z19hle_gx_upload_tokeny # Num Counters: 27 # Counter Values: -1982 +1437 0 0 -1982 +1437 0 0 0 -1129721 -1129721 -1129721 -1129721 +1141387 +1141387 +1141387 +1141387 0 -1982 +1434 0 0 -1129721 -279 -225 -279 -1127514 -224 +1141387 +321 +241 +321 +1139712 +238 0 0 0 @@ -218648,7 +220525,7 @@ _Z19host_bind_take_zoomPb # Num Counters: 1 # Counter Values: -1111019 +1123119 _Z19host_binding_promptiPcy # Func Hash: @@ -218688,7 +220565,7 @@ _Z19host_bindings_applyPKbbR8PadStateiNSt6chrono10time_pointINS3_3_V212steady_cl 0 0 0 -19473675 +19895109 0 0 0 @@ -218703,7 +220580,7 @@ _Z19host_bindings_applyPKbbR8PadStateiNSt6chrono10time_pointINS3_3_V212steady_cl 0 0 0 -499325 +510131 0 0 0 @@ -218755,7 +220632,7 @@ _Z19host_clock_ticks_aty # Counter Values: 0 0 -27007533 +27343541 _Z19host_frame_rate_fitPiPbS_ # Func Hash: @@ -218773,7 +220650,7 @@ _Z19host_futex_wake_allPSt6atomicIjE 2 # Counter Values: 0 -24756804 +24915423 _Z19host_futex_wake_onePSt6atomicIjE # Func Hash: @@ -218782,7 +220659,7 @@ _Z19host_futex_wake_onePSt6atomicIjE 2 # Counter Values: 0 -71654491 +70783794 _Z19host_gpu_clear_viewRK12GpuClearViewbP18GpuClearViewResult # Func Hash: @@ -218792,45 +220669,45 @@ _Z19host_gpu_clear_viewRK12GpuClearViewbP18GpuClearViewResult # Counter Values: 0 0 -1892344 -5170759 -40380 -5170759 +1915168 +5279542 +10324 +5279542 12 -48 +56 0 -4035256 +4101557 0 -4034973 +4101269 0 -2833298 -2508528 -4035256 +2879993 +2542898 +4101557 0 -390240 +409764 0 0 0 0 0 -2833298 -1201958 -745170 -745110 -1201958 +2879993 +1221564 +768130 +768062 +1221564 0 0 -3422031 -9369 -735894 -1854771 +3470937 +11453 +756768 +1890808 0 -1201958 +1221564 0 -1201958 -167065 -543396 -543396 +1221564 +170625 +550846 +550846 0 0 0 @@ -218838,28 +220715,28 @@ _Z19host_gpu_clear_viewRK12GpuClearViewbP18GpuClearViewResult 0 0 0 -153 -288141 -98 -288043 -2833298 +159 +295581 +99 +295482 +2879993 0 0 0 0 0 -1892344 -2833298 +1915168 +2879993 0 0 0 0 0 -288043 -288043 -288043 +295482 +295482 +295482 0 -288043 +295482 0 0 0 @@ -218882,20 +220759,20 @@ _Z19host_gpu_clear_viewRK12GpuClearViewbP18GpuClearViewResult 0 0 0 -1211327 -1947221 +1233017 +1989785 0 -9369 -153 -333833 -1201958 -1201958 -1201958 -167065 -491497 -710461 -98 -122614 +11453 +159 +340948 +1221564 +1221564 +1221564 +170625 +500093 +721471 +99 +126093 0 0 0 @@ -218926,94 +220803,94 @@ _Z19host_gpu_copy_guestyyyyyjj 0 0 0 -376568 -376556 +380455 +380443 0 0 0 0 -1300481 -1300481 -1300481 -1300481 -376550 +1316682 +1316682 +1316682 +1316682 +380437 0 -923940 -905564 -905537 -376568 -905537 -376568 -376568 -376568 -376568 +936254 +913720 +913693 +380455 +913693 +380455 +380455 +380455 +380455 0 -376568 +380455 18 -905537 -376568 -0 -0 -376568 -376568 -376568 -376568 -376568 -376568 -376568 -905537 -376568 -376568 +913693 +380455 +0 +0 +380455 +380455 +380455 +380455 +380455 +380455 +380455 +913693 +380455 +380455 27 -376568 +380455 0 0 0 -905537 -376568 -376568 +913693 +380455 +380455 0 -376568 -376568 +380455 +380455 0 0 0 0 0 -18376 +22534 0 -376568 +380455 0 -905453 +913609 84 -18376 +22534 0 0 0 0 0 -376568 -376568 +380455 +380455 0 -376568 -376568 -376550 -376550 +380455 +380455 +380437 +380437 0 0 0 -376550 -376550 +380437 +380437 0 0 0 -376550 -376550 +380437 +380437 0 -376550 -376550 -376550 -376550 +380437 +380437 +380437 +380437 0 0 0 @@ -219036,13 +220913,13 @@ _Z19host_gpu_copy_guestyyyyyjj 0 0 0 -923940 -18376 +936254 +22534 0 0 0 0 -376568 +380455 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -219050,7 +220927,7 @@ _Z19host_gpu_copy_guestyyyyyjj # NumValueSites: 2 2 -513:376538 +513:380425 16:12 0 @@ -219060,7 +220937,7 @@ _Z19host_gpu_fill_statsB5cxx11v # Num Counters: 1 # Counter Values: -1346 +1359 _Z19host_gpu_integratedv # Func Hash: @@ -219102,15 +220979,15 @@ _Z19host_gpu_ring_placePKvyy # Num Counters: 9 # Counter Values: -26644863 -26644863 -26644863 -26644863 +26694664 +26694664 +26694664 +26694664 0 0 0 -26644863 -26644863 +26694664 +26694664 _Z19host_gpu_run_commitPK7GpuDrawPKyjRj # Func Hash: @@ -219387,7 +221264,7 @@ _Z19host_gpu_work_needsv # Num Counters: 2 # Counter Values: -563613 +573086 0 _Z19host_gpu_zpass_dumpy @@ -219397,25 +221274,25 @@ _Z19host_gpu_zpass_dumpy 33 # Counter Values: 0 -2948296 +2916918 0 -2948296 -2948296 -2948296 -2948296 -2948296 +2916918 +2916918 +2916918 +2916918 +2916918 0 0 -2839930 +2808974 0 0 -2948296 +2916918 0 0 0 -108366 -1474148 -1474148 +107944 +1458459 +1458459 0 0 0 @@ -219427,8 +221304,8 @@ _Z19host_gpu_zpass_dumpy 0 0 12 -1474148 -1474148 +1458459 +1458459 _Z19host_guest_memalignyy # Func Hash: @@ -219465,7 +221342,7 @@ _Z19host_mouse_positionRfS_ # Num Counters: 3 # Counter Values: -202553 +201489 0 0 @@ -219475,7 +221352,7 @@ _Z19host_mouse_relativev # Num Counters: 1 # Counter Values: -2424591 +2447727 _Z19host_opt_frame_ratev # Func Hash: @@ -219580,8 +221457,8 @@ _Z19host_process_cpu_msv # Num Counters: 2 # Counter Values: -1346 -1346 +1359 +1359 _Z19host_test_keys_playPKc # Func Hash: @@ -219704,7 +221581,7 @@ _Z19legacy_cpu_guest_pcy 4 # Counter Values: 0 -354030 +349638 0 0 @@ -219718,7 +221595,7 @@ _Z19legacy_cpu_originalyyPh 0 0 0 -3208 +3222 0 0 0 @@ -219734,9 +221611,9 @@ _Z19legacy_cpu_originalyyPh # NumValueSites: 2 7 -17:1156 +17:1169 7:816 -9:792 +9:793 16:324 6:48 8:48 @@ -219762,7 +221639,7 @@ _Z19main_frames_busy_usv # Num Counters: 6 # Counter Values: -1743 +1751 0 0 0 @@ -220328,6 +222205,14 @@ _Z19register_hle_fn_rawPKcPv 0 0 +_Z19scene_look_drop_hudPKc +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +0 + _Z19scene_look_set_snapj # Func Hash: 491275434249748194 @@ -220352,7 +222237,7 @@ _Z19sfx_instance_updateyyf 130 # Counter Values: 0 -13746578 +13907393 0 0 0 @@ -220361,8 +222246,8 @@ _Z19sfx_instance_updateyyf 0 0 0 -67153825 -60839225 +67157487 +60857903 0 0 0 @@ -220378,7 +222263,7 @@ _Z19sfx_instance_updateyyf 0 0 0 -68429550 +68519682 0 0 0 @@ -220391,7 +222276,7 @@ _Z19sfx_instance_updateyyf 0 0 0 -68480701 +68594335 0 0 0 @@ -220399,7 +222284,7 @@ _Z19sfx_instance_updateyyf 0 0 0 -31226418 +31433309 0 0 0 @@ -220417,19 +222302,19 @@ _Z19sfx_instance_updateyyf 0 0 0 -26741635 +27337084 0 0 -13620909 -44334208 +13795013 +44880366 0 0 0 0 -26873530 +27469295 0 0 -14287559 +14422830 0 0 0 @@ -220480,7 +222365,7 @@ _Z19sfx_instance_updateyyf 0 0 0 -61959886 +62054871 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -220492,11 +222377,11 @@ _Z19sfx_instance_updateyyf 0 0 1 -** External Symbol **:42719942 +** External Symbol **:43328842 1 -** External Symbol **:25789621 +** External Symbol **:26110347 1 -** External Symbol **:44652065 +** External Symbol **:46930353 _Z19texture_origin_nameh # Func Hash: @@ -220513,21 +222398,34 @@ _Z19upscale_jitter_signv # Num Counters: 6 # Counter Values: -138455534 +137087897 10 10 0 0 0 +_Z19world_pause_installP8ElfImage +# Func Hash: +287486627933779116 +# Num Counters: +6 +# Counter Values: +1 +0 +1 +0 +0 +0 + _Z19write_watch_enabledv # Func Hash: 784007059655560962 # Num Counters: 2 # Counter Values: -3871231 -3871231 +2857448 +2857448 _Z19write_watch_installv # Func Hash: @@ -220550,32 +222448,32 @@ _Z19write_watch_releasePvy # Counter Values: 0 0 -1164878 -137572 -11850734 -12907341 -14072366 -1164799 -5494 -1326664 -1326664 -1164882 +1207651 +140364 +12209215 +13220459 +14428663 +1207500 +5838 +1387820 +1387820 +1207653 0 0 -1164882 -1164882 -2751862 -1164882 -2751793 -130337 -135751 +1207653 +1207653 +2747328 +1207653 +2747265 +132533 +138293 0 -2221652 -135821 -2221647 +2219054 +138354 +2219069 0 -1164878 -137572 +1207642 +140362 _Z19yebis_compute_clearyyy # Func Hash: @@ -220583,21 +222481,21 @@ _Z19yebis_compute_clearyyy # Num Counters: 24 # Counter Values: -178878 +182437 222 -178878 -178656 +182437 +182215 222 0 -178878 +182437 0 -178878 -178878 -178878 -178656 +182437 +182437 +182437 +182215 222 0 -178878 +182437 0 0 0 @@ -220614,13 +222512,13 @@ _Z19yebis_compute_clearyyy # NumValueSites: 41 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 0 0 0 @@ -220632,57 +222530,57 @@ _Z19yebis_compute_clearyyy 0 0 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178658 +** External Symbol **:182216 1 ** External Symbol **:222 0 0 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 _Z19yebis_context_flushy # Func Hash: @@ -221568,7 +223466,7 @@ _Z20engine_prologue_hookP8ElfImageyPKhyPvy # Num Counters: 1 # Counter Values: -446 +447 _Z20five_players_installP8ElfImage # Func Hash: @@ -221754,7 +223652,7 @@ _Z20frame_rate_convertedv # Num Counters: 1 # Counter Values: -17658 +21900 _Z20frame_rate_limit_fpsv # Func Hash: @@ -221762,7 +223660,7 @@ _Z20frame_rate_limit_fpsv # Num Counters: 1 # Counter Values: -376559 +380447 _Z20gnm_dead_writer_modey # Func Hash: @@ -222011,7 +223909,7 @@ _Z20hle_gnm_arena_reportB5cxx11v # Counter Values: 0 0 -1346 +1359 0 0 0 @@ -222071,78 +223969,78 @@ _Z20hle_gnm_submit_asynciRKSt6vectorISt4pairIPKvyESaIS3_EESt8functionIFvvEES7_ 0 0 0 -10891645 +10956770 0 0 0 -566374 +575188 0 -10891645 -10891633 +10956770 +10956758 24 0 0 0 -10891633 +10956758 0 0 0 -27 -27 +34 +34 0 0 0 -10891633 +10956758 0 0 -27 +34 0 0 0 0 0 -10891633 +10956758 0 0 0 0 0 -10891618 -15 +10956736 +22 0 -5412451 +5419601 0 0 0 -142358 -142358 -5479167 +141484 +141484 +5537135 0 0 -3189578 -3189553 +3226658 +3226634 0 0 -3189565 +3226646 0 24 -3189577 -566378 -3189573 -566374 -566374 -566374 -3189577 +3226658 +575195 +3226651 +575188 +575188 +575188 +3226658 24 -1594779 -1594779 -1594779 -3189553 +1613321 +1613321 +1613321 +3226634 0 -3189573 +3226651 0 0 -2796356 +2825322 0 0 0 @@ -222330,23 +224228,23 @@ _Z20hle_gx_arena_acquirePyS_ 0 0 0 -8050622 +8088014 0 -8225461 +8247279 0 -141103 +130934 0 12 0 0 0 0 -8183767 -23 -8084331 -8070840 +8203192 +42 +8116333 +8104704 0 -8061295 +8101652 24 0 24 @@ -222401,12 +224299,12 @@ _Z20hle_gx_arena_overlapyyPy # Num Counters: 6 # Counter Values: -35165586 -8083515 -21627050 -8083515 -8083515 -8083515 +35299684 +8115415 +21710080 +8115415 +8115415 +8115415 _Z20hle_gx_shadow_wantedv # Func Hash: @@ -222447,7 +224345,7 @@ _Z20hle_gx_source_windowB5cxx11v 0 0 0 -1346 +1359 0 0 0 @@ -222476,9 +224374,9 @@ _Z20hle_gx_trace_objectsv # Num Counters: 3 # Counter Values: -89278349 -89278349 -12649866 +87857040 +87857040 +12683529 _Z20hle_kernel_dmem_highv # Func Hash: @@ -222518,7 +224416,7 @@ _Z20hle_kernel_va_mappedyy # Num Counters: 1 # Counter Values: -410616891 +414252888 _Z20hle_np_online_statusB5cxx11v # Func Hash: @@ -222686,7 +224584,7 @@ _Z20hle_video_flip_countv # Num Counters: 1 # Counter Values: -1391149184 +1390940438 _Z20host_account_outcomeB5cxx11v # Func Hash: @@ -222729,7 +224627,7 @@ _Z20host_bindings_serialv # Num Counters: 1 # Counter Values: -158431 +157635 _Z20host_fps_frame_startv # Func Hash: @@ -222737,7 +224635,7 @@ _Z20host_fps_frame_startv # Num Counters: 8 # Counter Values: -376739 +380695 0 0 0 @@ -222752,15 +224650,15 @@ _Z20host_gpu_busy_reportB5cxx11v # Num Counters: 9 # Counter Values: -1346 -587 -587 +1359 +598 +598 0 0 0 0 -1334 -587 +1347 +598 _Z20host_gpu_capture_armiPKc # Func Hash: @@ -222824,7 +224722,7 @@ _Z20host_gpu_device_lostv # Num Counters: 1 # Counter Values: -35667 +35845 _Z20host_gpu_draw_windowyPKvj # Func Hash: @@ -222833,9 +224731,9 @@ _Z20host_gpu_draw_windowyPKvj 11 # Counter Values: 72 -21410688 -21410688 -21410616 +21809859 +21809859 +21809787 72 48 12 @@ -222850,9 +224748,9 @@ _Z20host_gpu_draw_windowyPKvj # NumValueSites: 1 4 -129:14162564 -512:7081324 -513:166837 +129:14426312 +512:7213198 +513:170395 65:84 _Z20host_gpu_fsr_upscalePvS_jjjjjjjS_iijj @@ -222923,9 +224821,9 @@ _Z20host_gpu_recorder_nsPyS_ # Num Counters: 3 # Counter Values: -1797 -1761 -1797 +1807 +1770 +1807 _Z20host_gpu_segment_idsyPjPy # Func Hash: @@ -222933,12 +224831,12 @@ _Z20host_gpu_segment_idsyPjPy # Num Counters: 6 # Counter Values: -17134274 -17134262 -1557395 -1557395 -1557395 -1555780 +17110503 +17110491 +1575092 +1575092 +1575091 +1573934 _Z20host_gpu_set_loadingb # Func Hash: @@ -222989,6 +224887,36 @@ _Z20host_opt_output_sizePiS_ 36 36 +_Z20host_plugin_pad_takePKcjj +# Func Hash: +1073436554057874402 +# Num Counters: +12 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + +_Z20host_plugin_pad_testjhhhh +# Func Hash: +844982799463459685 +# Num Counters: +4 +# Counter Values: +1123119 +29694 +0 +0 + _Z20host_present_last_nsPy # Func Hash: 742261418966908927 @@ -223026,7 +224954,7 @@ _Z20host_text_entry_openv # Num Counters: 3 # Counter Values: -1610344 +1633250 0 0 @@ -223187,19 +225115,19 @@ _Z20menu_pointer_in_menuv # Num Counters: 13 # Counter Values: -501622 -0 -0 -1722875 -1722875 -501622 -501622 -1722875 -501622 -1722875 -501622 -1722875 -501622 +528167 +19 +19 +1777829 +1777810 +528167 +528148 +1777810 +528148 +1777810 +528148 +1777829 +528167 _Z20menu_pointer_installP8ElfImage # Func Hash: @@ -223295,8 +225223,8 @@ _Z20mouse_camera_publishfbbb # Num Counters: 12 # Counter Values: -1111019 -1111019 +1123119 +1123119 12 12 12 @@ -223304,7 +225232,7 @@ _Z20mouse_camera_publishfbbb 12 0 0 -1111019 +1123119 0 12 @@ -223322,8 +225250,8 @@ _Z20patch_manifest_owneryy 0 0 0 -17388 -17388 +17928 +17928 _Z20patch_manifests_donev # Func Hash: @@ -223497,7 +225425,7 @@ _Z20scene_look_pixel_cutP8PixelCut # Num Counters: 4 # Counter Values: -191308697 +193099697 0 0 0 @@ -223528,13 +225456,13 @@ _Z20sfx_gx_record_updateyy # Counter Values: 0 0 -19757561 -19788527 -2125 +19736135 +19739162 +2073 0 0 -80940 -80940 +80045 +80045 0 0 0 @@ -223543,7 +225471,7 @@ _Z20sfx_gx_record_updateyy 0 0 0 -41933 +41056 0 0 0 @@ -223551,16 +225479,16 @@ _Z20sfx_gx_record_updateyy 0 0 0 -41933 +41056 0 0 0 0 -41933 +41056 0 0 -41933 -41933 +41056 +41056 0 0 0 @@ -223628,9 +225556,9 @@ _Z20sfx_gx_record_updateyy 0 0 1 -** External Symbol **:18944758 +** External Symbol **:18929916 1 -** External Symbol **:41933 +** External Symbol **:41056 _Z20shader_patch_touchesRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -223638,11 +225566,11 @@ _Z20shader_patch_touchesRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Num Counters: 5 # Counter Values: -13842 -13818 -13842 -13842 -4622 +9224 +9212 +9224 +9224 +4618 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -223650,7 +225578,7 @@ _Z20shader_patch_touchesRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # NumValueSites: 1 1 -8:13842 +8:9224 _Z20texture_origin_statsPyS_S_ # Func Hash: @@ -223710,56 +225638,56 @@ _Z20write_watch_on_faultybPKy # Counter Values: 0 0 -436046 -0 -1611 +440962 0 -354039 +1708 +3 +349646 0 0 -349634 -735 +345400 +734 1 0 0 -436045 -2830792 -436046 -2830824 -788710 -436673 -353952 -788728 -436632 -788706 -436646 -353925 -353935 -353933 -353939 -353836 -353930 -354038 -115561 -354039 -353833 +440962 +2795240 +440962 +2795296 +789217 +441500 +349590 +789253 +441511 +789270 +441516 +349555 +349556 +349560 +349564 +349377 +349540 +349648 +117559 +349647 +349377 0 0 -354039 -353832 +349647 +349380 0 0 0 0 -353949 +349572 0 0 0 -354039 -354037 +349646 +349644 0 -436045 -1611 +440958 +1708 _Z20yebis_gnm_draw_indexyyyyy # Func Hash: @@ -223767,7 +225695,7 @@ _Z20yebis_gnm_draw_indexyyyyy # Num Counters: 2 # Counter Values: -7081624 +7213542 0 # Num Value Kinds: 1 @@ -223888,7 +225816,7 @@ _Z21bb_memory_local_bytesv # Num Counters: 3 # Counter Values: -1977473 +2004503 0 0 @@ -223898,8 +225826,8 @@ _Z21bbsuite_layer_presentv # Num Counters: 15 # Counter Values: -288712164 -288722525 +289053147 +289070006 7 7 7 @@ -223964,7 +225892,7 @@ _Z21decomp_sfx_frame_timefff 3 # Counter Values: 0 -376739 +380695 0 _Z21decomp_sfx_gate_frameb @@ -223973,8 +225901,8 @@ _Z21decomp_sfx_gate_frameb # Num Counters: 2 # Counter Values: -107673 -269066 +108746 +271949 _Z21decomp_sfx_step_frameb # Func Hash: @@ -223982,7 +225910,7 @@ _Z21decomp_sfx_step_frameb # Num Counters: 1 # Counter Values: -376739 +380695 _Z21decomp_water_gate_addv # Func Hash: @@ -224133,8 +226061,8 @@ _Z21graphics_glare_reportB5cxx11v # Num Counters: 2 # Counter Values: -788 -558 +790 +569 _Z21guest_mark_executableP11GuestMemoryyy # Func Hash: @@ -224155,20 +226083,20 @@ _Z21gx_constant_buffer_aty # Num Counters: 15 # Counter Values: -1206561631 -68525973 -68530084 -68530084 -68530084 -68530084 -68530084 -67606055 +1207387558 +68639943 +68643924 +68643924 +68643924 +68643924 +68643924 +67707581 0 0 0 0 -516050713 -516050713 +520265360 +520265360 0 _Z21gx_depth_stencil_descj @@ -224177,9 +226105,9 @@ _Z21gx_depth_stencil_descj # Num Counters: 3 # Counter Values: -126972527 -114328639 -114330869 +126429853 +113753062 +113754447 _Z21gx_immediate_dispatchyyyyy # Func Hash: @@ -224209,14 +226137,14 @@ _Z21gx_resource_by_holderyP14GxResourceInfo # Num Counters: 14 # Counter Values: -116413 -116413 -116413 -116413 +116368 +116368 +116370 +116370 0 -116413 +116370 0 -116413 +116370 0 0 0 @@ -224230,8 +226158,8 @@ _Z21gx_swap_chain_presentyj # Num Counters: 2 # Counter Values: -376559 -376559 +380449 +380449 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -224239,7 +226167,7 @@ _Z21gx_swap_chain_presentyj # NumValueSites: 1 1 -** External Symbol **:376560 +** External Symbol **:380450 _Z21hle_fs_overlay_reportB5cxx11v # Func Hash: @@ -224247,8 +226175,8 @@ _Z21hle_fs_overlay_reportB5cxx11v # Num Counters: 2 # Counter Values: -1136 -210 +1132 +227 _Z21hle_gnm_arena_monitorv # Func Hash: @@ -224256,7 +226184,7 @@ _Z21hle_gnm_arena_monitorv # Num Counters: 1 # Counter Values: -25047838 +25143056 _Z21hle_gnm_detach_equeueP10HostEqueue # Func Hash: @@ -224306,12 +226234,12 @@ _Z21hle_gnm_flush_reasonsB5cxx11v # Num Counters: 19 # Counter Values: -344576 +347904 0 0 -1346 -1346 -1346 +1359 +1359 +1359 0 0 0 @@ -224332,9 +226260,9 @@ _Z21hle_gnm_list_split_ofjPKjy # Num Counters: 3 # Counter Values: -368051 -368049 -368050 +384076 +384073 +384074 _Z21hle_gnm_retired_totalv # Func Hash: @@ -224342,7 +226270,7 @@ _Z21hle_gnm_retired_totalv # Num Counters: 1 # Counter Values: -182985 +187399 _Z21hle_guest_pool_reportv # Func Hash: @@ -224597,19 +226525,19 @@ _Z21hle_gx_dispatch_tokeny # Num Counters: 21 # Counter Values: -11598855 -5412799 -11598855 -11598855 -11598855 -2497 -773257 -773257 -773257 +11632260 +5428388 +11632260 +11632260 +11632260 +2217 +775484 +775484 +775484 0 0 -773257 -174404 +775484 +177611 24 0 0 @@ -224641,8 +226569,8 @@ _Z21hle_gx_native_releasev # Num Counters: 7 # Counter Values: -78173661 -78173661 +76652961 +76652961 0 0 0 @@ -224731,47 +226659,47 @@ _Z21hle_video_finish_flipiixb 97 # Counter Values: 0 -33142 -12248 +33266 +12386 0 0 -376552 -38724 -343165 -1 -1 -1 -33387 -343165 +380440 +39183 +346915 +2 +2 +2 +33525 +346915 0 0 -33387 -1 +33525 +2 0 -343152 -1 +346901 +2 0 -33387 +33525 0 -33387 +33525 12 -49021 -337819 +49554 +341247 0 -33387 -1 +33525 +2 0 0 4 -33387 +33525 4 -12248 +12386 12 12 0 8 0 -4768 +4790 0 0 0 @@ -224819,14 +226747,14 @@ _Z21hle_video_finish_flipiixb 0 0 0 -376552 -376552 -33387 +380440 +380440 +33525 4 -245 -343165 +259 +346915 8 -1 +2 _Z21hle_video_set_fps_capi # Func Hash: @@ -224924,22 +226852,22 @@ _Z21host_binding_in_menusi # Num Counters: 16 # Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +39 +7 +24 _Z21host_desktop_max_sizePiS_ # Func Hash: @@ -224968,7 +226896,7 @@ _Z21host_futex_wake_one64PSt6atomicIyE # Num Counters: 1 # Counter Values: -1331967 +1336058 _Z21host_gpu_blit_displayPvyS_iijjjjjjS_Pb # Func Hash: @@ -224996,24 +226924,24 @@ _Z21host_gpu_counter_copyyyy # Num Counters: 24 # Counter Values: -508165 -508165 -508165 -508165 -508165 -508165 -508165 -508165 -508165 -508165 -508165 -508165 -508165 -508165 -508165 -508165 -508165 -508165 +504288 +504288 +504288 +504288 +504288 +504288 +504288 +504288 +504288 +504288 +504288 +504288 +504288 +504288 +504288 +504288 +504288 +504288 0 0 0 @@ -225398,7 +227326,7 @@ _Z21host_gpu_gds_countersv # Num Counters: 4 # Counter Values: -2060588 +2057201 12 12 0 @@ -225410,7 +227338,7 @@ _Z21host_gpu_gds_subgroupv 4 # Counter Values: 1152 -16 +15 12 0 @@ -225496,7 +227424,7 @@ _Z21host_gpu_glitch_watchyy 0 0 0 -376542 +380429 0 0 0 @@ -225603,8 +227531,8 @@ _Z21host_gpu_home_coveredyyi # Num Counters: 6 # Counter Values: -971549 -971112 +971560 +971127 0 0 0 @@ -225616,10 +227544,10 @@ _Z21host_gpu_import_waitsPyS_ # Num Counters: 4 # Counter Values: -1140333 -380111 -380111 -380111 +1152051 +384017 +384017 +384017 _Z21host_gpu_memory_tightv # Func Hash: @@ -225751,7 +227679,7 @@ _Z21host_gpu_splice_unfedj # Num Counters: 1 # Counter Values: -978046 +954940 _Z21host_graphics_modulesB5cxx11v # Func Hash: @@ -225778,9 +227706,9 @@ _Z21host_options_save_nowv _Z21host_options_selftestRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: -1080302068889435014 +454197249614273939 # Num Counters: -55 +57 # Counter Values: 0 0 @@ -225837,6 +227765,8 @@ _Z21host_options_selftestRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 0 0 0 +0 +0 _Z21host_options_set_openb # Func Hash: @@ -225871,6 +227801,36 @@ _Z21host_overlay_shutdownP10VkDevice_T 0 0 +_Z21host_plugin_pad_framev +# Func Hash: +238984481941143025 +# Num Counters: +3 +# Counter Values: +41560 +0 +0 + +_Z21host_plugin_take_dropPKc +# Func Hash: +776814509083759650 +# Num Counters: +13 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + _Z21host_set_deck_profilei # Func Hash: 78193996199036750 @@ -225924,9 +227884,9 @@ _Z21host_thread_cpu_ns_ofy # Num Counters: 3 # Counter Values: -4767 -4755 -4755 +4801 +4789 +4789 _Z21host_thread_set_class15HostThreadClassPKc # Func Hash: @@ -226133,7 +228093,7 @@ _Z21main_thread_waited_nsi # Num Counters: 1 # Counter Values: -5229 +5253 _Z21note_arena_handed_outy # Func Hash: @@ -226175,52 +228135,52 @@ _Z21patch_manifests_applyP8ElfImage # Num Counters: 456 # Counter Values: -2573 -2573 +2537 +2537 0 156 0 -262194 +259425 38 24 0 24 0 -66 +69 0 83 -23069 +22889 240 0 0 0 3597 -14345 +14165 0 -2611 -23069 +2575 +22889 0 0 5 486 -18024 -2611 -18029 +17844 +2575 +17849 756 5 486 0 109 0 -17988 +17808 0 5 -11376 +11628 0 0 5 0 -2611 +2575 5 4056 4056 @@ -226230,7 +228190,7 @@ _Z21patch_manifests_applyP8ElfImage 0 38 0 -2611 +2575 0 0 5 @@ -226240,7 +228200,7 @@ _Z21patch_manifests_applyP8ElfImage 0 156 0 -2573 +2537 0 0 0 @@ -226249,15 +228209,15 @@ _Z21patch_manifests_applyP8ElfImage 0 5 38 -2611 +2575 0 0 0 0 0 0 -2417 -2417 +2381 +2381 156 156 109 @@ -226616,13 +228576,13 @@ _Z21patch_manifests_applyP8ElfImage 0 12 0 -39 -39 +41 +41 0 0 -194439 -194439 -6636 +193157 +193157 +6204 1 1 0 @@ -226684,7 +228644,7 @@ _Z21patch_manifests_applyP8ElfImage 0 15 1:690 -5:420 +5:384 4:360 2:324 7:192 @@ -226700,7 +228660,7 @@ _Z21patch_manifests_applyP8ElfImage 257:12 15 1:690 -5:420 +5:384 4:360 2:324 7:192 @@ -226721,8 +228681,8 @@ _Z21patch_manifests_applyP8ElfImage 6:1 15 1:689 -5:396 4:360 +5:360 2:324 7:192 33:144 @@ -226736,7 +228696,7 @@ _Z21patch_manifests_applyP8ElfImage 64:24 257:12 2 -9:14556 +9:14376 16:3432 1 9:5 @@ -226861,13 +228821,21 @@ _Z21render_scale_retargetjjjjyP11RenderScaleS0_ 1 0 +_Z21scene_look_hud_hiddenv +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +125644982 + _Z21scene_look_object_cutv # Func Hash: 742261418966908927 # Num Counters: 1 # Counter Values: -11283154 +11222926 _Z21scene_look_set_ditherj # Func Hash: @@ -226884,8 +228852,8 @@ _Z21scene_look_snap_cellsjjPfS_ # Num Counters: 3 # Counter Values: -9382376 -9382318 +10114834 +10115227 0 _Z21sf_heap_probe_installP8ElfImage @@ -226971,7 +228939,7 @@ _Z21sfx_wind_sources_stepyf # Num Counters: 7 # Counter Values: -376318 +380227 0 0 0 @@ -226985,7 +228953,7 @@ _Z21sfx_wind_sources_stepyf # NumValueSites: 1 1 -** External Symbol **:376318 +** External Symbol **:380227 _Z21shader_compile_adviceRK16ShaderCacheStatebj # Func Hash: @@ -227236,10 +229204,10 @@ _Z21upscaler_jitter_sizedijjjPfS_ # Counter Values: 0 0 -45592 +45190 0 -45592 -45592 +45190 +45190 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -227247,7 +229215,7 @@ _Z21upscaler_jitter_sizedijjjPfS_ # NumValueSites: 1 1 -** External Symbol **:45592 +** External Symbol **:45190 _Z21world_lamp_warp_queuei # Func Hash: @@ -227298,7 +229266,7 @@ _Z21write_watch_fault_seqv # Num Counters: 1 # Counter Values: -5 +9 _Z22ImFontAtlasPackAddRectP11ImFontAtlasiiP20ImFontAtlasRectEntry # Func Hash: @@ -227452,29 +229420,29 @@ _Z22SprjEmkEventIns_UpdatePN2bb15SprjEmkEventInsEPKNS_7FD4TimeE 24 # Counter Values: 0 -302 -278150 +303 +278211 0 -1828 +1830 0 -114931864 +114314528 0 0 0 -194908 -194823 -192637 -114931864 -1828 +194927 +194842 +192656 +114314528 +1830 0 -1828 +1830 0 -114932609 +114315272 12 85 -1816 +1818 2186 -115099480 +114482160 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -227482,20 +229450,20 @@ _Z22SprjEmkEventIns_UpdatePN2bb15SprjEmkEventInsEPKNS_7FD4TimeE # NumValueSites: 9 1 -** External Symbol **:114932609 +** External Symbol **:114315342 1 -** External Symbol **:1828 +** External Symbol **:1830 1 -** External Symbol **:1816 +** External Symbol **:1818 1 -** External Symbol **:1828 +** External Symbol **:1830 1 ** External Symbol **:85 0 1 -** External Symbol **:194823 +** External Symbol **:194842 1 -** External Symbol **:194823 +** External Symbol **:194842 1 ** External Symbol **:2186 @@ -227505,20 +229473,20 @@ _Z22bb_memory_owner_totalsv # Num Counters: 20 # Counter Values: -7836 -11754 -124 -3918 -3918 +7956 +11934 +123 +3978 +3978 0 0 -3918 -566 -228 -228 -228 -104 -124 +3978 +576 +231 +231 +231 +108 +123 0 0 0 @@ -227532,30 +229500,30 @@ _Z22bb_memory_sites_reportB5cxx11v # Num Counters: 43 # Counter Values: -2653 -1346 +2513 +1359 96 -26158 -26158 -5384 -26158 -12434 -9083 -18861 -13724 -18861 -4790 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -0 -0 -1346 -1250 +26408 +26408 +5436 +26408 +12548 +9168 +18896 +13860 +18896 +4833 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +0 +0 +1359 +1263 96 0 0 @@ -227582,9 +229550,9 @@ _Z22bb_memory_test_limitedPyS_ # Num Counters: 5 # Counter Values: -1956698 -1956698 -1956698 +1983631 +1983631 +1983631 0 0 @@ -227594,8 +229562,8 @@ _Z22change_appearance_tickv # Num Counters: 20 # Counter Values: -376739 -376739 +380698 +380698 0 0 0 @@ -227758,20 +229726,20 @@ _Z22frame_stats_main_frameyy 0 0 0 -376739 -376739 +380698 +380698 0 -361959 +365854 0 -565 -565 -14780 -565 +435 +435 +14844 +435 0 0 -565 -565 -565 +435 +435 +435 0 0 0 @@ -227794,7 +229762,7 @@ _Z22frame_stats_main_frameyy 0 0 0 -565 +435 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -227835,9 +229803,9 @@ _Z22gnm_wait_on_ce_countery _Z22graphics_patch_installP8ElfImage # Func Hash: -509264920696691366 +917615248381972899 # Num Counters: -136 +140 # Counter Values: 0 24 @@ -227859,6 +229827,7 @@ _Z22graphics_patch_installP8ElfImage 0 0 0 +0 12 0 0 @@ -227886,6 +229855,7 @@ _Z22graphics_patch_installP8ElfImage 0 0 0 +0 12 0 12 @@ -227907,6 +229877,7 @@ _Z22graphics_patch_installP8ElfImage 0 0 0 +0 12 12 0 @@ -227920,6 +229891,7 @@ _Z22graphics_patch_installP8ElfImage 0 0 0 +0 12 0 0 @@ -227982,13 +229954,13 @@ _Z22gx_command_buffer_flipyyyyy # Num Counters: 8 # Counter Values: -3012416 -56 -376559 -376559 -376559 -110 -7 +3043512 +64 +380447 +380447 +380447 +127 +8 0 # Num Value Kinds: 1 @@ -227997,12 +229969,12 @@ _Z22gx_command_buffer_flipyyyyy # NumValueSites: 4 1 -** External Symbol **:110 +** External Symbol **:127 1 -** External Symbol **:376560 +** External Symbol **:380448 0 1 -** External Symbol **:376560 +** External Symbol **:380448 _Z22gx_finish_command_listyyy # Func Hash: @@ -228010,9 +229982,9 @@ _Z22gx_finish_command_listyyy # Num Counters: 3 # Counter Values: -11552898 -11538687 -11542404 +11652959 +11640049 +11645252 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -228020,7 +229992,7 @@ _Z22gx_finish_command_listyyy # NumValueSites: 1 1 -** External Symbol **:11548607 +** External Symbol **:11648783 _Z22gx_flush_output_mergeryyy # Func Hash: @@ -228243,11 +230215,11 @@ _Z22hle_gx_native_pin_copyyR13GpuDrawInputsR13GxDrawObjectsPb # Num Counters: 7 # Counter Values: -40153967 -40155285 -39864721 -39864542 -37 +41263433 +41263500 +41005642 +41005720 +463 0 0 @@ -228257,15 +230229,15 @@ _Z22hle_gx_native_prefetchyb # Num Counters: 9 # Counter Values: -3052043752 -549361457 -72855408 -177792608 -72503622 -72502850 -72502850 -54288998 -18213852 +3039546579 +529975979 +73281192 +175848002 +71017216 +71016637 +71016637 +52696339 +18320298 _Z22hle_gx_scaleform_checkjyjjjPKjS0_ # Func Hash: @@ -228281,31 +230253,31 @@ _Z22hle_gx_scaleform_tokeny # Num Counters: 46 # Counter Values: -95743 -13193500 -12106232 +106847 +13234601 +12132457 0 0 -12106232 -14538631 -12106232 -25299732 +12132457 +14562207 +12132457 +25367058 0 0 -25299732 -14538631 -12106232 -14538631 -14538631 -12649866 -14538631 -14538631 +25367058 +14562207 +12132457 +14562207 +14562207 +12683529 +14562207 +14562207 0 -12649866 -12649866 +12683529 +12683529 0 0 -12649866 +12683529 0 0 0 @@ -228323,7 +230295,7 @@ _Z22hle_gx_scaleform_tokeny 0 0 0 -12649866 +12683529 0 0 0 @@ -228400,7 +230372,7 @@ _Z22hle_kernel_va_readableyy # Num Counters: 1 # Counter Values: -788835485 +787134952 _Z22hle_kernel_write_watchyyR10WriteWatch # Func Hash: @@ -228408,17 +230380,17 @@ _Z22hle_kernel_write_watchyyR10WriteWatch # Num Counters: 15 # Counter Values: -21098759 -19165306 -19165306 -21098091 -11587921 -11587921 -1933453 -1933453 -1933453 -1933453 -1933453 +15580010 +14153560 +14153560 +15579374 +8545700 +8545700 +1426450 +1426450 +1426450 +1426450 +1426450 0 0 0 @@ -228531,7 +230503,7 @@ _Z22host_clock_realtime_nsv # Num Counters: 1 # Counter Values: -3999148867 +4032995788 _Z22host_effect_timing_rowv # Func Hash: @@ -228775,8 +230747,8 @@ _Z22host_gpu_pipeline_workPy # Num Counters: 2 # Counter Values: -2259354 -376559 +2282682 +380447 _Z22host_gpu_set_write_tagyPKj # Func Hash: @@ -228784,7 +230756,7 @@ _Z22host_gpu_set_write_tagyPKj # Num Counters: 1 # Counter Values: -3189508 +3226575 _Z22host_gpu_shadow_reportB5cxx11v # Func Hash: @@ -228792,7 +230764,7 @@ _Z22host_gpu_shadow_reportB5cxx11v # Num Counters: 4 # Counter Values: -1346 +1359 0 0 0 @@ -228804,17 +230776,17 @@ _Z22host_gpu_splice_reportB5cxx11b 90 # Counter Values: 0 -8976 -7106 -8976 -7106 -1819 -1819 -1764 -1764 -8688 -6878 -2172 +9072 +7182 +9072 +7182 +1871 +1871 +1797 +1797 +8784 +6954 +2196 0 0 0 @@ -228826,22 +230798,22 @@ _Z22host_gpu_splice_reportB5cxx11b 0 0 0 -374 -374 -374 -374 -374 -374 +378 +378 +378 +378 +378 +378 0 0 0 0 -338 -134 -374 -362 -362 -374 +359 +135 +378 +366 +366 +378 0 0 0 @@ -228884,12 +230856,12 @@ _Z22host_gpu_splice_reportB5cxx11b 0 0 0 -260 -260 +244 +244 0 -268 -36 -1098 +264 +19 +1126 0 0 0 @@ -228908,8 +230880,8 @@ _Z22host_gpu_upload_regionyPKjjjjjjjPKvyj # Num Counters: 5 # Counter Values: -1129723 -1129724 +1141387 +1141387 0 0 0 @@ -228945,7 +230917,7 @@ _Z22host_gpu_watch_displayy 0 0 0 -376541 +380429 0 0 0 @@ -229245,10 +231217,10 @@ _Z22host_opt_motion_wantedv # Num Counters: 4 # Counter Values: -17783768 -1564166 -1564083 -1564161 +17708173 +1555012 +1554957 +1555074 _Z22host_opt_set_frame_capi # Func Hash: @@ -229474,17 +231446,58 @@ _Z22host_pad_capture_inputi 0 0 -_Z22host_plugin_input_takePKtyjbb +_Z22host_plugin_input_takePKcPKtyjbb # Func Hash: -287486625702124563 +465903121831903951 # Num Counters: -5 +39 # Counter Values: 0 0 0 0 0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 _Z22host_thread_backgroundv # Func Hash: @@ -229616,7 +231629,7 @@ _Z22mouse_camera_installedv # Num Counters: 1 # Counter Values: -499325 +510131 _Z22ppfx_initialize_matrixyj # Func Hash: @@ -229624,7 +231637,7 @@ _Z22ppfx_initialize_matrixyj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -229632,7 +231645,7 @@ _Z22ppfx_initialize_matrixyj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z22render_hooks_plugin_onRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb # Func Hash: @@ -230172,7 +232185,7 @@ _Z22upscaler_fsr3_overridev 3 # Counter Values: 0 -39884 +38656 0 _Z22upscaler_instance_done8VkResult @@ -230198,22 +232211,22 @@ _Z22write_watch_arm_lockedyyR10WriteWatch # Num Counters: 45 # Counter Values: -28815 -7405455 -7405455 +29580 +7602060 +7602060 0 0 -63002365 -1945392 -63002365 -63002365 -113 -113 -113 -1945392 -1945392 +46769634 +1438566 +46769634 +46769634 +116 +116 +116 +1438566 +1438566 0 -1945392 +1438566 12 0 0 @@ -230469,7 +232482,7 @@ _Z23decomp_water_step_frameb # Num Counters: 1 # Counter Values: -376739 +380695 _Z23event_flag_take_changesP15EventFlagChangeyPy # Func Hash: @@ -230509,28 +232522,45 @@ _Z23frame_rate_install_lateP8ElfImage 1 0 +_Z23graphics_look_availablev +# Func Hash: +174542565000403838 +# Num Counters: +10 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + _Z23gx_command_buffer_flushy # Func Hash: 846409311926511441 # Num Counters: 18 # Counter Values: -4356 -4197 -8712 -4356 -4197 +4420 +4233 +8840 +4420 +4233 0 -34848 +35360 0 -4197 +4233 0 -688487465 -4716 -4356 -4356 -4356 -4356 +690035068 +4766 +4420 +4420 +4420 +4420 0 0 # Num Value Kinds: @@ -230540,18 +232570,18 @@ _Z23gx_command_buffer_flushy # NumValueSites: 8 1 -** External Symbol **:4197 +** External Symbol **:4233 1 -** External Symbol **:4356 +** External Symbol **:4420 0 1 -** External Symbol **:4356 +** External Symbol **:4420 1 -** External Symbol **:4356 +** External Symbol **:4420 0 0 1 -** External Symbol **:4356 +** External Symbol **:4420 _Z23gx_depth_stencil_mergedjj # Func Hash: @@ -230592,21 +232622,21 @@ _Z23gx_resource_overlappingyyP14GxResourceInfo # Num Counters: 24 # Counter Values: -875130 -4932 -54172 +870868 +4655 +54123 0 -891 -891 -891 -55899 -54360 -4932 -4932 -4932 -4932 -891 -1539 +871 +871 +871 +55727 +54306 +4655 +4655 +4655 +4655 +871 +1421 96 0 0 @@ -230614,8 +232644,8 @@ _Z23gx_resource_overlappingyyP14GxResourceInfo 0 0 0 -62564 -62564 +58325 +58325 _Z23hle_fs_log_recent_opensv # Func Hash: @@ -230640,7 +232670,7 @@ _Z23hle_gnm_submitted_totalv # Num Counters: 1 # Counter Values: -19556469 +19464299 _Z23hle_gx_count_copy_tokenyPyS_Pb # Func Hash: @@ -230648,10 +232678,10 @@ _Z23hle_gx_count_copy_tokenyPyS_Pb # Num Counters: 9 # Counter Values: -55136 -508165 -508165 -508165 +59328 +504288 +504288 +504288 0 0 0 @@ -230672,11 +232702,11 @@ _Z23hle_gx_image_copy_tokeny # Num Counters: 10 # Counter Values: -106480 -767628 -767628 -767628 -767628 +109777 +791127 +791127 +791127 +791127 0 0 0 @@ -230967,20 +232997,20 @@ _Z23hle_gx_yebis_token_drawyP11GxYebisDraw # Num Counters: 21 # Counter Values: -13106 -13106 -13106 -7081282 -7081282 -7081282 +14074 +14074 +14074 +7213155 +7213155 +7213155 0 -7081282 -7081282 -7081282 -7081282 -7081282 -7081282 -7081282 +7213155 +7213155 +7213155 +7213155 +7213155 +7213155 +7213155 0 0 0 @@ -230995,7 +233025,7 @@ _Z23hle_kernel_va_mapped_inyyPyS_ # Num Counters: 1 # Counter Values: -103155028 +102757077 _Z23hle_video_detach_equeueP10HostEqueue # Func Hash: @@ -231015,11 +233045,11 @@ _Z23hle_video_pacing_windowB5cxx11v # Num Counters: 17 # Counter Values: -1346 -1346 -1346 -1346 -1346 +1359 +1359 +1359 +1359 +1359 0 0 0 @@ -231028,10 +233058,10 @@ _Z23hle_video_pacing_windowB5cxx11v 0 0 0 -6 -1209 -1205 -1346 +7 +1218 +1216 +1359 _Z23hle_video_set_game_pacei # Func Hash: @@ -231165,7 +233195,7 @@ _Z23host_clock_monotonic_nsv # Num Counters: 2 # Counter Values: -366036912 +358933422 0 _Z23host_desktop_refresh_hzv @@ -231213,15 +233243,15 @@ _Z23host_gpu_compile_reportB5cxx11v # Num Counters: 40 # Counter Values: -129 -129 +128 +128 0 0 -129 -129 +128 +128 0 -1346 -1217 +1359 +1231 0 0 0 @@ -231249,8 +233279,8 @@ _Z23host_gpu_compile_reportB5cxx11v 0 0 0 -129 -129 +128 +128 0 0 @@ -231269,7 +233299,7 @@ _Z23host_gpu_frame_recordedv # Num Counters: 1 # Counter Values: -376552 +380440 _Z23host_gpu_gx_buffer_goneyy # Func Hash: @@ -231277,7 +233307,7 @@ _Z23host_gpu_gx_buffer_goneyy # Num Counters: 1 # Counter Values: -22547 +22596 _Z23host_gpu_gx_buffer_madeyyhhy # Func Hash: @@ -231285,7 +233315,7 @@ _Z23host_gpu_gx_buffer_madeyyhhy # Num Counters: 1 # Counter Values: -870328 +870380 _Z23host_gpu_list_committedy # Func Hash: @@ -231293,9 +233323,9 @@ _Z23host_gpu_list_committedy # Num Counters: 3 # Counter Values: -15578495 -15578483 -15286421 +15536580 +15536568 +15270057 _Z23host_gpu_profile_reportB5cxx11v # Func Hash: @@ -231362,71 +233392,7 @@ _Z23host_gpu_profile_reportB5cxx11v 0 0 0 -1346 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +1359 0 0 0 @@ -231467,73 +233433,22 @@ _Z23host_gpu_profile_reportB5cxx11v 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 0 - -_Z23host_gpu_ps_wave_reportB5cxx11v -# Func Hash: -742261418966908927 -# Num Counters: -1 -# Counter Values: -1346 - -_Z23host_gpu_recorder_pacedyfb -# Func Hash: -1041605785986918276 -# Num Counters: -70 -# Counter Values: -376739 0 -376703 0 -12 -4755 0 0 -4755 -4740 0 0 0 -33 -29 -29 -26 -33 -29 -29 -33 0 -29 0 0 0 -29 -7 0 -33 -29 -29 -29 -29 -29 -29 -29 -25 -25 0 -3 0 0 -12 -12 0 0 0 @@ -231550,80 +233465,15 @@ _Z23host_gpu_recorder_pacedyfb 0 0 0 -376739 -376739 -373738 -4755 -4752 -2669 -29 -29 -20 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -2 -2 -4:25 -3:4 -3 -4:25 -5:3 -3:1 - -_Z23host_gpu_segment_reportB5cxx11b -# Func Hash: -345359791229078894 -# Num Counters: -22 -# Counter Values: -2618 -2618 -4488 -612 -612 -374 -374 -374 -374 -374 -748 -134 -374 0 0 0 0 0 0 -240 -240 -374 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 0 - -_Z23host_gpu_shader_backlogv -# Func Hash: -784007059655560962 -# Num Counters: -2 -# Counter Values: 0 0 - -_Z23host_gpu_splice_comparey -# Func Hash: -1116937486459769519 -# Num Counters: -61 -# Counter Values: 0 0 0 @@ -231647,22 +233497,73 @@ _Z23host_gpu_splice_comparey 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 0 + +_Z23host_gpu_ps_wave_reportB5cxx11v +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +1359 + +_Z23host_gpu_recorder_pacedyfb +# Func Hash: +1041605785986918276 +# Num Counters: +70 +# Counter Values: +380695 0 +380659 0 +12 +4789 0 0 +4789 +4776 0 0 0 +46 +42 +42 +28 +46 +42 +42 +46 0 +42 0 0 0 +42 +18 0 +46 +42 +42 +42 +42 +42 +42 +42 +40 +39 0 +3 0 0 +12 +12 0 0 0 @@ -231679,12 +233580,56 @@ _Z23host_gpu_splice_comparey 0 0 0 +380695 +380695 +377690 +4789 +4788 +2676 +42 +42 +19 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +2 +2 +4:40 +3:2 +2 +4:39 +5:3 + +_Z23host_gpu_segment_reportB5cxx11b +# Func Hash: +345359791229078894 +# Num Counters: +22 +# Counter Values: +2646 +2646 +4536 +619 +619 +378 +378 +378 +378 +378 +756 +135 +378 0 0 0 0 0 0 +243 +243 +378 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -231693,144 +233638,228 @@ _Z23host_gpu_splice_comparey 1 0 -_Z23host_gpu_splice_segmentyy +_Z23host_gpu_shader_backlogv # Func Hash: -1024772521535358425 +784007059655560962 # Num Counters: -135 +2 # Counter Values: 0 0 -1555780 -1555780 + +_Z23host_gpu_splice_comparey +# Func Hash: +1116937486459769519 +# Num Counters: +61 +# Counter Values: 0 -97233 -97233 -97233 -97233 0 0 0 -1555780 0 -1555780 0 -1555780 -4403282 0 0 -1555780 0 0 0 0 -1555780 -151879021 0 0 -1555780 0 -1555780 -1555780 -1555780 0 0 0 -195574 -231454 -1555780 -71063561 -19004920 0 0 0 -37 -19004920 -329922 -329922 0 -19004920 0 0 0 0 -4403282 0 -1555780 0 -4403282 -1555780 -20459261 -20459261 0 0 0 -20459261 0 -1555693 0 0 -1555776 -195574 -231454 -9369180 0 0 0 0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +_Z23host_gpu_splice_segmentyy +# Func Hash: +1024772521535358425 +# Num Counters: +135 +# Counter Values: +0 +2 +1573934 +1573934 +0 +98366 +98366 +98366 +98366 +0 +1 +0 +1573933 +0 +1573933 +0 +1573933 +4407564 +0 +0 +1573933 +0 +0 +0 +0 +1573933 +151175730 +0 +0 +1573933 +5 +1573933 +1573933 +1573933 +0 +0 +0 +209118 +241641 +1573933 +74125488 +18912692 +0 +0 +0 +174 +18912692 +446131 +446131 +0 +18912692 +78 +0 +0 1 +4407564 0 +1573932 0 +4407564 +1573932 +21422225 +21422225 0 0 -3076663 -1555779 0 +21422225 0 +1573838 0 -1555779 0 +1573920 +209118 +241641 +9723507 0 -3076663 -1555779 -7328829 0 0 0 +5 +0 0 -24597877 0 0 -1555779 +3119598 +1573922 +5 +0 0 +1573922 0 0 -1555779 +3119598 +1573922 +7642824 0 -1555779 -1555779 -1555779 0 -1555779 -1555776 -97233 0 0 +25758412 0 0 +1573922 0 0 0 +1573922 0 +1573922 +1573922 +1573922 0 +1573922 +1573920 +98366 0 0 0 -97233 -1555780 0 -76176693 -76176693 +0 +0 +0 +0 +0 +0 +0 +0 +98366 +1573934 +0 +69951232 +69951232 0 0 0 @@ -231848,7 +233877,7 @@ _Z23host_gpu_texture_hashesv # Num Counters: 1 # Counter Values: -377905 +381806 _Z23host_gpu_texture_retireyyyy # Func Hash: @@ -231856,7 +233885,7 @@ _Z23host_gpu_texture_retireyyyy # Num Counters: 1 # Counter Values: -49207 +49143 _Z23host_gpu_wait_completedyy # Func Hash: @@ -231864,18 +233893,18 @@ _Z23host_gpu_wait_completedyy # Num Counters: 12 # Counter Values: -1187070 +1196860 0 -1186899 -1187083 +1196616 +1196880 0 -1026773 +1038333 0 0 0 0 0 -1187064 +1196850 _Z23host_gpu_wait_submittedy # Func Hash: @@ -231981,7 +234010,7 @@ _Z23host_plugin_taken_wheelv # Num Counters: 1 # Counter Values: -499325 +510131 _Z23host_render_worker_jobsPy # Func Hash: @@ -231997,7 +234026,7 @@ _Z23host_window_display_nowPiS_ # Num Counters: 2 # Counter Values: -376578 +380469 0 _Z23live_resolution_currentPjS_ @@ -232006,9 +234035,9 @@ _Z23live_resolution_currentPjS_ # Num Counters: 3 # Counter Values: -312 -312 -312 +170751 +315 +170751 _Z23live_resolution_go_backv # Func Hash: @@ -232246,7 +234275,7 @@ _Z23menu_pointer_take_pressv # Num Counters: 1 # Counter Values: -611694 +612987 _Z23option_menu_confirm_askj # Func Hash: @@ -232275,12 +234304,12 @@ _Z23option_menu_list_updatePvb 0 0 0 -202577 +201513 0 0 0 0 -202577 +201513 0 0 0 @@ -232401,8 +234430,8 @@ _Z23perf_meter_backlog_waity # Num Counters: 2 # Counter Values: -566374 -566374 +575188 +575188 _Z23render_hooks_registeredv # Func Hash: @@ -232913,7 +234942,7 @@ _Z24decomp_sfx_between_stepsv # Num Counters: 1 # Counter Values: -131224 +131738 _Z24decomp_sfx_node_emit_addv # Func Hash: @@ -232966,7 +234995,7 @@ _Z24framegen_shown_per_framev # Num Counters: 2 # Counter Values: -1094901 +1098288 0 _Z24gnm_ce_reserve_const_ramyjj @@ -232975,10 +235004,10 @@ _Z24gnm_ce_reserve_const_ramyjj # Num Counters: 6 # Counter Values: -500631 -500631 -500631 -500631 +511308 +511308 +511308 +511308 0 0 # Num Value Kinds: @@ -233353,15 +235382,15 @@ _Z24hle_video_note_flip_callx # Num Counters: 9 # Counter Values: -376559 -376559 -376559 +380447 +380447 +380447 0 0 0 0 -376559 -376547 +380447 +380435 _Z24host_bind_note_clear_keyv # Func Hash: @@ -233398,16 +235427,16 @@ _Z24host_bindings_mouse_heldjPb # Num Counters: 10 # Counter Values: -1497975 -19473675 +1530393 +19895109 0 0 0 -499325 +510131 0 0 0 -2496625 +2550655 _Z24host_gpu_device_identityB5cxx11v # Func Hash: @@ -233425,20 +235454,20 @@ _Z24host_gpu_import_prefetchyyhh # Num Counters: 39 # Counter Values: -870328 -870328 +870380 +870380 0 -870328 -10637 -859691 +870380 +10675 +859705 0 0 0 -10637 -10137 +10675 +10172 12 0 -500 +503 0 0 4 @@ -233446,10 +235475,10 @@ _Z24host_gpu_import_prefetchyyhh 0 0 0 -112 +114 0 0 -112 +114 0 0 0 @@ -233462,7 +235491,7 @@ _Z24host_gpu_import_prefetchyyhh 0 0 0 -870328 +870380 0 # Num Value Kinds: 1 @@ -233494,35 +235523,35 @@ _Z24host_gpu_recorder_reportB5cxx11v # Num Counters: 71 # Counter Values: -1322 -1322 -1346 +1333 +1333 +1359 0 0 -1346 -1346 -1322 +1359 +1359 +1333 0 -24 +26 0 -1346 +1359 0 0 -1346 -1346 -1346 -1346 +1359 +1359 +1359 +1359 0 0 -1346 -1346 -1346 -1346 +1359 +1359 +1359 +1359 0 0 -1346 -1346 -1346 +1359 +1359 +1359 0 0 0 @@ -233721,8 +235750,8 @@ _Z24host_gpu_segment_skippedyb # Num Counters: 3 # Counter Values: -24597877 -1537363 +25758412 +1609898 0 _Z24host_gpu_set_predicationyjbb @@ -233792,10 +235821,10 @@ _Z24host_gpu_shadow_gx_writeyy # Num Counters: 8 # Counter Values: -22547 +22596 0 -22547 -22547 +22596 +22596 0 0 0 @@ -234448,7 +236477,7 @@ _Z24host_gpu_texture_hash_usv # Num Counters: 1 # Counter Values: -377905 +381806 _Z24host_gpu_texture_time_usPy # Func Hash: @@ -234456,7 +236485,7 @@ _Z24host_gpu_texture_time_usPy # Num Counters: 1 # Counter Values: -376559 +380447 _Z24host_gpu_texture_uploadsv # Func Hash: @@ -234464,7 +236493,7 @@ _Z24host_gpu_texture_uploadsv # Num Counters: 1 # Counter Values: -377905 +381806 _Z24host_gpu_texture_writtenyy # Func Hash: @@ -234472,7 +236501,7 @@ _Z24host_gpu_texture_writtenyy # Num Counters: 1 # Counter Values: -365 +359 _Z24host_opt_menu_text_scalev # Func Hash: @@ -234488,9 +236517,9 @@ _Z24host_opt_upscaler_chosenv # Num Counters: 11 # Counter Values: -17783832 -17033683 -17033822 +17708196 +16895451 +16895476 12 12 0 @@ -234498,7 +236527,7 @@ _Z24host_opt_upscaler_chosenv 0 0 0 -17033979 +16895644 _Z24host_plugin_taken_motionv # Func Hash: @@ -234681,7 +236710,7 @@ _Z24ppfx_set_feedback_enableyj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -234689,7 +236718,7 @@ _Z24ppfx_set_feedback_enableyj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z24render_hooks_want_motionv # Func Hash: @@ -234697,7 +236726,7 @@ _Z24render_hooks_want_motionv # Num Counters: 1 # Counter Values: -83976836 +85754518 _Z24report_clears_and_copiesv # Func Hash: @@ -234947,13 +236976,13 @@ _Z24thunk_emit_prologue_stubPhyPvyPKhybb # Num Counters: 7 # Counter Values: -1418 -0 -1514 -1514 -0 +1432 +1 +1528 +1528 +1 12 -1514 +1528 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -234961,8 +236990,8 @@ _Z24thunk_emit_prologue_stubPhyPvyPKhybb # NumValueSites: 1 3 -17:842 -9:300 +17:855 +9:301 16:276 _Z24thunk_wrap_capture_framePv @@ -235005,7 +237034,7 @@ _Z24yebis_context_wait_flushy # Num Counters: 1 # Counter Values: -166876 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -235013,9 +237042,9 @@ _Z24yebis_context_wait_flushy # NumValueSites: 2 1 -** External Symbol **:166877 +** External Symbol **:170436 1 -** External Symbol **:166877 +** External Symbol **:170436 _Z25ImBezierCubicClosestPointRK6ImVec2S1_S1_S1_S1_i # Func Hash: @@ -235390,10 +237419,10 @@ _Z25frame_rate_limiter_windowB5cxx11v # Num Counters: 5 # Counter Values: -1338 +1351 8 0 -1213 +1224 0 _Z25frame_rate_set_time_scalef @@ -235496,9 +237525,9 @@ _Z25gx_immediate_draw_indexedyyyyy # Num Counters: 3 # Counter Values: -72008470 +71567836 0 -71755318 +71310311 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -235506,7 +237535,7 @@ _Z25gx_immediate_draw_indexedyyyyy # NumValueSites: 11 1 -** External Symbol **:71712616 +** External Symbol **:71276858 0 0 0 @@ -235636,7 +237665,7 @@ _Z25hle_kernel_va_readable_inyyPyS_ # Num Counters: 1 # Counter Values: -101173447 +100807175 _Z25hle_pad_confirm_press_agev # Func Hash: @@ -235727,15 +237756,15 @@ _Z25host_gpu_log_video_memoryb # Num Counters: 20 # Counter Values: -923 -1151 -1151 +932 +1163 +1163 0 -1151 -1151 -1151 -228 -228 +1163 +1163 +1163 +231 +231 0 0 0 @@ -235744,7 +237773,7 @@ _Z25host_gpu_log_video_memoryb 0 0 0 -228 +231 72 12 @@ -235754,27 +237783,27 @@ _Z25host_gpu_mem_write_serialyPKvyPy # Num Counters: 57 # Counter Values: -155604771 +156235646 0 -22229253 +22319378 97 0 0 0 -22229253 -22229253 -22229253 -22229253 +22319378 +22319378 +22319378 +22319378 0 -22229253 +22319378 0 -22229253 +22319378 0 0 -22229253 +22319378 0 -22229253 -22229156 +22319378 +22319281 0 0 0 @@ -235820,8 +237849,8 @@ _Z25host_gpu_mem_write_serialyPKvyPy 0 0 2 -4:12833467 -8:9395944 +4:12873629 +8:9445858 0 _Z25host_gpu_occlusion_reportB5cxx11v @@ -235831,7 +237860,7 @@ _Z25host_gpu_occlusion_reportB5cxx11v 5 # Counter Values: 0 -1346 +1359 0 0 0 @@ -235842,7 +237871,7 @@ _Z25host_gpu_pipeline_time_usPy # Num Counters: 1 # Counter Values: -376559 +380447 _Z25host_gpu_present_timelinev # Func Hash: @@ -235859,18 +237888,18 @@ _Z25host_gpu_resources_reportv # Num Counters: 27 # Counter Values: -1346 -3272 -3272 -3272 +1359 +3305 +3305 +3305 0 -3272 -3272 -3272 +3305 +3305 +3305 0 0 0 -1346 +1359 0 0 0 @@ -235882,10 +237911,10 @@ _Z25host_gpu_resources_reportv 0 0 0 -1346 -1346 -1926 -1346 +1359 +1359 +1946 +1359 _Z25host_gpu_shadow_gx_handedyyi # Func Hash: @@ -235893,19 +237922,19 @@ _Z25host_gpu_shadow_gx_handedyyi # Num Counters: 13 # Counter Values: -12236654 -12236527 +12137610 +12137352 0 0 -12237442 -12237442 +12138692 +12138692 0 0 0 0 0 0 -12236539 +12137507 _Z25host_gpu_shadow_hands_outv # Func Hash: @@ -235932,7 +237961,7 @@ _Z25host_mouse_stage_positionRfS_ # Num Counters: 7 # Counter Values: -202553 +201489 0 0 0 @@ -235962,7 +237991,7 @@ _Z25host_plugin_taken_buttonsv # Num Counters: 1 # Counter Values: -499325 +510131 _Z25live_resolution_availablev # Func Hash: @@ -236072,7 +238101,7 @@ _Z25ppfx_set_antialias_enableyj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -236080,7 +238109,7 @@ _Z25ppfx_set_antialias_enableyj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z25ppfx_set_auto_focus_delayyjjf # Func Hash: @@ -236103,7 +238132,7 @@ _Z25ppfx_set_glare_parametersyjfff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -236111,7 +238140,7 @@ _Z25ppfx_set_glare_parametersyjfff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z25render_queue_scene_insertiPFvyPvES_ # Func Hash: @@ -236188,6 +238217,28 @@ _Z25scene_look_on_snap_changePFvvE # Counter Values: 12 +_Z25scene_look_set_hud_hiddenPKcb +# Func Hash: +701607649191795211 +# Num Counters: +15 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + _Z25scene_look_set_object_cutf # Func Hash: 382993475055910911 @@ -236243,28 +238294,28 @@ _Z25write_watch_fault_writersPyS_Pji # Num Counters: 35 # Counter Values: -196373 -833115 -657578 -0 -15593438 -3298 -15404073 -371910 -1863088 -175537 -189365 +196387 +826803 +651810 +0 +16607781 +3426 +16418564 +371380 +1865799 +174993 +189217 196608 196608 132 120 -7243 -7051 +7391 +7199 120 -7114 -129 -117 -117 +7261 +130 +118 +118 12 12 12 @@ -236285,7 +238336,7 @@ _Z25write_watch_fault_writersPyS_Pji # NumValueSites: 1 6 -513:57 +513:58 17:12 33:12 65:12 @@ -236298,16 +238349,16 @@ _Z25write_watch_recent_faultsyyPyi # Num Counters: 10 # Counter Values: -81920 -0 -0 -0 -0 -81920 -5 -81920 -247 -0 +147451 +189 +40 +35 +14 +147456 +9 +147456 +308 +40 _Z26ImFontAtlasPackDiscardRectP11ImFontAtlasi # Func Hash: @@ -236480,13 +238531,13 @@ _Z26emevd_dispatch_instructionPvPN2bb15SprjEmkEventInsEf # Num Counters: 11 # Counter Values: -109254 +109269 0 -109254 -38076 +109269 +38080 47493 -33578 -33578 +33581 +33581 47192 0 301 @@ -236500,19 +238551,19 @@ _Z26emevd_dispatch_instructionPvPN2bb15SprjEmkEventInsEf 1 ** External Symbol **:301 16 -** External Symbol **:44466 -** External Symbol **:33634 +** External Symbol **:44468 +** External Symbol **:33643 ** External Symbol **:28869 -** External Symbol **:25038 +** External Symbol **:25042 ** External Symbol **:21824 -** External Symbol **:12384 +** External Symbol **:12386 ** External Symbol **:10606 ** External Symbol **:5844 ** External Symbol **:3020 ** External Symbol **:1263 ** External Symbol **:941 ** External Symbol **:722 -** External Symbol **:613 +** External Symbol **:614 ** External Symbol **:522 ** External Symbol **:181 ** External Symbol **:97 @@ -236598,9 +238649,9 @@ _Z26gx_submit_segment_and_flipyy # Num Counters: 3 # Counter Values: -376552 -376552 -376552 +380439 +380439 +380439 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -236608,9 +238659,9 @@ _Z26gx_submit_segment_and_flipyy # NumValueSites: 2 1 -** External Symbol **:376553 +** External Symbol **:380440 1 -** External Symbol **:376553 +** External Symbol **:380440 _Z26hle_gnm_dump_recent_writesyj # Func Hash: @@ -236650,7 +238701,7 @@ _Z26hle_kernel_maps_generationv # Num Counters: 1 # Counter Values: -271839794 +271981531 _Z26hle_np_signaling_peer_deadRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -236681,8 +238732,8 @@ _Z26host_bind_capture_blockingv # Num Counters: 2 # Counter Values: -1111019 -1111019 +1123119 +1123119 _Z26host_bindings_migrate_zoomv # Func Hash: @@ -236740,16 +238791,16 @@ _Z26host_gpu_clear_view_reportB5cxx11v 0 0 0 -76 -76 +74 +74 56 -293 -293 -293 -293 -73 -101 -60 +295 +295 +295 +295 +74 +93 +69 48 144 144 @@ -236775,11 +238826,11 @@ _Z26host_gpu_clear_view_reportB5cxx11v 0 82 82 -211 +216 36 36 -211 -114 +216 +113 12 48 0 @@ -236799,7 +238850,7 @@ _Z26host_gpu_clear_view_reportB5cxx11v 0 0 144 -30 +31 12 0 12 @@ -237061,12 +239112,12 @@ _Z26host_gpu_clear_view_reportB5cxx11v 0 3 7:46 -9:20 +9:18 8:10 3 8:46 9:25 -16:5 +16:3 0 0 @@ -237085,8 +239136,8 @@ _Z26host_gpu_copy_image_regionRK12GpuImageCopy # Num Counters: 5 # Counter Values: -767628 -767628 +791127 +791127 0 0 0 @@ -237097,7 +239148,7 @@ _Z26host_gpu_image_heap_reportB5cxx11v # Num Counters: 4 # Counter Values: -1346 +1359 0 0 0 @@ -237108,26 +239159,26 @@ _Z26host_gpu_mem_write_orderedyPKvyPy # Num Counters: 32 # Counter Values: -1475395 +1459648 0 -1475395 -1475395 -1475395 -1475395 -1475395 -1475395 -1475395 -1475395 -1475395 -1475395 -1475395 -1474148 +1459648 +1459648 +1459648 +1459648 +1459648 +1459648 +1459648 +1459648 +1459648 +1459648 +1459648 +1458459 0 0 0 -1475395 -1475395 -1475395 +1459648 +1459648 +1459648 0 0 0 @@ -237147,8 +239198,8 @@ _Z26host_gpu_mem_write_orderedyPKvyPy # NumValueSites: 1 2 -128:1474148 -32:1247 +128:1458459 +32:1189 _Z26host_gpu_shadow_gx_createdyy # Func Hash: @@ -237156,16 +239207,16 @@ _Z26host_gpu_shadow_gx_createdyy # Num Counters: 10 # Counter Values: -982721 -982721 +982737 +982737 0 -982721 -982721 +982737 +982737 0 0 0 0 -982721 +982737 _Z26host_gpu_shadow_gx_settledyy # Func Hash: @@ -237173,10 +239224,10 @@ _Z26host_gpu_shadow_gx_settledyy # Num Counters: 8 # Counter Values: -5108103 +5108597 0 -5108154 -5108154 +5108660 +5108660 0 0 0 @@ -237188,7 +239239,7 @@ _Z26host_gpu_take_dump_requestPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIc # Num Counters: 6 # Counter Values: -376541 +380429 0 0 0 @@ -237203,6 +239254,14 @@ _Z26host_opt_default_frame_capv # Counter Values: 0 +_Z26host_plugin_pad_taken_axesv +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +1123119 + _Z26ingame_menu_record_in_passP17VkCommandBuffer_T10VkExtent2D # Func Hash: 784007059655560962 @@ -237254,7 +239313,7 @@ _Z26note_gpu_write_over_markerPKcyyy # Num Counters: 7 # Counter Values: -2818586 +2823682 0 0 0 @@ -237292,10 +239351,10 @@ _Z26run_forget_recorded_lockedv # Num Counters: 4 # Counter Values: -3235299 -16176495 -9705897 -3235299 +3187697 +15938485 +9563091 +3187697 _Z26scene_look_grading_nearestv # Func Hash: @@ -237303,7 +239362,7 @@ _Z26scene_look_grading_nearestv # Num Counters: 1 # Counter Values: -129170380 +129001692 _Z26scene_look_set_colour_8bitb # Func Hash: @@ -237495,7 +239554,7 @@ _Z26yebis_clear_target_computeyyy # Num Counters: 1 # Counter Values: -178878 +182437 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -237503,21 +239562,21 @@ _Z26yebis_clear_target_computeyyy # NumValueSites: 8 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 _Z26yebis_context_draw_indexedyjjj # Func Hash: @@ -237525,7 +239584,7 @@ _Z26yebis_context_draw_indexedyjjj # Num Counters: 1 # Counter Values: -7081624 +7213542 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -237533,11 +239592,11 @@ _Z26yebis_context_draw_indexedyjjj # NumValueSites: 3 1 -** External Symbol **:7081662 +** External Symbol **:7213565 1 -** External Symbol **:7081661 +** External Symbol **:7213565 1 -** External Symbol **:7081661 +** External Symbol **:7213565 _Z26yebis_context_prepare_drawy # Func Hash: @@ -237545,7 +239604,7 @@ _Z26yebis_context_prepare_drawy # Num Counters: 3 # Counter Values: -7081624 +7213542 0 0 # Num Value Kinds: @@ -237555,13 +239614,13 @@ _Z26yebis_context_prepare_drawy # NumValueSites: 5 1 -** External Symbol **:7081661 +** External Symbol **:7213565 1 -** External Symbol **:7081661 +** External Symbol **:7213565 1 -** External Symbol **:7081661 +** External Symbol **:7213565 1 -** External Symbol **:7081661 +** External Symbol **:7213565 0 _Z27ImFontAtlasFontDiscardBakesP11ImFontAtlasP6ImFonti @@ -237828,11 +239887,11 @@ _Z27gnm_write_end_of_pipe_eventyjjyjyjj # Num Counters: 5 # Counter Values: -22221127 -73 -22221686 -73 -22217313 +22311956 +65 +22312463 +65 +22307632 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -237840,7 +239899,7 @@ _Z27gnm_write_end_of_pipe_eventyjjyjyjj # NumValueSites: 1 1 -** External Symbol **:73 +** External Symbol **:65 _Z27graphics_scene_context_madey # Func Hash: @@ -237862,12 +239921,12 @@ _Z27gx_finish_command_list_implyyyy # Num Counters: 6 # Counter Values: -11551601 +11651500 0 0 -11562039 -11559251 -11558717 +11661541 +11658377 +11657903 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -237875,19 +239934,19 @@ _Z27gx_finish_command_list_implyyyy # NumValueSites: 7 1 -** External Symbol **:11549355 +** External Symbol **:11648584 1 -** External Symbol **:11548206 +** External Symbol **:11648256 1 -** External Symbol **:11555670 +** External Symbol **:11654540 1 -** External Symbol **:11530541 +** External Symbol **:11627018 1 -** External Symbol **:11533402 +** External Symbol **:11629945 1 -** External Symbol **:11536196 +** External Symbol **:11632346 1 -** External Symbol **:11533678 +** External Symbol **:11633493 _Z27gx_immediate_draw_instancedyyyyyy # Func Hash: @@ -237924,13 +239983,13 @@ _Z27gx_swap_chain_present_frameyyj # Counter Values: 0 0 -716675 -716639 -340116 -376559 -376559 -376559 -376559 +725998 +725962 +345551 +380449 +380449 +380447 +380447 0 # Num Value Kinds: 1 @@ -237939,25 +239998,25 @@ _Z27gx_swap_chain_present_frameyyj # NumValueSites: 10 1 -** External Symbol **:376560 +** External Symbol **:380450 1 -** External Symbol **:716676 +** External Symbol **:725999 1 -** External Symbol **:340116 +** External Symbol **:345551 1 -** External Symbol **:376560 +** External Symbol **:380448 1 -** External Symbol **:376560 +** External Symbol **:380448 1 -** External Symbol **:376560 +** External Symbol **:380448 1 -** External Symbol **:376560 +** External Symbol **:380448 1 -** External Symbol **:376560 +** External Symbol **:380448 1 -** External Symbol **:376560 +** External Symbol **:380448 1 -** External Symbol **:376560 +** External Symbol **:380448 _Z27hle_dialog_set_default_namePKcb # Func Hash: @@ -238079,11 +240138,11 @@ _Z27hle_video_is_display_buffery # Num Counters: 5 # Counter Values: -48221744 -36150331 -36191364 -12078741 -40311 +51606631 +38687740 +38729288 +12924507 +41523 _Z27host_bind_capture_note_heldb # Func Hash: @@ -238110,7 +240169,7 @@ _Z27host_bind_take_debug_togglev # Num Counters: 1 # Counter Values: -1111019 +1123119 _Z27host_bindings_load_defaultsv # Func Hash: @@ -238147,7 +240206,7 @@ _Z27host_gpu_guest_copy_targetsv # Num Counters: 1 # Counter Values: -196 +198 _Z27host_gpu_lists_times_reportB5cxx11iyy # Func Hash: @@ -238591,7 +240650,7 @@ _Z27host_gpu_target_copy_reportB5cxx11v # Num Counters: 27 # Counter Values: -1346 +1359 0 0 0 @@ -238600,11 +240659,11 @@ _Z27host_gpu_target_copy_reportB5cxx11v 0 0 0 -1346 +1359 0 0 0 -1346 +1359 0 0 0 @@ -238615,7 +240674,7 @@ _Z27host_gpu_target_copy_reportB5cxx11v 0 0 0 -1346 +1359 0 0 @@ -238633,7 +240692,7 @@ _Z27main_thread_waited_total_nsi # Num Counters: 1 # Counter Values: -5391 +5421 _Z27patch_manifest_option_knownRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -238748,7 +240807,7 @@ _Z27ppfx_multiply_matrix_fb4390yjf # Num Counters: 1 # Counter Values: -132516 +131671 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -238756,7 +240815,7 @@ _Z27ppfx_multiply_matrix_fb4390yjf # NumValueSites: 1 1 -** External Symbol **:132519 +** External Symbol **:131672 _Z27ppfx_multiply_matrix_fb43b0yjf # Func Hash: @@ -238794,7 +240853,7 @@ _Z27ppfx_set_active_light_shaftyj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -238802,7 +240861,7 @@ _Z27ppfx_set_active_light_shaftyj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z27ppfx_set_motion_blur_enableyj # Func Hash: @@ -238810,7 +240869,7 @@ _Z27ppfx_set_motion_blur_enableyj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -238818,7 +240877,7 @@ _Z27ppfx_set_motion_blur_enableyj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z27ppfx_set_tonemap_parametersyjffff # Func Hash: @@ -238826,7 +240885,7 @@ _Z27ppfx_set_tonemap_parametersyjffff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -238834,7 +240893,7 @@ _Z27ppfx_set_tonemap_parametersyjffff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z27shader_compile_selftest_dirB5cxx11iPPc # Func Hash: @@ -239022,16 +241081,16 @@ _Z28SprjEmkEventIns_EndOrRestartPN2bb15SprjEmkEventInsEj # Num Counters: 16 # Counter Values: -290 -3525 -290 +291 +3526 +291 3490 3490 -3525 +3526 2186 0 0 -3513 +3514 653 653 604 @@ -239045,7 +241104,7 @@ _Z28SprjEmkEventIns_EndOrRestartPN2bb15SprjEmkEventInsEj # NumValueSites: 8 1 -** External Symbol **:290 +** External Symbol **:291 1 ** External Symbol **:2186 1 @@ -239269,17 +241328,17 @@ _Z28hle_kernel_write_watch_aliasyyR10WriteWatch # Num Counters: 11 # Counter Values: -50004573 -49992634 -9533561 -11939 -1936293 -1936293 +36885546 +36873430 +7058371 +12116 +1429578 +1429578 0 0 0 0 -11939 +12116 _Z28hle_np_matching2_peer_closedRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -239314,36 +241373,36 @@ _Z28host_gpu_copy_backs_capturedPKyS0_S0_PKjjy # Num Counters: 71 # Counter Values: -1009940 +1002712 0 0 -67600350 -67223809 +67701266 +67320838 0 0 -376541 -376541 +380428 +380428 0 0 -67223809 +67320838 0 0 0 -9148938 -1009940 -1009940 -67223809 -67223809 -67223809 -9148938 -1009940 +9189140 +1002712 +1002712 +67320838 +67320838 +67320838 +9189140 +1002712 0 -1009940 -1009940 -1009940 -66213869 -66213869 -9148938 +1002712 +1002712 +1002712 +66318126 +66318126 +9189140 0 0 12 @@ -239377,9 +241436,9 @@ _Z28host_gpu_copy_backs_capturedPKyS0_S0_PKjjy 0 0 0 -9148926 +9189128 12 -376541 +380428 0 0 0 @@ -239425,13 +241484,13 @@ _Z28host_gpu_save_pipeline_cachev # Num Counters: 34 # Counter Values: -1346 -1346 -1346 +1359 +1359 +1359 0 0 0 -1334 +1347 12 0 12 @@ -239458,7 +241517,7 @@ _Z28host_gpu_save_pipeline_cachev 0 0 0 -1346 +1359 # Num Value Kinds: 2 # ValueKind = IPVK_IndirectCallTarget: @@ -239489,8 +241548,8 @@ _Z28host_gpu_video_memory_reportB5cxx11b 6 # Counter Values: 0 -228 -228 +231 +231 0 0 0 @@ -239526,8 +241585,8 @@ _Z28host_opt_motion_rebuilt_bitsv # Num Counters: 7 # Counter Values: -17616894 -16085551 +17537605 +16018956 10 10 0 @@ -239548,11 +241607,11 @@ _Z28live_resolution_display_sizePjS_ # Num Counters: 5 # Counter Values: -228 -228 -228 -228 -228 +231 +231 +231 +231 +231 _Z28option_menu_confirm_possiblev # Func Hash: @@ -239684,21 +241743,21 @@ _Z29SprjEmkConditionHolder_UpdatePN2bb22SprjEmkConditionHolderEPKNS_7FD4TimeEPNS # Num Counters: 15 # Counter Values: -21196782 -290718000 -290718000 +21077027 +289200913 +289200913 0 -110279843 -290718000 -146538539 -175810940 +109698901 +289200913 +145857310 +174911191 0 -146541798 -136114286 +145860569 +135428466 7992 -47026492 -114932609 -113971824 +46801859 +114315272 +113356777 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -239706,7 +241765,7 @@ _Z29SprjEmkConditionHolder_UpdatePN2bb22SprjEmkConditionHolderEPKNS_7FD4TimeEPNS # NumValueSites: 1 1 -** External Symbol **:290718000 +** External Symbol **:289201160 _Z29decomp_gx_constant_engine_addv # Func Hash: @@ -239766,32 +241825,32 @@ _Z29gx_resource_newer_overlappingyyy # Num Counters: 26 # Counter Values: -4561 -214 -171 -115 +4361 +205 +163 +107 0 -115 -115 -115 -115 -214 -115 -214 -171 -214 -214 -214 -214 -207 -207 +107 +107 +107 +107 +205 +107 +205 +163 +205 +205 +205 +205 +201 +201 0 0 0 0 0 -2343 -2343 +2262 +2262 _Z29gx_resources_memory_protectedyyi # Func Hash: @@ -239866,7 +241925,7 @@ _Z29hle_video_test_exit_requestedv # Num Counters: 1 # Counter Values: -35667 +35845 _Z29host_frame_generation_warningibi # Func Hash: @@ -239994,16 +242053,16 @@ _Z29host_gpu_memory_budget_reportB5cxx11v # Num Counters: 56 # Counter Values: -2692 -2692 +2718 +2718 0 -1346 -1346 -1346 -1346 +1359 +1359 +1359 +1359 0 0 -1346 +1359 0 0 0 @@ -240048,8 +242107,8 @@ _Z29host_gpu_memory_budget_reportB5cxx11v 0 0 0 -1346 -1346 +1359 +1359 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -240075,8 +242134,8 @@ _Z29host_gpu_segment_flags_neededv # Num Counters: 2 # Counter Values: -76628542 -76628542 +75173592 +75173592 _Z29host_gpu_splice_compare_beginy # Func Hash: @@ -240099,7 +242158,7 @@ _Z29host_gpu_surface_replacementsv # Num Counters: 1 # Counter Values: -377905 +381806 _Z29host_gpu_texture_create_aheadPKjy # Func Hash: @@ -240107,8 +242166,8 @@ _Z29host_gpu_texture_create_aheadPKjy # Num Counters: 5 # Counter Values: -94268 -94256 +94227 +94216 0 0 0 @@ -240166,6 +242225,14 @@ _Z29host_opt_set_resolution_indexi 0 0 +_Z29host_plugin_pad_taken_buttonsv +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +1123119 + _Z29mouse_camera_setting_from_ds3i # Func Hash: 62306918516151376 @@ -240184,7 +242251,7 @@ _Z29ppfx_set_auto_exposure_enableyjj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -240192,7 +242259,7 @@ _Z29ppfx_set_auto_exposure_enableyjj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z29write_watch_recent_fault_spanyyPyS_ # Func Hash: @@ -240200,11 +242267,11 @@ _Z29write_watch_recent_fault_spanyyPyS_ # Num Counters: 5 # Counter Values: -81920 -0 -5 +147456 5 -247 +9 +7 +308 _Z30ImFontAtlasBuildUpdatePointersP11ImFontAtlas # Func Hash: @@ -240336,7 +242403,7 @@ _Z30decomp_gx_rename_reclaims_herev # Num Counters: 1 # Counter Values: -2961677 +2954115 _Z30gnm_ce_wait_on_de_counter_diffyj # Func Hash: @@ -240344,9 +242411,9 @@ _Z30gnm_ce_wait_on_de_counter_diffyj # Num Counters: 5 # Counter Values: -167267 -167267 -167267 +170826 +170826 +170826 0 0 # Num Value Kinds: @@ -240427,9 +242494,9 @@ _Z30host_gpu_clear_view_resolvableRK12GpuClearViewPPKc # Num Counters: 7 # Counter Values: -1947405 -3223761 -3223759 +1989970 +3289958 +3289962 0 0 0 @@ -240463,13 +242530,13 @@ _Z30host_gpu_submissions_completedv 0 0 12 -1447266 +1462677 0 0 12 0 -1447258 -1447241 +1462667 +1462648 0 0 0 @@ -240728,13 +242795,13 @@ _Z31gx_command_buffer_close_segmentyyyy # Num Counters: 7 # Counter Values: -52 -2167664 -52 -1407967 -764053 +48 +2193931 +49 +1423425 +774927 0 -1672 +1720 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -240743,9 +242810,9 @@ _Z31gx_command_buffer_close_segmentyyyy 3 0 1 -** External Symbol **:52 +** External Symbol **:49 1 -** External Symbol **:1409701 +** External Symbol **:1425195 _Z31gx_context_execute_command_listyyy # Func Hash: @@ -240881,7 +242948,7 @@ _Z31host_gpu_completed_submits_seenv # Num Counters: 1 # Counter Values: -302649 +304809 _Z31host_gpu_segment_report_splicedB5cxx11v # Func Hash: @@ -240890,23 +242957,23 @@ _Z31host_gpu_segment_report_splicedB5cxx11v 24 # Counter Values: 0 -7106 +7182 +200 +200 +378 +378 +378 +378 +378 +378 135 135 -374 -374 -374 -374 -374 -374 -134 -134 -134 -134 -121 +135 +135 +123 0 0 -253 +255 0 0 0 @@ -240935,7 +243002,7 @@ _Z31ppfx_set_glare_bloom_num_levelsyj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -240943,7 +243010,7 @@ _Z31ppfx_set_glare_bloom_num_levelsyj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z31yebis_context_dispatch_indirectyyj # Func Hash: @@ -241074,21 +243141,21 @@ _Z32gx_context_execute_command_listsyyyy # Num Counters: 15 # Counter Values: -8079392 +8111317 0 -8079392 -16158784 +8111317 +16222634 0 -8079392 -11563610 -8079392 +8111317 +11662820 +8111317 0 -1453070 -1453067 +1468262 +1468260 0 -1453070 +1468262 0 -11563610 +11662820 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -241096,31 +243163,31 @@ _Z32gx_context_execute_command_listsyyyy # NumValueSites: 13 1 -** External Symbol **:1453079 +** External Symbol **:1468264 1 -** External Symbol **:1453079 +** External Symbol **:1468264 1 -** External Symbol **:1453075 +** External Symbol **:1468261 1 -** External Symbol **:11563698 +** External Symbol **:11662821 1 -** External Symbol **:11563698 +** External Symbol **:11662821 1 -** External Symbol **:11563698 +** External Symbol **:11662821 1 -** External Symbol **:11563698 +** External Symbol **:11662821 1 -** External Symbol **:8079470 +** External Symbol **:8111317 1 -** External Symbol **:11563698 +** External Symbol **:11662821 1 -** External Symbol **:11563698 +** External Symbol **:11662821 1 -** External Symbol **:11563698 +** External Symbol **:11662821 1 -** External Symbol **:11563698 +** External Symbol **:11662821 1 -** External Symbol **:1453075 +** External Symbol **:1468261 _Z32hle_kernel_reserve_guest_windowsv # Func Hash: @@ -241337,18 +243404,18 @@ _Z33SprjEmkConditionHolder_QueryGroupPKN2bb22SprjEmkConditionHolderEj # Num Counters: 13 # Counter Values: -46590773 -366200782 -22414615 +46367819 +364677912 +22277045 0 -109786208 -145762470 -154978886 +109192358 +145086338 +154251654 0 -166282009 -154946495 +165563706 +154218657 0 -67110312 +66845187 0 _Z33decomp_chr_replay_manipulator_addv @@ -241539,7 +243606,7 @@ _Z34ppfx_set_light_shaft_source_enableyjj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -241547,7 +243614,7 @@ _Z34ppfx_set_light_shaft_source_enableyjj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z34upscaler_wants_compute_derivativesv # Func Hash: @@ -241680,9 +243747,9 @@ _Z35gx_immediate_draw_indexed_instancedyyyyyy # Num Counters: 3 # Counter Values: -8966976 +8999275 0 -8960860 +8993439 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -241690,7 +243757,7 @@ _Z35gx_immediate_draw_indexed_instancedyyyyyy # NumValueSites: 11 1 -** External Symbol **:8962292 +** External Symbol **:8994889 0 0 0 @@ -241712,27 +243779,27 @@ _Z35yebis_context_om_set_render_targetsyjyy 0 0 0 -8447133 -16894266 -14288752 -8447133 +8607524 +17215048 +14573708 +8607524 0 -59129931 -8447133 -8447133 -8444793 -6754518 -7315878 +60252668 +8607524 +8607524 +8605184 +6879317 +7459804 0 -314394 +347682 0 -3411007 -1131255 -5036126 -166955 -314394 -7315878 -1131171 +3430008 +1147720 +5177516 +170514 +347682 +7459804 +1147636 156 0 0 @@ -241743,19 +243810,19 @@ _Z35yebis_context_om_set_render_targetsyjyy # NumValueSites: 7 1 -** External Symbol **:7315916 +** External Symbol **:7459826 1 ** External Symbol **:156 1 -** External Symbol **:1131269 +** External Symbol **:1147727 1 -** External Symbol **:59130295 +** External Symbol **:60252871 1 -** External Symbol **:6754554 +** External Symbol **:6879339 1 -** External Symbol **:8447185 +** External Symbol **:8607553 1 -** External Symbol **:314396 +** External Symbol **:347683 _Z36ImFontAtlasBuildGetOversampleFactorsP12ImFontConfigP11ImFontBakedPiS3_ # Func Hash: @@ -241818,9 +243885,9 @@ _Z36gx_immediate_draw_instanced_indirectyyyy # Num Counters: 5 # Counter Values: -102405 +100674 0 -102405 +100674 0 0 # Num Value Kinds: @@ -241830,7 +243897,7 @@ _Z36gx_immediate_draw_instanced_indirectyyyy # NumValueSites: 10 1 -** External Symbol **:102404 +** External Symbol **:100675 0 0 0 @@ -241904,7 +243971,7 @@ _Z36ppfx_set_auto_focus_adjustment_resetyj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -241912,7 +243979,7 @@ _Z36ppfx_set_auto_focus_adjustment_resetyj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z36ppfx_set_chromatic_aberration_enableyj # Func Hash: @@ -241920,7 +243987,7 @@ _Z36ppfx_set_chromatic_aberration_enableyj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -241928,7 +243995,7 @@ _Z36ppfx_set_chromatic_aberration_enableyj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z36ppfx_set_depth_of_field_edge_qualityyj # Func Hash: @@ -241936,7 +244003,7 @@ _Z36ppfx_set_depth_of_field_edge_qualityyj # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -241944,7 +244011,7 @@ _Z36ppfx_set_depth_of_field_edge_qualityyj # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z36yebis_context_draw_indexed_instancedyjjjjj # Func Hash: @@ -242076,20 +244143,20 @@ _Z37SprjEmkConditionHolder_LatchGroupBitsPN2bb22SprjEmkConditionHolderEPvPNS_15S # Num Counters: 14 # Counter Values: -1645 -5413 +1647 +5423 0 -2713 -5413 -1287 -3585 +2718 +5423 +1291 +3593 0 -2144 -3526 -1854 -1461 -1828 -2112 +2150 +3534 +1857 +1465 +1830 +2116 _Z37ppfx_set_render_scene_luminance_scaleyfffff # Func Hash: @@ -242097,7 +244164,7 @@ _Z37ppfx_set_render_scene_luminance_scaleyfffff # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -242105,7 +244172,7 @@ _Z37ppfx_set_render_scene_luminance_scaleyfffff # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z38ImFontAtlasBuildRenderBitmapFromStringP11ImFontAtlasiiiiPKcc # Func Hash: @@ -242186,7 +244253,7 @@ _Z38yebis_context_clear_render_target_viewyyy 2 # Counter Values: 0 -178878 +182437 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -242194,15 +244261,15 @@ _Z38yebis_context_clear_render_target_viewyyy # NumValueSites: 6 1 -** External Symbol **:178880 +** External Symbol **:182438 0 0 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 1 -** External Symbol **:178880 +** External Symbol **:182438 _Z39ImGui_ImplVulkanH_CreateWindowSwapChainP18VkPhysicalDevice_TP10VkDevice_TP24ImGui_ImplVulkanH_WindowPK21VkAllocationCallbacksiijj # Func Hash: @@ -242284,10 +244351,10 @@ _Z40gx_command_buffer_close_segment_and_flipyyy6GxFlip # Num Counters: 8 # Counter Values: -376552 -7 -7 -7 +380439 +8 +8 +8 0 0 0 @@ -242299,14 +244366,14 @@ _Z40gx_command_buffer_close_segment_and_flipyyy6GxFlip # NumValueSites: 5 1 -** External Symbol **:376553 +** External Symbol **:380440 0 1 -** External Symbol **:7 +** External Symbol **:8 1 -** External Symbol **:7 +** External Symbol **:8 1 -** External Symbol **:7 +** External Symbol **:8 _Z42ImFontAtlasTextureBlockPostProcessMultiplyP26ImFontAtlasPostProcessDataf # Func Hash: @@ -242456,7 +244523,7 @@ _Z50ppfx_set_depth_of_field_depth_remap_lut_parametersyjjjf # Num Counters: 1 # Counter Values: -166877 +170436 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -242464,7 +244531,7 @@ _Z50ppfx_set_depth_of_field_depth_remap_lut_parametersyjjjf # NumValueSites: 1 1 -** External Symbol **:166880 +** External Symbol **:170437 _Z6configv # Func Hash: @@ -242472,7 +244539,7 @@ _Z6configv # Num Counters: 1 # Counter Values: -420 +408 _Z6hle_okv # Func Hash: @@ -242890,7 +244957,7 @@ _Z9rdtsc_nowv # Counter Values: 0 0 -27032919 +27374272 12 12 0 @@ -242986,9 +245053,9 @@ _ZN10ConfigMoveD2Ev _ZN10HostConfigC2Ev # Func Hash: -236859847533833147 +197471690407960556 # Num Counters: -16 +14 # Counter Values: 36 0 @@ -243004,14 +245071,12 @@ _ZN10HostConfigC2Ev 0 0 0 -0 -0 _ZN10HostConfigD2Ev # Func Hash: -603750313922408307 +779599873054971897 # Num Counters: -29 +28 # Counter Values: 12 0 @@ -243031,7 +245096,6 @@ _ZN10HostConfigD2Ev 12 12 12 -12 0 12 12 @@ -244266,123 +246330,123 @@ _ZN10bottleneck8classifyERKNS_6WindowE # Num Counters: 119 # Counter Values: -36 -80 +37 +87 31 -671 -18310 -252 -252 -560 -90 +651 +18400 +259 +259 +609 +104 0 -72 -560 +74 +609 217 -36 -160 +37 +174 217 -4697 -80 +4557 +87 0 62 -4697 -1232 +4557 +1330 31 -1819 -1819 -36 -1342 -1056 -1368 -1819 -1793 -80 -1056 +1828 +1828 +37 +1302 +1140 +1332 +1828 +1809 +87 +1140 0 0 -4970 +5026 31 -351 +376 0 0 -4260 -671 +4308 +651 0 -28 +42 0 0 -231 -4260 -630 +112 +4308 +728 0 -176 +190 0 -24 +36 0 -165 +80 0 -1262 -630 +1302 +728 0 -24 +36 0 -72 +31 0 -180 +208 0 -170 +185 0 0 0 -7 +12 0 0 -710 -304 +718 +329 0 -4 +6 0 -33 +16 0 -90 +104 0 0 -1795 -1805 +1803 +1811 12 0 12 -48 -36 -24 -1831 +49 +37 +25 +1840 0 0 0 0 0 -72 -26 -160 +74 +28 +174 0 0 0 0 0 -3 +4 62 0 0 -784 -778 -1342 -8 -0 +780 +776 +1302 +12 0 0 -180 0 +208 +2 0 0 @@ -244392,8 +246456,8 @@ _ZN10cb_capture10piece_liveEj # Num Counters: 2 # Counter Values: -9148934 -8772394 +9189135 +8808707 _ZN10cb_capture11note_updateEyyPKvy # Func Hash: @@ -244445,10 +246509,10 @@ _ZN10cb_capture5boundEjy # Num Counters: 4 # Counter Values: -67223788 -67223788 -67223788 -3038048 +67320798 +67320798 +67320798 +3075731 _ZN10cb_capture5countENS_3UseEy # Func Hash: @@ -244456,7 +246520,7 @@ _ZN10cb_capture5countENS_3UseEy # Num Counters: 1 # Counter Values: -67600328 +67701226 _ZN10cb_capture6reportEv # Func Hash: @@ -244541,49 +246605,49 @@ _ZN10cb_capture7captureEyPKyS1_S1_jPjy 62 # Counter Values: 0 -67183702 +67280373 0 0 -67585333 -67595396 +67691544 +67698636 0 0 -67174875 +67271377 0 0 0 0 0 -67175713 -67183683 +67271178 +67280333 0 24 0 84 -376523 +380413 0 0 0 0 -8771117 +8807439 0 0 0 0 0 0 -8767657 -4069 +8804193 +4132 0 84 0 0 0 -298580 +300677 0 -302649 +304809 0 -302649 +304809 0 0 0 @@ -244596,7 +246660,7 @@ _ZN10cb_capture7captureEyPKyS1_S1_jPjy 0 0 0 -67218757 +67318332 0 0 0 @@ -244609,15 +246673,15 @@ _ZN10cb_capture7captureEyPKyS1_S1_jPjy # NumValueSites: 1 9 -513:32611308 -129:12841453 -257:8268812 -64:8232763 -65:2468666 -256:1524231 -16:697068 -33:400289 -128:166889 +513:32652483 +129:12861179 +257:8285602 +64:8211303 +65:2479042 +256:1547024 +16:699767 +33:402230 +128:170449 _ZN10cb_capture7releaseEj # Func Hash: @@ -244625,9 +246689,9 @@ _ZN10cb_capture7releaseEj # Num Counters: 4 # Counter Values: -8772409 -10072873 -8772394 +8808734 +10125389 +8808707 0 _ZN10cb_capture8bytes_atEj @@ -244636,8 +246700,8 @@ _ZN10cb_capture8bytes_atEj # Num Counters: 2 # Counter Values: -68233728 -68233728 +68323510 +68323510 _ZN10cb_capture8check_onEv # Func Hash: @@ -245028,7 +247092,7 @@ _ZN10gxvk_homes8env_modeEv # Num Counters: 7 # Counter Values: -2376105 +2385173 12 12 0 @@ -245042,15 +247106,15 @@ _ZN10gxvk_homes9HomeIndex5eraseEjy # Num Counters: 10 # Counter Values: -167647 -12366 -12366 -9241 -9241 -9241 -9241 -91296 -91296 +168108 +12406 +12406 +9257 +9257 +9257 +9257 +91893 +91893 0 _ZN10gxvk_homes9HomeIndex6insertEjyj @@ -245059,19 +247123,19 @@ _ZN10gxvk_homes9HomeIndex6insertEjyj # Num Counters: 13 # Counter Values: -21461725 -1023751 -1023751 +21462977 +1023887 +1023887 0 0 -838495 -838495 -148467 +838514 +838514 +147214 0 12 0 -20375846 -20375846 +20392565 +20392565 _ZN10gxvk_lists11cp_draw_endEv # Func Hash: @@ -245134,29 +247198,29 @@ _ZN10gxvk_lists11draw_storedEyyyb # Num Counters: 17 # Counter Values: -102589832 -2383283 +102211706 +2460750 12 -2383158 -350272 +2460630 +393041 0 -40123168 -40109148 -39471497 -39335144 +41197605 +41216694 +40561706 +40454302 0 -2383267 +2460746 0 0 0 0 -4765737 +4920591 _ZN10gxvk_lists11frame_pacedEyfb # Func Hash: -399071278693956203 +1139546004738650733 # Num Counters: -204 +206 # Counter Values: 168 168 @@ -245168,27 +247232,29 @@ _ZN10gxvk_lists11frame_pacedEyfb 48 48 48 -376739 -376739 +48 +48 +380695 +380695 24 -15 -17 0 0 0 0 -8 +0 +0 +0 0 0 0 24 24 0 -376739 +380695 0 12 0 -376715 +380671 0 24 0 @@ -245196,19 +247262,19 @@ _ZN10gxvk_lists11frame_pacedEyfb 0 0 0 -4756 +4789 +0 +0 +0 +0 0 -15 -15 -27 -27 0 0 0 0 0 0 -4756 +4789 0 0 186 @@ -245216,37 +247282,37 @@ _ZN10gxvk_lists11frame_pacedEyfb 0 0 0 -82 -92 +89 +97 0 0 0 0 0 +13 +73 +11 0 -68 -12 0 0 +73 0 -67 0 -12 -12 0 -4 -4 -12 0 -12 -67 -68 -12 +5 +5 0 0 0 +73 +73 +11 +0 +0 0 0 +13 0 0 0 @@ -245255,14 +247321,14 @@ _ZN10gxvk_lists11frame_pacedEyfb 0 0 11 -4 -12 +5 0 -12 -68 -12 0 0 +73 +11 +0 +13 0 0 0 @@ -245272,24 +247338,24 @@ _ZN10gxvk_lists11frame_pacedEyfb 11 0 11 -67 -67 -4 -12 +73 +73 +5 0 -3 -9 -3 -9 -12 -68 -12 0 0 0 0 0 0 +73 +11 +0 +13 +0 +0 +0 +0 0 0 0 @@ -245297,28 +247363,28 @@ _ZN10gxvk_lists11frame_pacedEyfb 0 0 11 -67 +73 0 -8 -67 -4 -12 +10 +73 +5 0 -12 -68 -12 0 0 +73 +11 +0 +13 0 0 0 0 11 -67 +73 0 0 -8 -8 +10 +10 0 0 0 @@ -245333,22 +247399,22 @@ _ZN10gxvk_lists11frame_pacedEyfb 0 0 0 -376715 -376715 -376715 -376715 -376715 -376715 +380671 +380671 +380671 +380671 +380671 +380671 0 -373749 -4756 +377702 +4789 0 0 0 -92 -82 -68 -12 +97 +89 +66 +11 0 0 0 @@ -245359,9 +247425,9 @@ _ZN10gxvk_lists11frame_pacedEyfb 11 11 0 -12 -12 -4 +0 +0 +5 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -245515,7 +247581,7 @@ _ZN10gxvk_lists17immediate_contextEy # Num Counters: 2 # Counter Values: -1453070 +1468261 12 _ZN10gxvk_lists18keep_off_pool_cpusEv @@ -245524,7 +247590,7 @@ _ZN10gxvk_lists18keep_off_pool_cpusEv # Num Counters: 1 # Counter Values: -81115608 +79269028 _ZN10gxvk_lists18pool_mode_from_envEv # Func Hash: @@ -245549,8 +247615,8 @@ _ZN10gxvk_lists6detail11list_closedERNS0_7CtxSlotEy 4 # Counter Values: 0 -11560436 -2384897 +11659898 +2462363 0 _ZN10gxvk_lists6detail8ctx_slotEy @@ -245559,12 +247625,12 @@ _ZN10gxvk_lists6detail8ctx_slotEy # Num Counters: 8 # Counter Values: -39304262 +40426898 0 0 0 0 -39443764 +40514523 0 0 @@ -245574,7 +247640,7 @@ _ZN10gxvk_lists6detail9feed_pushEyj # Num Counters: 1 # Counter Values: -40111539 +41171122 _ZN10gxvk_lists6reportEb # Func Hash: @@ -245602,7 +247668,7 @@ _ZN10gxvk_lists7cp_busyEy # Num Counters: 1 # Counter Values: -3188797 +3225864 _ZN10gxvk_lists7cp_heldEy # Func Hash: @@ -245610,7 +247676,7 @@ _ZN10gxvk_lists7cp_heldEy # Num Counters: 1 # Counter Values: -566374 +575188 _ZN10gxvk_lists8executedEyjj # Func Hash: @@ -245629,7 +247695,7 @@ _ZN10gxvk_lists8finishedEyy # Num Counters: 19 # Counter Values: -11560009 +11659195 0 0 0 @@ -245639,10 +247705,10 @@ _ZN10gxvk_lists8finishedEyy 0 156 0 -11559209 -11559664 +11658624 +11658951 0 -11560483 +11659967 0 0 0 @@ -245655,7 +247721,7 @@ _ZN10gxvk_lists9cp_cpu_nsEv # Num Counters: 1 # Counter Values: -4767 +4801 _ZN10gxvk_lists9cp_packetEi # Func Hash: @@ -245733,18 +247799,18 @@ _ZN10host_lists12rounds_sinceEyyyPNS_5ReuseE # Num Counters: 13 # Counter Values: -16170178 -2494 -1247 -2494 -2494 -44456548 -44456548 -16168931 -1247 -1247 -1247 -1247 +16233630 +2378 +1189 +2378 +2378 +44636150 +44636150 +16232441 +1189 +1189 +1189 +1189 0 _ZN10host_lists12shadow_beginEPKNS_5TakenEyyy @@ -245769,7 +247835,7 @@ _ZN10host_lists13round_seq_nowEv # Num Counters: 1 # Counter Values: -3189578 +3226658 _ZN10host_lists13shadow_packetEyjPKjy # Func Hash: @@ -245795,11 +247861,11 @@ _ZN10host_lists14note_submittedEyy # Num Counters: 5 # Counter Values: -10891661 -10891661 -10891646 -8627256 -10891587 +10956758 +10956758 +10956736 +8666678 +10956680 _ZN10host_lists16chunk_handed_outEyy # Func Hash: @@ -245807,17 +247873,17 @@ _ZN10host_lists16chunk_handed_outEyy # Num Counters: 11 # Counter Values: -75249936 -16162588 -8078234 -8084341 -8084378 +75549579 +16226586 +8110233 +8116150 +8116377 0 0 0 0 -31011446 -31011446 +31134312 +31134312 _ZN10host_lists4takeEyyPNS_5TakenE # Func Hash: @@ -245825,20 +247891,20 @@ _ZN10host_lists4takeEyyPNS_5TakenE # Num Counters: 14 # Counter Values: -60255505 -185786961 +60569551 +185973177 2886 -185783946 -185783934 -10891634 -7702068 -173733657 -10891619 +185970175 +185970163 +10956758 +7730112 +173805667 +10956736 0 -12050277 +12164496 0 -19028092 -19028092 +19211673 +19211673 _ZN10host_lists6reportEv # Func Hash: @@ -245846,9 +247912,9 @@ _ZN10host_lists6reportEv # Num Counters: 96 # Counter Values: -6355 -199 -127 +6353 +197 +125 0 6192 48 @@ -245859,10 +247925,10 @@ _ZN10host_lists6reportEv 0 0 0 -3 -3 -3 -3 +4 +4 +4 +4 0 12 0 @@ -245876,7 +247942,7 @@ _ZN10host_lists6reportEv 12 12 0 -3 +4 12 12 0 @@ -245891,7 +247957,7 @@ _ZN10host_lists6reportEv 0 0 0 -9 +8 0 0 0 @@ -245938,10 +248004,10 @@ _ZN10host_lists6reportEv 0 0 12 -9 +8 0 -3 -3 +4 +4 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -245962,20 +248028,20 @@ _ZN10host_lists9hand_overEyyRKNS_5TakenEPSt6vectorIhSaIhEE 0 0 0 -185783934 +185970163 0 0 0 -15 +22 0 0 0 -10891618 +10956736 0 0 0 0 -10891618 +10956736 0 _ZN10host_lists9note_slowEyyj @@ -245988,25 +248054,25 @@ _ZN10host_lists9note_slowEyyj 0 0 0 -354464036 -183984176 -193501185 +354993614 +184408883 +193901715 0 -354568557 +355155801 6192 -161702851 -183955090 +161806672 +184310436 6192 0 0 6192 6192 -175816071 +176111892 0 6192 0 -183905540 -543310 +184246996 +550759 0 0 0 @@ -246018,7 +248084,7 @@ _ZN10patch_file4SiteC2ERKS0_ # Num Counters: 7 # Counter Values: -9362 +9290 0 0 0 @@ -246401,13 +248467,13 @@ _ZN10slow_calls12final_reportEv 24576 24576 192 -34 -141 -141 +33 +140 +140 107 -141 -141 -141 +140 +140 +140 12 12 12 @@ -246438,23 +248504,23 @@ _ZN10slow_calls13window_reportB5cxx11Ev # Num Counters: 40 # Counter Values: -64608 -21536 -177 -177 +65232 +21744 +160 +160 0 -130 -130 +126 +126 0 -1216 -130 +1233 +126 0 0 0 -130 -130 +126 +126 0 -1216 +1233 0 0 0 @@ -246475,9 +248541,9 @@ _ZN10slow_calls13window_reportB5cxx11Ev 0 0 0 -1346 -130 -154 +1359 +126 +142 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -246544,8 +248610,8 @@ _ZN10slow_calls5Scope3endEv # Num Counters: 3 # Counter Values: -11004984 -11006258 +11114486 +11116027 0 _ZN10slow_calls5Scope4nextERKNS_4SiteE @@ -246554,13 +248620,13 @@ _ZN10slow_calls5Scope4nextERKNS_4SiteE # Num Counters: 8 # Counter Values: -2768966 -2768966 +2795889 +2795889 0 -2768966 -2768966 +2795889 +2795889 0 -2768966 +2795889 0 _ZN10slow_calls5Scope5beginEb @@ -246570,17 +248636,17 @@ _ZN10slow_calls5Scope5beginEb 12 # Counter Values: 141 -13800590 +13937948 0 -13803150 -13802422 +13940752 +13940410 0 0 0 141 -13801457 +13937684 0 -13802010 +13938744 _ZN10slow_calls5Scope6end_atEy # Func Hash: @@ -246588,14 +248654,14 @@ _ZN10slow_calls5Scope6end_atEy # Num Counters: 9 # Counter Values: -16570884 -16569484 -16569484 -16569714 -16569874 -371 +16735847 +16735863 +16734711 +16734926 +16735013 +323 0 -3118251 +3154451 0 _ZN10slow_calls7CpPhaseC2Ev @@ -246670,73 +248736,73 @@ _ZN10yebis_bind11build_stageEyiyjPyRNS_4WorkEb # Num Counters: 67 # Counter Values: -11646807 +11921988 0 -54667762 -54667762 -54667762 -47583905 -33253872 -7248438 -7248438 -14165452 -11646807 -14344330 -7248438 +55745303 +55745303 +55745303 +48529499 +33932012 +7383945 +7383945 +14429346 +11921988 +14611783 +7383945 0 -8716630 -181140 -10011772 +8910178 +184699 +10225352 0 -14344330 +14611783 0 0 0 -7248438 -14344330 -166843 +7383945 +14611783 +170403 0 0 -7081595 +7213542 0 0 -7248438 +7383945 0 -7081595 +7213542 0 0 156 12 0 -14344330 -7248438 -7083857 +14611783 +7383945 +7215804 144 -14344330 -7083857 -7248438 -7248438 -0 -7083857 -7248438 -906044 -7083857 -6795419 -7083857 -7083857 -7083857 -885474 -6641125 -0 -0 -0 -33253872 -11646807 -8897770 -11646807 -7083857 +14611783 +7215804 +7383945 +7383945 +0 +7215804 +7383945 +922983 +7215804 +6922459 +7215804 +7215804 +7215804 +901966 +6764829 +0 +0 +0 +33932012 +11921988 +9094877 +11921988 +7215804 108 -7083857 +7215804 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -246744,8 +248810,8 @@ _ZN10yebis_bind11build_stageEyiyjPyRNS_4WorkEb # NumValueSites: 1 2 -16:9844968 -32:1801881 +16:10054949 +32:1867039 _ZN10yebis_bind11run_orderedERKNS_4WorkE # Func Hash: @@ -246754,11 +248820,11 @@ _ZN10yebis_bind11run_orderedERKNS_4WorkE 6 # Counter Values: 0 -1247 +1189 0 -1247 +1189 0 -174404 +177611 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -246773,18 +248839,18 @@ _ZN10yebis_bind11table_knownEyj # Num Counters: 12 # Counter Values: -166843 +170403 0 0 -7081595 +7213542 0 -54667762 -54667762 -7248438 -14344330 +55745303 +55745303 +7383945 +14611783 0 -14344330 -14344330 +14611783 +14611783 _ZN10yebis_bind13note_fallbackEv # Func Hash: @@ -246801,10 +248867,10 @@ _ZN10yebis_bind3runERKNS_4WorkE 5 # Counter Values: 0 -21410679 -21410679 +21809859 +21809859 0 -7081281 +7213155 _ZN10yebis_bind4modeEv # Func Hash: @@ -246812,7 +248878,7 @@ _ZN10yebis_bind4modeEv # Num Counters: 5 # Counter Values: -7263522 +7399013 12 0 0 @@ -246826,48 +248892,48 @@ _ZN10yebis_bind6reportEv # Counter Values: 0 0 -24800 -24800 +24320 +24320 0 -1550 -775 -775 +1520 +760 +760 0 -775 +760 0 0 0 -775 -775 -775 +760 +760 +760 0 0 -775 +760 0 -775 +760 0 0 0 -775 -775 -775 +760 +760 +760 0 -775 +760 0 0 0 -775 -775 +760 +760 0 0 -775 +760 0 0 0 -775 -24800 -24800 -775 +760 +24320 +24320 +760 _ZN10yebis_bind7compareEiPKyS1_j # Func Hash: @@ -246889,8 +248955,8 @@ _ZN10yebis_bind8add_copyERNS_4WorkEyPKvj # Num Counters: 2 # Counter Values: -7081595 -7081595 +7213542 +7213542 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -246898,7 +248964,7 @@ _ZN10yebis_bind8add_copyERNS_4WorkEyPKvj # NumValueSites: 1 1 -129:7081625 +129:7213542 _ZN10yebis_bind9user_dataEyiyjPKyPj # Func Hash: @@ -246906,23 +248972,23 @@ _ZN10yebis_bind9user_dataEyiyjPKyPj # Num Counters: 18 # Counter Values: -366804 +373922 2262 -362280 +369398 2262 2262 -181140 +184699 2262 -178878 +182437 0 0 -181140 +184699 0 0 0 -181140 +184699 2262 -181140 +184699 0 # Num Value Kinds: 1 @@ -246931,8 +248997,8 @@ _ZN10yebis_bind9user_dataEyiyjPKyPj # NumValueSites: 1 2 -16:181142 -32:181142 +16:184700 +32:184700 _ZN10yebis_bind9verifyingEv # Func Hash: @@ -247654,19 +249720,19 @@ _ZN11flip_pacing10TickKeeper8note_askExxby # Num Counters: 13 # Counter Values: -5408 -33378 -31532 -661 +5600 +33516 +31984 +376 32 -1511 -1189 -676 -463 -448 -39 -444 -510 +1369 +1160 +700 +421 +290 +43 +286 +460 _ZN11gxvk_budget7victimsERKSt6vectorINS_4CopyESaIS1_EEjyj # Func Hash: @@ -248510,30 +250576,30 @@ _ZN11save_commit5beginERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 43 # Counter Values: 0 -3451 -203 +3587 +211 0 -203 -203 +211 +211 0 0 0 0 0 -3248 +3376 0 -203 +211 0 -203 +211 0 0 -203 -3248 -3248 +211 +3376 +3376 0 0 -203 -203 +211 +211 0 0 0 @@ -248568,43 +250634,43 @@ _ZN11save_commit6commitERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS # Counter Values: 0 0 -203 +211 0 0 -3451 +3587 0 -3248 -3248 -3248 -3248 -3248 +3376 +3376 +3376 +3376 +3376 0 0 0 -203 -203 +211 +211 0 0 0 0 0 0 -203 +211 0 0 0 -203 -203 -203 -203 +211 +211 +211 +211 0 -203 +211 0 -203 +211 0 0 -203 -203 +211 +211 0 0 0 @@ -248625,8 +250691,8 @@ _ZN11save_commit6commitERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS 0 0 0 -3248 -203 +3376 +211 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -248642,7 +250708,7 @@ _ZN11save_commit7recoverERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP # Num Counters: 83 # Counter Values: -239 +247 0 0 0 @@ -248652,16 +250718,16 @@ _ZN11save_commit7recoverERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP 0 0 0 -239 -239 -239 -239 -239 +247 +247 +247 +247 +247 0 0 0 0 -239 +247 0 0 0 @@ -248739,22 +250805,22 @@ _ZN11save_commit8paths_ofERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Num Counters: 61 # Counter Values: -848 -848 -848 -848 -848 -848 -848 -848 -848 +880 +880 +880 +880 +880 +880 +880 +880 +880 0 0 -848 -848 -848 -848 -848 +880 +880 +880 +880 +880 0 0 0 @@ -248807,9 +250873,9 @@ _ZN11save_commit8paths_ofERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # NumValueSites: 3 1 -16:848 +16:880 1 -9:848 +9:880 0 _ZN11talk_script8evaluateEPNS_5ValueEPhPNS_7ContextEPKh @@ -248819,16 +250885,16 @@ _ZN11talk_script8evaluateEPNS_5ValueEPhPNS_7ContextEPKh 311 # Counter Values: 0 -4244948 -4923383 -3413880 +4272496 +4985564 +3406886 0 0 0 0 0 -79817 -79817 +80352 +80352 0 0 0 @@ -248848,21 +250914,21 @@ _ZN11talk_script8evaluateEPNS_5ValueEPhPNS_7ContextEPKh 0 0 0 -2660100 +2702642 0 0 0 0 0 -62193698 -66698104 -58360841 +62605255 +67139600 +58747150 0 0 0 -3413880 +3406886 0 -18993593 +19105353 0 0 0 @@ -248871,20 +250937,20 @@ _ZN11talk_script8evaluateEPNS_5ValueEPhPNS_7ContextEPKh 0 0 0 -38955157 +39227406 0 0 0 0 0 -4544860 +4575367 0 19 0 0 0 0 -4544860 +4575367 0 0 99 @@ -248892,20 +250958,20 @@ _ZN11talk_script8evaluateEPNS_5ValueEPhPNS_7ContextEPKh 0 0 0 -4544860 +4575367 0 12 0 0 0 0 -159634 +160704 0 0 0 -8337263 +8392450 0 -8337263 +8392450 0 0 0 @@ -248922,18 +250988,18 @@ _ZN11talk_script8evaluateEPNS_5ValueEPhPNS_7ContextEPKh 0 0 0 -4464775 -2660100 -1804675 -2088850 -670791 +4495783 +2702642 +1793141 +2078535 +677119 0 0 0 0 0 -670791 -8369130 +677119 +8434077 0 0 0 @@ -248942,28 +251008,28 @@ _ZN11talk_script8evaluateEPNS_5ValueEPhPNS_7ContextEPKh 0 0 0 -1756777 +1763342 0 0 0 0 0 -79817 -76106 +80352 +75132 0 0 -4464775 +4495783 0 0 0 0 0 -236346 +239158 0 -236346 +239158 0 0 -150906 +151322 0 0 0 @@ -248987,17 +251053,17 @@ _ZN11talk_script8evaluateEPNS_5ValueEPhPNS_7ContextEPKh 0 0 0 -299912 +302871 0 0 -4464775 +4495783 0 -670791 -670791 -8369130 -8369130 -236346 -236346 +677119 +677119 +8434077 +8434077 +239158 +239158 0 0 0 @@ -249010,8 +251076,8 @@ _ZN11talk_script8evaluateEPNS_5ValueEPhPNS_7ContextEPKh 0 0 0 -236346 -236346 +239158 +239158 0 0 0 @@ -249020,24 +251086,24 @@ _ZN11talk_script8evaluateEPNS_5ValueEPhPNS_7ContextEPKh 0 0 0 -79817 +80352 0 0 -79817 +80352 0 0 -76106 +75132 0 0 0 0 -76106 +75132 0 0 -450818 +454193 0 0 -670791 +677119 16 0 0 @@ -249156,7 +251222,7 @@ _ZN11talk_script8evaluateEPNS_5ValueEPhPNS_7ContextEPKh 0 0 1 -** External Symbol **:8337294 +** External Symbol **:8392523 0 0 0 @@ -249918,7 +251984,7 @@ _ZN12list_resolve10run_serialEv # Num Counters: 1 # Counter Values: -197229709 +194620722 _ZN12list_resolve10targets_ofERK13GpuDrawInputs # Func Hash: @@ -249997,7 +252063,7 @@ _ZN12list_resolve12note_barrierEv # Num Counters: 2 # Counter Values: -19340693 +19459499 0 _ZN12list_resolve13report_commitEv @@ -250059,9 +252125,9 @@ _ZN12list_resolve5countENS_5CountEy # Num Counters: 3 # Counter Values: -260328516 -192719250 -192688024 +259822969 +190140364 +190117770 _ZN12list_resolve5splitENS_5SplitE # Func Hash: @@ -250069,7 +252135,7 @@ _ZN12list_resolve5splitENS_5SplitE # Num Counters: 4 # Counter Values: -67523816 +68001260 0 0 0 @@ -250295,28 +252361,28 @@ _ZN13GpuDrawInputsC2Ev # Num Counters: 22 # Counter Values: -369730419 -369730419 -1849032150 -1849032150 -369827109 -369827109 -1848969795 -1848969795 -369793461 -123264487 -3821327499 -862880403 -862964879 -862964879 -862998507 -369856503 -3822217788 -616486740 -123299606 -123299606 -123300201 -123300201 +365914737 +365886675 +1829733375 +1829733375 +365963979 +365963910 +1829596035 +1829596035 +365937258 +121969227 +3781184793 +853815921 +853894055 +853894020 +853925611 +365968119 +3781543339 +609880215 +121982071 +121982071 +121982494 +121982492 _ZN13HostPacedFile4syncEv # Func Hash: @@ -250324,8 +252390,8 @@ _ZN13HostPacedFile4syncEv # Num Counters: 2 # Counter Values: -0 -0 +32 +32 _ZN13HostPacedFile5writeEPKvy # Func Hash: @@ -250333,11 +252399,11 @@ _ZN13HostPacedFile5writeEPKvy # Num Counters: 5 # Counter Values: -0 -0 -0 -0 -0 +27266 +31 +27235 +54501 +27266 _ZN13HostPacedFile6commitEv # Func Hash: @@ -250345,14 +252411,14 @@ _ZN13HostPacedFile6commitEv # Num Counters: 8 # Counter Values: +1 +1 +1 +1 0 -0 -0 -0 -0 -0 -0 -0 +1 +1 +1 _ZN13HostPacedFileC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_y # Func Hash: @@ -250360,7 +252426,7 @@ _ZN13HostPacedFileC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_y # Num Counters: 3 # Counter Values: -0 +1 0 0 # Num Value Kinds: @@ -250379,7 +252445,7 @@ _ZN13HostPacedFileD2Ev 6 # Counter Values: 0 -0 +1 0 0 0 @@ -250474,7 +252540,7 @@ _ZN13label_landing11drop_reusedEv # Num Counters: 1 # Counter Values: -1997737 +2020199 _ZN13label_landing11recent_intoEyyPNS_6LandedEi # Func Hash: @@ -250585,7 +252651,7 @@ _ZN13label_landing2onEv # Num Counters: 1 # Counter Values: -30299577 +30474331 _ZN13label_landing3addEyPKNS_5WriteEy # Func Hash: @@ -250788,21 +252854,21 @@ _ZN13recorder_rest4stepERNS_5StateEdddb # Num Counters: 15 # Counter Values: -1090 -218 -1887 -4537 -7 -4530 -6 +1210 +242 +1890 +4547 +20 +4527 +18 +5 +28 3 -26 +18 1 -7 -0 -1833 -53 -2673 +1831 +83 +2680 _ZN14ImGuiTextIndex6appendEPKcii # Func Hash: @@ -250957,9 +253023,9 @@ _ZN14MainThreadWaitC2Ei 5 # Counter Values: 0 -87519834 -14445986 -14445986 +88723456 +14593105 +14593105 0 _ZN14MainThreadWaitD2Ev @@ -250968,7 +253034,7 @@ _ZN14MainThreadWaitD2Ev # Num Counters: 40 # Counter Values: -14445982 +14593102 0 0 0 @@ -250976,9 +253042,9 @@ _ZN14MainThreadWaitD2Ev 0 0 0 -88123052 -14445982 -14445982 +89292777 +14593102 +14593102 0 0 0 @@ -251017,7 +253083,7 @@ _ZN14sf_text_layout10table_noteIPFbyyEEEPNS_12WrapperEntryERNS_12WrapperTableEyy # Counter Values: 0 0 -9350380 +9518100 1812 1611 0 @@ -251026,12 +253092,12 @@ _ZN14sf_text_layout10table_noteIPFbyyEEEPNS_12WrapperEntryERNS_12WrapperTableEyy 0 0 201 -1642286 +1667437 0 -1642936 -1642245 +1668064 +1667402 0 -1642096 +1667214 201 0 201 @@ -251527,9 +253593,9 @@ _ZN16ImGuiMenuColumns6UpdateEfb _ZN16PluginOptionDescC2EOS_ # Func Hash: -396878503536015401 +514491266600168911 # Num Counters: -7 +8 # Counter Values: 0 0 @@ -251538,12 +253604,14 @@ _ZN16PluginOptionDescC2EOS_ 0 0 0 +0 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: -6 +7 +0 0 0 0 @@ -251781,9 +253849,9 @@ _ZN17HostSettingsStore6listenEPFvRK12HostSettingsE # NumValueSites: 1 5 -@SRC@/src/engine/key_prompts.cpp;_ZN12_GLOBAL__N_116settings_changedERK12HostSettings:12 -@SRC@/src/host/shader_patch.cpp;_ZN12_GLOBAL__N_116settings_changedERK12HostSettings:12 @SRC@/src/engine/graphics_patch.cpp;_ZN12_GLOBAL__N_116settings_changedERK12HostSettings:12 +@SRC@/src/host/shader_patch.cpp;_ZN12_GLOBAL__N_116settings_changedERK12HostSettings:12 +@SRC@/src/engine/key_prompts.cpp;_ZN12_GLOBAL__N_116settings_changedERK12HostSettings:12 @SRC@/src/engine/render_scale.cpp;_ZN12_GLOBAL__N_116settings_changedERK12HostSettings:12 @SRC@/src/engine/camera.cpp;_ZN12_GLOBAL__N_116settings_changedERK12HostSettings:12 @@ -253635,52 +255703,52 @@ _ZN3gcn10decode_oneEPKjyyRNS_4InstE # Num Counters: 46 # Counter Values: -126482 -0 -3664484 -1595604 -18186114 -1789824 -1791566 -3280077 -8511371 -6685264 -3668614 -159947 -401224 -398892 -1517395 -69461 -225969 -19062 -781887 -14674853 -229523 -2189131 -1870080 -3309588 -69458 -2188320 -248550 -398902 -159965 -401243 -126489 -456292 -3658266 -11288 -1517221 -159945 -126477 -398900 -0 -456232 -401213 -3664576 -153777 -3508653 -3194215 -218173 +126267 +0 +3660948 +1596092 +18185309 +1788947 +1790575 +3278365 +8509364 +6682435 +3665608 +159930 +400766 +399016 +1516174 +69298 +225884 +19027 +781623 +14685352 +229460 +2187643 +1868660 +3309024 +69298 +2186975 +248469 +399014 +159931 +400783 +126275 +455938 +3655580 +11239 +1515995 +159914 +126267 +399007 +0 +455872 +400754 +3661114 +153636 +3508334 +3196414 +218181 _ZN3gcn11apply_namesERKSt6vectorIjSaIjEERKNS_11ShaderNamesE # Func Hash: @@ -253688,44 +255756,44 @@ _ZN3gcn11apply_namesERKSt6vectorIjSaIjEERKNS_11ShaderNamesE # Num Counters: 49 # Counter Values: -7117149 -6653443 -67447 -255632 +7113381 +6649647 +67385 +255480 60 0 -1955771 -12533966 -11228354 -16232 -64644158 -1311493 -463143 -63573124 -64607417 -1167908 -144499 -152541 -1100440 -4448 -4012 -67451 -1312376 -1160216 -845700 -144501 -255640 -67450 +1955011 +12516573 +11210864 +16220 +63842957 +1310254 +462767 +63079690 +63629848 +1167059 +144370 +152374 +1099535 +4436 +4008 +67386 +1311409 +1159416 +845039 +144368 +255525 +67385 60 0 -40291 -845803 -255642 +40251 +845205 +255529 0 0 60 0 -40292 +40250 0 0 0 @@ -253744,7 +255812,7 @@ _ZN3gcn11clip_demoteEv # Num Counters: 1 # Counter Values: -1943 +1925 _ZN3gcn11oob_controlEv # Func Hash: @@ -253760,13 +255828,13 @@ _ZN3gcn11shader_codeERKSt6vectorIhSaIhEERNS_10ShaderCodeE # Num Counters: 9 # Counter Values: -127425 -127424 -127425 -127422 -127423 +127402 +127400 +127402 +127395 +127395 0 -127425 +127400 0 0 # Num Value Kinds: @@ -253776,11 +255844,11 @@ _ZN3gcn11shader_codeERKSt6vectorIhSaIhEERNS_10ShaderCodeE # NumValueSites: 1 10 -513:87202 -257:21935 -129:10481 -65:4203 -33:2234 +513:87160 +257:21953 +129:10489 +65:4209 +33:2223 64:564 128:489 512:144 @@ -253814,7 +255882,9 @@ _ZN3gcn11spill_cellsERKNS_7ProgramE 0 0 0 +976 0 +976 0 0 0 @@ -253833,6 +255903,7 @@ _ZN3gcn11spill_cellsERKNS_7ProgramE 0 0 0 +4 0 0 0 @@ -253896,11 +255967,8 @@ _ZN3gcn11spill_cellsERKNS_7ProgramE 0 0 0 -0 -0 -0 -0 -0 +532 +56 0 0 0 @@ -253935,11 +256003,11 @@ _ZN3gcn11vk_stage_ofERKNS_16TranslateOptionsE # Num Counters: 6 # Counter Values: -141278 -141253 -59379 +141240 +141218 +59353 334 -708 +718 2604 _ZN3gcn12bnd4_entriesERKSt6vectorIhSaIhEERS0_INS_11BundleEntryESaIS5_EEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE @@ -254004,7 +256072,7 @@ _ZN3gcn12index_boundsEv # Num Counters: 1 # Counter Values: -108159 +108143 _ZN3gcn12operand_nameB5cxx11Etji # Func Hash: @@ -254013,17 +256081,14 @@ _ZN3gcn12operand_nameB5cxx11Etji 52 # Counter Values: 0 -24 -24 -0 -96 -0 -0 -0 -0 +48 +980 0 +178 +120 0 0 +24 0 0 0 @@ -254033,13 +256098,16 @@ _ZN3gcn12operand_nameB5cxx11Etji 0 0 0 -24 +2 0 0 +52 0 0 +40 0 0 +2 0 0 0 @@ -254134,42 +256202,42 @@ _ZN3gcn13name_bindingsERKNS_16ShaderReflectionERKNS_15TranslateResultE # Num Counters: 51 # Counter Values: -521017 -782773 -521018 -138099 -144541 -1559700 -521017 -251804 -52796 -2322141 -1623508 -1622138 -144541 -0 -67457 -0 -255362 -144526 -67457 -52796 -202888 -701231 -144541 -67457 -255676 +520571 +782069 +520563 +137996 +144380 +1558850 +520578 +251646 +52750 +2320653 +1622544 +1620954 +144380 +0 +67397 +0 +255213 +144380 +67397 +52747 +202786 +700780 +144380 +67397 +255514 2880 -11151 +11141 0 0 -202889 -67457 -144542 +202792 +67397 +144369 48 -202535 -40293 -40293 +202435 +40254 +40253 0 0 0 @@ -254183,8 +256251,8 @@ _ZN3gcn13name_bindingsERKNS_16ShaderReflectionERKNS_15TranslateResultE 0 0 0 -202528 -202839 +202406 +202731 _ZN3gcn13parse_gs_copyERKNS_7ProgramEjRSt6vectorINS_9GsCopyOutESaIS4_EERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -254623,9 +256691,9 @@ _ZN3gcn14spill_cells_onEv # Num Counters: 4 # Counter Values: -0 -0 -0 +4 +1 +1 0 _ZN3gcn15TranslateResultC2EOS0_ @@ -254634,7 +256702,7 @@ _ZN3gcn15TranslateResultC2EOS0_ # Num Counters: 1 # Counter Values: -33684 +33686 _ZN3gcn15TranslateResultC2ERKS0_ # Func Hash: @@ -254643,9 +256711,9 @@ _ZN3gcn15TranslateResultC2ERKS0_ 23 # Counter Values: 46207 -24535 -24223 -8588 +24536 +24224 +8582 36952 0 0 @@ -254672,10 +256740,10 @@ _ZN3gcn15TranslateResultD2Ev # Num Counters: 8 # Counter Values: -297077 -44748 -54745 -67943 +297102 +44778 +54729 +67953 0 0 0 @@ -254687,7 +256755,7 @@ _ZN3gcn15TranslateResultaSEOS0_ # Num Counters: 1 # Counter Values: -126572 +126587 _ZN3gcn15TranslateResultaSERKS0_ # Func Hash: @@ -254695,7 +256763,7 @@ _ZN3gcn15TranslateResultaSERKS0_ # Num Counters: 1 # Counter Values: -50567 +50566 _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE # Func Hash: @@ -254838,7 +256906,7 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 0 430 430 -1056673 +1056551 0 0 6525 @@ -254874,7 +256942,7 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 0 0 51645 -51645 +51642 645 430 645 @@ -254919,7 +256987,7 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 1305 1305 1305 -1304 +1305 1305 1305 0 @@ -254930,7 +256998,7 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 0 12260 2150 -2795 +2794 0 0 0 @@ -254940,7 +257008,7 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 0 0 2795 -12259 +12258 0 215 0 @@ -254966,10 +257034,10 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 0 0 0 +2793 2795 2795 -2795 -1033127 +1034128 165 1293250 0 @@ -255006,9 +257074,9 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 0 0 0 -9885268 +9899410 0 -22857 +22851 215 0 1290 @@ -255022,7 +257090,7 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 215 0 0 -456684 +456590 0 215 215 @@ -255032,7 +257100,7 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 215 215 215 -449065 +448972 1290 4300 0 @@ -255048,11 +257116,11 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 4300 215 0 -179622 +179604 0 0 -128649 -83815 +128653 +83798 0 215 0 @@ -255064,14 +257132,14 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 0 0 2545 -1060560 -77700 -72150 +1060622 +77694 +72144 165 15240 15240 15240 -15239 +15240 0 0 0 @@ -255083,18 +257151,18 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 1505 1305 1305 -128638 -7619 -128651 +128630 +7617 +128652 215 215 215 -1058012 +1058271 215 215 1090 2545 -11100 +11098 0 0 51645 @@ -255119,16 +257187,16 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 9090 0 0 -128628 +128619 215 165 215 1505 87980 -1057666 +1057684 215 1075 -14664 +14665 215 215 1075 @@ -255141,8 +257209,8 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 51430 0 0 -3808757 -91528 +3817226 +91519 5550 7260 7370 @@ -255153,7 +257221,7 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 4515 7260 0 -54580 +54574 215 0 215 @@ -255163,10 +257231,10 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 1505 215 1290 -3678164 +3685390 0 -3678332 -3676271 +3685363 +3685100 215 7620 0 @@ -255186,10 +257254,10 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 1290 0 0 -2088625 +2091584 0 -7619 -7619 +7617 +7617 0 215 0 @@ -255240,11 +257308,11 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 0 0 0 -8875 +8873 0 0 215 -1032174 +1032775 215 0 215 @@ -255294,7 +257362,7 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 0 0 215 -19858 +19860 0 165 0 @@ -255309,7 +257377,7 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 0 215 36953 -15239 +15240 15239 0 215 @@ -255949,13 +258017,13 @@ _ZN3gcn15gs_vertex_stageERKSt6vectorIjSaIjEES4_RKNS_15GsVertexOptionsE 0 0 0 -7619 -7619 +7617 +7617 0 -149166 -149166 -5704076 -5704076 +149159 +149159 +5715572 +5715572 2545 2545 87980 @@ -255990,7 +258058,7 @@ _ZN3gcn15native_half_rtzEv # Num Counters: 2 # Counter Values: -12 +16 0 _ZN3gcn15set_clip_demoteEb @@ -256015,7 +258083,7 @@ _ZN3gcn15subgroup_stagesEv # Num Counters: 1 # Counter Values: -141290 +141253 _ZN3gcn15tbuffer_dst_selEv # Func Hash: @@ -256023,9 +258091,9 @@ _ZN3gcn15tbuffer_dst_selEv # Num Counters: 4 # Counter Values: -0 -0 -0 +48 +1 +1 0 _ZN3gcn16TranslateOptionsC2ERKS0_ @@ -256034,7 +258102,7 @@ _ZN3gcn16TranslateOptionsC2ERKS0_ # Num Counters: 10 # Counter Values: -353 +352 0 0 0 @@ -256083,95 +258151,95 @@ _ZN3gcn16parse_reflectionERKSt6vectorIhSaIhEERNS_16ShaderReflectionEPNSt7__cxx11 0 0 0 -1546452 -1504656 +1544269 +1502532 0 -177478 -49299 -177410 +177358 +49273 +177182 0 0 0 0 -49305 +49278 0 0 -7510 +7544 0 0 0 0 -41795 +41737 0 0 -41795 -41795 +41737 +41737 0 -41795 -41794 -41795 -41794 -41796 -41796 -41796 -41795 -41795 -354303 -354300 -354307 -354307 -354304 -354303 -354295 -2790335 -2790486 -2790492 -2790497 -2790486 -2790646 -71123 -71124 -443867 -443867 -443868 -443857 +41737 +41737 +41737 +41737 +41737 +41737 +41737 +41737 +41737 +354077 +354074 +354074 +354074 +354074 +354072 +354054 +2787981 +2788106 +2788142 +2788146 +2788143 +2788354 +71063 +71063 +443329 +443329 +443326 +443296 0 0 0 0 0 -354291 -354303 +354051 +354067 0 -2790642 +2788317 0 -2789726 -2790138 -2790411 +2787369 +2787779 +2788079 0 -71125 +71062 0 -443852 +443294 0 -443828 -443858 -443864 -354301 +443290 +443331 +443334 +354073 0 -2790342 -2790708 -71124 -443868 -443862 -41796 -41796 -41796 -354303 -2790622 -2790836 -71123 -443871 -443860 +2787957 +2788343 +71063 +443327 +443298 +41737 +41737 +41737 +354078 +2788195 +2788534 +71063 +443332 +443305 0 0 0 @@ -256180,7 +258248,7 @@ _ZN3gcn16parse_reflectionERKSt6vectorIhSaIhEERNS_16ShaderReflectionEPNSt7__cxx11 0 0 0 -41795 +41735 0 0 0 @@ -256219,11 +258287,11 @@ _ZN3gcn16parse_reflectionERKSt6vectorIhSaIhEERNS_16ShaderReflectionEPNSt7__cxx11 0 0 0 -1546091 +1543979 0 -22697 -41794 -231977 +22677 +41735 +231629 _ZN3gcn16set_index_boundsEb # Func Hash: @@ -256350,7 +258418,7 @@ _ZN3gcn18image_store_boundsEv # Num Counters: 1 # Counter Values: -1043 +1044 _ZN3gcn18lift_constant_hullERKNS_7ProgramE # Func Hash: @@ -256358,59 +258426,59 @@ _ZN3gcn18lift_constant_hullERKNS_7ProgramE # Num Counters: 182 # Counter Values: -11609 -86653 +11614 +86696 4568 0 -9135 -72981 +9138 +73039 0 4568 -11610 -86640 -72983 -32333 -266080 -266012 -266057 +11615 +86685 +73022 +32360 +266180 +266148 +266151 9136 -18268 +18276 0 -72990 +73029 0 0 0 -11610 -13694 +11614 +13700 +9136 9133 -9132 -86652 -163801 -72981 +86695 +163891 +73036 0 0 -27391 -9133 -11610 +27404 +9135 +11614 0 -4568 -72965 +4569 +72988 0 0 0 0 0 0 -27379 +27387 0 0 0 0 0 0 -4568 +4569 0 -9134 +9135 0 0 0 @@ -256420,12 +258488,12 @@ _ZN3gcn18lift_constant_hullERKNS_7ProgramE 0 0 0 -7042 +7045 0 0 -6833 -4778 -18259 +6825 +4791 +18265 0 0 0 @@ -256440,15 +258508,15 @@ _ZN3gcn18lift_constant_hullERKNS_7ProgramE 0 0 0 -2265 -4568 +2256 +4569 0 0 -4568 -4568 -4568 -4568 -4568 +4569 +4569 +4569 +4569 +4569 0 0 0 @@ -256461,7 +258529,7 @@ _ZN3gcn18lift_constant_hullERKNS_7ProgramE 0 0 0 -2265 +2256 0 0 0 @@ -256537,8 +258605,8 @@ _ZN3gcn18lift_constant_hullERKNS_7ProgramE 0 0 0 -4947 -4947 +4953 +4953 0 # Num Value Kinds: 1 @@ -256579,7 +258647,7 @@ _ZN3gcn18lift_vertex_shaderERKNS_7ProgramERKNS_16TranslateOptionsERKNS_15Transla # Num Counters: 1 # Counter Values: -0 +2 _ZN3gcn18pixel_wave64_needsERKNS_7ProgramERKSt3setIjSt4lessIjESaIjEE # Func Hash: @@ -256623,53 +258691,53 @@ _ZN3gcn18predict_image_dimsERKNS_7ProgramERKNS_15TranslateResultE # Num Counters: 47 # Counter Values: -1810536 -7883220 -291264 -0 -1654232 -608886 -629868 -1079619 -384680 -1079729 -384688 -131880 -15116422 -0 -116978 -14890 -1719824 -11347576 -11347576 -11212498 -157524 -509424 -12 -157524 -157513 -1051956 -509479 -157513 -178460 +1810321 +7881388 +291218 +0 +1654057 +608840 +629836 +1079798 +384658 +1079830 +384675 +131867 +15106821 +0 +116988 +14892 +1719639 +11346467 +11346467 +11196891 +157519 +509399 +12 +157519 +157519 +1051823 +509489 +157519 +178585 45166 16356 -16355 -178554 -156133 +16356 +178558 +156139 0 -156132 -14892 +156138 +14890 0 0 0 0 -334776 -334776 +334790 +334790 0 2712 7476 -14890 +14892 _ZN3gcn19hlsl_interface_diffB5cxx11ERKSt6vectorIjSaIjEES4_ # Func Hash: @@ -257735,35 +259803,35 @@ _ZN3gcn24vertex_format_descriptorEjj # Num Counters: 29 # Counter Values: -117915414 -201638312 +117967035 +201426771 0 0 0 -2262560268 -2262560268 -1982745165 -279899207 -161985677 -572139848 -565671222 -163474381 -201642556 -370638296 -565646030 -207285546 +2255461372 +2255456280 +1975591396 +279716440 +161762114 +570312733 +563913675 +162774092 +201427484 +369083772 +563859006 +206448250 0 0 -10123446 -19472918 -274877945 -58806008 -93163664 -39582558 -75360213 -95853282 -89317869 -268928496 +10025844 +19402155 +273719484 +59202255 +92705069 +39535203 +75033901 +95454587 +88962661 +267818733 _ZN3gcn25make_rect_geometry_shaderERKSt6vectorIjSaIjEEib # Func Hash: @@ -257957,154 +260025,22 @@ _ZN3gcn25make_rect_geometry_shaderERKSt6vectorIjSaIjEEib 0 0 0 - -_ZN3gcn26set_runtime_sample_offsetsEb -# Func Hash: -742261418966908927 -# Num Counters: -1 -# Counter Values: -12 - -_ZN3gcn30program_allows_native_half_rtzERKNS_7ProgramE -# Func Hash: -974670607220597066 -# Num Counters: -8 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 - -_ZN3gcn36vertex_formats_from_params_supportedERKSt6vectorINS_13VertexElementESaIS1_EE -# Func Hash: -934081908985616576 -# Num Counters: -30 -# Counter Values: -112554618 -181577786 -0 -0 -0 -2218953905 -2218942078 -1948419140 -270628255 -158138602 -561758414 -561813408 -554698384 -554703876 -168297842 -181562998 -380448170 -554695144 -212157745 -128766267 -0 -0 -10124067 -19477898 -282949620 -53386263 -94755713 -23299858 -76954859 -97465134 - -_ZN3gcn6decodeEPKjy -# Func Hash: -560555357438926639 -# Num Counters: -20 -# Counter Values: -0 -107332 -29482587 -28418871 -107326 -941852 -0 -107328 -0 -0 -105519 -0 -107345 -107334 -0 -0 -0 -0 -0 -0 - -_ZN3gcn6formatB5cxx11ERKNS_4InstE -# Func Hash: -668811392916881661 -# Num Counters: -628 -# Counter Values: -0 -24 -0 -0 -0 -0 -0 -0 -0 -0 -24 -0 -0 -0 -0 -0 -0 -24 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -36 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 + +_ZN3gcn26set_runtime_sample_offsetsEb +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +12 + +_ZN3gcn30program_allows_native_half_rtzERKNS_7ProgramE +# Func Hash: +974670607220597066 +# Num Counters: +8 +# Counter Values: 0 -96 0 0 0 @@ -258112,19 +260048,80 @@ _ZN3gcn6formatB5cxx11ERKNS_4InstE 0 0 0 + +_ZN3gcn36vertex_formats_from_params_supportedERKSt6vectorINS_13VertexElementESaIS1_EE +# Func Hash: +934081908985616576 +# Num Counters: +30 +# Counter Values: +112651756 +181496695 +0 +0 +0 +2211653254 +2211610688 +1941160803 +270546291 +157970739 +559851503 +559927552 +552856402 +552864347 +167489970 +181496824 +378677269 +552862216 +211186115 +128602152 +0 +0 +10026331 +19408883 +281611233 +53821370 +94269732 +23377872 +76596105 +97021342 + +_ZN3gcn6decodeEPKjy +# Func Hash: +560555357438926639 +# Num Counters: +20 +# Counter Values: 0 +107267 +29517803 +28458844 +107267 +941212 0 +107270 0 0 +105491 0 +107276 +107268 0 0 0 0 0 0 + +_ZN3gcn6formatB5cxx11ERKNS_4InstE +# Func Hash: +668811392916881661 +# Num Counters: +628 +# Counter Values: +28 +24 0 -36 0 0 0 @@ -258132,25 +260129,17 @@ _ZN3gcn6formatB5cxx11ERKNS_4InstE 0 0 0 +48 0 0 +2 0 0 0 +56 0 0 0 -24 -24 -24 -24 -24 -24 -24 -24 -24 -24 -24 0 0 0 @@ -258159,17 +260148,21 @@ _ZN3gcn6formatB5cxx11ERKNS_4InstE 0 0 0 +80 +4 0 0 0 0 0 +2 +4 0 -24 0 0 0 0 +14 0 0 0 @@ -258179,31 +260172,53 @@ _ZN3gcn6formatB5cxx11ERKNS_4InstE 0 0 0 +584 +28 0 0 +4 +72 +72 +72 +76 +76 +76 +76 0 0 0 0 0 -12 0 0 -24 0 +82 0 0 0 +48 0 -12 0 0 24 0 +24 0 0 0 +18 0 +24 +48 +48 +48 +48 +48 +48 +48 +48 +48 +48 0 0 0 @@ -258215,29 +260230,19 @@ _ZN3gcn6formatB5cxx11ERKNS_4InstE 0 0 0 +28 0 0 -12 -12 -12 -12 -12 -24 +56 0 0 0 0 0 0 -24 -24 -24 -24 -24 -24 -24 0 0 +2 0 0 0 @@ -258246,28 +260251,59 @@ _ZN3gcn6formatB5cxx11ERKNS_4InstE 0 0 0 +2 0 0 +16 0 0 +56 +68 0 0 +2 0 +16 0 0 +56 +68 0 0 -24 0 +10 0 0 0 -36 +2 +2 +2 +2 +2 0 0 0 0 0 +16 +16 +16 +16 +16 +48 +68 +68 +68 +68 +68 +10 +56 +56 +56 +56 +56 +48 +48 0 0 0 @@ -258284,33 +260320,48 @@ _ZN3gcn6formatB5cxx11ERKNS_4InstE 0 0 0 +28 0 0 0 0 +24 0 0 +28 0 +78 +4 0 0 +266 0 0 0 +266 0 0 0 0 0 0 +228 0 0 0 0 0 -36 0 0 0 +228 +266 +266 +266 +266 +266 +266 +266 0 0 0 @@ -258324,6 +260375,19 @@ _ZN3gcn6formatB5cxx11ERKNS_4InstE 0 0 0 +76 +14 +0 +0 +28 +0 +0 +28 +28 +28 +0 +0 +0 0 0 0 @@ -258332,27 +260396,31 @@ _ZN3gcn6formatB5cxx11ERKNS_4InstE 0 0 0 -12 0 -24 0 0 0 -12 -12 -12 -12 -12 -12 -12 36 -12 -12 -12 +0 +40 +0 +0 +0 36 36 +12 36 36 +36 +12 +76 +12 +12 +12 +76 +76 +76 +76 0 0 0 @@ -258666,15 +260734,15 @@ _ZN3gcn6formatB5cxx11ERKNS_4InstE 0 0 0 -12 -36 -0 -0 +32 +52 0 +24 +8 0 0 0 -24 +48 0 0 0 @@ -258689,62 +260757,89 @@ _ZN3gcn6formatB5cxx11ERKNS_4InstE 0 0 1 -8:12 -1 -9:12 -0 -0 -1 -9:12 +8:16 1 -9:12 +9:16 1 -9:12 +4:2 1 -9:12 +6:2 1 9:36 1 9:36 1 -9:24 +9:12 1 -9:24 -0 -0 -0 -0 -0 -0 -0 -0 +9:12 +1 +9:76 +1 +9:76 +4 +9:38 +8:8 +4:6 +5:4 +3 +9:46 +6:6 +7:4 +2 +9:6 +16:4 0 0 0 +2 +5:190 +4:76 +2 +7:190 +6:76 +1 +9:228 +2 +5:52 +4:16 +2 +7:52 +6:16 0 0 0 0 +2 +5:26 +4:2 0 0 +3 +6:46 +5:22 +4:8 0 0 0 0 0 -1 +2 8:24 -1 9:24 1 -5:24 +9:48 +2 +5:26 +6:22 1 -9:24 -0 +9:48 0 0 0 0 +2 +6:46 +5:26 _ZN3gcn7is_sgprEt # Func Hash: @@ -258776,48 +260871,48 @@ _ZN3gcn8mnemonicERKNS_4InstE # Num Counters: 42 # Counter Values: -45470728 -17313826 -7448239 -11947982 -16756760 -7022730 -11653704 -558673 -426444 -296809 -362569 -61334 -1169781 -106510 -3381453 -2837430 -22985261 -5296823 -2026818 -747100 -558614 -426417 -0 -296687 -375550 -230065 -1169772 -2026955 -5299088 -362575 -747111 -61334 -2837706 -106514 -3381318 -22993479 -1167780 -1167939 -4121069 -157886 -4122628 -157897 +45545564 +17300034 +7441212 +11952171 +16742593 +7015824 +11657275 +558205 +425818 +296789 +362541 +61291 +1169450 +106347 +3380297 +2836285 +23002382 +5296366 +2025210 +746834 +558178 +425822 +0 +296710 +375497 +229939 +1169521 +2025310 +5298283 +362551 +746844 +61293 +2836483 +106347 +3380726 +23010637 +1166717 +1166773 +4119956 +157817 +4120884 +157822 _ZN3gcn9bnd4_packERKNS_11Bnd4ArchiveE # Func Hash: @@ -258930,11 +261025,11 @@ _ZN3gcn9name_liftERNS_10LiftResultERKNS_15TranslateResultERKNS_16ShaderReflectio # Num Counters: 5 # Counter Values: -40293 -40293 -40292 +40254 +40254 +40252 0 -40293 +40254 _ZN3gcn9oob_countEv # Func Hash: @@ -258942,7 +261037,7 @@ _ZN3gcn9oob_countEv # Num Counters: 1 # Counter Values: -141281 +141253 _ZN3gcn9read_fileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIhSaIhEE # Func Hash: @@ -258963,13 +261058,24 @@ _ZN3gcn9translateERKNS_7ProgramERKNS_16TranslateOptionsE # Num Counters: 247 # Counter Values: +76 0 +76 +76 0 +122 0 0 0 0 0 +150 +150 +150 +122 +122 +8 +28 0 0 0 @@ -258981,6 +261087,7 @@ _ZN3gcn9translateERKNS_7ProgramERKNS_16TranslateOptionsE 0 0 0 +150 0 0 0 @@ -259003,11 +261110,20 @@ _ZN3gcn9translateERKNS_7ProgramERKNS_16TranslateOptionsE 0 0 0 +80 0 +56 +2 +80 0 +8 0 0 +6 +6 0 +56 +56 0 0 0 @@ -259045,6 +261161,9 @@ _ZN3gcn9translateERKNS_7ProgramERKNS_16TranslateOptionsE 0 0 0 +2 +2 +2 0 0 0 @@ -259056,6 +261175,8 @@ _ZN3gcn9translateERKNS_7ProgramERKNS_16TranslateOptionsE 0 0 0 +2 +2 0 0 0 @@ -259067,6 +261188,7 @@ _ZN3gcn9translateERKNS_7ProgramERKNS_16TranslateOptionsE 0 0 0 +2 0 0 0 @@ -259076,6 +261198,7 @@ _ZN3gcn9translateERKNS_7ProgramERKNS_16TranslateOptionsE 0 0 0 +2 0 0 0 @@ -259122,10 +261245,14 @@ _ZN3gcn9translateERKNS_7ProgramERKNS_16TranslateOptionsE 0 0 0 +1 0 0 +1 0 +1 0 +1 0 0 0 @@ -259167,39 +261294,7 @@ _ZN3gcn9translateERKNS_7ProgramERKNS_16TranslateOptionsE 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +2 0 0 0 @@ -259229,9 +261324,9 @@ _ZN3gpu10QueueGuardC2ERKN10slow_calls4SiteE # Num Counters: 7 # Counter Values: -904 -904 -904 +910 +910 +910 0 0 0 @@ -259251,7 +261346,7 @@ _ZN3gpu10QueueGuardD2Ev # Num Counters: 2 # Counter Values: -700 +706 0 _ZN3gpu10VramCensus10note_blockEiiy @@ -259260,10 +261355,10 @@ _ZN3gpu10VramCensus10note_blockEiiy # Num Counters: 6 # Counter Values: -699966 -699966 +710844 +710844 0 -436 +444 0 0 @@ -259273,8 +261368,8 @@ _ZN3gpu10cb_push_onEv # Num Counters: 2 # Counter Values: -211 -211 +220 +220 _ZN3gpu10oob_totalsEv # Func Hash: @@ -259323,16 +261418,16 @@ _ZN3gpu10tsharp_dimEjRb # Num Counters: 10 # Counter Values: -160 -617710 -8916237 +152 +619867 +9369262 0 0 -240147 -8916281 -377403 +238422 +9369317 +381293 0 -240147 +238422 _ZN3gpu10vb_race_onEv # Func Hash: @@ -259340,7 +261435,7 @@ _ZN3gpu10vb_race_onEv # Num Counters: 1 # Counter Values: -773269 +775496 _ZN3gpu10view_block7refusalEPKf # Func Hash: @@ -259348,25 +261443,25 @@ _ZN3gpu10view_block7refusalEPKf # Num Counters: 19 # Counter Values: -10344176064 -10344176064 -47881161 -47896261 -47894487 -47895671 -47894930 -47895802 -47896191 -47896728 -47896744 -47896992 -47897215 -47897600 -47896781 -47897347 -47897393 -47897520 -47895212 +10238967864 +10238508864 +47397365 +47404743 +47404775 +47405400 +47406428 +47407088 +47407590 +47407539 +47408232 +47408881 +47409132 +47409436 +47409954 +47410480 +47410563 +47409446 +47405263 _ZN3gpu10view_epochEv # Func Hash: @@ -259374,7 +261469,7 @@ _ZN3gpu10view_epochEv # Num Counters: 1 # Counter Values: -1346 +1359 _ZN3gpu11CaptureDrawC2Ev # Func Hash: @@ -259466,7 +261561,7 @@ _ZN3gpu11ccheck_noteEPKNS_7RtImageEbjjPKffj # Num Counters: 18 # Counter Values: -390240 +409764 0 0 0 @@ -259864,7 +261959,7 @@ _ZN3gpu11copy_census2AsC2Ei # Num Counters: 1 # Counter Values: -9206015 +9381103 _ZN3gpu11copy_census2AsD2Ev # Func Hash: @@ -259872,7 +261967,7 @@ _ZN3gpu11copy_census2AsD2Ev # Num Counters: 1 # Counter Values: -9206015 +9381103 _ZN3gpu11copy_census4copyEiRKNS0_4SideES3_PKcj # Func Hash: @@ -259947,7 +262042,7 @@ _ZN3gpu11copy_census5QuietC2Ev # Num Counters: 1 # Counter Values: -138376286 +137999095 _ZN3gpu11copy_census5QuietD2Ev # Func Hash: @@ -259955,7 +262050,7 @@ _ZN3gpu11copy_census5QuietD2Ev # Num Counters: 1 # Counter Values: -138509030 +138142629 _ZN3gpu11copy_census5proofEPKci # Func Hash: @@ -259991,51 +262086,51 @@ _ZN3gpu11dmem_importEjyyb # Num Counters: 69 # Counter Values: -932 -546 -400 -125048212 +908 +523 +410 +126930551 0 -468 +475 0 -796 +778 0 0 0 -125048212 +126930551 0 0 0 0 0 -125048212 +126930551 0 0 0 -125047907 +126930236 25 0 -125047907 +126930236 0 -400 -15 +410 +20 0 0 -360 +365 0 -400 +410 0 -125047907 +126930236 0 0 0 -400 +410 0 -360 +365 0 0 0 -125047812 +126930142 0 0 0 @@ -260046,19 +262141,19 @@ _ZN3gpu11dmem_importEjyyb 0 0 0 -360 +365 0 0 0 0 0 0 -123497406 -360 +125391690 +365 0 0 -37 -91 +41 +92 0 _ZN3gpu11fill_layersERKNS_7RtImageEyyRjS3_ @@ -260243,7 +262338,7 @@ _ZN3gpu11init_lockedEv 0 0 384 -140412221 +139950605 12 36 0 @@ -261373,7 +263468,7 @@ _ZN3gpu11keeper_wakeEv # Num Counters: 1 # Counter Values: -67 +68 _ZN3gpu11lift_cachedEbRKN3gcn7ProgramERKNS0_16TranslateOptionsERKNS0_15TranslateResultE # Func Hash: @@ -261386,27 +263481,27 @@ _ZN3gpu11lift_cachedEbRKN3gcn7ProgramERKNS0_16TranslateOptionsERKNS0_15Translate 0 0 0 -0 -42095 -42095 -0 -0 -0 +2 +42072 +42072 0 0 0 0 0 -42094 0 0 -42095 -42095 +2 +42072 +2 0 +42072 +42072 0 0 +2 0 -42095 +42067 0 0 0 @@ -261441,8 +263536,8 @@ _ZN3gpu11lift_cachedEbRKN3gcn7ProgramERKNS0_16TranslateOptionsERKNS0_15Translate 0 0 0 -42095 -42094 +42074 +42072 _ZN3gpu11offer_pathsERKSt6vectorIjSaIjEERKN3gcn15TranslateResultE # Func Hash: @@ -261450,7 +263545,7 @@ _ZN3gpu11offer_pathsERKSt6vectorIjSaIjEERKN3gcn15TranslateResultE # Num Counters: 8 # Counter Values: -37615 +37617 0 0 0 @@ -261465,17 +263560,17 @@ _ZN3gpu11queue_drainEv # Num Counters: 11 # Counter Values: -2 -904 -700 -700 -700 +8 +910 +706 +706 +706 0 0 0 0 0 -1 +3 _ZN3gpu11sampler_forEPKjb # Func Hash: @@ -261489,15 +263584,15 @@ _ZN3gpu11sampler_forEPKjb 0 132 0 -108646053 -108646144 -221261590 -39460523 -39460523 -221261590 +112969566 +112981952 +216201542 +38878393 +38878393 +216201542 252 0 -39460523 +38878393 0 0 252 @@ -261514,7 +263609,7 @@ _ZN3gpu11sampler_forEPKjb 84 72 132 -181800971 +177323053 0 0 0 @@ -261574,15 +263669,15 @@ _ZN3gpu11tsharp_baseEPKj # Num Counters: 20 # Counter Values: -42290992 +42971167 288 -137080176 -94789184 -99412140 -43171170 +139737751 +96766584 +101393388 +43867049 72 120 -879846 +895550 212 0 96 @@ -261619,9 +263714,9 @@ _ZN3gpu11tsharp_kindEPKj 0 0 0 -201230110 +208734599 0 -201210242 +208718329 _ZN3gpu11twins_levelEv # Func Hash: @@ -261637,13 +263732,13 @@ _ZN3gpu12TexEventArgs10put_stringEPKc # Num Counters: 7 # Counter Values: -14329380 -12194329 -12194329 +14476675 +12326042 +12326042 0 -2135051 +2150633 0 -2135051 +2150633 _ZN3gpu12flush_lockedEv # Func Hash: @@ -261659,7 +263754,7 @@ _ZN3gpu12heap_lean_onEv # Num Counters: 1 # Counter Values: -684 +685 _ZN3gpu12hlsl_lift_ofERKSt6vectorIjSaIjEERS2_ # Func Hash: @@ -261671,31 +263766,31 @@ _ZN3gpu12hlsl_lift_ofERKSt6vectorIjSaIjEERS2_ 0 0 0 -1335 -1335 -1335 -1335 +1329 +1329 +1329 +1329 0 0 0 0 -1335 -1335 +1329 +1329 0 0 0 0 0 -1334 -1335 -1335 -1335 +1329 +1329 +1329 +1329 0 0 0 -1335 +1329 0 -1335 +1329 0 0 0 @@ -261736,8 +263831,8 @@ _ZN3gpu12hlsl_lift_ofERKSt6vectorIjSaIjEERS2_ 0 0 0 -1334 -1335 +1329 +1329 _ZN3gpu12homes_decideEbbby # Func Hash: @@ -261881,50 +263976,50 @@ _ZN3gpu12lists_commitEy 66 # Counter Values: 0 -37375298 -186876490 -112140438 +38280497 +191402485 +114872118 0 -40159203 +41268106 0 0 0 0 0 0 -29439370 +30602831 0 -2108829 -284257 +2163312 +250224 0 -39857789 -39793871 +41002677 +40937207 0 0 0 -22254 +231840 0 0 -517 -37742121 +524 +38623891 0 0 0 0 -37378890 +38296048 0 0 -8286105 +8001283 0 0 0 0 -37714253 +38589959 0 -37711626 +38592069 0 0 -29430724 +30593214 0 0 0 @@ -261940,12 +264035,12 @@ _ZN3gpu12lists_commitEy 0 0 0 -42803 -2063784 -2063784 +44420 +2116830 +2116830 0 -32558356 -32559357 +33345767 +33346679 _ZN3gpu12locate_guestEyy # Func Hash: @@ -261953,15 +264048,15 @@ _ZN3gpu12locate_guestEyy # Num Counters: 9 # Counter Values: -65428712 -42312956 -118129781 -8128866 -118129781 +66221372 +42821762 +120082321 +8233243 +120082321 0 -113918059 -8128866 -110000915 +115819500 +8233243 +111849078 _ZN3gpu12memory_tightERKNS_9CandidateE # Func Hash: @@ -261987,7 +264082,7 @@ _ZN3gpu12overrides_onEv # Num Counters: 1 # Counter Values: -43986 +43963 _ZN3gpu12rt_at_lockedEy # Func Hash: @@ -262042,9 +264137,9 @@ _ZN3gpu12sampler_findEPKjb # Num Counters: 3 # Counter Values: -108638106 -108672549 -108676501 +112959893 +112997398 +113004128 _ZN3gpu12set_cache_onEv # Func Hash: @@ -262052,7 +264147,7 @@ _ZN3gpu12set_cache_onEv # Num Counters: 1 # Counter Values: -1547860 +1552327 _ZN3gpu12texture_viewEPKjbRbRjS2_bb # Func Hash: @@ -262061,32 +264156,32 @@ _ZN3gpu12texture_viewEPKjbRbRjS2_bb 49 # Counter Values: 0 -476606 -21456384 -377752 -21357530 -21357530 +465871 +21699661 +372823 +21606613 +21606613 0 0 -21405020 -21357530 +21653477 +21606613 0 -21357530 +21606613 0 0 -47490 -21357530 -10927986 +46864 +21606613 +10977055 0 -21357530 +21606613 0 0 0 -10429544 +10629558 0 -47490 +46864 0 -47412 +46786 0 0 0 @@ -262105,9 +264200,9 @@ _ZN3gpu12texture_viewEPKjbRbRjS2_bb 0 0 0 -377387 +381274 0 -47490 +46864 0 # Num Value Kinds: 1 @@ -262116,9 +264211,9 @@ _ZN3gpu12texture_viewEPKjbRbRjS2_bb # NumValueSites: 3 1 -32:21357603 +32:21606704 1 -32:47412 +32:46786 0 _ZN3gpu12twins_decideEb @@ -262288,14 +264383,14 @@ _ZN3gpu13dxc_argumentsB5cxx11ERKNS_10DxcOptionsE # Num Counters: 27 # Counter Values: -131961 -87974 +131903 +87936 0 0 0 -43987 -43988 -43988 +43968 +43968 +43968 0 0 0 @@ -262446,175 +264541,175 @@ _ZN3gpu13lists_segmentEj 1376256 131072 4177920 -1701 +1222 0 -46920465 -2157 -1903623 -1868 +49330046 +1006 +1905216 +1628 0 -22276244 +23413237 0 -3126639 -1149164 +3330690 +1173538 0 -1031960 -49311088 +1002580 +51582960 0 -49311076 -1450 -49276605 -49311164 +51583214 +2921 +51550065 +51584228 0 -140992032 -56252371 -25358958 -49236802 -49284123 -29143261 -27140024 -29143384 -49248253 +148380279 +58813599 +26538284 +51525510 +51558952 +32080080 +28269258 +32079433 +51532246 0 -71125155 -9379569 -26304028 +74108966 +9728323 +27479862 0 -70078262 -46870435 +74448359 +49092079 0 0 -70966180 -9284427 -3031773 +73954050 +9634778 +3073758 0 16384 -20501944 -181976 -28771184 -80 -24656137 -24654751 -20376208 -0 -147340 -95308 -48586 -39544191 -26303886 -1561927 -368046 -0 -368050 -1450 -24655653 -10832512 -0 -130916 -130907 -122454 -2647 -24655124 -93741 -3472437 -26303753 -106071 -106074 -475 -7 -0 -1561942 -24652262 -24652074 +21442941 +493060 +30112057 +54 +25793716 +25792423 +21318518 +0 +147405 +95220 +48717 +40635036 +27479972 +1578442 +384073 +0 +384075 +2921 +25792001 +10717468 +0 +131000 +130977 +122652 +1678 +25792634 +99801 +3550449 +27479800 +106272 +106272 +1355 +4 0 -93739 -368046 -1561937 -1539376 +1578444 +25789568 +25788553 0 +99800 +384073 +1578442 +1557521 0 -24650486 -24652197 -24633491 +3 +25788654 +25789723 +25775031 0 0 -51806 -2189 +52996 +1068 0 0 0 -1910616 -368045 +1972094 +384073 0 0 -25235636 +26363811 0 -51774 +52934 0 -24647289 -2157 -2384482 -1561931 -515898 -17304548 +25784282 +1006 +2461214 +1578444 +536023 +18133690 16 0 0 -49617 -7340094 -17303638 -2576 -7248257 -0 -25236108 -2384469 -1450 -17305189 +51928 +7650317 +18132915 +1633 +7558412 0 -80 -1542948 -1559351 -91562 +26364486 +2461195 +2921 +18134755 0 -25236300 -75179 -75179 +54 +1560377 +1576809 +91907 0 +26364607 +75525 +75525 0 0 -20 -1559368 -25236533 -1559349 0 -1559353 -20 +52 +1576821 +26364610 +1576772 0 -1559262 -1559347 +1576808 +52 0 +1576694 +1576769 0 -49617 -25236603 0 +51928 +26364581 0 -1276546 -1542948 -1446737 -1542948 -1542941 0 +1292448 +1560360 +1464008 +1560360 +1560358 0 0 0 -20 -1542964 -25231753 +1 +52 +1560383 +26359725 16384 -25232361 -25232714 +26360286 +26360399 0 -25236239 +26364472 0 0 0 @@ -262625,19 +264720,19 @@ _ZN3gpu13lists_segmentEj 0 0 0 -29143397 -7 -26303860 +32080080 +4 +27479990 0 -1903624 -1561930 +1905222 +1578443 0 0 -49254492 +51525752 0 +16383 +16376 16380 -16379 -16382 0 # Num Value Kinds: 1 @@ -262646,29 +264741,29 @@ _ZN3gpu13lists_segmentEj # NumValueSites: 5 4 -17:18978331 -0:3468550 -8:1960857 -4:826238 +17:19899102 +0:3453686 +8:2125568 +4:883852 5 -513:65421 -33:16384 -129:16384 +513:65487 257:16384 -65:16382 +33:16383 +65:16383 +129:16382 6 -513:24162 +513:24366 17:16384 33:16384 +65:16384 129:16384 -257:16384 -65:16383 +257:16383 5 +16:16384 64:16384 -16:16383 32:16383 -128:16354 -256:9679 +128:16371 +256:10007 0 _ZN3gpu13override_pickEyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_RSt10shared_ptrIKNS_14OverrideSourceEE @@ -262927,7 +265022,7 @@ _ZN3gpu13render_reportEv 12 0 0 -21312 +21340 60 12 12 @@ -262937,7 +265032,7 @@ _ZN3gpu13render_reportEv 60 0 0 -21312 +21340 60 60 60 @@ -262958,8 +265053,8 @@ _ZN3gpu13render_reportEv 0 0 0 -10668 -10668 +10682 +10682 120 120 144 @@ -263004,8 +265099,8 @@ _ZN3gpu13render_reportEv 60 60 60 -10656 -10656 +10670 +10670 24 96 192 @@ -263025,7 +265120,7 @@ _ZN3gpu13render_reportEv 0 24 24 -10656 +10670 0 96 96 @@ -263048,7 +265143,7 @@ _ZN3gpu13render_reportEv 0 24 24 -5358 +5365 0 0 24 @@ -263056,8 +265151,8 @@ _ZN3gpu13render_reportEv 96 0 0 -5322 -5334 +5329 +5341 0 0 0 @@ -263088,7 +265183,7 @@ _ZN3gpu13render_reportEv 0 0 24 -5334 +5341 96 0 0 @@ -263134,7 +265229,7 @@ _ZN3gpu13render_reportEv 0 0 0 -5334 +5341 0 0 0 @@ -263896,7 +265991,7 @@ _ZN3gpu13rt_dcc_listedEv # Num Counters: 4 # Counter Values: -4063 +4068 12 12 0 @@ -263907,11 +266002,11 @@ _ZN3gpu13rt_size_bytesERKNS_7RtImageE # Num Counters: 5 # Counter Values: -860906 -23410014 -154336180 -860906 -368692 +885207 +22957206 +150829939 +885207 +377554 _ZN3gpu13shadow_reportB5cxx11Ev # Func Hash: @@ -263945,7 +266040,7 @@ _ZN3gpu13shadow_reportB5cxx11Ev 0 0 0 -10768 +10872 0 0 0 @@ -263986,23 +266081,23 @@ _ZN3gpu13shadow_reportB5cxx11Ev 0 0 0 -1346 -1346 +1359 +1359 0 0 0 -1322 -558 -558 +1335 +569 +569 0 0 0 0 0 0 -1322 +1335 0 -1322 +1335 0 0 0 @@ -264014,17 +266109,17 @@ _ZN3gpu13shadow_reportB5cxx11Ev 0 0 0 -1346 +1359 0 0 -1346 -1346 -1346 +1359 +1359 +1359 0 0 0 0 -1346 +1359 0 0 0 @@ -264033,9 +266128,9 @@ _ZN3gpu13shadow_reportB5cxx11Ev 0 0 0 -1346 +1359 0 -1346 +1359 0 0 0 @@ -264049,14 +266144,14 @@ _ZN3gpu13shadow_reportB5cxx11Ev 0 0 0 -1346 -1346 +1359 +1359 0 0 0 0 0 -1346 +1359 0 0 0 @@ -264129,8 +266224,8 @@ _ZN3gpu13shadow_reportB5cxx11Ev 0 0 0 -1322 -1322 +1335 +1335 0 0 0 @@ -264143,7 +266238,7 @@ _ZN3gpu13shadow_reportB5cxx11Ev 0 0 0 -1346 +1359 0 0 0 @@ -264152,9 +266247,9 @@ _ZN3gpu13shadow_reportB5cxx11Ev 0 0 0 -1346 -1346 -1346 +1359 +1359 +1359 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -264178,6 +266273,9 @@ _ZN3gpu13submit_lockedEv 0 0 0 +256 +256 +2 0 0 0 @@ -264191,15 +266289,25 @@ _ZN3gpu13submit_lockedEv 0 0 0 +5120 +5120 +4 0 0 +660 +20 0 +660 +4 +4 0 0 0 0 0 0 +4 +4 0 0 0 @@ -264209,16 +266317,20 @@ _ZN3gpu13submit_lockedEv 0 0 0 +80 +80 0 0 0 0 +3230470 0 0 0 0 0 0 +706 0 0 0 @@ -264228,45 +266340,27 @@ _ZN3gpu13submit_lockedEv 0 0 0 -3194072 -0 -0 -0 -0 -0 -0 -700 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -2798318 -0 0 0 0 +2827167 0 +10 0 0 0 +10 0 -354233 0 0 +357286 0 0 0 0 0 0 +10 0 0 0 @@ -264277,6 +266371,7 @@ _ZN3gpu13submit_lockedEv 0 0 0 +10 0 0 0 @@ -264300,7 +266395,7 @@ _ZN3gpu13submit_lockedEv 0 0 0 -2798318 +2827167 0 0 0 @@ -264330,14 +266425,14 @@ _ZN3gpu13submit_lockedEv 0 0 0 -2798318 -0 -2444085 -2444085 +2827167 0 +2469881 +2469881 0 0 0 +4460 0 0 0 @@ -264369,11 +266464,11 @@ _ZN3gpu13velo_cloth_vsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Num Counters: 5 # Counter Values: -641186097 -639642486 -641246439 -641291544 -129516548 +640231234 +638631761 +640380853 +640365554 +129336988 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -264381,7 +266476,7 @@ _ZN3gpu13velo_cloth_vsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # NumValueSites: 1 1 -8:641005379 +8:640006144 _ZN3gpu13vk_debug_nameE12VkObjectTypeyPKc # Func Hash: @@ -264389,7 +266484,7 @@ _ZN3gpu13vk_debug_nameE12VkObjectTypeyPKc # Num Counters: 4 # Counter Values: -46506 +46496 0 0 0 @@ -264409,14 +266504,14 @@ _ZN3gpu13vram_headroomEv # Counter Values: 0 0 -1940934 -15764 -15764 +1967782 +15849 +15849 0 0 0 0 -1956698 +1983631 _ZN3gpu13vram_room_forEyy # Func Hash: @@ -264424,7 +266519,7 @@ _ZN3gpu13vram_room_forEyy # Num Counters: 1 # Counter Values: -1750144 +1777341 _ZN3gpu13world_reachedEv # Func Hash: @@ -264432,7 +266527,7 @@ _ZN3gpu13world_reachedEv # Num Counters: 1 # Counter Values: -34 +36 _ZN3gpu13world_settledEv # Func Hash: @@ -264440,8 +266535,8 @@ _ZN3gpu13world_settledEv # Num Counters: 6 # Counter Values: -115160 -46538 +115218 +46219 12 12 0 @@ -264951,7 +267046,7 @@ _ZN3gpu14capture_wantedEv # Num Counters: 4 # Counter Values: -44061153 +44972197 0 0 0 @@ -265029,7 +267124,7 @@ _ZN3gpu14gpu_checkpointEjy 3 # Counter Values: 0 -102729499 +101500000 0 # Num Value Kinds: 1 @@ -265053,7 +267148,7 @@ _ZN3gpu14hlsl_name_nextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEy # Num Counters: 1 # Counter Values: -44009 +43990 _ZN3gpu14hlsl_tag_stageEy # Func Hash: @@ -265066,7 +267161,7 @@ _ZN3gpu14hlsl_tag_stageEy 0 0 0 -49847 +49851 0 0 0 @@ -265110,10 +267205,10 @@ _ZN3gpu14image_dims_forERKN3gcn15TranslateResultEPKjPK14GxStageRecords # Num Counters: 8 # Counter Values: -1540494 -225197 -1315297 -773257 +1545873 +225196 +1320677 +775484 0 0 0 @@ -265125,13 +267220,13 @@ _ZN3gpu14images_refreshERNS_11IdViewEntryEb # Num Counters: 22 # Counter Values: -5722427 -4347245 +5741355 +4348984 0 -4347245 +4348984 0 0 -4343908 +4342609 0 0 0 @@ -265145,7 +267240,7 @@ _ZN3gpu14images_refreshERNS_11IdViewEntryEb 0 0 0 -159 +157 0 _ZN3gpu14import_windowsEyy @@ -265154,10 +267249,10 @@ _ZN3gpu14import_windowsEyy # Num Counters: 4 # Counter Values: -1550806 -40183975 -29328361 -1550802 +1538862 +39860347 +29088327 +1538860 _ZN3gpu14lift_gs_cachedENS_14TranslationUseERKN3gcn7ProgramERKNS1_16TranslateOptionsERKNS1_15TranslateResultERKNS1_6GsLiftE # Func Hash: @@ -265312,27 +267407,27 @@ _ZN3gpu14paths_for_implEyRKSt6vectorIjSaIjEEN3gcn5StageEjj # Num Counters: 80 # Counter Values: -936 +951 0 0 -194265848 +191691472 0 0 -194264213 -29205178 -29205178 -29205178 -3479 -29205178 -3479 -3479 -3479 +191689837 +29012573 +29012573 +29012573 +3475 +29012573 +3475 +3475 +3475 0 0 -3479 +3475 0 -3479 -3479 +3475 +3475 0 0 0 @@ -265346,8 +267441,8 @@ _ZN3gpu14paths_for_implEyRKSt6vectorIjSaIjEEN3gcn5StageEjj 0 0 0 -3479 -3479 +3475 +3475 0 0 0 @@ -265408,17 +267503,17 @@ _ZN3gpu14recorder_drainEv # Num Counters: 11 # Counter Values: -663923 -467456784 -740810 -2017952 -2017952 -106270 +574381 +462427612 +737940 +2027308 +2027308 +109948 0 -450535 -450535 +453077 +453076 0 -2017952 +2027308 _ZN3gpu14rt_copied_viewERNS_7RtImageEPKjjj # Func Hash: @@ -265472,16 +267567,16 @@ _ZN3gpu14rt_region_viewERNS_7RtImageEPKjjj # Num Counters: 10 # Counter Values: -300997 -299562 -299552 -299552 +245112 +243684 +243673 +243673 0 12 12 0 -300997 -299562 +245112 +243684 _ZN3gpu14shadow_lite_onEv # Func Hash: @@ -265513,19 +267608,19 @@ _ZN3gpu14tex_event_argsIJPKcjjjS2_yjjjjjjjjS2_EEEvyyS2_DpT_ # Num Counters: 13 # Counter Values: -639706 -639706 -639706 -639706 -639706 -639706 -639706 -639706 -639706 -639706 -639706 -639706 -639706 +645089 +645089 +645089 +645089 +645089 +645089 +645089 +645089 +645089 +645089 +645089 +645089 +645089 _ZN3gpu14tex_event_argsIJPKcyjjiyEEEvyyS2_DpT_ # Func Hash: @@ -265533,12 +267628,12 @@ _ZN3gpu14tex_event_argsIJPKcyjjiyEEEvyyS2_DpT_ # Num Counters: 6 # Counter Values: -1448 -1448 -1448 -1448 -1448 -1448 +1462 +1462 +1462 +1462 +1462 +1462 _ZN3gpu14tex_event_argsIJPKcyjjj8VkFormatS2_EEEvyyS2_DpT_ # Func Hash: @@ -265546,12 +267641,12 @@ _ZN3gpu14tex_event_argsIJPKcyjjj8VkFormatS2_EEEvyyS2_DpT_ # Num Counters: 6 # Counter Values: -4063 -4063 -4063 -4063 -4063 -4063 +4068 +4068 +4068 +4068 +4068 +4068 _ZN3gpu14tex_event_argsIJPKcyyffffS2_EEEvyyS2_DpT_ # Func Hash: @@ -265595,10 +267690,10 @@ _ZN3gpu14tex_event_argsIJyPKcyyEEEvyyS2_DpT_ # Num Counters: 4 # Counter Values: -1131 -1131 -1131 -1131 +1090 +1090 +1090 +1090 _ZN3gpu14tex_event_argsIJyijjyPKcijjjjjjjS2_S2_EEEvyyS2_DpT_ # Func Hash: @@ -265606,20 +267701,20 @@ _ZN3gpu14tex_event_argsIJyijjyPKcijjjjjjjS2_S2_EEEvyyS2_DpT_ # Num Counters: 14 # Counter Values: -1274 -1274 -1274 -1274 -1274 -1274 -1274 -1274 -1274 -1274 -1274 -1274 -1274 -1274 +1222 +1222 +1222 +1222 +1222 +1222 +1222 +1222 +1222 +1222 +1222 +1222 +1222 +1222 _ZN3gpu14tex_event_argsIJyjj8VkFormatEEEvyyPKcDpT_ # Func Hash: @@ -265639,10 +267734,10 @@ _ZN3gpu14tex_event_argsIJyjjEEEvyyPKcDpT_ # Num Counters: 4 # Counter Values: -2465 -2465 -2465 -2465 +2269 +2269 +2269 +2269 _ZN3gpu14tex_event_argsIJyjjffffEEEvyyPKcDpT_ # Func Hash: @@ -265681,12 +267776,12 @@ _ZN3gpu14tex_event_argsIJyjjiyPKcS2_EEEvyyS2_DpT_ # Num Counters: 6 # Counter Values: -99479 -99479 -99479 -99479 -99479 -99479 +99282 +99282 +99282 +99282 +99282 +99282 _ZN3gpu14tex_event_argsIJyjjiyjjiEEEvyyPKcDpT_ # Func Hash: @@ -265694,15 +267789,15 @@ _ZN3gpu14tex_event_argsIJyjjiyjjiEEEvyyPKcDpT_ # Num Counters: 9 # Counter Values: -2889 -2889 -2889 -2889 -2889 -2889 -2889 -2889 -2889 +2996 +2996 +2996 +2996 +2996 +2996 +2996 +2996 +2996 _ZN3gpu14tex_event_argsIJyjjjjjPKcyjjEEEvyyS2_DpT_ # Func Hash: @@ -265727,14 +267822,14 @@ _ZN3gpu14tex_event_argsIJyjjjjjjEEEvyyPKcDpT_ # Num Counters: 8 # Counter Values: -437 -437 -437 -437 -437 -437 -437 -437 +431 +431 +431 +431 +431 +431 +431 +431 _ZN3gpu14tex_event_argsIJyjjjjjjyjjPKcEEEvyyS2_DpT_ # Func Hash: @@ -265788,14 +267883,14 @@ _ZN3gpu14tex_event_argsIJyjjyyjjEEEvyyPKcDpT_ # Num Counters: 8 # Counter Values: -18376 -18376 -18376 -18376 -18376 -18376 -18376 -18376 +22534 +22534 +22534 +22534 +22534 +22534 +22534 +22534 _ZN3gpu14tex_event_argsIJyyffffEEEvyyPKcDpT_ # Func Hash: @@ -265803,13 +267898,13 @@ _ZN3gpu14tex_event_argsIJyyffffEEEvyyPKcDpT_ # Num Counters: 7 # Counter Values: -390240 -390240 -390240 -390240 -390240 -390240 -390240 +409764 +409764 +409764 +409764 +409764 +409764 +409764 _ZN3gpu14tex_event_argsIJyyffffPKcEEEvyyS2_DpT_ # Func Hash: @@ -265831,10 +267926,10 @@ _ZN3gpu14tex_event_argsIJyyyEEEvyyPKcDpT_ # Num Counters: 4 # Counter Values: -905570 -905570 -905570 -905570 +913721 +913721 +913721 +913721 _ZN3gpu14tex_event_argsIJyyyPKcEEEvyyS2_DpT_ # Func Hash: @@ -265879,7 +267974,7 @@ _ZN3gpu14tex_event_keepEyyPKcRKNS_12TexEventArgsE # Num Counters: 5 # Counter Values: -2070096 +2106948 0 0 0 @@ -265891,12 +267986,12 @@ _ZN3gpu14tex_event_keepEyyPKcRKNS_12TexEventArgsE # NumValueSites: 1 6 -17:908036 -65:642155 -33:514595 -64:2889 -128:1274 -32:1150 +17:915998 +65:647541 +33:538094 +64:2996 +128:1222 +32:1109 _ZN3gpu14tex_events_forEP6_iobufyy # Func Hash: @@ -265929,7 +268024,7 @@ _ZN3gpu14vram_report_onEv # Num Counters: 4 # Counter Values: -228 +231 12 12 0 @@ -265940,11 +268035,11 @@ _ZN3gpu14vram_return_onEv # Num Counters: 5 # Counter Values: -2799664 +2828526 12 12 0 -2799664 +2828526 _ZN3gpu15ahead_held_backEv # Func Hash: @@ -265952,9 +268047,9 @@ _ZN3gpu15ahead_held_backEv # Num Counters: 6 # Counter Values: -93975 -93975 -93975 +93956 +93956 +93956 12 12 0 @@ -265986,13 +268081,13 @@ _ZN3gpu15bump_view_epochEv 10 # Counter Values: 0 -100238 -100238 -100238 +98997 +98997 +98997 0 0 -95405 -95405 +94166 +94166 0 0 @@ -266002,9 +268097,9 @@ _ZN3gpu15busy_end_lockedERNS_3Gpu4SlotE # Num Counters: 4 # Counter Values: -2798318 -2798318 -2798318 +2827167 +2827167 +2827167 0 _ZN3gpu15copy_elide_modeEv @@ -266022,29 +268117,29 @@ _ZN3gpu15extract_programEyRSt6vectorIjSaIjEERNSt7__cxx1112basic_stringIcSt11char 31 # Counter Values: 0 -1224704 -1224704 +1223680 +1223680 0 0 0 -1520574 +1520350 0 0 0 0 -4784 -4784 +4780 +4780 0 0 0 -4784 -4784 +4780 +4780 0 0 0 0 0 -4784 +4780 0 0 0 @@ -266061,7 +268156,7 @@ _ZN3gpu15extract_programEyRSt6vectorIjSaIjEERNSt7__cxx1112basic_stringIcSt11char 6 513:2608 257:791 -129:677 +129:673 65:497 33:175 64:36 @@ -266075,7 +268170,7 @@ _ZN3gpu15float_clearableE8VkFormat # Counter Values: 0 0 -39236 +47483 0 0 0 @@ -266092,11 +268187,11 @@ _ZN3gpu15float_clearableE8VkFormat 0 0 0 -8413 +10493 0 -8424 +10504 0 -56116 +68523 12 _ZN3gpu15heap_compact_onEv @@ -266105,7 +268200,7 @@ _ZN3gpu15heap_compact_onEv # Num Counters: 5 # Counter Values: -5451874 +5474928 12 0 12 @@ -266124,15 +268219,15 @@ _ZN3gpu15hlsl_note_drawnEy 0 0 0 -21240 -21240 +21268 +21268 0 0 0 0 0 0 -21240 +21268 0 0 0 @@ -266170,11 +268265,11 @@ _ZN3gpu15homes_splice_okEj # Num Counters: 5 # Counter Values: -12291415 -12291415 -12291415 -12291415 -12291415 +12427744 +12427744 +12427744 +12427744 +12427744 _ZN3gpu15id_view_publishERKNS_9IdViewPubE # Func Hash: @@ -266247,11 +268342,11 @@ _ZN3gpu15overrides_ownerEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Num Counters: 9 # Counter Values: -1 -1 -1 -1 -1 +2 +2 +2 +2 +2 0 0 0 @@ -266283,7 +268378,7 @@ _ZN3gpu15overrides_startEbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 0 0 0 -13 +14 0 0 0 @@ -266450,24 +268545,24 @@ _ZN3gpu15recorder_reportB5cxx11Ev # Counter Values: 0 0 -45764 +46206 0 0 0 0 0 0 -1346 +1359 0 -1346 +1359 0 0 0 -1346 +1359 0 0 0 -1346 +1359 0 0 0 @@ -266476,9 +268571,9 @@ _ZN3gpu15recorder_reportB5cxx11Ev 0 0 0 -768 -1346 -1346 +771 +1359 +1359 0 0 0 @@ -266489,7 +268584,7 @@ _ZN3gpu15res_identity_onEv # Num Counters: 4 # Counter Values: -14857500 +15341468 12 12 0 @@ -266515,10 +268610,10 @@ _ZN3gpu15sampler_nearestEP11VkSampler_T # Num Counters: 36 # Counter Values: -23 -28963751 -7 -28963682 +26 +31348377 +8 +31348183 6 5 0 @@ -266547,9 +268642,9 @@ _ZN3gpu15sampler_nearestEP11VkSampler_T 0 0 0 -14 -14 -1 +16 +16 +2 0 _ZN3gpu15start_vram_freeERKNS_9CandidateE @@ -266568,7 +268663,7 @@ _ZN3gpu15stream_split_onEv # Num Counters: 4 # Counter Values: -802067 +817317 12 12 0 @@ -266614,14 +268709,14 @@ _ZN3gpu15target_taken_byERNS_7RtImageEyy # Num Counters: 8 # Counter Values: -311431 -283884 -283884 -20 -20 +275884 +248563 +248563 +15 +15 0 -20 -20 +15 +15 _ZN3gpu15textures_reportEv # Func Hash: @@ -266635,7 +268730,7 @@ _ZN3gpu15textures_reportEv 0 0 0 -62586 +62775 96 96 96 @@ -266660,15 +268755,15 @@ _ZN3gpu15textures_reportEv 60 60 60 -6 -6 +4 +4 0 0 -6 -6 -6 -6 -6 +4 +4 +4 +4 +4 0 36 0 @@ -266745,7 +268840,7 @@ _ZN3gpu15textures_reportEv 0 12 0 -6 +8 0 0 0 @@ -266961,14 +269056,14 @@ _ZN3gpu15textures_reportEv 12 0 0 -61737 -61737 +61914 +61914 0 12 72 0 12 -6 +8 12 12 # Num Value Kinds: @@ -266984,9 +269079,9 @@ _ZN3gpu15textures_reportEv 5:36 4:24 1 -9:6 +9:4 1 -9:6 +9:4 0 _ZN3gpu15textures_retireEyyyy @@ -266995,7 +269090,7 @@ _ZN3gpu15textures_retireEyyyy # Num Counters: 6 # Counter Values: -49065 +49001 142 0 0 @@ -267016,13 +269111,13 @@ _ZN3gpu16PipelineCacheUseC2Ev # Num Counters: 7 # Counter Values: -103758 +103746 0 -103751 -274 +103744 +345 0 -103478 -103477 +103400 +103399 _ZN3gpu16alloc_set_lockedEP23VkDescriptorSetLayout_T # Func Hash: @@ -267030,21 +269125,21 @@ _ZN3gpu16alloc_set_lockedEP23VkDescriptorSetLayout_T # Num Counters: 16 # Counter Values: -1042735 -10547912 -1533271 -215718 +1021497 +10648488 +1532943 +202760 0 -214782 +201882 0 -1533271 -773257 -1318489 -1317553 +1532943 +775484 +1331061 +1330183 0 0 0 -215718 +202760 0 _ZN3gpu16buffer_shadow_onEv @@ -267054,8 +269149,8 @@ _ZN3gpu16buffer_shadow_onEv 5 # Counter Values: 0 -62695625 -62695625 +64366361 +64366361 0 0 @@ -267138,27 +269233,27 @@ _ZN3gpu16copy_side_lockedEPKjRNS_8CopySideEy # Num Counters: 22 # Counter Values: -11170183 -738349 -796907 -796907 -738349 -738349 -796907 -796907 -796907 -738349 -738349 -796907 -738349 -738349 +10934639 +759223 +823031 +823031 +759223 +759223 +823031 +823031 +823031 +759223 +759223 +823031 +759223 +759223 0 0 0 0 -738349 -6632339 -6632339 +759223 +6266341 +6266341 0 _ZN3gpu16draw_last_vertexERx @@ -267167,19 +269262,19 @@ _ZN3gpu16draw_last_vertexERx # Num Counters: 13 # Counter Values: -137459209 -137459209 -137459209 +141313998 +141313998 +141313998 0 -137458457 -6560508134 -9624597 -8779095 -9624597 -9624221 +141309378 +6396216120 +9816804 +9009122 +9816804 +9816342 0 -9624222 -9624597 +9816341 +9816804 _ZN3gpu16drop_tex_updatesEy # Func Hash: @@ -267187,11 +269282,11 @@ _ZN3gpu16drop_tex_updatesEy # Num Counters: 9 # Counter Values: -1184605 -1526 -205282 -49207 -49195 +1183421 +1550 +197396 +49143 +49131 0 0 0 @@ -267203,10 +269298,10 @@ _ZN3gpu16find_memory_typeEjj # Num Counters: 4 # Counter Values: -1106 -675 -912 -431 +1112 +678 +916 +434 _ZN3gpu16find_rt_for_fillEyy # Func Hash: @@ -267215,10 +269310,10 @@ _ZN3gpu16find_rt_for_fillEyy 8 # Counter Values: 0 -44049 -388494 -346191 -346191 +56201 +408026 +353563 +353563 12 12 0 @@ -267237,14 +269332,14 @@ _ZN3gpu16gx_successor_genEyyy # Num Counters: 8 # Counter Values: -28249 -22465 -1444 -20969 -20969 -17346 -17883 -18192 +27395 +21586 +1384 +20124 +20143 +17188 +17646 +18093 _ZN3gpu16gxvk_plan_bufferEy # Func Hash: @@ -267303,7 +269398,7 @@ _ZN3gpu16import_census_onEv # Num Counters: 1 # Counter Values: -62435224 +64104375 _ZN3gpu16import_failed_atERNS_9DmemChunkEjj # Func Hash: @@ -267325,22 +269420,22 @@ _ZN3gpu16level_alias_viewEyPKj8VkFormatS2_jjjjj 0 0 0 -12680921 -3629328 -37392904 -933791 -36537501 -78397 +13121291 +4235950 +34393797 +1032524 +33461947 +100685 0 0 -1720322 -78397 -1125545 -78349 -862425 -1125545 -78349 -855641 +2710991 +100685 +1146234 +100646 +938855 +1146234 +100646 +932094 0 0 0 @@ -267374,28 +269469,28 @@ _ZN3gpu16level_alias_viewEyPKj8VkFormatS2_jjjjj 0 0 0 -7182321 -7182321 -238 -36537501 -34817179 -34817179 -34817179 -34817179 -34817179 -594765 +7121749 +7121749 +244 +33461947 +30750956 +30750956 +30750956 +30750956 +30750956 +1564741 0 0 -3578078 -3578078 -247 -78397 +4174604 +4174604 +255 +100685 0 0 0 0 0 -48 +39 0 0 @@ -267405,36 +269500,36 @@ _ZN3gpu16lift_tess_cachedENS_14TranslationUseERKN3gcn7ProgramERKNS1_16TranslateO # Num Counters: 74 # Counter Values: -14120 -33888 +14160 +33936 0 0 -2824 -2824 -2824 -2824 -3530 -8472 +2832 +2832 +2832 +2832 +3540 +8484 0 0 0 0 0 0 -706 -706 +708 +708 0 0 0 0 0 0 -706 +708 0 0 0 -706 -706 +708 +708 0 0 0 @@ -267442,7 +269537,7 @@ _ZN3gpu16lift_tess_cachedENS_14TranslationUseERKN3gcn7ProgramERKNS1_16TranslateO 0 0 0 -706 +707 0 0 0 @@ -267477,8 +269572,8 @@ _ZN3gpu16lift_tess_cachedENS_14TranslationUseERKN3gcn7ProgramERKNS1_16TranslateO 0 0 0 -706 -706 +708 +708 _ZN3gpu16lists_thread_endEv # Func Hash: @@ -267494,15 +269589,15 @@ _ZN3gpu16note_fill_reusedERKNS_3Gpu10SmallWriteEb # Num Counters: 13 # Counter Values: -22229073 +22319095 0 -22229073 +22319095 0 0 0 -22227558 +22317583 0 -1515 +1512 0 0 0 @@ -267533,11 +269628,11 @@ _ZN3gpu16occlusion_reportB5cxx11Eb 7 # Counter Values: 132 -1358 -568 +1371 +574 12 -1346 -1346 +1359 +1359 12 _ZN3gpu16occlusion_run_okEv @@ -268029,7 +270124,7 @@ _ZN3gpu16overrides_windowB5cxx11Ev 2 # Counter Values: 0 -1346 +1359 _ZN3gpu16put_params_linesEPhRKN3gcn11StageParamsE # Func Hash: @@ -268037,7 +270132,7 @@ _ZN3gpu16put_params_linesEPhRKN3gcn11StageParamsE # Num Counters: 1 # Counter Values: -49272831 +51546347 _ZN3gpu16record_draw_callEP17VkCommandBuffer_TRKNS_8DrawCallE # Func Hash: @@ -268045,16 +270140,16 @@ _ZN3gpu16record_draw_callEP17VkCommandBuffer_TRKNS_8DrawCallE # Num Counters: 10 # Counter Values: -122502678 -122502678 -1582514 +122308032 +122308032 +1566403 0 0 -1582514 -23216072 +1566403 +23271342 0 -99184522 -102084 +98936341 +100349 _ZN3gpu16recorder_enabledEv # Func Hash: @@ -268070,7 +270165,7 @@ _ZN3gpu16resolve_resourceERKN3gcn12ResourcePathEPKjiPjPSt6vectorISt4pairIyyESaIS # Num Counters: 1 # Counter Values: -1543479 +1522554 _ZN3gpu16ring_fits_budgetEjyPKcPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -268107,7 +270202,7 @@ _ZN3gpu16set_cache_reportB5cxx11Ev # Num Counters: 1 # Counter Values: -1346 +1359 _ZN3gpu16shader_data_makeEiPKh # Func Hash: @@ -268131,263 +270226,107 @@ _ZN3gpu16table_slots_readERKN3gcn15TranslateResultERjPj 0 0 0 -29517794 -22560937 -0 -0 -8223990 -0 -5919695 -329865 -29777457 -7139154 -0 -29230510 -1629681 -6956927 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -61858 -9443638 -7139225 -10572 -7139225 -9440974 -0 -0 -10668 -25749 +29560007 +22593015 0 0 +8235756 0 -9327369 -1156919 -244346 -452343 -452344 -10668 -10668 -9522 -113711 +5928336 +330666 +29819724 +7149443 0 -7032009 -62587 -609996 -61856 -61858 +29272023 +1631744 +6966992 0 -10572 -10572 -107216 0 0 0 0 0 0 -8223990 0 -62586 0 0 0 0 0 0 -5919695 -0 -0 -10572 -0 -0 -0 -0 -10572 -10570 -10572 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -25751 -0 -0 -0 -0 -0 -0 -0 -0 -0 -10572 -10572 -7019514 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_IndirectCallTarget: -0 -# NumValueSites: -2 -0 -0 - -_ZN3gpu16tex_events_writeEP6_iobuf -# Func Hash: -141929912880715833 -# Num Counters: -10 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -_ZN3gpu16textures_hash_usEv -# Func Hash: -742261418966908927 -# Num Counters: -1 -# Counter Values: -377905 - -_ZN3gpu16textures_retiredEi -# Func Hash: -670696726286315184 -# Num Counters: -43 -# Counter Values: -0 -0 -0 -0 0 0 +61992 +9456863 +7149443 +10586 +7149443 +9452465 0 0 +10682 +25824 0 0 0 +9338564 +1158415 +244828 +452838 +452849 +10682 +10682 +9539 +113864 0 +7042093 +62692 +610714 +61991 +61991 0 +10586 +10586 +107350 0 0 0 0 0 0 +8235756 0 +62692 0 0 0 0 0 0 +5928336 0 0 +10586 0 0 0 0 +10586 +10586 +10586 0 0 0 0 0 -2798158 0 0 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -3 0 0 0 - -_ZN3gpu16textures_time_usEPy -# Func Hash: -742261418966908927 -# Num Counters: -1 -# Counter Values: -376559 - -_ZN3gpu16translate_cachedERKN3gcn7ProgramERKNS0_16TranslateOptionsENS_14TranslationUseE -# Func Hash: -1035113447810881776 -# Num Counters: -217 -# Counter Values: 0 0 0 @@ -268400,6 +270339,7 @@ _ZN3gpu16translate_cachedERKN3gcn7ProgramERKNS0_16TranslateOptionsENS_14Translat 0 0 0 +25824 0 0 0 @@ -268409,11 +270349,13 @@ _ZN3gpu16translate_cachedERKN3gcn7ProgramERKNS0_16TranslateOptionsENS_14Translat 0 0 0 +10586 +10586 +7029684 0 0 0 0 -1762 0 0 0 @@ -268423,37 +270365,7 @@ _ZN3gpu16translate_cachedERKN3gcn7ProgramERKNS0_16TranslateOptionsENS_14Translat 0 0 0 -167321 -313543 -313540 -313542 -313542 -313541 -153390 -153390 -153390 -272430 -272430 -272430 -299031 -299046 -167322 -23021 0 -313541 -153390 -272423 -299038 -313542 -313541 -313541 -313541 -153390 -153390 -272423 -272430 -299053 -167321 0 0 0 @@ -268464,9 +270376,21 @@ _ZN3gpu16translate_cachedERKN3gcn7ProgramERKNS0_16TranslateOptionsENS_14Translat 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_IndirectCallTarget: 0 +# NumValueSites: +2 0 0 + +_ZN3gpu16tex_events_writeEP6_iobuf +# Func Hash: +141929912880715833 +# Num Counters: +10 +# Counter Values: 0 0 0 @@ -268477,12 +270401,29 @@ _ZN3gpu16translate_cachedERKN3gcn7ProgramERKNS0_16TranslateOptionsENS_14Translat 0 0 0 + +_ZN3gpu16textures_hash_usEv +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +381806 + +_ZN3gpu16textures_retiredEi +# Func Hash: +670696726286315184 +# Num Counters: +43 +# Counter Values: +0 +0 +0 +0 0 0 0 0 -97284 -97284 0 0 0 @@ -268490,23 +270431,9 @@ _ZN3gpu16translate_cachedERKN3gcn7ProgramERKNS0_16TranslateOptionsENS_14Translat 0 0 0 -97273 0 0 0 -97284 -97264 -97255 -97244 -97267 -97270 -97269 -97272 -97271 -97280 -97254 -97277 -97266 0 0 0 @@ -268526,55 +270453,220 @@ _ZN3gpu16translate_cachedERKN3gcn7ProgramERKNS0_16TranslateOptionsENS_14Translat 0 0 0 +2826994 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +3 +0 +0 +0 + +_ZN3gpu16textures_time_usEPy +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +380447 + +_ZN3gpu16translate_cachedERKN3gcn7ProgramERKNS0_16TranslateOptionsENS_14TranslationUseE +# Func Hash: +1035113447810881776 +# Num Counters: +217 +# Counter Values: +0 +0 +2 +0 0 -97279 -97271 -97270 -97268 -97266 +0 +0 +0 +0 +0 +0 +16 +16 +16 +0 +0 +0 +0 +0 +0 +0 +0 +0 +16 +0 +1762 +0 +0 +0 +0 +0 +0 +0 +0 +0 +167266 +313240 +313240 +313231 +313231 +313240 +153267 +153267 +153268 +272308 +272302 +272302 +298946 +298929 +167268 +23025 +0 +313231 +153270 +272298 +298935 +313237 +313240 +313239 +313240 +153266 +153268 +272302 +272302 +298931 +167265 +0 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 +2 97262 -97265 -97273 -97275 -97266 -97269 -97271 -97269 -97267 -97266 -97277 -97273 -97272 -97270 -97259 -97256 -97265 -97264 -97259 -97258 -0 -0 -0 -97273 -97261 -97271 -97267 -97261 -97274 -97266 -97268 -97269 -97267 -97276 -97274 -97272 -97257 -97266 97262 -97258 0 0 0 +2 +0 +2 +2 +97250 +0 +2 +0 +97262 +97242 +97245 +97236 +97248 +97246 +97243 +97249 +97246 +97255 +97229 +97257 +97242 +0 +0 +2 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +97254 +97247 +97249 +97248 +97249 +97252 +97246 +97237 +97238 +97247 +97248 +97246 +97246 +97249 +97249 +97247 +97249 +97249 +97246 +97245 +97250 +97247 +97247 +97247 +97243 +0 +0 +0 +97254 +97249 +97248 +97250 +97248 +97240 +97244 +97246 +97244 +97249 +97245 +97250 +97247 +97245 +97246 +97247 +97247 0 0 0 @@ -268601,10 +270693,13 @@ _ZN3gpu16translate_cachedERKN3gcn7ProgramERKNS0_16TranslateOptionsENS_14Translat 0 0 0 -97277 -97278 -167314 -97259 +0 +0 +0 +97251 +97257 +167253 +97245 _ZN3gpu16velo_cloth_givenEv # Func Hash: @@ -268612,10 +270707,10 @@ _ZN3gpu16velo_cloth_givenEv # Num Counters: 4 # Counter Values: -613583 -613583 -613583 -613583 +612612 +612612 +612612 +612612 _ZN3gpu16vram_fallback_onEv # Func Hash: @@ -268657,7 +270752,7 @@ _ZN3gpu17bind_stage_imagesEP17VkDescriptorSet_TRKN3gcn15TranslateResultERKNS_11S # Num Counters: 2 # Counter Values: -773257 +775484 24 _ZN3gpu17busy_begin_lockedERNS_3Gpu4SlotE @@ -268666,10 +270761,10 @@ _ZN3gpu17busy_begin_lockedERNS_3Gpu4SlotE # Num Counters: 5 # Counter Values: -2798326 +2827176 0 -2798326 -2798326 +2827176 +2827176 0 _ZN3gpu17cache_budget_initEv @@ -268722,7 +270817,7 @@ _ZN3gpu17cache_over_budgetEy # Num Counters: 1 # Counter Values: -684 +685 _ZN3gpu17capture_candidateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjyby # Func Hash: @@ -268734,7 +270829,7 @@ _ZN3gpu17capture_candidateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE 0 0 0 -129188671 +129024400 0 0 0 @@ -268767,13 +270862,13 @@ _ZN3gpu17cb_exact_bindingsEv # Num Counters: 7 # Counter Values: -257483710 -257507582 -257531791 +257149669 +257179318 +257191866 12 12 0 -257515439 +257178855 _ZN3gpu17copy_elide_decideEb # Func Hash: @@ -268855,18 +270950,18 @@ _ZN3gpu17gxvk_count_lockedEii # Num Counters: 15 # Counter Values: -155499153 -346641125 -155499153 -182348694 +151993520 +341626865 +151993520 +188635666 0 0 0 -528768740 -155499153 +530017941 +151993520 0 -181127072 -1249921 +187381627 +1282521 0 0 0 @@ -268899,51 +270994,51 @@ _ZN3gpu17homes_bind_lockedEjyyRNS_7LocatedE # Num Counters: 98 # Counter Values: -195036438 +194105819 0 0 -195049943 -55464295 +194115215 +57537580 0 0 -179318804 -15760347 -3727 -67858971 -67866292 +178463358 +15681136 +3852 +70243156 +70251158 0 -3728 +3852 0 -179150089 -15748911 +178292574 +15669362 0 0 0 0 0 -192972 +201141 0 0 0 0 -67664666 +70045094 0 -67666839 +70043480 0 0 0 -534 -192968 +655 +201137 0 -192857 +200992 0 0 0 0 0 0 -533 -191566 +655 +199671 0 0 0 @@ -268961,17 +271056,17 @@ _ZN3gpu17homes_bind_lockedEjyyRNS_7LocatedE 0 0 0 -194876536 +193942944 0 0 -192968 +201146 0 0 0 0 -67041091 -534 -627208 +69402079 +655 +644309 0 0 0 @@ -268979,8 +271074,8 @@ _ZN3gpu17homes_bind_lockedEjyyRNS_7LocatedE 0 0 0 -110199 -82782 +115676 +85476 0 0 0 @@ -268989,8 +271084,8 @@ _ZN3gpu17homes_bind_lockedEjyyRNS_7LocatedE 0 0 0 -397 -137 +486 +169 0 0 0 @@ -269004,8 +271099,8 @@ _ZN3gpu17homes_meet_lockedEyy # Num Counters: 2 # Counter Values: -776078173 -776078173 +780561540 +780561541 _ZN3gpu17homes_sync_lockedEyyi # Func Hash: @@ -269017,8 +271112,8 @@ _ZN3gpu17homes_sync_lockedEyyi 0 0 0 -5896592 -5896592 +5833836 +5833836 0 0 @@ -269028,41 +271123,41 @@ _ZN3gpu17image_heap_reportB5cxx11Ev # Num Counters: 50 # Counter Values: -5800 -5800 -5800 -5395 +5836 +5836 +5836 +5516 0 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 -1346 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 +1359 0 0 0 0 0 -1346 +1359 0 -1346 -1346 -1346 -1346 -1346 -1346 -1346 +1359 +1359 +1359 +1359 +1359 +1359 +1359 0 0 -1346 -1346 -1346 -1346 +1359 +1359 +1359 +1359 0 0 0 @@ -269075,9 +271170,9 @@ _ZN3gpu17image_heap_reportB5cxx11Ev 0 0 0 -5395 -5395 -5395 +5516 +5516 +5516 _ZN3gpu17key_stage_matchesERKN3gcn15TranslateResultES3_ # Func Hash: @@ -269086,23 +271181,23 @@ _ZN3gpu17key_stage_matchesERKN3gcn15TranslateResultES3_ 22 # Counter Values: 0 -17117 -17117 -17117 -10211 -13720 -4350 -10716 -17117 -10211 -3397 -3397 -5861 -5861 -17117 -10211 -10716 -10716 +17141 +17141 +17141 +10232 +13741 +4356 +10730 +17141 +10232 +3400 +3400 +5876 +5876 +17141 +10232 +10730 +10730 0 0 0 @@ -269114,11 +271209,11 @@ _ZN3gpu17key_stage_matchesERKN3gcn15TranslateResultES3_ # NumValueSites: 2 2 -17:13720 -9:3397 +17:13741 +9:3400 2 -9:5861 -17:4350 +9:5876 +17:4356 _ZN3gpu17label_check_rangeEyyNS_9ImportUseE # Func Hash: @@ -269164,7 +271259,7 @@ _ZN3gpu17list_packets_makeEv # Num Counters: 4 # Counter Values: -96431702 +99817153 0 0 0 @@ -269305,15 +271400,15 @@ _ZN3gpu17read_guest_lockedEyyPv # Num Counters: 9 # Counter Values: -147795143 -40378301 -40100935 -2494 -61790777 -40376746 -40100935 -1124278 -1124278 +146993315 +40235134 +39958016 +2378 +62445636 +40233622 +39958016 +1112416 +1112416 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -269321,12 +271416,12 @@ _ZN3gpu17read_guest_lockedEyyPv # NumValueSites: 2 4 -16:49313070 -8:7354370 -32:5123495 +16:49748669 +8:7486074 +32:5211099 4:56 1 -32:2494 +32:2378 _ZN3gpu17recorder_threadedEv # Func Hash: @@ -269334,7 +271429,7 @@ _ZN3gpu17recorder_threadedEv # Num Counters: 1 # Counter Values: -44083939 +44987942 _ZN3gpu17render_fill_statsB5cxx11Ev # Func Hash: @@ -269342,7 +271437,7 @@ _ZN3gpu17render_fill_statsB5cxx11Ev # Num Counters: 1 # Counter Values: -1346 +1359 _ZN3gpu17render_hooks_takeEjPSt6vectorINS_10RenderHookESaIS1_EE # Func Hash: @@ -269368,7 +271463,7 @@ _ZN3gpu17render_tess_drawsEv # Num Counters: 1 # Counter Values: -2798319 +2827167 _ZN3gpu17resolve_key_stageEPKN3gcn15TranslateResultEPKjPK14GxStageRecordsRNS_8KeyStageE # Func Hash: @@ -269376,50 +271471,50 @@ _ZN3gpu17resolve_key_stageEPKN3gcn15TranslateResultEPKjPK14GxStageRecordsRNS_8Ke # Num Counters: 46 # Counter Values: -3763332713 -2309993560 +3754191819 +2305156504 0 0 -518160170 -329996955 -310511074 -518076731 -330001491 +516634936 +329303145 +309579944 +516542331 +329307711 140 112 -337531260 -518091060 -19862302 -180437204 -337531265 -180433374 -518113365 -24 -2790866 -113 +328686772 +516569996 +20105076 +187750691 +328685698 +187745815 +516581456 +24 +2932034 +114 0 0 -337543712 -177050328 +328698833 +184224397 0 0 0 -3 -258272848 -112316629 -112317443 -112318659 -258243505 +2 +257936802 +112250471 +112251323 +112252194 +257897986 0 0 -218853485 +218188608 0 12 12 0 -218833880 +218179342 0 -537928450 +536630456 0 0 @@ -269516,7 +271611,7 @@ _ZN3gpu17sampler_modes_forERKN3gcn15TranslateResultEPKjPK14GxStageRecords # Counter Values: 0 0 -773257 +775484 0 0 0 @@ -269540,7 +271635,7 @@ _ZN3gpu17shadow_locate_whyEv # Num Counters: 1 # Counter Values: -216334635 +215053746 _ZN3gpu17stage_final_viewsERKN3gcn15TranslateResultERKNS_11StageImagesEPKcRSt6vectorIP13VkImageView_TSaISB_EE # Func Hash: @@ -269548,24 +271643,24 @@ _ZN3gpu17stage_final_viewsERKN3gcn15TranslateResultERKNS_11StageImagesEPKcRSt6ve # Num Counters: 93 # Counter Values: -6679428 -16255 -525904465 -525883172 -525907849 -525913734 +6924292 +20361 +524915375 +524892948 +524921876 +524927684 312 0 -873079 +875704 78 -882271 +886974 78 12 78 -525891753 -9200 -882288 -9200 +524899571 +11279 +886993 +11279 312 0 0 @@ -269580,7 +271675,7 @@ _ZN3gpu17stage_final_viewsERKN3gcn15TranslateResultERKNS_11StageImagesEPKcRSt6ve 12 12 288 -9200 +11279 12 12 0 @@ -269597,18 +271692,18 @@ _ZN3gpu17stage_final_viewsERKN3gcn15TranslateResultERKNS_11StageImagesEPKcRSt6ve 12 12 0 -255579745 +255313508 288 12 12 -255558689 +255276141 288 12 12 -8195302 +8174662 12 -8195086 -8195062 +8174446 +8174422 0 78 0 @@ -269626,11 +271721,11 @@ _ZN3gpu17stage_final_viewsERKN3gcn15TranslateResultERKNS_11StageImagesEPKcRSt6ve 0 0 336 -4661411 -4661411 -9191 -16255 -16255 +4607725 +4607725 +11270 +20361 +20361 0 0 0 @@ -269648,12 +271743,12 @@ _ZN3gpu17stream_submit_jobEPKP17VkCommandBuffer_TjP13VkSemaphore_TjS5_P9VkFence_ # Num Counters: 6 # Counter Values: -2798318 -3152551 +2827167 +3184453 0 -2798318 +2827167 0 -3152551 +3184453 _ZN3gpu17take_marked_startERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -269745,21 +271840,21 @@ _ZN3gpu17twins_buffer_goneEyy # Num Counters: 15 # Counter Values: -223011 -22547 -18508 -16948 -758 -5599 -758 -758 +223292 +22596 +18463 +16356 +752 +6240 +752 +752 0 0 0 0 -22547 -113611 -113611 +22596 +114561 +114561 _ZN3gpu17twins_buffer_madeEyyhhy # Func Hash: @@ -269767,12 +271862,12 @@ _ZN3gpu17twins_buffer_madeEyyhhy # Num Counters: 24 # Counter Values: -6829690 -870328 -870328 -31371 +6838125 +870380 +870380 +30991 0 -4926 +4920 0 0 0 @@ -269787,9 +271882,9 @@ _ZN3gpu17twins_buffer_madeEyyhhy 0 0 0 -870328 -6619716 -6619716 +870380 +6628439 +6628439 0 _ZN3gpu17twins_want_lockedEy @@ -269798,23 +271893,23 @@ _ZN3gpu17twins_want_lockedEy # Num Counters: 17 # Counter Values: -10462313 -842555 -842555 -232 -220 -842555 -842555 -308679 -298 -298 -243 -43 +10617421 +834184 +834184 +207 +196 +834184 +834184 +304494 +297 +297 +244 +42 0 0 0 -1712396 -1712396 +1768707 +1768707 _ZN3gpu17untile_gpu_reportB5cxx11Ev # Func Hash: @@ -269830,9 +271925,9 @@ _ZN3gpu17upscale_motion_onEv # Num Counters: 3 # Counter Values: -404093168 -82265960 -82280410 +403522764 +84043016 +84066726 _ZN3gpu17velo_previous_dueEv # Func Hash: @@ -269840,11 +271935,11 @@ _ZN3gpu17velo_previous_dueEv # Num Counters: 5 # Counter Values: -9488676 -9488637 -7964328 -7964316 -7964311 +9443146 +9443105 +7931342 +7931310 +7931296 _ZN3gpu17vram_reserve_initEv # Func Hash: @@ -269985,28 +272080,28 @@ _ZN3gpu18clear_image_lockedERNS_7RtImageEPKfjjb 0 0 0 -1 -1369012 -930267 0 -2207 -1 +1412355 +954314 +0 +2398 +0 0 -1 -1 0 -1 0 0 -1369013 -1 -1 0 -1 -1 0 -375792 -375792 +0 +1412355 +0 +0 +0 +0 +0 +0 +379749 +379749 _ZN3gpu18compare_guard_viewEP13VkImageView_TPKjjb # Func Hash: @@ -270014,19 +272109,19 @@ _ZN3gpu18compare_guard_viewEP13VkImageView_TPKjjb # Num Counters: 16 # Counter Values: -18400 -9200 -9200 -9200 -9200 -9200 +22558 +11279 +11279 +11279 +11279 +11279 12 12 12 0 12 0 -9200 +11279 0 0 0 @@ -270061,11 +272156,11 @@ _ZN3gpu18defer_destroy_viewEP13VkImageView_T # Num Counters: 5 # Counter Values: -49910 -49910 -48891 +49356 +49356 +48365 0 -1019 +991 _ZN3gpu18device_lost_lockedEPKcb # Func Hash: @@ -270150,19 +272245,19 @@ _ZN3gpu18find_render_targetEy # Num Counters: 13 # Counter Values: -167566999 -37293217 -22572494 -6711398 -16164633 -7466200 -72881075 -72881075 -15862092 -22876366 -22876366 -5352930 -14051765 +178674290 +39549519 +23529467 +6818404 +17093270 +7756479 +74112193 +74112193 +16712397 +24572806 +24572806 +5543781 +14881057 _ZN3gpu18forget_view_lockedEP13VkImageView_T # Func Hash: @@ -270170,7 +272265,7 @@ _ZN3gpu18forget_view_lockedEP13VkImageView_T # Num Counters: 1 # Counter Values: -49910 +49356 _ZN3gpu18fsr_upscale_lockedEP17VkCommandBuffer_TP9VkImage_T8VkFormatjjjjjjS3_8VkRect2DP13VkImageView_Tj # Func Hash: @@ -270247,7 +272342,7 @@ _ZN3gpu18glitch_draw_lockedERNS_8DrawCallE 0 0 0 -125661754 +125530540 0 0 0 @@ -270288,7 +272383,7 @@ _ZN3gpu18gpu_checkpoint_cmdEP17VkCommandBuffer_Tjy 3 # Counter Values: 0 -354237 +357293 0 # Num Value Kinds: 1 @@ -270322,7 +272417,7 @@ _ZN3gpu18home_copies_reportB5cxx11Ev # Num Counters: 2 # Counter Values: -1346 +1359 0 _ZN3gpu18homes_flush_lockedEv @@ -270332,13 +272427,13 @@ _ZN3gpu18homes_flush_lockedEv 93 # Counter Values: 0 -111619 +110783 0 0 0 0 0 -478142 +486063 0 0 0 @@ -270353,48 +272448,48 @@ _ZN3gpu18homes_flush_lockedEv 0 0 0 -33937219 -33937219 +34092687 +34092687 0 -14657600 +14752256 0 0 -33937219 -19391238 -19391238 +34092687 +19451214 +19451214 0 0 0 0 -33937219 +34092687 0 0 0 0 -33937219 +34092687 0 0 0 -25744096 -3137682 -1371634 +25951661 +3175239 +1389019 0 -3137682 -3137682 -2244190 -2244190 -3137682 +3175239 +3175239 +2272283 +2272283 +3175239 0 -3137682 +3175239 0 0 -893492 -893492 -893492 +902956 +902956 +902956 0 -3137682 -2244190 -2244190 +3175239 +2272283 +2272283 0 0 0 @@ -270432,21 +272527,21 @@ _ZN3gpu18image_memory_allocERK20VkMemoryRequirementsRNS_11ImageMemoryEbi 44 # Counter Values: 0 -213364 -106682 -213364 +212786 +106393 +212786 0 0 0 0 0 0 -106682 -106682 -102552 +106393 +106393 +102258 0 0 -102552 +102258 0 0 0 @@ -270469,9 +272564,9 @@ _ZN3gpu18image_memory_allocERK20VkMemoryRequirementsRNS_11ImageMemoryEbi 0 0 0 -4208 -102552 -102552 +4213 +102258 +102258 0 0 0 @@ -270507,7 +272602,7 @@ _ZN3gpu18loading_screen_nowEv # Num Counters: 1 # Counter Values: -8399084 +8485636 _ZN3gpu18note_dispatch_nameEyPKc # Func Hash: @@ -270547,10 +272642,10 @@ _ZN3gpu18override_data_takeERSt6vectorINS_14OverrideUploadESaIS1_EE # Counter Values: 0 0 -2798324 +2827176 0 0 -2798324 +2827176 0 0 0 @@ -270818,7 +272913,7 @@ _ZN3gpu18profile_end_lockedEv # Num Counters: 4 # Counter Values: -127475730 +127325895 0 0 0 @@ -270855,57 +272950,57 @@ _ZN3gpu18render_target_viewERNS_7RtImageEPKjjjbj # Counter Values: 0 0 -307661 -0 -311401 -311401 -307661 -307661 -1247 -309966 -3740 +272075 0 -39 -3701 +275858 +275858 +272075 +272075 +1259 +274430 +3783 0 +43 3740 -3691 0 +3783 +3734 0 0 0 -3740 0 +3783 0 0 0 0 0 -3669 0 +3708 0 0 0 0 0 -3638 0 +3677 0 -1841 0 +1882 0 0 -1899 0 +1901 0 0 0 0 -309966 0 +274430 0 0 -10414 +0 +30757 0 0 0 @@ -270918,8 +273013,8 @@ _ZN3gpu18render_target_viewERNS_7RtImageEPKjjjbj 49 0 0 -39 -39 +43 +43 _ZN3gpu18report_checkpointsEv # Func Hash: @@ -270982,91 +273077,91 @@ _ZN3gpu18retire_slot_lockedEi # Num Counters: 169 # Counter Values: -769108 -9950 -365621 -41676 -21903410 +774994 +10369 +362258 +41111 +21671664 0 26 26 -766100 -9304 -383626 -42055 -0 -42055 -19760 -1317456 -163 -766100 -9304 -41676 -41556 -163 -0 -766100 -9304 -8 -1474658 -21903410 -1317456 +772181 +9690 +390182 +41492 +0 +41492 +19838 +1330075 +172 +772181 +9690 +41111 +40963 +172 +0 +772181 +9690 +11 +1458907 +21671664 +1330075 0 -127 +135 0 -33489 -16263 -24 +33222 +16029 +25 12 12 -2824999 -36 -4858 -2311 +2850398 +37 +4495 +2413 0 0 0 -2711 -445 -2798157 +2622 +452 +2826992 0 0 0 0 0 0 -2798157 +2826992 0 -2798157 -2798157 -2798157 -2798157 -2798157 -2798157 -2798157 -2798157 -2798157 -2798157 -2798157 -2798157 -2798157 +2826992 +2826992 +2826992 +2826992 +2826992 +2826992 +2826992 +2826992 +2826992 +2826992 +2826992 +2826992 +2826992 0 0 0 0 0 0 -841833 -105 +852872 +108 13 -764511 -8915 -167363 -785 +770711 +9301 +170929 +788 0 -785 -435 -1997619 +788 +442 +2020070 0 0 0 @@ -271095,7 +273190,7 @@ _ZN3gpu18retire_slot_lockedEi 0 0 0 -2798157 +2826992 0 0 0 @@ -271143,14 +273238,14 @@ _ZN3gpu18retire_slot_lockedEi 0 0 0 -2495 -2495 +2355 +2355 0 -466 -466 +515 +515 0 -229224 -229224 +229506 +229506 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -271244,9 +273339,9 @@ _ZN3gpu18shadow_in_place_onEv 6 # Counter Values: 0 -44065602 -44064290 -44065504 +44973835 +44971951 +44973390 0 0 @@ -271261,7 +273356,7 @@ _ZN3gpu18shadow_keeper_workEv 0 0 0 -53688 +53984 0 0 0 @@ -271292,22 +273387,22 @@ _ZN3gpu18shadow_keeper_workEv 0 0 0 -6711 +6748 0 0 0 0 0 -6711 -6711 +6748 +6748 0 0 -67 -67 +68 +68 0 -67 -67 -67 +68 +68 +68 0 0 0 @@ -271337,10 +273432,10 @@ _ZN3gpu18shadow_keeper_workEv 0 0 0 -6620 -6644 +6655 +6680 0 -67 +68 0 0 0 @@ -271359,16 +273454,16 @@ _ZN3gpu18stage_image_writesEP17VkDescriptorSet_TRKN3gcn15TranslateResultERKNS_11 # Num Counters: 11 # Counter Values: -1780809 -150821 -465512 +1786926 +151272 +466249 0 0 -1290520 +1290534 0 -1315297 -810334 -490289 +1320677 +812682 +496392 0 _ZN3gpu18staging_pool_statsB5cxx11Ev @@ -271395,68 +273490,68 @@ _ZN3gpu18texture_view_by_idEjPKjbRbRjS2_bbPjPy 86 # Counter Values: 0 -2631581 -788241 -517070048 +2892155 +875628 +515707843 0 0 -176154495 -339837569 -339837569 -1510988 -1510988 +183340662 +331067964 +331067964 +1570125 +1570125 0 -1879828 +2053019 0 -1879828 -339417982 -1510988 -1510988 -1879828 -36740493 -1879828 -1879828 +2053019 +330650605 +1570125 +1570125 +2053019 +36286103 +2053019 +2053019 0 -1879828 -1595964 -1595964 +2053019 +1804471 +1804471 0 0 0 0 -283864 +248548 0 -302692828 -339417982 -339417982 +294379821 +330650595 +330650595 0 -1482141 -1879828 -1879828 -276870651 -339417983 +1639869 +2053019 +2053019 +268949952 +330650605 0 0 -339417982 +330650605 0 0 0 0 0 0 -273538273 -65879709 -276867329 -29154555 -273538424 +265655134 +64995471 +268945445 +28724687 +265655280 0 -273538273 -276867329 +265655134 +268945445 0 -29154555 -4628983 +28724687 +4605058 0 -4628983 +4605058 0 0 0 @@ -271466,7 +273561,7 @@ _ZN3gpu18texture_view_by_idEjPKjbRbRjS2_bbPjPy 0 0 0 -176201020 +183379742 0 0 0 @@ -271474,11 +273569,11 @@ _ZN3gpu18texture_view_by_idEjPKjbRbRjS2_bbPjPy 0 0 0 -273538274 +265655134 0 0 0 -663 +721 0 _ZN3gpu18textures_submittedEi @@ -271491,7 +273586,7 @@ _ZN3gpu18textures_submittedEi 0 0 0 -2798319 +2827169 0 0 0 @@ -271529,21 +273624,21 @@ _ZN3gpu18twin_covers_lockedEyy # Num Counters: 15 # Counter Values: -773410806 -935426 -744061847 -774058184 -774058184 -773410806 -744063825 -744063826 -744063615 -937194 -935336 -212 -744061847 +777851039 +1078616 +748579845 +778555818 +778555818 +777851039 +748582163 +748582163 +748581969 +1080740 +1078427 +196 +748579845 0 -935156 +934130 _ZN3gpu18twin_locate_lockedEyyRNS_7LocatedEPy # Func Hash: @@ -271551,40 +273646,40 @@ _ZN3gpu18twin_locate_lockedEyyRNS_7LocatedEPy # Num Counters: 124 # Counter Values: -633925 +628145 0 0 -124126918 -3355 +126015624 +3364 286 -212 +217 0 0 -124131050 +126019555 0 0 0 0 -124131050 +126019555 0 0 -820 +822 0 0 0 0 0 0 -124127801 +126016504 0 0 0 -633639 -124127801 -124127801 +627859 +126016504 +126016504 286 -634808 -1169 +629025 +1166 0 0 0 @@ -271593,14 +273688,14 @@ _ZN3gpu18twin_locate_lockedEyyRNS_7LocatedEPy 286 0 286 -633639 -124127801 +627859 +126016504 0 0 286 0 0 -124126918 +126015624 0 0 0 @@ -271609,12 +273704,12 @@ _ZN3gpu18twin_locate_lockedEyyRNS_7LocatedEPy 286 286 0 -633639 +627859 0 0 0 0 -196 +198 0 0 286 @@ -271649,10 +273744,10 @@ _ZN3gpu18twin_locate_lockedEyyRNS_7LocatedEPy 0 0 0 -124127801 +126016504 0 -744 -744 +739 +739 0 0 0 @@ -271690,9 +273785,9 @@ _ZN3gpu18upscale_capture_onEv # Num Counters: 3 # Counter Values: -42091007 -42086756 -42091280 +41619608 +41615340 +41619407 _ZN3gpu18upscale_pass_callsEv # Func Hash: @@ -271708,7 +273803,7 @@ _ZN3gpu18upscale_velo_frameEv # Num Counters: 1 # Counter Values: -613583 +612612 _ZN3gpu18upscale_view_termsEPfS0_S0_S0_ # Func Hash: @@ -271726,7 +273821,7 @@ _ZN3gpu18vram_reserve_bytesEv # Num Counters: 1 # Counter Values: -2798330 +2827179 _ZN3gpu18vram_return_reportB5cxx11Ev # Func Hash: @@ -271736,8 +273831,8 @@ _ZN3gpu18vram_return_reportB5cxx11Ev # Counter Values: 0 0 -1346 -1346 +1359 +1359 0 0 0 @@ -271749,29 +273844,29 @@ _ZN3gpu19apply_pending_clearERNS_7RtImageE # Num Counters: 38 # Counter Values: -1377594 -37386871 -13441703 +886797 +37104209 +13056516 0 -1411999 -1377594 -33993 -402356581 +890744 +886797 +3535 +392884450 412 0 -402356581 -397845321 +392884450 +388382610 0 0 -12120038 +12263318 0 -411 +412 288 -77630791 -77631112 -397845321 +76163829 +76164145 +388382610 0 -411 +412 0 288 0 @@ -271781,10 +273876,10 @@ _ZN3gpu19apply_pending_clearERNS_7RtImageE 12 12 0 -4600582 -4600582 -34405 -34405 +4891224 +4891224 +3947 +3947 0 0 @@ -271794,7 +273889,7 @@ _ZN3gpu19barrier_masks_fixedEv # Num Counters: 4 # Counter Values: -18514156 +18689140 12 12 0 @@ -271805,14 +273900,14 @@ _ZN3gpu19busy_retired_lockedERNS_3Gpu4SlotEb # Num Counters: 8 # Counter Values: -2798157 -2798157 -2798157 -2798157 -310629 -310629 -310629 -310629 +2826992 +2826992 +2826992 +2826992 +312057 +312057 +312057 +312057 _ZN3gpu19cache_budget_excessEv # Func Hash: @@ -271820,7 +273915,7 @@ _ZN3gpu19cache_budget_excessEv # Num Counters: 2 # Counter Values: -1767 +1777 0 _ZN3gpu19clear_target_lockedEyyPKf @@ -271847,8 +273942,8 @@ _ZN3gpu19copy_by_resource_onEv # Num Counters: 2 # Counter Values: -1819140 -1819140 +1830817 +1830817 _ZN3gpu19copy_overlap_lockedERNS_7RtImageEyyy8VkFormatPKc # Func Hash: @@ -272021,13 +274116,13 @@ _ZN3gpu19defer_destroy_imageEP9VkImage_TRKNS_11ImageMemoryE # Num Counters: 7 # Counter Values: -42055 -40790 +41492 +40258 0 -40790 -1265 +40258 +1234 0 -1265 +1234 _ZN3gpu19forget_managed_viewEP13VkImageView_T # Func Hash: @@ -272035,7 +274130,7 @@ _ZN3gpu19forget_managed_viewEP13VkImageView_T # Num Counters: 2 # Counter Values: -1816 +1829 0 _ZN3gpu19gxvk_plan_buffer_isEP10VkBuffer_T @@ -272052,50 +274147,50 @@ _ZN3gpu19gxvk_resolve_lockedEijyyyRNS_7LocatedE # Num Counters: 44 # Counter Values: -528958146 -528959596 -528988342 -528997497 +530203141 +530223892 +530250025 +530264019 0 -528969354 +530237291 0 -528972389 -529000244 -529015986 +530238545 +530267929 +530281583 0 0 -419310670 -10575 -529000310 -529005247 +420072063 +11412 +530243185 +530258390 0 -270941536 -528980325 +266766658 +530218925 0 -10575 -11720318 +11411 +11766663 0 0 -6454 +7286 0 0 0 -148446985 -6454 -6454 +153381808 +7285 +7285 0 0 0 0 -419311445 +420060668 0 0 0 0 -147824789 -622453 -528977682 -528975043 +152746895 +637801 +530243874 +530239520 _ZN3gpu19heap_compact_reportB5cxx11Ev # Func Hash: @@ -272103,7 +274198,7 @@ _ZN3gpu19heap_compact_reportB5cxx11Ev # Num Counters: 2 # Counter Values: -228 +231 0 _ZN3gpu19hlsl_set_busy_probeEPFbvE @@ -272146,14 +274241,14 @@ _ZN3gpu19invalidate_rt_viewsEy # Num Counters: 8 # Counter Values: -15981 -1816 -2053 -2053 -1816 -8469 -8469 -237 +15914 +1829 +2055 +2055 +1829 +8421 +8421 +226 _ZN3gpu19lift_compute_cachedERKN3gcn7ProgramERKNS0_16TranslateOptionsERKNS0_15TranslateResultE # Func Hash: @@ -272218,7 +274313,7 @@ _ZN3gpu19lift_compute_cachedERKN3gcn7ProgramERKNS0_16TranslateOptionsERKNS0_15Tr 0 0 0 -971 +972 972 _ZN3gpu19note_shader_createdEiPKhyy @@ -272359,7 +274454,7 @@ _ZN3gpu19override_data_latchEv # Num Counters: 6 # Counter Values: -376552 +380440 0 0 0 @@ -272391,10 +274486,10 @@ _ZN3gpu19pipeline_cache_pathB5cxx11Ev 10 # Counter Values: 0 -4182 +4221 0 0 -4182 +4221 12 12 0 @@ -272443,7 +274538,7 @@ _ZN3gpu19rebuild_page_tablesEv 3386960 24576 122 -228684343 +228135229 0 0 0 @@ -272614,7 +274709,7 @@ _ZN3gpu19render_layout_fixesEv # Num Counters: 4 # Counter Values: -1536 +1344 12 12 0 @@ -272796,7 +274891,7 @@ _ZN3gpu19sampled_view_layoutEP13VkImageView_T # Num Counters: 4 # Counter Values: -1290520 +1290534 0 0 0 @@ -272808,15 +274903,15 @@ _ZN3gpu19sampler_anisotropicEP11VkSampler_Ti 32 # Counter Values: 0 -26404093 +26296933 12 -26406137 +26298678 6 6 6 0 6 -26405524 +26298091 6 6 5 @@ -272846,24 +274941,24 @@ _ZN3gpu19scene_dither_lockedERNS_7RtImageEj # Num Counters: 41 # Counter Values: -120726 -40242 +124317 +41439 1 -40242 -40242 +41439 +41439 1 -40241 +41438 1 1 1 0 1 0 -40242 -40241 +41439 +41438 1 0 -40242 +41439 0 1 1 @@ -272878,15 +274973,15 @@ _ZN3gpu19scene_dither_lockedERNS_7RtImageEj 1 0 0 -40242 -40241 +41439 +41438 1 -40242 +41439 0 0 0 -40242 -40242 +41439 +41439 _ZN3gpu19shader_bundles_listEv # Func Hash: @@ -272941,57 +275036,57 @@ _ZN3gpu19shadow_stage_lockedEyyRNS_7LocatedE # Num Counters: 93 # Counter Values: -1953993 +1919142 0 -61568074 -61568074 -61568074 -7942251 -61568074 +63309525 +63309525 +63309525 +7957242 +63309525 0 0 0 -61568074 -16210515 -6093022 -55475052 -6093022 +63309525 +15925536 +5963892 +57345633 +5963892 0 0 -6093022 +5963892 0 0 0 0 -6068774 -24248 +5930021 +33871 0 0 -6068774 +5930021 0 0 0 -6068774 -2292716 -1954022 -338508 -5266128 +5930021 +2258745 +1919174 +339387 +5224561 0 -2292716 +2258745 0 -215 -2292716 -4628216 +216 +2258745 +4516458 0 0 0 0 -3776058 +3671276 0 -2677668 +2591996 0 0 -55475052 +57345633 0 0 0 @@ -272999,10 +275094,10 @@ _ZN3gpu19shadow_stage_lockedEyyRNS_7LocatedE 0 0 0 -24248 +33871 0 -2292716 -2292716 +2258745 +2258745 0 0 0 @@ -273015,8 +275110,8 @@ _ZN3gpu19shadow_stage_lockedEyyRNS_7LocatedE 0 0 0 -3776058 -2677668 +3671276 +2591996 0 0 0 @@ -273027,12 +275122,12 @@ _ZN3gpu19shadow_stage_lockedEyyRNS_7LocatedE 0 0 0 -61568074 +63309525 0 0 -8712872 -6380146 -6380146 +8355186 +6092431 +6092431 0 _ZN3gpu19stage_manifest_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE @@ -273185,13 +275280,13 @@ _ZN3gpu19stage_manifest_pathB5cxx11Ev 13 # Counter Values: 0 -1370 -35620 +1383 +35958 0 0 0 0 -1370 +1383 0 0 0 @@ -273298,7 +275393,7 @@ _ZN3gpu19staging_chunk_bytesEv # Num Counters: 5 # Counter Values: -3068 +2979 12 12 0 @@ -273313,8 +275408,8 @@ _ZN3gpu19staging_hold_lockedEP10VkBuffer_T 0 0 0 -93755 -93755 +93756 +93756 _ZN3gpu19start_hang_watchdogEv # Func Hash: @@ -273338,7 +275433,7 @@ _ZN3gpu19submit_merge_reportB5cxx11Ev 2 # Counter Values: 0 -1346 +1359 _ZN3gpu19target_drain_reportB5cxx11Ev # Func Hash: @@ -273346,9 +275441,9 @@ _ZN3gpu19target_drain_reportB5cxx11Ev # Num Counters: 3 # Counter Values: -184 -44 -44 +177 +54 +54 _ZN3gpu19texture_dump_lockedEyPKcjj # Func Hash: @@ -273424,8 +275519,8 @@ _ZN3gpu19textures_gx_writtenEyy # Num Counters: 6 # Counter Values: -30 -335 +34 +325 0 0 0 @@ -273437,7 +275532,7 @@ _ZN3gpu19textures_hash_countEv # Num Counters: 1 # Counter Values: -377905 +381806 _ZN3gpu19tsharp_sample_as_2dEjjjb # Func Hash: @@ -273447,9 +275542,9 @@ _ZN3gpu19tsharp_sample_as_2dEjjjb # Counter Values: 0 0 -201817232 +209363354 0 -9488508 +9880674 _ZN3gpu19vb_race_before_landEy # Func Hash: @@ -273559,8 +275654,8 @@ _ZN3gpu19vram_within_reserveEy # Num Counters: 2 # Counter Values: -95742 -95742 +95733 +95733 _ZN3gpu20capture_begin_lockedEONS_11CaptureDrawE # Func Hash: @@ -277628,9 +279723,9 @@ _ZN3gpu20copy_versions_reportB5cxx11Ev # Num Counters: 3 # Counter Values: -1322 -819 -24 +1333 +828 +26 _ZN3gpu20create_upload_bufferERNS_9DevBufferEyPKc # Func Hash: @@ -277715,19 +279810,19 @@ _ZN3gpu20fills_retired_lockedERNS_3Gpu4SlotE # Num Counters: 13 # Counter Values: -22227479 -1247 +22317055 +1189 84 84 0 -1997619 +2020070 0 0 -1997619 +2020070 0 0 0 -1247 +1189 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -277753,7 +279848,7 @@ _ZN3gpu20glitch_watching_drawEv # Num Counters: 1 # Counter Values: -1926834681 +1916918761 _ZN3gpu20guest_device_addressEyy # Func Hash: @@ -277761,27 +279856,27 @@ _ZN3gpu20guest_device_addressEyy # Num Counters: 28 # Counter Values: -5367627 +5309371 0 0 -41229917 -35862290 -5367627 -5367627 -23336130 -5367627 -5367627 -5367627 +40782861 +35473490 +5309371 +5309371 +23087526 +5309371 +5309371 +5309371 0 -5367627 -5367627 +5309371 +5309371 0 0 -5367627 +5309371 0 -5367627 +5309371 0 -5367627 +5309371 0 0 0 @@ -278005,39 +280100,39 @@ _ZN3gpu20homes_copy_in_lockedEyyP10VkBuffer_TyPKv # Num Counters: 59 # Counter Values: -100556023 -39608960 -67223818 -107013362 -67874714 -67874714 -67223818 +100958157 +39784706 +67320854 +107253295 +68185692 +68185692 +67320855 0 -66276589 -6927615 +66371930 +7012205 0 36 -66213878 -33937357 -32276521 -62420 +66318142 +34092846 +32225296 +62510 0 0 -32276521 -62420 +32225296 +62510 0 -32276521 +32225296 0 0 -62420 +62510 0 -32276521 +32225296 0 -32276521 +32225296 0 0 -32276521 -32276521 +32225295 +32225296 0 0 0 @@ -278045,7 +280140,7 @@ _ZN3gpu20homes_copy_in_lockedEyyP10VkBuffer_TyPKv 0 0 0 -66213878 +66318142 0 0 0 @@ -278057,13 +280152,13 @@ _ZN3gpu20homes_copy_in_lockedEyyP10VkBuffer_TyPKv 0 0 0 -32276521 +32225296 0 0 0 0 -64492519 -64492519 +64728110 +64728110 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -278079,9 +280174,9 @@ _ZN3gpu20homes_holding_lockedEyyPNS_7LocatedEPy # Num Counters: 24 # Counter Values: -128913056 -128913056 -1895632 +130763972 +130763972 +1808158 24 24 24 @@ -278110,7 +280205,7 @@ _ZN3gpu20homes_pending_lockedEv # Num Counters: 1 # Counter Values: -195395883 +192794366 _ZN3gpu20homes_settled_lockedEv # Func Hash: @@ -278121,14 +280216,42 @@ _ZN3gpu20homes_settled_lockedEv 0 0 +_ZN3gpu20hud_hide_held_lockedEv +# Func Hash: +382993475055910911 +# Num Counters: +2 +# Counter Values: +110810339 +0 + +_ZN3gpu20hud_hide_save_lockedERNS_7RtImageE +# Func Hash: +303685788578711346 +# Num Counters: +12 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 + _ZN3gpu20image_memory_in_vramERKNS_11ImageMemoryE # Func Hash: 784007059655560962 # Num Counters: 2 # Counter Values: -1105070 -1105070 +1115897 +1115897 _ZN3gpu20imports_whole_decideEv # Func Hash: @@ -278185,7 +280308,7 @@ _ZN3gpu20note_indirect_lockedEyib # Num Counters: 7 # Counter Values: -327555 +325820 0 0 0 @@ -278206,9 +280329,9 @@ _ZN3gpu20occlusion_draw_entryEv # Num Counters: 3 # Counter Values: -97904925 +96549785 0 -97904925 +96549785 _ZN3gpu20occlusion_draw_plainEv # Func Hash: @@ -278218,10 +280341,10 @@ _ZN3gpu20occlusion_draw_plainEv # Counter Values: 0 0 -3101227 -3101227 -3101227 -3101227 +3053628 +3053628 +3053628 +3053628 0 0 @@ -278231,9 +280354,9 @@ _ZN3gpu20occlusion_run_issuedEy # Num Counters: 3 # Counter Values: -1555779 -1555779 -1555779 +1573922 +1573922 +1573922 _ZN3gpu20overrides_add_folderEiPKc # Func Hash: @@ -278501,7 +280624,7 @@ _ZN3gpu20profile_begin_lockedEPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaI # Num Counters: 10 # Counter Values: -127433115 +127302649 0 0 0 @@ -278518,9 +280641,9 @@ _ZN3gpu20record_end_renderingEP17VkCommandBuffer_Tb # Num Counters: 3 # Counter Values: -17740945 -17740945 -17740945 +17913704 +17913704 +17913704 _ZN3gpu20record_library_stateEP17VkCommandBuffer_TRKNS_16DrawLibraryStateEb # Func Hash: @@ -278528,9 +280651,9 @@ _ZN3gpu20record_library_stateEP17VkCommandBuffer_TRKNS_16DrawLibraryStateEb # Num Counters: 3 # Counter Values: -40385457 -40385457 -40385457 +40979202 +40979202 +40979202 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -278538,7 +280661,7 @@ _ZN3gpu20record_library_stateEP17VkCommandBuffer_TRKNS_16DrawLibraryStateEb # NumValueSites: 1 1 -** External Symbol **:40385573 +** External Symbol **:40979362 _ZN3gpu20record_stencil_wordsEP17VkCommandBuffer_TPKj # Func Hash: @@ -278546,7 +280669,7 @@ _ZN3gpu20record_stencil_wordsEP17VkCommandBuffer_TPKj # Num Counters: 1 # Counter Values: -27276097 +27965647 _ZN3gpu20recorder_list_packetEy # Func Hash: @@ -278554,7 +280677,7 @@ _ZN3gpu20recorder_list_packetEy # Num Counters: 1 # Counter Values: -31063501 +32216639 _ZN3gpu20recorder_list_reportB5cxx11Ev # Func Hash: @@ -278562,7 +280685,7 @@ _ZN3gpu20recorder_list_reportB5cxx11Ev # Num Counters: 1 # Counter Values: -374 +378 _ZN3gpu20recorder_next_packetEv # Func Hash: @@ -278570,7 +280693,7 @@ _ZN3gpu20recorder_next_packetEv # Num Counters: 1 # Counter Values: -5974210 +5937832 _ZN3gpu20render_pipeline_workEPy # Func Hash: @@ -278588,7 +280711,7 @@ _ZN3gpu20render_return_reportB5cxx11Ev 2 # Counter Values: 0 -1346 +1359 _ZN3gpu20retire_target_lockedESt17_Rb_tree_iteratorISt4pairIKyNS_7RtImageEEEb # Func Hash: @@ -278598,10 +280721,10 @@ _ZN3gpu20retire_target_lockedESt17_Rb_tree_iteratorISt4pairIKyNS_7RtImageEEEb # Counter Values: 0 0 -1448 +1462 96 -1448 -1448 +1462 +1462 96 96 0 @@ -278609,7 +280732,7 @@ _ZN3gpu20retire_target_lockedESt17_Rb_tree_iteratorISt4pairIKyNS_7RtImageEEEb 0 96 24 -50 +55 _ZN3gpu20rt_set_layout_lockedERNS_7RtImageE13VkImageLayoutb # Func Hash: @@ -278617,7 +280740,7 @@ _ZN3gpu20rt_set_layout_lockedERNS_7RtImageE13VkImageLayoutb # Num Counters: 13 # Counter Values: -964038 +993723 0 0 0 @@ -278637,13 +280760,13 @@ _ZN3gpu20set_cache_written_byEPKyiyb # Num Counters: 14 # Counter Values: -37077 -37077 -37065 -37065 -37065 -37065 -37065 +37198 +37198 +37186 +37186 +37186 +37186 +37186 0 0 0 @@ -278698,46 +280821,46 @@ _ZN3gpu20shadow_locate_lockedEyyRNS_7LocatedE # Num Counters: 377 # Counter Values: -802808 +721070 0 -99874 +87295 0 -227749061 +225843666 0 -382675712 -382675712 +379304704 +379304704 0 -83099666 -215852 -227749061 +72950356 +283025 +225843666 0 0 -62497256 -227533209 -13452711 -12116 +58692185 +225560641 +11987955 +12184 0 0 -79963840 -79784165 +52618093 +52383721 0 -10877 -70017977 -79963840 -3858627 +10697 +43492661 +52618093 +2843640 0 0 -61877332 +56915904 0 0 0 -21556 +20878 0 -8068 -141962849 -1494827 -165655876 -9977340 +8607 +139170473 +1481659 +168644737 +8920692 0 12 0 @@ -278745,142 +280868,142 @@ _ZN3gpu20shadow_locate_lockedEyyRNS_7LocatedE 0 0 0 -69986500 -10746861 -69216979 -0 -7223 -8812959 +43697401 +9608574 +43009519 0 -0 -136721620 -78028128 -69215169 -0 -12470074 -36854369 -2418 -1680030 -765790 -10567186 +7642 +8139728 0 0 -150499 -705089 -9999849 -134649077 +135205905 +50911319 +42771591 0 +11411101 +27718122 +2478 +1657689 +721221 +9374203 0 -153185802 0 -8812959 -8812959 -153240492 +141374 +635890 +8943226 +133800095 0 -69215169 0 +157233636 0 +8139728 +8139728 +157315537 0 -54690 -769521 -2418 -10746861 -765790 -99874 -705089 -2155 +42771591 0 -2155 0 -2155 -748389 -702465 -100343 -12415384 0 -764862 -133772207 -1918411 +81901 +687882 +2478 +9608574 +721221 +87296 +635890 +2115 +1 +2115 +1 +2115 +666763 +633294 +87776 +11329200 0 -12415384 +718418 +132556489 +1411290 0 -8007996 -8007996 +11329200 0 -10746861 -765790 -364105 -364105 +7416542 +7416542 0 -438310 +9608574 +721221 +329541 +329541 0 +391191 0 0 -937 +1 +932 0 0 -802808 +721070 0 0 0 0 -802808 +721070 0 -705089 +635890 0 -54419 +54307 0 0 -8 -12415384 -747012 -701 +5 +11329200 +665348 +720 0 0 -802808 -1918411 -4405233 +721070 +1411290 +3910542 0 0 -438310 -43 +391191 +45 0 -705089 +635890 0 0 -12415341 +11329156 0 -8 +17 0 0 -802808 -802808 -364498 -364498 +721070 +721070 +329879 +329879 0 -54419 -10438 -54419 -10438 -363160 +54307 +10542 +54307 +10542 +328603 0 0 -701 +720 0 0 -14763 -14763 +15090 +15090 0 0 -256060 +224234 0 0 -393 -43 +338 +45 0 0 0 -33489 +33418 0 0 0 @@ -278894,13 +281017,13 @@ _ZN3gpu20shadow_locate_lockedEyyRNS_7LocatedE 0 0 0 -43 +45 0 0 0 0 0 -33242 +33168 0 0 0 @@ -278911,29 +281034,29 @@ _ZN3gpu20shadow_locate_lockedEyyRNS_7LocatedE 0 0 0 -55 -290 +56 +294 0 -67 +68 0 12 0 0 0 -55 +56 0 0 0 0 0 -67 +68 12 -55 +56 0 0 0 12 -61877332 +56915904 0 0 0 @@ -278958,11 +281081,11 @@ _ZN3gpu20shadow_locate_lockedEyyRNS_7LocatedE 0 0 0 -153240492 -802808 -802808 -0 -2155 +157315537 +721070 +721070 +1 +2115 0 0 0 @@ -278970,16 +281093,16 @@ _ZN3gpu20shadow_locate_lockedEyyRNS_7LocatedE 0 0 0 -8007996 -8007996 +7416542 +7416542 0 0 0 0 0 0 -802808 -4405233 +721070 +3910542 0 0 0 @@ -279054,27 +281177,27 @@ _ZN3gpu20shadow_locate_lockedEyyRNS_7LocatedE 0 0 0 -227749061 -133772207 -227533208 -113226448 -165655876 -100535377 -12470074 -12470074 -43 -26 +225843666 +132556489 +225560641 +107810073 +168644737 +97697228 +11411101 +11411101 +45 +28 0 -765790 -18778 -99874 -12415384 -57951 -54419 -2334 -748389 +721221 +55873 +87296 +11329200 +57838 +54307 +2196 +666763 0 -67 +68 _ZN3gpu20shadow_mirror_lockedEyyRNS_7LocatedE # Func Hash: @@ -279083,14 +281206,14 @@ _ZN3gpu20shadow_mirror_lockedEyyRNS_7LocatedE 9 # Counter Values: 0 -155498282 -155498282 -155282429 -155498282 -66024996 +151992594 +151992594 +151709569 +151992594 +60639618 0 0 -155498282 +151992594 _ZN3gpu20shadow_return_lockedEv # Func Hash: @@ -279098,7 +281221,7 @@ _ZN3gpu20shadow_return_lockedEv # Num Counters: 45 # Counter Values: -2798318 +2827167 0 0 0 @@ -279235,22 +281358,22 @@ _ZN3gpu20twin_candidate_holdsEyy # Num Counters: 16 # Counter Values: -2544120 -7593818 -2544132 -2544132 -2544120 -2543925 -616762 -2543925 -616762 -616762 -616762 -616762 +2527697 +7677206 +2527709 +2527709 +2527697 +2527520 +608394 +2527520 +608394 +608394 +608394 +608394 0 0 -1339272 -1339272 +1353400 +1353400 _ZN3gpu20twins_release_lockedEyyi # Func Hash: @@ -279259,21 +281382,21 @@ _ZN3gpu20twins_release_lockedEyyi 18 # Counter Values: 0 -10612128 +10763328 0 0 -2948296 +2916918 0 0 -2948296 -2948296 -2948296 +2916918 +2916918 +2916918 0 -2948296 +2916918 0 0 -10612128 -10612128 +10763328 +10763328 0 0 @@ -279382,8 +281505,8 @@ _ZN3gpu21busy_submitted_lockedERNS_3Gpu4SlotE # Num Counters: 4 # Counter Values: -2798318 -2798318 +2827167 +2827167 0 0 @@ -279393,7 +281516,7 @@ _ZN3gpu21cache_budget_pressingEy # Num Counters: 2 # Counter Values: -93975 +93956 0 _ZN3gpu21capture_finish_lockedESt10unique_ptrINS_14CaptureSessionENS_21CaptureSessionDeleterEERKNS_14CaptureDynamicE @@ -279871,7 +281994,7 @@ _ZN3gpu21compute_pipeline_workEPy # Num Counters: 1 # Counter Values: -376559 +380447 _ZN3gpu21copy_in_stream_lockedEP10VkBuffer_TyS1_yy # Func Hash: @@ -279911,31 +282034,31 @@ _ZN3gpu21find_rt_for_fill_walkEyy # Num Counters: 26 # Counter Values: -44037 -879 -43170 -44049 -181509 -60150 -88427 -16113 -45454 -44049 -0 -2284 -44049 -0 -44049 -44049 -44049 -44049 -44049 -44049 -77541 -77541 -0 -87853 -87853 +56189 +871 +55330 +56201 +229996 +74265 +112733 +18076 +57596 +56201 +0 +2266 +56201 +0 +56201 +56201 +56201 +56201 +56201 +56201 +97595 +97595 +0 +112171 +112171 0 _ZN3gpu21homes_straddle_lockedEyy @@ -279944,18 +282067,26 @@ _ZN3gpu21homes_straddle_lockedEyy # Num Counters: 4 # Counter Values: -187342587 -187342587 -32422 +190898491 +190898491 +2466 12 +_ZN3gpu21hud_hide_saved_lockedEv +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +41540 + _ZN3gpu21image_heap_classes_onEv # Func Hash: 742261418966908927 # Num Counters: 1 # Counter Values: -5596636 +5654334 _ZN3gpu21imported_bytes_lockedEP10VkBuffer_TyyPy # Func Hash: @@ -280042,12 +282173,12 @@ _ZN3gpu21indirect_clamp_lockedEP10VkBuffer_TyyRKNSt7__cxx1112basic_stringIcSt11c 1 513:12 1 -9:225152 +9:225151 1 9:48 2 -1:55 -9:29 +1:54 +9:30 _ZN3gpu21indirect_clamp_reportB5cxx11Ev # Func Hash: @@ -280260,27 +282391,27 @@ _ZN3gpu21occlusion_draw_lockedERNS_8DrawCallE # Num Counters: 21 # Counter Values: -96359695 -125685807 -125693145 -29402057 -92200608 -90618094 +95070281 +125561873 +125571025 +30569343 +90906768 +89340365 0 0 0 0 -92200608 -92200608 +90906768 +90906768 0 0 0 -1582514 +1566403 0 0 -1582514 -1582514 -1582514 +1566403 +1566403 +1566403 _ZN3gpu21occlusion_record_condEP17VkCommandBuffer_TRKNS_8DrawCallEb # Func Hash: @@ -280355,32 +282486,32 @@ _ZN3gpu21prefetch_stage_imagesERKN3gcn15TranslateResultEPKjRNS_11StageImagesEPK1 # Num Counters: 87 # Counter Values: -3764015584 -329991893 -329999615 +3755140578 +329287517 +329293460 0 0 -362333755 +353873963 0 0 -1540494 -516948088 -516955484 -516984381 +1545873 +515434243 +515432963 +515461515 0 0 -537532107 +536293405 0 0 -21405017 -516962440 +21653471 +515442900 0 0 -176131055 +183229589 0 0 0 -517004744 +515486367 0 0 0 @@ -280399,22 +282530,22 @@ _ZN3gpu21prefetch_stage_imagesERKN3gcn15TranslateResultEPKjRNS_11StageImagesEPK1 0 0 0 -26165242 -218841539 -237793283 -21233139 +26307780 +218147650 +237307789 +21363576 0 0 0 0 0 0 -26696062 -21468085 +26807667 +21574004 0 0 -26695061 -21468313 +26806563 +21574165 0 0 0 @@ -280429,18 +282560,18 @@ _ZN3gpu21prefetch_stage_imagesERKN3gcn15TranslateResultEPKjRNS_11StageImagesEPK1 0 0 0 -218842878 -218841678 +218142352 +218144321 0 0 0 0 0 -516959804 +515439996 0 0 -340928747 -21405017 +332220492 +21653471 0 _ZN3gpu21rebuild_successor_genEyyy @@ -280487,11 +282618,11 @@ _ZN3gpu21retire_through_lockedEy # Num Counters: 5 # Counter Values: -72704 -26681 -26681 -4544 -4544 +62016 +23231 +23231 +3876 +3876 _ZN3gpu21rt_overlapping_lockedEyy # Func Hash: @@ -280499,16 +282630,16 @@ _ZN3gpu21rt_overlapping_lockedEyy # Num Counters: 10 # Counter Values: -3726822 -27089304 -4448514 -721712 -721771 -5295 -3727557 -15743360 -15742988 -5295 +4081398 +31998670 +4791556 +710199 +710200 +5399 +4082088 +14821222 +14821222 +5399 _ZN3gpu21sampler_with_lod_biasEP11VkSampler_Tf # Func Hash: @@ -280516,9 +282647,9 @@ _ZN3gpu21sampler_with_lod_biasEP11VkSampler_Tf # Num Counters: 18 # Counter Values: -74813509 -74809170 -74805741 +72562244 +72555816 +72546691 18 18 18 @@ -280531,7 +282662,7 @@ _ZN3gpu21sampler_with_lod_biasEP11VkSampler_Tf 0 3 3 -74810066 +72557913 0 0 @@ -280576,7 +282707,7 @@ _ZN3gpu21shadow_mirror_cushionEv # Num Counters: 1 # Counter Values: -1749989 +1777184 _ZN3gpu21shadow_written_lockedEyyb # Func Hash: @@ -280584,24 +282715,24 @@ _ZN3gpu21shadow_written_lockedEyyb # Num Counters: 18 # Counter Values: -126000877 -909 -126000877 -565721856 -565721856 +127418753 +877 +127418753 +573001216 +573001216 0 0 -30347232 -30347232 -30347232 -30347232 -30347232 -23756534 -23756534 +30381678 +30381678 +30381678 +30381678 +30381678 +23756972 +23756972 0 -2209851 +2238286 0 -909 +877 _ZN3gpu21stream_wait_submittedEy # Func Hash: @@ -280609,21 +282740,21 @@ _ZN3gpu21stream_wait_submittedEy # Num Counters: 15 # Counter Values: -3196315 -3196315 -3995 -3142966 -53312 -37 -135 +3125040 +3125040 +3873 +3068824 +56184 +32 +137 0 -2798158 -1683 +2826992 +1533 0 0 0 0 -3995 +3873 _ZN3gpu21texture_key_dims_noteEjhjb # Func Hash: @@ -280632,11 +282763,11 @@ _ZN3gpu21texture_key_dims_noteEjhjb 7 # Counter Values: 0 -2790866 +2932035 0 -1527220 -1260858 -1260858 +1572283 +1300902 +1300902 0 _ZN3gpu21texture_view_uncachedEPKjbRbRjS2_bby @@ -280653,216 +282784,216 @@ _ZN3gpu21texture_view_uncachedEPKjbRbRjS2_bby 0 0 12 -101343 -34512022 -2778018 -3069648 -1384 -101525 -2466617 -1281 -2466539 -2466617 -0 -2421068 -24460 +101090 +37382959 +2975596 +3375017 +1324 +101269 +2699738 +1228 +2699660 +2699738 +0 +2591210 +88131 66 -2466539 +2699660 12 -2466539 +2699660 0 0 251 251 -814 -44723 +817 +107699 66 -2466539 -862425 -12 -2453378 -1274 -2466539 -2466539 -2466539 -2466539 +2699660 +938855 +12 +2686561 +1222 +2699660 +2699660 +2699660 +2699660 251 -45537 -2365339 +108516 +2598702 0 0 0 0 -2364065 -2466539 +2597480 +2699660 0 0 -2355521 -2348941 +2588932 +2582343 0 192 66 12 -2365339 -2372564 -93975 -1464968 -1065 -2456801 -2456801 -102474 -1087856 -2365339 +2598702 +2605704 +93956 +1558983 +1068 +2690259 +2690259 +102180 +1279727 +2598702 0 0 0 0 -20220 -24460 -814 +19527 +88131 +817 0 -117598 +117317 0 66 12 0 0 192 -102474 -35284 -814 -24503 +102180 +35299 +817 +88172 0 -83631 +85952 0 -1239 +1241 0 0 -1858341 +2070175 0 -523328 +542292 0 0 66 12 -101343 +101090 0 -102474 +102180 12 -2365339 -1274 -1274 -1274 -1274 -1274 -1274 +2598702 +1222 +1222 +1222 +1222 +1222 +1222 0 0 0 -110691 -110691 +110628 +110628 192 -34909 +34948 0 0 0 0 -117598 -117598 -117598 +117317 +117317 +117317 0 0 -2365339 +2598702 192 0 -102251 -12022 -2352219 -1487723 -2365339 -120 -102474 +101953 +11765 +2585754 +1645449 +2598702 +122 +102180 0 0 0 0 0 0 -6179 +5978 0 0 -2365086 -120 +2598450 +122 0 0 -101343 -102474 +101090 +102180 0 0 -102474 +102180 0 -102474 +102180 0 0 0 0 0 -1487723 +1645449 0 0 0 -102474 -102474 +102180 +102180 0 0 0 -110208 +110157 0 216 0 0 0 0 -95659 +95621 0 0 0 0 216 0 -95284 +95230 0 0 -15101 -267 +15104 +255 0 0 -95323 -2364884 +95269 +2598259 0 0 0 88 0 -1274 -1131 -1384 -101525 -101525 +1222 +1090 +1324 +101269 +101269 0 0 264 -101525 -8499 -101525 -8499 -2320 -2364884 +101269 +8224 +101269 +8224 +2162 +2598259 0 88 88 -102474 -6680 +102180 +6525 0 0 0 @@ -280876,7 +283007,7 @@ _ZN3gpu21texture_view_uncachedEPKjbRbRjS2_bby 15 88 88 -2364829 +2598204 0 288 0 @@ -280888,7 +283019,7 @@ _ZN3gpu21texture_view_uncachedEPKjbRbRjS2_bby 88 15 15 -2364829 +2598204 0 0 0 @@ -280902,7 +283033,7 @@ _ZN3gpu21texture_view_uncachedEPKjbRbRjS2_bby 0 288 288 -2364065 +2597480 15 288 0 @@ -280946,59 +283077,59 @@ _ZN3gpu21texture_view_uncachedEPKjbRbRjS2_bby 0 0 78 -2466539 +2699660 0 0 0 0 0 0 -24460 -20220 +88131 +19527 0 0 0 0 0 -9738 -9738 -2456801 -2411659 -2411659 -862425 -19695526 -19695526 +9401 +9401 +2690259 +2582132 +2582132 +938855 +20680415 +20680415 0 -20196 -20196 -2365339 -88800 -1131 -960 -1274 +19503 +19503 +2598702 +140273 +1090 +916 +1222 24 24 24 -1274 -79262 +1222 +79120 24 -55 +53 24 24 -1274 -99959 -1274 -949 +1222 +99765 +1222 +911 480 -1274 +1222 0 -1429684 -2421002 +1523684 +2591144 0 0 -455220 -455220 -6580 +550829 +550829 +6589 _ZN3gpu21textures_drain_countsEPy # Func Hash: @@ -281006,7 +283137,7 @@ _ZN3gpu21textures_drain_countsEPy # Num Counters: 1 # Counter Values: -228 +231 _ZN3gpu21textures_replacementsEv # Func Hash: @@ -281014,7 +283145,7 @@ _ZN3gpu21textures_replacementsEv # Num Counters: 1 # Counter Values: -377905 +381806 _ZN3gpu21textures_upload_countEv # Func Hash: @@ -281022,7 +283153,7 @@ _ZN3gpu21textures_upload_countEv # Num Counters: 1 # Counter Values: -377905 +381806 _ZN3gpu21textures_yebis_updateEONS_9TexUpdateE # Func Hash: @@ -281047,11 +283178,11 @@ _ZN3gpu21transfer_flush_lockedEv # Num Counters: 5 # Counter Values: -23527580 -4277962 -2261100 -2280237 -2016862 +23753019 +4288088 +2279490 +2267901 +2008598 _ZN3gpu21upscale_velo_copy_dueEy # Func Hash: @@ -281059,9 +283190,9 @@ _ZN3gpu21upscale_velo_copy_dueEy # Num Counters: 3 # Counter Values: -355301 -170196 -355278 +353824 +169316 +353804 _ZN3gpu21vram_reserve_refusalsEv # Func Hash: @@ -281077,22 +283208,22 @@ _ZN3gpu22acquire_scratch_lockedERNS_9DevBufferEyRy # Num Counters: 29 # Counter Values: -117913 -256 +118376 +263 12 -764 -102589 -102577 -102577 -93674 -244 -8898 -100723 -445 -1854 +777 +102292 +102280 +102280 +92991 +251 +9292 +100331 +452 +1949 0 -406 -445 +398 +452 0 213 213 @@ -281101,11 +283232,11 @@ _ZN3gpu22acquire_scratch_lockedERNS_9DevBufferEyRy 0 0 0 -11934 -11934 -445 -257 -257 +12682 +12682 +452 +233 +233 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -281120,32 +283251,32 @@ _ZN3gpu22acquire_staging_lockedERNS_9DevBufferEyRy # Num Counters: 26 # Counter Values: -11377807 -2711 -2893 +11420216 +2622 +2806 0 -11143537 -11143525 -11143525 -10379189 -2711 -765056 -11141378 -2711 -2147 -2711 -417 -2711 +11196740 +11196728 +11196728 +10426175 +2622 +771183 +11194855 +2622 +1873 +2622 +418 +2622 0 12 0 0 0 0 -192091 -192091 -147 -147 +181779 +181779 +131 +131 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -281153,9 +283284,9 @@ _ZN3gpu22acquire_staging_lockedERNS_9DevBufferEyRy # NumValueSites: 1 3 -513:1667 -129:885 -257:159 +513:1575 +129:886 +257:161 _ZN3gpu22begin_recording_lockedEv # Func Hash: @@ -281163,9 +283294,9 @@ _ZN3gpu22begin_recording_lockedEv # Num Counters: 18 # Counter Values: -165725916 +164799703 0 -2798325 +2827176 0 0 0 @@ -281224,7 +283355,7 @@ _ZN3gpu22collect_profile_lockedERNS_3Gpu4SlotE 0 0 0 -2798157 +2826992 0 0 0 @@ -281397,19 +283528,19 @@ _ZN3gpu22drain_gx_writes_lockedEv # Num Counters: 13 # Counter Values: -6987 -360 -341 -341 -341 +6872 +351 +335 +335 +335 0 -365 -242 -242 +359 +232 +232 0 0 -6646 -6646 +6537 +6537 _ZN3gpu22draw_gen_report_lockedB5cxx11Ev # Func Hash: @@ -281417,8 +283548,8 @@ _ZN3gpu22draw_gen_report_lockedB5cxx11Ev # Num Counters: 2 # Counter Values: -1346 -1346 +1359 +1359 _ZN3gpu22first_compute_pipelineEP16VkShaderModule_TyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIjSaIjEERbS9_P18VkPipelineLayout_T # Func Hash: @@ -281433,17 +283564,17 @@ _ZN3gpu22first_compute_pipelineEP16VkShaderModule_TyRKNSt7__cxx1112basic_stringI 0 0 0 -1069 +1068 0 0 0 0 0 0 -1069 +1068 0 0 -1069 +1067 0 0 0 @@ -281489,7 +283620,7 @@ _ZN3gpu22format_bytes_per_pixelE8VkFormat 0 0 0 -6312342 +6600458 0 0 0 @@ -281498,16 +283629,16 @@ _ZN3gpu22format_bytes_per_pixelE8VkFormat 0 0 0 -33845 +34123 0 0 0 0 -221113185 +217582876 0 -33845 +34123 0 -214767021 +210948286 _ZN3gpu22glitch_device_featuresER24VkPhysicalDeviceFeatures # Func Hash: @@ -281528,12 +283659,12 @@ _ZN3gpu22gpu_writes_note_lockedEyy # Num Counters: 6 # Counter Values: -2671570 -28603081 -106322596 -31189787 -2671570 -28518217 +2674030 +28638387 +107637602 +31215862 +2674030 +28541832 _ZN3gpu22gpu_wrote_since_lockedEyyy # Func Hash: @@ -281555,7 +283686,7 @@ _ZN3gpu22gxvk_buffers_bind_modeEv # Num Counters: 1 # Counter Values: -259207172 +259873972 _ZN3gpu22override_note_pipelineEv # Func Hash: @@ -281571,8 +283702,8 @@ _ZN3gpu22params_descriptor_typeEv # Num Counters: 2 # Counter Values: -773281 -773281 +775508 +775508 _ZN3gpu22pipeline_manifest_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ # Func Hash: @@ -281585,21 +283716,21 @@ _ZN3gpu22pipeline_manifest_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcES 120 120 120 -67272 -336360 -22424 -22424 -22424 +67248 +336240 +22416 +22416 +22416 180 180 120 -22424 +22416 96 -8036 +8028 120 -22424 -22424 -4021 +22416 +22416 +4017 0 0 120 @@ -281608,18 +283739,18 @@ _ZN3gpu22pipeline_manifest_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcES 0 0 0 -8036 +8028 96 -8036 -8036 +8028 +8028 96 96 120 0 -22424 -22424 -22424 -8036 +22416 +22416 +22416 +8028 96 7200 60 @@ -281893,13 +284024,13 @@ _ZN3gpu22pipeline_manifest_pathB5cxx11Ev 13 # Counter Values: 0 -1370 -35620 +1383 +35958 0 0 0 0 -1370 +1383 0 0 0 @@ -281920,160 +284051,160 @@ _ZN3gpu22pipeline_manifest_saveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcES # Num Counters: 241 # Counter Values: -5175 -0 -230120 +5250 0 -4372280 -1840960 -1840960 -7363840 -1840960 -1062499 -1062499 -1062499 -1062499 -401715 -401715 -401715 -1066639 -1066639 -1066639 -1066639 -2071080 -460240 -13800 -88020 -88020 -88020 -88020 +233173 0 +4430287 +1865384 +1865384 +7461536 +1865384 +1075315 +1075315 +1075315 +1075315 +403508 +403508 +403508 +1079515 +1079515 +1079515 +1079515 +2098557 +466346 +14000 +90100 +90100 +90100 +90100 0 0 0 0 0 0 -12420 -4140 -4140 -4140 -0 -345 -345 0 +12600 +4200 +4200 +4200 0 -345 -352935 -2760 -230120 -3450 -556461 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -230120 -2760 -2760 -2760 -2760 -2760 -2760 -2760 -2760 -2760 -2760 -2760 -230120 +350 +350 0 0 -2760 -230120 -230120 -2760 -44010 -2070 -2070 -2070 -53441 -53441 -53441 -230120 -2070 +350 +358050 +2800 +233173 +3500 +565434 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +233173 +2800 +2800 +2800 +2800 +2800 +2800 +2800 +2800 +2800 +2800 +2800 +233173 +0 +0 +2800 +233173 +233173 +2800 +45050 +2100 +2100 +2100 +54145 +54145 +54145 +233173 +2100 0 0 0 -224600 -2760 +227573 +2800 0 -357 +362 0 -230120 -226325 +233173 +229323 0 -357 -3795 -3450 +362 +3850 +3500 0 0 -345 -345 +350 +350 12 -345 -345 -345 -345 -345 -345 -345 -345 -345 -345 -345 -345 -345 -345 -345 -345 -345 -345 +350 +350 +350 +350 +350 +350 +350 +350 +350 +350 +350 +350 +350 +350 +350 +350 +350 +350 0 0 0 0 0 -345 +350 0 -345 -345 +350 +350 0 0 0 @@ -282148,19 +284279,19 @@ _ZN3gpu22pipeline_manifest_saveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcES 0 0 0 -127 -345 +16 +350 0 -52699 -52699 -52699 -230120 -53441 -53441 -44010 -44010 -53441 -53441 +53690 +53690 +53690 +233173 +54145 +54145 +45050 +45050 +54145 +54145 _ZN3gpu22precompile_set_loadingEb # Func Hash: @@ -282188,7 +284319,7 @@ _ZN3gpu22render_barriers_reportB5cxx11Ev # Num Counters: 2 # Counter Values: -1346 +1359 0 _ZN3gpu22render_end_pass_lockedEv @@ -282201,10 +284332,10 @@ _ZN3gpu22render_end_pass_lockedEv 0 0 0 -8372396 -17740946 -4789376 -12951570 +8487458 +17913706 +4811678 +13102028 0 0 0 @@ -282218,42 +284349,42 @@ _ZN3gpu22retire_surfaces_lockedEv # Num Counters: 56 # Counter Values: -38528 -44416 -635154 -95197 -46022 +38084 +43972 +633850 +93861 +44751 0 -93 -46022 -38528 -38528 -33 -38528 -139 +86 +44751 +38084 +38084 +28 +38084 +122 0 -49207 -49207 +49143 +49143 0 -38468 -49207 -47165 -10697 -49195 -6 -4411 -7322 -47204 -1641 -362 -1318 -362 -2797001 -266 -362 -362 +38026 +49143 +68354 +9529 +49131 +5 +3852 +6517 +47072 +1699 +372 +1378 +372 +2825791 +274 +372 +372 0 -362 +372 0 0 0 @@ -282271,8 +284402,8 @@ _ZN3gpu22retire_surfaces_lockedEv 0 0 0 -361664 -361664 +361613 +361613 0 _ZN3gpu22rings_placement_reportB5cxx11Ev @@ -282281,7 +284412,7 @@ _ZN3gpu22rings_placement_reportB5cxx11Ev # Num Counters: 3 # Counter Values: -1346 +1359 0 0 @@ -282291,12 +284422,12 @@ _ZN3gpu22set_cache_ready_lockedEyP17VkDescriptorSet_Ty # Num Counters: 6 # Counter Values: -49261034 -49279508 -49283171 -49284400 +51533475 +51550803 +51553868 +51555287 0 -49286086 +51556357 _ZN3gpu22shader_bundles_summaryB5cxx11Ev # Func Hash: @@ -282312,25 +284443,25 @@ _ZN3gpu22shadow_snapshot_lockedEyyRNS_7LocatedE # Num Counters: 38 # Counter Values: -111123063 +114894010 0 -136660423 -136660423 -136757131 -111219771 +140497596 +140497596 +140594895 +114991309 0 0 -136660423 +140497596 0 -136660423 -5589021 -136660423 -136660423 +140497596 +5587053 +140497596 +140497596 0 12 0 -19948339 -19948339 +20016533 +20016533 0 12 12 @@ -282339,17 +284470,17 @@ _ZN3gpu22shadow_snapshot_lockedEyyRNS_7LocatedE 0 0 0 -5589021 +5587053 0 0 0 -136660423 -136660423 -136660423 +140497596 +140497596 +140497596 0 -136660423 -136654973 -19948327 +140497596 +140493732 +20016521 _ZN3gpu22stream_drain_publishedEv # Func Hash: @@ -282358,15 +284489,15 @@ _ZN3gpu22stream_drain_publishedEv 10 # Counter Values: 0 -556363 -603 -904 -83 +567044 +634 +910 +118 0 -700 -121 +706 +153 0 -904 +910 _ZN3gpu22texture_key_dims_by_idEjhbRjRb # Func Hash: @@ -282375,12 +284506,12 @@ _ZN3gpu22texture_key_dims_by_idEjhbRjRb 8 # Counter Values: 0 -517713967 -177068188 -339665336 -339398320 -339398320 -337543951 +516181871 +184238279 +330860977 +330588949 +330588949 +328699061 0 _ZN3gpu22texture_view_splice_okEjhP13VkImageView_T @@ -282389,28 +284520,28 @@ _ZN3gpu22texture_view_splice_okEjhP13VkImageView_T # Num Counters: 22 # Counter Values: -212744 -76821822 -156096 -0 -75547811 -1117915 +333910 +79159160 +148984 +10 +77838957 +1171209 0 0 -74037681 -73021990 -2525821 -3643736 -74036877 -2525821 +76298492 +75242126 +2596831 +3768040 +76294438 +2596831 0 -73022031 -2525821 -1093444 -74036877 +75242145 +2596831 +1136297 +76294438 0 -1093444 -73021990 +1136297 +75242126 _ZN3gpu22textures_before_submitEv # Func Hash: @@ -282418,12 +284549,12 @@ _ZN3gpu22textures_before_submitEv # Num Counters: 11 # Counter Values: -8639 -8639 +8365 +8365 0 0 -2798319 -938 +2827169 +926 0 0 0 @@ -282562,7 +284693,7 @@ _ZN3gpu22textures_census_targetEibb # Num Counters: 6 # Counter Values: -398321639 +388783211 0 0 0 @@ -282575,7 +284706,7 @@ _ZN3gpu22textures_return_reportB5cxx11Ev # Num Counters: 1 # Counter Values: -1346 +1359 _ZN3gpu22translation_cache_coldEv # Func Hash: @@ -282597,16 +284728,16 @@ _ZN3gpu22translation_cache_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcES 12 12 0 -163356 +163380 12 0 0 0 -163356 -163356 -163356 -163356 -163356 +163380 +163380 +163380 +163380 +163380 0 12 0 @@ -282616,11 +284747,11 @@ _ZN3gpu22translation_cache_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcES 0 0 0 -163356 -163356 -163356 -163356 -163356 +163380 +163380 +163380 +163380 +163380 0 0 0 @@ -282628,8 +284759,8 @@ _ZN3gpu22translation_cache_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcES 12 0 0 -163356 -163356 +163380 +163380 0 0 12 @@ -282683,7 +284814,7 @@ _ZN3gpu22translation_cache_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcES 0 0 12 -163356 +163380 12 # Num Value Kinds: 1 @@ -282701,13 +284832,13 @@ _ZN3gpu22translation_cache_pathB5cxx11Ev 13 # Counter Values: 0 -1370 -35620 +1383 +35958 0 0 0 0 -1370 +1383 0 0 0 @@ -282729,65 +284860,65 @@ _ZN3gpu22translation_cache_saveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcES 113 # Counter Values: 0 +13617 +13617 +13617 +13617 +13617 +13617 +13617 +13617 +6808 +13617 0 +13617 +13617 +1 +13617 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +1 12 0 0 0 12 12 +1 +1 +1 +1 +1 +1 +1 0 +1 +1 +1 +1 +1 +1 0 +1 +1 +1 +1 0 0 0 0 0 0 +1 0 0 0 0 0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +1 +1 +1 +1 +1 0 0 0 @@ -282848,7 +284979,7 @@ _ZN3gpu22translator_fingerprintEv # Num Counters: 1 # Counter Values: -369 +374 _ZN3gpu22twin_holds_live_lockedEyy # Func Hash: @@ -282856,13 +284987,13 @@ _ZN3gpu22twin_holds_live_lockedEyy # Num Counters: 7 # Counter Values: -2237821 -2237821 -2237821 -2237821 -2237717 -616762 -616762 +2216612 +2216612 +2216612 +2216612 +2216512 +608394 +608394 _ZN3gpu22upscale_capture_movingEy # Func Hash: @@ -282870,8 +285001,8 @@ _ZN3gpu22upscale_capture_movingEy # Num Counters: 6 # Counter Values: -42096570 -7572295 +41626620 +7498996 0 0 0 @@ -282883,11 +285014,11 @@ _ZN3gpu22upscale_velo_clear_dueEyi # Num Counters: 5 # Counter Values: -7819793 -7820497 +7786556 +7787299 0 0 -1693994 +1681640 _ZN3gpu22vb_race_retired_lockedEy # Func Hash: @@ -282926,7 +285057,7 @@ _ZN3gpu22vb_race_retired_lockedEy 0 0 0 -2798158 +2826992 0 0 0 @@ -283017,7 +285148,7 @@ _ZN3gpu22wait_submission_lockedEy # Num Counters: 5 # Counter Values: -36076 +34459 0 0 0 @@ -283157,7 +285288,7 @@ _ZN3gpu23compute_optimize_windowB5cxx11Ev 2 # Counter Values: 0 -1346 +1359 _ZN3gpu23compute_optimized_builtEv # Func Hash: @@ -283208,7 +285339,7 @@ _ZN3gpu23copy_elide_defer_lockedERNS_7RtImageES1_jj 33 # Counter Values: 0 -905537 +913693 0 0 0 @@ -283294,7 +285425,7 @@ _ZN3gpu23glitch_slot_done_lockedERNS_3Gpu4SlotE # Num Counters: 2 # Counter Values: -2798158 +2826994 0 _ZN3gpu23glitch_slot_init_lockedERNS_3Gpu4SlotE @@ -283313,7 +285444,38 @@ _ZN3gpu23gxvk_last_resolve_endedEv # Num Counters: 1 # Counter Values: -447395203 +448463416 + +_ZN3gpu23hud_hide_release_lockedEv +# Func Hash: +290495008139769541 +# Num Counters: +6 +# Counter Values: +41540 +0 +0 +0 +0 +41540 + +_ZN3gpu23hud_hide_restore_lockedERNS_7RtImageE +# Func Hash: +830659418047958453 +# Num Counters: +11 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 _ZN3gpu23label_check_note_lockedEyPKvyy # Func Hash: @@ -283418,8 +285580,8 @@ _ZN3gpu23occlusion_submit_lockedEv # Num Counters: 2 # Counter Values: -2798319 -2798319 +2827169 +2827169 _ZN3gpu23record_transfer_barrierEP17VkCommandBuffer_Tb # Func Hash: @@ -283427,8 +285589,8 @@ _ZN3gpu23record_transfer_barrierEP17VkCommandBuffer_Tb # Num Counters: 2 # Counter Values: -7563891 -7563891 +7610930 +7610930 _ZN3gpu23recorder_splice_segmentEP17VkCommandBuffer_T # Func Hash: @@ -283465,10 +285627,10 @@ _ZN3gpu23shader_bundle_containerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcE 6 # Counter Values: 0 -39404 -39401 -39406 -17137 +39380 +39380 +39382 +17149 0 _ZN3gpu23shader_bundle_file_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE @@ -283514,19 +285676,19 @@ _ZN3gpu23staging_hold_end_lockedERKNS_9DevBufferEb # Num Counters: 14 # Counter Values: -108610 -93755 -93755 -93755 -93755 -93755 -93543 -570 +108032 +93756 +93756 +93756 +93756 +93756 +93554 +515 0 -106 +121 0 -12748 -12748 +12502 +12502 0 _ZN3gpu23stream_submitted_serialEv @@ -283535,7 +285697,7 @@ _ZN3gpu23stream_submitted_serialEv # Num Counters: 1 # Counter Values: -5996155 +5953565 _ZN3gpu23surface_queue_writebackEy # Func Hash: @@ -283543,20 +285705,20 @@ _ZN3gpu23surface_queue_writebackEy # Num Counters: 14 # Counter Values: -6579934 -490289 -490289 -490289 -490289 -490289 -490277 +6687296 +496393 +496393 +496393 +496393 +496393 +496381 0 192 192 192 192 -2326166 -2326166 +2289390 +2289390 _ZN3gpu23texture_describe_lockedB5cxx11Ey # Func Hash: @@ -283626,7 +285788,7 @@ _ZN3gpu23twins_arm_wanted_lockedEv 31 # Counter Values: 0 -3347 +3357 0 286 0 @@ -283639,11 +285801,11 @@ _ZN3gpu23twins_arm_wanted_lockedEv 286 0 286 -2798325 +2827176 0 -156 +162 0 -156 +162 0 0 0 @@ -283654,8 +285816,8 @@ _ZN3gpu23twins_arm_wanted_lockedEv 0 0 0 -2470 -2470 +2493 +2493 _ZN3gpu23twins_buffer_mapped_ownEyy # Func Hash: @@ -283687,50 +285849,50 @@ _ZN3gpu23upscale_pass_run_lockedERNS_7RtImageES1_ffPKS0_ 0 0 0 -134338 +134318 0 0 0 -45592 +45190 7 -134338 +134318 0 0 0 0 0 -45592 +45190 7 -134328 +134308 0 0 0 0 7 0 -45592 -134328 +45190 +134308 10 0 -114396 +114990 0 7 10 -134338 -134328 -19942 +134318 +134308 +19328 10 0 0 0 10 -119984 +119257 0 -88746 -119986 +89128 +119262 0 -126822 -126822 +126667 +126667 10 0 0 @@ -283739,51 +285901,51 @@ _ZN3gpu23upscale_pass_run_lockedERNS_7RtImageES1_ffPKS0_ 0 10 10 -126822 +126667 10 0 0 -93101 -88746 -45592 +93802 +89128 +45190 0 -119957 +119233 10 0 3 7 10 0 -119957 -119986 -78749 -41237 +119233 +119262 +78746 +40516 0 -29 -88746 +28 +89128 0 0 -134338 +134318 0 -43465 +43011 0 -45592 +45190 0 10 0 3 7 0 -83367 +83666 10 0 0 -88746 +89128 0 -134338 -43465 +134318 +43011 0 -88746 +89128 0 0 3 @@ -283791,9 +285953,9 @@ _ZN3gpu23upscale_pass_run_lockedERNS_7RtImageES1_ffPKS0_ 3 7 10 -83367 -88746 -43465 +83666 +89128 +43011 0 0 3 @@ -283801,7 +285963,7 @@ _ZN3gpu23upscale_pass_run_lockedERNS_7RtImageES1_ffPKS0_ 10 3 7 -43465 +43011 3 7 0 @@ -283809,7 +285971,7 @@ _ZN3gpu23upscale_pass_run_lockedERNS_7RtImageES1_ffPKS0_ 7 3 7 -43465 +43011 0 0 10 @@ -283823,17 +285985,17 @@ _ZN3gpu23upscale_pass_run_lockedERNS_7RtImageES1_ffPKS0_ 0 0 0 -45592 -45592 -45592 -45592 +45190 +45190 +45190 +45190 7 7 -45592 -45592 -45592 -134328 -134328 +45190 +45190 +45190 +134308 +134308 0 0 2 @@ -283843,42 +286005,42 @@ _ZN3gpu23upscale_pass_run_lockedERNS_7RtImageES1_ffPKS0_ 0 0 0 -134338 -134338 -119984 -119957 +134318 +134318 +119257 +119233 0 -119986 +119262 0 0 0 0 0 0 -2 -1 -126822 -126822 -126822 -126822 -126822 -126822 +7 0 +126667 +126667 +126667 +126667 +126667 +126667 0 -126822 0 -126812 +126667 0 +126657 0 0 -45592 0 -88746 -83367 +45190 0 +89128 +83666 0 0 -43465 +0 +43011 0 0 0 @@ -283889,7 +286051,7 @@ _ZN3gpu23view_clear_apply_lockedERNS_7RtImageEi # Num Counters: 1 # Counter Values: -857060 +877220 _ZN3gpu23view_epoch_sites_reportB5cxx11Ev # Func Hash: @@ -283900,7 +286062,7 @@ _ZN3gpu23view_epoch_sites_reportB5cxx11Ev 0 0 0 -1346 +1359 0 0 0 @@ -283911,13 +286073,13 @@ _ZN3gpu24alloc_params_slot_lockedERKN3gcn11StageParamsER22VkDescriptorBufferInfo # Num Counters: 11 # Counter Values: -259106018 -62495895 -196685179 -259104830 +258711698 +64814245 +193975374 +258708026 0 0 -62489723 +64806662 0 0 0 @@ -283929,9 +286091,9 @@ _ZN3gpu24busy_upload_begin_lockedERNS_3Gpu4SlotEP17VkCommandBuffer_T # Num Counters: 3 # Counter Values: -354237 -354237 -354237 +357293 +357293 +357293 _ZN3gpu24compile_session_progressERyS0_S0_RbS1_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES0_S0_ # Func Hash: @@ -284218,7 +286380,7 @@ _ZN3gpu24copy_elide_report_lockedB5cxx11Ev 0 0 0 -1346 +1359 0 0 0 @@ -284378,44 +286540,44 @@ _ZN3gpu24copy_version_make_lockedEyyyPKNS_11CopyCaptureE # Num Counters: 246 # Counter Values: -1386469 -1386481 -1386481 +1383128 +1383140 +1383140 0 -376529 -1009940 +380416 +1002712 0 -1009940 +1002712 0 -1009940 +1002712 0 0 -1009940 +1002712 0 0 0 0 0 -1009940 +1002712 0 0 0 0 0 -1009940 +1002712 0 0 0 -376529 -376529 +380416 +380416 0 -1009940 -1009940 +1002712 +1002712 0 0 0 0 -1009940 +1002712 0 0 0 @@ -284425,15 +286587,15 @@ _ZN3gpu24copy_version_make_lockedEyyyPKNS_11CopyCaptureE 0 0 0 -1009940 -1009940 +1002712 +1002712 0 0 0 0 -1009940 +1002712 0 -1009940 +1002712 0 0 0 @@ -284443,11 +286605,11 @@ _ZN3gpu24copy_version_make_lockedEyyyPKNS_11CopyCaptureE 0 0 0 -1009940 -1009940 -1009940 +1002712 +1002712 +1002712 0 -1009940 +1002712 0 0 0 @@ -284541,7 +286703,7 @@ _ZN3gpu24copy_version_make_lockedEyyyPKNS_11CopyCaptureE 0 0 0 -1009940 +1002712 0 0 0 @@ -284638,11 +286800,11 @@ _ZN3gpu24depth_copy_record_lockedEP9VkImage_T8VkFormatS1_jj13VkImageLayout # Num Counters: 9 # Counter Values: -500607 -166869 +511287 +170429 0 0 -166869 +170429 0 12 12 @@ -284675,7 +286837,7 @@ _ZN3gpu24glitch_watch_draw_lockedERKNSt7__cxx1112basic_stringIcSt11char_traitsIc 7 # Counter Values: 0 -96359696 +95070278 0 0 0 @@ -284715,8 +286877,8 @@ _ZN3gpu24gxvk_slot_retired_lockedEi 0 0 0 -2798157 -2798157 +2826992 +2826992 0 0 @@ -284757,7 +286919,7 @@ _ZN3gpu24home_copies_flush_lockedEv 0 0 0 -25744093 +25951659 0 0 0 @@ -284842,7 +287004,7 @@ _ZN3gpu24image_heap_spare_in_playEv # Num Counters: 1 # Counter Values: -2653328 +2647529 _ZN3gpu24image_reuse_sweep_lockedEv # Func Hash: @@ -284851,16 +287013,16 @@ _ZN3gpu24image_reuse_sweep_lockedEv 11 # Counter Values: 0 -2798319 +2827167 0 -1767 -887 -880 +1777 +892 +885 12 12 0 -887 -880 +892 +885 _ZN3gpu24note_copy_binding_lockedERK22VkDescriptorBufferInfoy # Func Hash: @@ -284868,7 +287030,7 @@ _ZN3gpu24note_copy_binding_lockedERK22VkDescriptorBufferInfoy # Num Counters: 7 # Counter Values: -22660962 +22826618 0 12 12 @@ -284882,7 +287044,7 @@ _ZN3gpu24override_fallback_wantedEv # Num Counters: 1 # Counter Values: -43987 +43967 _ZN3gpu24overrides_set_data_makerEPFyiPKhE # Func Hash: @@ -284927,8 +287089,8 @@ _ZN3gpu24recorder_packet_replayedEy # Num Counters: 2 # Counter Values: -49283725 -49283164 +51552739 +51555650 _ZN3gpu24recorder_reserve_packetsEj # Func Hash: @@ -284954,12 +287116,12 @@ _ZN3gpu24recorder_splice_list_runEPKyS1_PA2_Kjj # Num Counters: 7 # Counter Values: -24597877 -24597877 -1555779 +25758412 +25758412 +1573922 0 -1555779 -1555779 +1573922 +1573922 0 _ZN3gpu24render_hooks_gone_lockedEy @@ -284984,7 +287146,7 @@ _ZN3gpu24render_htile_fill_lockedEyyjjj 0 0 0 -390240 +409764 0 0 0 @@ -285005,8 +287167,8 @@ _ZN3gpu24resolve_dispatch_buffersERKN3gcn15TranslateResultEPKcPKjRNS0_11StagePar # Num Counters: 5 # Counter Values: -773257 -773257 +775484 +775484 0 0 0 @@ -285039,19 +287201,19 @@ _ZN3gpu24shadow_copy_bytes_lockedEPKvyRNS_7LocatedE # Num Counters: 13 # Counter Values: -609080 +608401 0 0 -609080 -609080 +608401 +608401 0 0 -609080 +608401 0 0 0 0 -609080 +608401 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -285059,7 +287221,7 @@ _ZN3gpu24shadow_copy_bytes_lockedEPKvyRNS_7LocatedE # NumValueSites: 1 1 -513:609080 +513:608409 _ZN3gpu24shadow_count_placed_bindEv # Func Hash: @@ -285104,7 +287266,7 @@ _ZN3gpu24shadow_upload_cmd_lockedEv # Num Counters: 1 # Counter Values: -7613 +7619 _ZN3gpu24texture_src_bytes_lockedEy # Func Hash: @@ -285112,13 +287274,13 @@ _ZN3gpu24texture_src_bytes_lockedEy # Num Counters: 7 # Counter Values: -8588369 -639706 -639706 -639706 -639706 -3279667 -3279667 +8676309 +645091 +645091 +645091 +645091 +3238417 +3238417 _ZN3gpu24textures_relocate_reportB5cxx11Ev # Func Hash: @@ -285126,8 +287288,8 @@ _ZN3gpu24textures_relocate_reportB5cxx11Ev # Num Counters: 2 # Counter Values: -20 -208 +13 +218 _ZN3gpu24translation_cache_reportEv # Func Hash: @@ -285265,8 +287427,8 @@ _ZN3gpu24translation_cache_windowB5cxx11Ev # Num Counters: 2 # Counter Values: -129 -1217 +128 +1231 _ZN3gpu24twin_candidate_straddlesEyy # Func Hash: @@ -285274,28 +287436,28 @@ _ZN3gpu24twin_candidate_straddlesEyy # Num Counters: 22 # Counter Values: -63179073 -0 -0 -0 -0 -0 -63211483 -0 -63211483 -63179073 -63178866 -0 -0 -63178866 -0 -0 -0 -0 +64876363 +673400 +48100 +48100 +48100 0 +64878817 +48100 +64878817 +64876363 +64876174 +48100 +48100 +64876174 +48100 +48100 +48100 0 0 0 +144300 +144300 _ZN3gpu24twin_live_holding_lockedEyyRNS_7LocatedE # Func Hash: @@ -285303,9 +287465,9 @@ _ZN3gpu24twin_live_holding_lockedEyyRNS_7LocatedE # Num Counters: 5 # Counter Values: -1009940 -1009940 -1009940 +1002712 +1002712 +1002712 0 0 @@ -285323,7 +287485,7 @@ _ZN3gpu24untile_checks_run_lockedERSt6vectorINS_11UntileCheckESaIS1_EE 0 0 0 -2798158 +2826994 0 # Num Value Kinds: 1 @@ -285339,7 +287501,7 @@ _ZN3gpu24untile_gpu_record_lockedERKNS_13UntileGpuPassE # Num Counters: 1 # Counter Values: -813864 +813154 _ZN3gpu24upscale_velo_copy_lockedERNS_7RtImageE # Func Hash: @@ -285347,17 +287509,17 @@ _ZN3gpu24upscale_velo_copy_lockedERNS_7RtImageE # Num Counters: 14 # Counter Values: -126804 -126804 -126804 -126794 +126650 +126650 +126650 +126640 0 0 0 -126794 +126640 10 0 -126794 +126640 10 10 10 @@ -285368,13 +287530,13 @@ _ZN3gpu24upscale_velo_note_lockedEiyff # Num Counters: 24 # Counter Values: -7829398 -7829406 -7830294 +7796509 +7796513 +7797348 0 -7830294 +7797348 80 -7829404 +7796509 80 80 0 @@ -285389,8 +287551,8 @@ _ZN3gpu24upscale_velo_note_lockedEiyff 0 0 0 -1302 -1302 +1536 +1536 0 _ZN3gpu24view_clears_flush_lockedEi @@ -285400,30 +287562,30 @@ _ZN3gpu24view_clears_flush_lockedEi 26 # Counter Values: 0 -28352180 -3747048 -3747048 +28656592 +3805902 +3805902 0 -3747048 +3805902 0 -623410 +625190 0 -3571576 +3602651 0 -3571576 +3602651 0 -695316 +702696 0 -369285 -369285 +371163 +371163 0 0 0 0 0 0 -15044594 -15044594 +14616203 +14616203 0 _ZN3gpu25bindless_slot_done_lockedEi @@ -285434,7 +287596,7 @@ _ZN3gpu25bindless_slot_done_lockedEi # Counter Values: 0 0 -2798158 +2826992 0 0 0 @@ -285496,7 +287658,7 @@ _ZN3gpu25compact_image_heap_lockedEv 0 0 0 -2798319 +2827167 0 0 0 @@ -285735,7 +287897,7 @@ _ZN3gpu25drop_level_aliases_lockedEy 0 0 0 -38574 +38127 0 0 0 @@ -285754,13 +287916,13 @@ _ZN3gpu25gpu_writes_pending_lockedEyy # Num Counters: 7 # Counter Values: -62941215 -49498530 -109031269 -108591280 -59416397 -59416397 -45973711 +62562034 +49744564 +106948050 +106476136 +59266054 +59266054 +46448584 _ZN3gpu25image_memory_class_lockedERKNS_11ImageMemoryE # Func Hash: @@ -285768,9 +287930,9 @@ _ZN3gpu25image_memory_class_lockedERKNS_11ImageMemoryE # Num Counters: 3 # Counter Values: -680257 -680257 -680257 +690602 +690602 +690602 _ZN3gpu25image_reuse_report_lockedB5cxx11Ev # Func Hash: @@ -285778,8 +287940,8 @@ _ZN3gpu25image_reuse_report_lockedB5cxx11Ev # Num Counters: 2 # Counter Values: -1346 -1346 +1359 +1359 _ZN3gpu25import_idle_report_lockedB5cxx11Ev # Func Hash: @@ -285791,7 +287953,7 @@ _ZN3gpu25import_idle_report_lockedB5cxx11Ev 0 0 0 -228 +231 0 0 0 @@ -285878,29 +288040,29 @@ _ZN3gpu25note_pending_write_lockedEyPKhy 0 0 0 -5808686 -5809337 -5809337 -1290619 -1314227 +5749778 +5750430 +5750430 +1276795 +1304984 0 0 0 -1475395 -1290619 -1314227 +1459648 +1276795 +1304984 0 0 0 0 -559 +533 0 0 -559 +533 0 0 -559 -559 +533 +533 0 0 0 @@ -285912,16 +288074,16 @@ _ZN3gpu25note_pending_write_lockedEyPKhy 0 0 0 -2920367 -2920367 +2910753 +2910753 0 0 -2889310 -2889310 +2840043 +2840043 0 0 -2889310 -2889310 +2840043 +2840043 _ZN3gpu25occlusion_device_featuresER24VkPhysicalDeviceFeaturesRSt6vectorIPKcSaIS4_EEPPv # Func Hash: @@ -285965,7 +288127,7 @@ _ZN3gpu25record_target_copy_lockedERNS_7RtImageES1_jj # Num Counters: 6 # Counter Values: -905537 +913693 0 0 0 @@ -285978,8 +288140,8 @@ _ZN3gpu25recorder_list_packet_freeEy # Num Counters: 2 # Counter Values: -39920910 -39955584 +41008691 +41056996 _ZN3gpu25recorder_publish_appendedEv # Func Hash: @@ -285996,50 +288158,50 @@ _ZN3gpu25render_copy_target_lockedEyyyPKc 72 # Counter Values: 0 -8885474 -326920 +8910892 +332007 0 -7805400 -1524869 -5749095 -1282078 +7752995 +1543514 +5707550 +1294121 0 -376568 -166995 +380455 +170552 0 0 0 0 0 -738668 -738668 +743264 +743264 0 -905537 +913693 0 -905525 +913681 0 -256433 +254507 0 -905537 +913693 0 -256433 -649052 -649104 +254507 +659134 +659186 0 -649037 +659119 0 -649092 +659174 67 0 -256433 +254507 0 0 0 -649037 -256433 +659119 +254507 0 0 -649037 +659119 0 0 12 @@ -286051,21 +288213,21 @@ _ZN3gpu25render_copy_target_lockedEyyyPKc 0 0 0 -3061932 -3061932 -376541 +2984895 +2984895 +380428 0 0 -3871660 -3871660 -649092 -256433 -639915 -639915 +3769735 +3769735 +659174 +254507 +647918 +647918 15 -2769175 -2769175 -649092 +2695389 +2695389 +659174 0 _ZN3gpu25render_handle_fill_lockedEyyPKfjj @@ -286074,9 +288236,9 @@ _ZN3gpu25render_handle_fill_lockedEyyPKfjj # Num Counters: 87 # Counter Values: -1220873 +1250832 0 -390240 +409764 0 0 0 @@ -286084,16 +288246,16 @@ _ZN3gpu25render_handle_fill_lockedEyyPKfjj 0 0 0 -390240 +409764 0 0 -390025 +409538 0 0 0 0 -390240 -390239 +409764 +409764 288 552 0 @@ -286103,15 +288265,15 @@ _ZN3gpu25render_handle_fill_lockedEyyPKfjj 0 0 0 -215 -390239 +226 +409764 288 -337 +326 0 -355 +358 0 0 -191 +202 288 0 0 @@ -286123,7 +288285,7 @@ _ZN3gpu25render_handle_fill_lockedEyyPKfjj 24 0 0 -308 +299 0 0 0 @@ -286143,15 +288305,15 @@ _ZN3gpu25render_handle_fill_lockedEyyPKfjj 0 0 0 -390239 +409764 0 -269126 -269126 +295534 +295534 0 0 0 -164 -164 +156 +156 0 0 0 @@ -286160,7 +288322,7 @@ _ZN3gpu25render_handle_fill_lockedEyyPKfjj 0 0 0 -173 +170 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -286176,7 +288338,7 @@ _ZN3gpu25render_target_copy_reportB5cxx11Ev 34 # Counter Values: 0 -6730 +6795 0 0 0 @@ -286189,7 +288351,7 @@ _ZN3gpu25render_target_copy_reportB5cxx11Ev 0 0 0 -1346 +1359 0 0 0 @@ -286224,19 +288386,19 @@ _ZN3gpu25render_vram_census_lockedERNS_10VramCensusEjj # Num Counters: 13 # Counter Values: -19301 -408 +19822 +420 0 -408 +420 0 -9169 -1167 +9546 +1205 0 -18037 -1803 -97 -228 -97 +18512 +2130 +105 +231 +105 _ZN3gpu25set_cache_drop_all_lockedEv # Func Hash: @@ -286259,7 +288421,7 @@ _ZN3gpu25shader_data_upload_lockedEv 0 0 0 -2798326 +2827176 0 0 0 @@ -286287,17 +288449,17 @@ _ZN3gpu25shadow_bind_sparse_lockedEv # Num Counters: 19 # Counter Values: -22386544 -5600 -8262195 -746 -746 -2798318 -700 -700 +22617336 +5648 +8473419 +762 +762 +2827167 +706 +706 0 -182 -700 +186 +706 0 0 0 @@ -286323,18 +288485,18 @@ _ZN3gpu25shadow_end_uploads_lockedEv 0 0 0 -2800740 -307 +2829536 +245 0 -2422 +2369 0 0 -2320 +2256 0 0 0 0 -102 +113 0 0 0 @@ -286347,31 +288509,31 @@ _ZN3gpu25shadow_end_uploads_lockedEv 0 0 0 -2798318 +2827167 0 0 0 0 0 -2798318 +2827167 0 0 0 0 -354233 -135 -307 +357286 +117 +245 0 0 0 0 -2798318 +2827167 0 0 0 0 0 -2798318 +2827167 0 0 0 @@ -286405,7 +288567,7 @@ _ZN3gpu25shadow_end_uploads_lockedEv # NumValueSites: 2 1 -513:2422 +513:2369 0 _ZN3gpu25shadow_place_class_lockedEyy @@ -286440,22 +288602,22 @@ _ZN3gpu25shadow_vram_census_lockedERNS_12ShadowCensusE # Num Counters: 16 # Counter Values: -9682944 -9682944 -9412472 -270472 -9412472 -9456 +10010624 +10010624 +9736364 +274260 +9736364 +9776 0 0 -1824 -591 -1233 +1848 +611 +1237 0 0 0 -228 -228 +231 +231 _ZN3gpu25stage_manifest_save_asyncERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -286463,9 +288625,9 @@ _ZN3gpu25stage_manifest_save_asyncERKNSt7__cxx1112basic_stringIcSt11char_traitsI # Num Counters: 17 # Counter Values: -1346 -1346 -1346 +1359 +1359 +1359 0 0 0 @@ -286495,27 +288657,27 @@ _ZN3gpu25surfaces_may_cover_lockedEyy # Num Counters: 21 # Counter Values: -12109850 -4065285 -32112417 -31240334 -3538462 +11858627 +4017852 +27144148 +26288322 +3584203 0 0 0 -4410545 -31240334 -2861888 -2861888 -872083 -872083 -2861888 -1989805 -4410545 -7139191 -7139191 -4065285 -4065285 +4440029 +26288322 +2842797 +2842797 +855826 +855826 +2842797 +1986971 +4440029 +6733884 +6733884 +4017852 +4017852 _ZN3gpu25swap_target_images_lockedERNS_7RtImageES1_ # Func Hash: @@ -286546,9 +288708,9 @@ _ZN3gpu25texture_view_splice_againEjhP13VkImageView_TPKj # Num Counters: 4 # Counter Values: -368840 -368840 -368840 +482904 +482904 +482904 0 _ZN3gpu25translation_cache_boundedEb @@ -286581,12 +288743,12 @@ _ZN3gpu25upscale_velo_clear_lockedERNS_7RtImageE # Num Counters: 11 # Counter Values: -119984 -119984 -119977 +119258 +119258 +119252 0 10 -119984 +119258 10 10 10 @@ -286603,7 +288765,7 @@ _ZN3gpu26capture_dispatch_candidateERKNSt7__cxx1112basic_stringIcSt11char_traits 0 0 0 -773257 +775488 0 0 0 @@ -286663,26 +288825,26 @@ _ZN3gpu26copy_version_lookup_lockedEyyPNS_7LocatedEPy # Num Counters: 32 # Counter Values: -227257235 +222907318 0 0 0 0 -227257235 -22494547 -227257235 +222907318 +22892767 +222907318 0 -227257235 +222907318 0 -10305 +9507 0 0 0 -872 +925 0 -872 +925 0 -872 +925 0 0 0 @@ -286705,14 +288867,14 @@ _ZN3gpu26copy_versions_flush_lockedEv 0 0 0 -1954583 -1954583 -1947763 -617809 -617809 -679555 -17122 -666509 +1943342 +1943342 +1934245 +625179 +625179 +671019 +17346 +659147 0 0 0 @@ -286722,37 +288884,37 @@ _ZN3gpu26copy_versions_flush_lockedEv 0 0 0 -1009940 -1009940 -1009940 -1009940 -1009940 -617809 -617809 -662433 +1002712 +1002712 +1002712 +1002712 +1002712 +625179 +625179 +653673 0 -1009940 -1009940 +1002712 +1002712 0 0 0 0 -10789 -7926340 -148248 -148248 -148248 -148248 -148248 +8729 +7964343 +147605 +147605 +147605 +147605 +147605 0 0 0 0 -148248 +147605 0 -148248 -148248 -148248 +147605 +147605 +147605 0 0 0 @@ -286769,13 +288931,13 @@ _ZN3gpu26copy_versions_flush_lockedEv 12 0 0 -1052196 -1052196 -1052196 -1052196 -10789 -900003 -900003 +1016343 +1016343 +1016343 +1016343 +8729 +923707 +923707 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -286790,11 +288952,11 @@ _ZN3gpu26defer_destroy_private_viewEP13VkImageView_T # Num Counters: 5 # Counter Values: -333738 -333738 -333386 +340858 +340858 +340509 0 -352 +349 _ZN3gpu26drain_target_blocks_lockedEv # Func Hash: @@ -286802,48 +288964,48 @@ _ZN3gpu26drain_target_blocks_lockedEv # Num Counters: 43 # Counter Values: -107 -8 -1873 -1871 -1873 -109 -109 -2798319 -2798319 -18 -16 -107 +108 +6 +2172 +2170 +2172 +110 +110 +2827167 +2827167 +24 +22 +108 0 -2798319 -2653329 -8 +2827167 +2647529 +6 0 -10 +13 2 -1694 -8 +1695 +11 3 2 -1462 +1384 0 -1122 -23 -8 +1047 +40 +11 0 -8 +11 0 3 -8 -8 -8 +11 +11 +11 12 12 0 12 12 0 -1704 +1708 0 _ZN3gpu26evict_cold_surfaces_lockedEv @@ -286865,10 +289027,10 @@ _ZN3gpu26evict_cold_surfaces_lockedEv 0 0 0 -2798319 +2827169 0 0 -2798319 +2827169 0 0 0 @@ -286881,7 +289043,7 @@ _ZN3gpu26evict_cold_surfaces_lockedEv 0 0 0 -1767 +1777 0 0 0 @@ -286991,60 +289153,60 @@ _ZN3gpu26mark_surfaces_dirty_lockedEyybPKc # Num Counters: 60 # Counter Values: -18969855 -5473833 -41232167 -238185 +18790650 +5452395 +37056761 +239143 6 -47553 -39887125 -190632 -91253252 +46249 +35725677 +192894 +92719974 0 6 -39857797 -92598294 +35696001 +94051058 6 0 -6 +5 0 -29319 +29667 0 6 6 0 9 6 -18228 +16576 0 -2292033 +2296848 0 0 6 3 0 0 -1345042 +1331084 0 0 6 0 -47559 -2292033 +46255 +2296848 6 0 -946991 +965764 6 -946991 +965764 0 0 12 12 -92598294 -11382689 -11382689 -5394912 -5394912 +94051058 +11010186 +11010186 +5374369 +5374369 3 9 6 @@ -287066,18 +289228,18 @@ _ZN3gpu26recorder_list_packet_plainEy # Num Counters: 12 # Counter Values: -25232587 -25237167 -25237693 -25237706 -25237457 -25236977 -25236683 -25236750 -25236663 -25236577 -25236418 -25236471 +26360257 +26365035 +26365653 +26365612 +26365190 +26364668 +26364761 +26364663 +26364591 +26364548 +26364574 +26364657 _ZN3gpu26render_blit_display_lockedEP17VkCommandBuffer_TyP9VkImage_T8VkRect2D10VkExtent2DjjP13VkImageView_TPb # Func Hash: @@ -287119,13 +289281,13 @@ _ZN3gpu26render_cs_user_data_lockedERK14GxStageRecordsPjPt # Num Counters: 7 # Counter Values: -8970105 -1794021 -8970105 -9568112 -6866394 -598007 -598007 +8955405 +1791081 +8955405 +9552432 +6874082 +597027 +597027 _ZN3gpu26rewrite_params_slot_lockedERKN3gcn11StageParamsERK22VkDescriptorBufferInfo # Func Hash: @@ -287145,22 +289307,22 @@ _ZN3gpu26textures_drop_block_lockedEi # Num Counters: 17 # Counter Values: -45214 +54198 0 0 -45221 +54226 0 0 -9 -121 +32 +60 0 0 -121 -7 -10 -7 -1 -7 +60 +28 +13 +28 +3 +28 0 _ZN3gpu26twins_keep_in_guest_lockedEyy @@ -287169,21 +289331,21 @@ _ZN3gpu26twins_keep_in_guest_lockedEyy # Num Counters: 15 # Counter Values: -23835698 +23597750 0 0 -2948296 +2916918 0 -2948296 -2948296 -2948296 -2948296 +2916918 +2916918 +2916918 +2916918 0 0 0 0 -23835698 -23835698 +23597750 +23597750 _ZN3gpu26upscale_camera_note_lockedEyy # Func Hash: @@ -287191,10 +289353,10 @@ _ZN3gpu26upscale_camera_note_lockedEyy # Num Counters: 15 # Counter Values: -1319879 -1457 -119989 -119989 +1311948 +1557 +119268 +119268 10 10 10 @@ -287225,85 +289387,85 @@ _ZN3gpu26video_memory_report_lockedB5cxx11Eb # Num Counters: 195 # Counter Values: -646 -11754 -216 -228 +656 +11934 +219 +231 0 12 0 -98531 -3918 -1046 -3918 -3918 -964 -3177 +97729 +3978 +1057 +3978 +3978 +989 +3225 0 -2242 -456 -537 -537 +2277 +462 +543 +543 260 -1046 +1057 156 156 -1676 -964 -216 +1701 +989 +219 0 0 -964 -228 +989 +231 0 -456 -216 -216 +462 +219 +219 96 0 0 0 0 -619 -456 +633 +462 60 -216 +219 0 -619 -619 -332 -216 -2087 -2087 -228 -228 -228 -228 -228 -228 -228 -228 -228 -228 -228 -228 -619 -332 +633 +633 +339 +219 +2119 +2119 +231 +231 +231 +231 +231 +231 +231 +231 +231 +231 +231 +231 +633 +339 0 -228 +231 0 0 0 0 -228 -228 -228 -228 +231 +231 +231 +231 0 -203 -228 -228 -228 +204 +231 +231 +231 0 0 12 @@ -287311,8 +289473,8 @@ _ZN3gpu26video_memory_report_lockedB5cxx11Eb 0 0 0 -228 -228 +231 +231 0 12 227 @@ -287320,15 +289482,15 @@ _ZN3gpu26video_memory_report_lockedB5cxx11Eb 227 12 12 -203 -228 +204 +231 0 0 0 -184 -228 -208 -1 +177 +231 +218 +4 0 0 12 @@ -287405,17 +289567,17 @@ _ZN3gpu26video_memory_report_lockedB5cxx11Eb 0 0 0 -228 -228 -335 -619 -228 -228 -228 +231 +231 +337 +633 +231 +231 +231 0 -228 -228 -228 +231 +231 +231 227 0 156 @@ -287427,14 +289589,14 @@ _ZN3gpu26video_memory_report_lockedB5cxx11Eb # NumValueSites: 5 1 -17:216 +17:219 1 -17:456 +17:462 0 1 -9:216 +9:219 1 -9:332 +9:339 _ZN3gpu27dead_targets_waiting_lockedEv # Func Hash: @@ -287442,9 +289604,9 @@ _ZN3gpu27dead_targets_waiting_lockedEv # Num Counters: 3 # Counter Values: -104668 -2692 -1346 +106544 +2718 +1359 _ZN3gpu27depth_copy_available_lockedEv # Func Hash: @@ -287452,8 +289614,8 @@ _ZN3gpu27depth_copy_available_lockedEv # Num Counters: 13 # Counter Values: -166881 -166881 +170441 +170441 0 0 12 @@ -287492,7 +289654,7 @@ _ZN3gpu27drain_texture_blocks_lockedEv 0 0 0 -2798319 +2827169 0 0 0 @@ -287501,36 +289663,36 @@ _ZN3gpu27drain_texture_blocks_lockedEv 0 0 0 -2798319 +2827169 0 0 0 -2798319 +2827169 0 0 -2653329 +2647532 0 0 0 0 0 0 -2653329 +2647532 0 0 0 0 0 -1704 +1708 0 0 0 0 0 -684 -1704 +685 +1708 0 -684 +685 0 0 0 @@ -287549,7 +289711,7 @@ _ZN3gpu27drain_texture_blocks_lockedEv 0 0 349 -1704 +1708 0 0 0 @@ -287565,20 +289727,20 @@ _ZN3gpu27gxvk_begin_recording_lockedEv # Num Counters: 16 # Counter Values: -5293 -7047 -5293 -1754 -1754 -2798337 -5230 -1754 -1704 +5279 +7032 +5279 +1753 +1753 +2827187 +5284 +1753 +1703 50 -2798326 -2798326 -1749910 -1749910 +2827176 +2827176 +1777105 +1777105 0 0 @@ -287617,8 +289779,8 @@ _ZN3gpu27homes_pending_lookup_lockedEyyPNS_7LocatedE # Num Counters: 2 # Counter Values: -227257260 -227257260 +222907362 +222907362 _ZN3gpu27image_heap_vram_free_lockedEi # Func Hash: @@ -287687,16 +289849,16 @@ _ZN3gpu27recorder_splice_list_packetEyyPKjj # Num Counters: 10 # Counter Values: -3090364 -3090364 -1545182 +2958914 +2958914 +1479457 0 -1545182 -193145 -1545182 +1479457 +184929 +1479457 0 -3090364 -357859 +2958914 +303124 _ZN3gpu27render_clear_by_fill_lockedEyyj # Func Hash: @@ -287744,9 +289906,9 @@ _ZN3gpu27render_retire_reused_lockedEyyNSt6chrono10time_pointINS0_3_V212steady_c # Num Counters: 3 # Counter Values: -1767 -156 -76 +1777 +149 +74 _ZN3gpu27shadow_flush_at_load_lockedERNS_3Gpu4SlotE # Func Hash: @@ -287754,24 +289916,24 @@ _ZN3gpu27shadow_flush_at_load_lockedERNS_3Gpu4SlotE # Num Counters: 46 # Counter Values: -1289 +1271 168 -1289 +1271 0 24576 264 -2798318 +2827167 0 0 0 33 -2798318 +2827167 33 -2797683 +2826527 33 0 33 -2798318 +2827167 33 33 0 @@ -287790,15 +289952,15 @@ _ZN3gpu27shadow_flush_at_load_lockedERNS_3Gpu4SlotE 12 12 0 -144990 +179636 0 -2798318 +2827167 0 -2798318 -2798318 +2827167 +2827167 33 -144957 -2652726 +179603 +2646924 0 _ZN3gpu27shadow_room_refusals_lockedEv @@ -287807,7 +289969,7 @@ _ZN3gpu27shadow_room_refusals_lockedEv # Num Counters: 1 # Counter Values: -3408 +3416 _ZN3gpu27texture_view_by_id_prefetchEj # Func Hash: @@ -287815,7 +289977,7 @@ _ZN3gpu27texture_view_by_id_prefetchEj # Num Counters: 1 # Counter Values: -518880149 +517361821 _ZN3gpu27textures_prewait_for_submitEv # Func Hash: @@ -287824,21 +289986,21 @@ _ZN3gpu27textures_prewait_for_submitEv 34 # Counter Values: 0 -8645 -8645 +8351 +8351 0 0 -8645 -8645 +8351 +8351 0 0 0 0 0 0 -944 -3188586 -944 +918 +3225678 +918 0 0 0 @@ -287864,27 +290026,27 @@ _ZN3gpu27textures_vram_census_lockedERNS_10VramCensusE # Num Counters: 23 # Counter Values: -680257 +690602 0 0 -680257 +690602 0 0 0 0 -680257 +690602 0 -648687 -648687 -11225 -228 -639878 -206994 -59288 -116566 -472833 -648687 -25540 +657124 +657124 +11461 +231 +648238 +208246 +59751 +118850 +478523 +657124 +27198 0 0 @@ -287894,7 +290056,7 @@ _ZN3gpu27untile_gpu_available_lockedEv # Num Counters: 8 # Counter Values: -102589 +102292 12 12 12 @@ -287909,13 +290071,13 @@ _ZN3gpu27upscale_camera_block_lockedEyy # Num Counters: 7 # Counter Values: -525395893 -193692455 -47884560 -47884155 -121401 -47769642 -47777141 +520088932 +191737636 +47401830 +47401467 +120720 +47284330 +47290285 _ZN3gpu27upscale_capture_draw_lockedEyyyPKvjbi # Func Hash: @@ -287923,42 +290085,42 @@ _ZN3gpu27upscale_capture_draw_lockedEyyyPKvjbi # Num Counters: 60 # Counter Values: -2345491 -29 -537 +2312490 +22 +567 0 -47784128 +47492904 0 -5294262 -5294262 -286 +5396640 +5396640 +299 5100 -978 -5974210 -946 -5974210 -5973582 -5973016 -5973016 -5974210 -5973016 -1194 +1092 +5937832 +1059 +5937832 +5937202 +5936613 +5936613 +5937832 +5936613 +1219 0 -551 +575 0 0 -5974030 -42 -42 +5937652 +43 +43 0 -643 -32 +644 +33 0 180 0 -1194 -1194 -633 +1219 +1219 +634 160 0 0 @@ -287977,11 +290139,11 @@ _ZN3gpu27upscale_capture_draw_lockedEyyyPKvjbi 0 0 0 -5974210 +5937832 0 0 -1194 -53757144 +1219 +53429517 20 # Num Value Kinds: 1 @@ -287990,15 +290152,15 @@ _ZN3gpu27upscale_capture_draw_lockedEyyyPKvjbi # NumValueSites: 2 4 -513:12 +513:13 65:10 129:10 257:10 4 -513:1132 -257:42 +513:1153 +257:45 +129:11 65:10 -129:10 _ZN3gpu27upscale_capture_note_movingEy # Func Hash: @@ -288006,7 +290168,7 @@ _ZN3gpu27upscale_capture_note_movingEy # Num Counters: 5 # Counter Values: -9354377 +9308850 0 0 0 @@ -288058,7 +290220,7 @@ _ZN3gpu28bindless_view_retired_lockedEP13VkImageView_T 0 0 0 -49910 +49356 0 0 0 @@ -288077,7 +290239,7 @@ _ZN3gpu28copy_elide_canary_after_drawEv 0 0 0 -96359669 +95070251 0 0 0 @@ -288115,7 +290277,7 @@ _ZN3gpu28copy_versions_overlay_lockedEyyPh # Counter Values: 0 0 -340523 +347343 0 0 # Num Value Kinds: @@ -288132,9 +290294,9 @@ _ZN3gpu28copy_versions_pending_lockedEv # Num Counters: 3 # Counter Values: -192719213 -192701680 -192701680 +190140374 +190122666 +190122666 _ZN3gpu28flush_deferred_writes_lockedEv # Func Hash: @@ -288142,63 +290304,63 @@ _ZN3gpu28flush_deferred_writes_lockedEv # Num Counters: 82 # Counter Values: -80974882 -62462975 -61258931 -26795533 -1204044 -20228722 -11396156 -20228722 +83332856 +64644053 +63426023 +27760916 +1218030 +20117487 +11647309 +20117487 0 -14253804 -14253804 -16559867 -10192112 -26287246 -20228722 -31596984 -22229073 -26287246 +14315936 +14315936 +16505503 +10429279 +26349478 +20117487 +31639934 +22319095 +26349478 0 -20227997 -3668692 -14345905 -21627051 -22229073 -62997913 -15537131 -22229073 +20116590 +3611847 +14263864 +21710080 +22319095 +62640976 +15454472 +22319095 0 0 -21627051 -13543536 +21710080 +13594665 0 -8083515 +8115415 0 -8793783 -540392 -540392 -8083515 -540392 -2798318 -8083515 -8083515 -8083515 -8083515 -8083515 -1997725 -1997725 -8083515 -7519219 -1997725 -1997725 +8836686 +542800 +542800 +8115415 +542800 +2827167 +8115415 +8115415 +8115415 +8115415 +8115415 +2020187 +2020187 +8115415 +7548594 +2020187 +2020187 0 -263353 -540392 +261952 +542800 0 -263353 -263353 +261952 +261952 0 0 0 @@ -288220,10 +290382,10 @@ _ZN3gpu28flush_deferred_writes_lockedEv 12 12 0 -11396156 -13543536 -7543123 -8083515 +11647309 +13594665 +7572615 +8115415 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -288232,8 +290394,8 @@ _ZN3gpu28flush_deferred_writes_lockedEv 2 0 2 -4:12833296 -8:8793800 +4:12873461 +8:8836726 _ZN3gpu28homes_before_transfer_lockedEP10VkBuffer_Tyy # Func Hash: @@ -288242,14 +290404,14 @@ _ZN3gpu28homes_before_transfer_lockedEP10VkBuffer_Tyy 11 # Counter Values: 0 -12018 -12018 +11184 +11184 0 0 0 0 0 -6009 +5592 0 0 @@ -288259,33 +290421,33 @@ _ZN3gpu28homes_begin_recording_lockedEv # Num Counters: 40 # Counter Values: -15640 -11535 -8958 -8805 -9241 -9241 +15686 +11523 +8973 +8820 +9257 +9257 0 -8670 +8685 0 -9115 -283 -571 -436 -571 +9131 +284 +572 +437 +572 126 -2798326 -2798326 +2827176 +2827176 30 -19 +18 0 0 0 0 -11 +12 0 0 -11 +12 0 0 0 @@ -288297,7 +290459,7 @@ _ZN3gpu28homes_begin_recording_lockedEv 0 0 0 -7672 +7684 0 # Num Value Kinds: 1 @@ -288305,17 +290467,16 @@ _ZN3gpu28homes_begin_recording_lockedEv 1 # NumValueSites: 3 -4 +3 32:9 -17:6 -33:3 -16:1 +17:7 +33:2 0 4 +33:9 65:9 129:9 -33:8 -32:4 +32:3 _ZN3gpu28image_heap_block_used_lockedEi # Func Hash: @@ -288323,10 +290484,10 @@ _ZN3gpu28image_heap_block_used_lockedEi # Num Counters: 4 # Counter Values: -10 -10 -10 -10 +13 +13 +13 +13 _ZN3gpu28particle_args_retired_lockedEy # Func Hash: @@ -288334,10 +290495,10 @@ _ZN3gpu28particle_args_retired_lockedEy # Num Counters: 4 # Counter Values: -857921 -183425 -9164 -2798158 +851088 +182948 +9141 +2826992 _ZN3gpu28pipeline_manifest_save_asyncERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -288345,12 +290506,12 @@ _ZN3gpu28pipeline_manifest_save_asyncERKNSt7__cxx1112basic_stringIcSt11char_trai # Num Counters: 17 # Counter Values: -1346 -1346 -1346 -345 +1359 +1359 +1359 +350 0 -345 +350 0 0 0 @@ -288385,7 +290546,7 @@ _ZN3gpu28recorder_list_packet_dynamicEyRA2_j # Num Counters: 1 # Counter Values: -24642932 +25779329 _ZN3gpu28recorder_record_segment_drawEP17VkCommandBuffer_TyPKjyS3_ # Func Hash: @@ -288447,12 +290608,12 @@ _ZN3gpu28render_return_targets_lockedEv # Num Counters: 15 # Counter Values: -262157 -262157 -2798319 -2798319 -3534 -1767 +263168 +263168 +2827167 +2827167 +3554 +1777 0 0 0 @@ -288469,17 +290630,17 @@ _ZN3gpu28set_cache_forget_view_lockedEP13VkImageView_T # Num Counters: 18 # Counter Values: -3793 -85382 -85382 -19760 -49910 -16222 -16222 -16222 -16222 -16222 -16222 +3720 +85823 +85823 +19838 +49356 +16235 +16235 +16235 +16235 +16235 +16235 0 0 0 @@ -288494,27 +290655,27 @@ _ZN3gpu28shadow_snapshot_maybe_lockedEyy # Num Counters: 21 # Counter Values: -215852 -143341313 +283025 +146821676 0 0 -192116102 -55455679 -143341313 +193226646 +52729050 +146821676 0 -143125461 -143341313 +146538651 +146821676 0 -143125461 +146538651 0 -143125461 -143125461 -143341313 -143341313 -143341313 +146538651 +146538651 +146821676 +146821676 +146821676 0 -143125461 -78004239 +146538651 +75590426 _ZN3gpu28textures_block_pinned_lockedEi # Func Hash: @@ -288522,14 +290683,14 @@ _ZN3gpu28textures_block_pinned_lockedEi # Num Counters: 8 # Counter Values: -55489 -55483 -55489 -6 -6 -0 -0 -18 +78581 +78575 +78581 +33 +33 +27 +27 +24 _ZN3gpu28textures_compact_turn_lockedEiyRxRyRNS_18CompactTextureTurnE # Func Hash: @@ -288611,35 +290772,35 @@ _ZN3gpu28textures_create_ahead_lockedEPKjyb # Num Counters: 30 # Counter Values: -1583432 -1595144 -42 -81482 -346 -379 -0 -379 -0 -93975 -93975 -0 +1585977 +1597651 33 -93975 +81492 +327 +355 0 -93975 -33 +355 0 +93956 +93956 0 +28 +93956 +1 +93956 +28 0 0 +1 0 0 -1361170 -1361170 0 +1366286 +1366286 +1 0 -1301997 -1301997 +1307344 +1307344 0 _ZN3gpu28textures_record_ahead_lockedEv @@ -288649,31 +290810,31 @@ _ZN3gpu28textures_record_ahead_lockedEv 26 # Counter Values: 0 -1463147 -95198 -9138 -95179 -86060 -1128 -93755 +1467044 +95129 +9503 +95111 +85626 +1103 +93756 0 -315 +270 0 0 -93736 -93736 -2798319 +93738 +93738 +2827169 0 -93736 -8841 +93738 +9173 0 -93736 -8010 +93738 +8400 0 -8010 +8400 0 -1125245 -1125245 +1132065 +1132065 _ZN3gpu28translation_cache_save_asyncERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -288681,9 +290842,9 @@ _ZN3gpu28translation_cache_save_asyncERKNSt7__cxx1112basic_stringIcSt11char_trai # Num Counters: 19 # Counter Values: -1346 -1346 -1346 +1359 +1359 +1359 0 0 0 @@ -288715,7 +290876,7 @@ _ZN3gpu28twin_note_copy_target_lockedEyy # Num Counters: 25 # Counter Values: -1894673 +1887455 0 0 0 @@ -288748,10 +290909,10 @@ _ZN3gpu28twin_note_import_near_lockedEyyPKc 19 # Counter Values: 1026 -596 -596 +594 +594 96 -76 +78 96 96 96 @@ -288759,8 +290920,8 @@ _ZN3gpu28twin_note_import_near_lockedEyyPKc 96 0 0 -300 -300 +302 +302 0 0 0 @@ -288773,9 +290934,9 @@ _ZN3gpu28upscale_pass_mip_bias_lockedEv # Num Counters: 3 # Counter Values: -65458392 -65459851 -65454999 +64829334 +64828877 +64826931 _ZN3gpu28write_compute_pipeline_statsEP12VkPipeline_TRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -290453,7 +292614,7 @@ _ZN3gpu29copy_versions_pass_end_lockedEv # Num Counters: 2 # Counter Values: -17740945 +17913704 0 _ZN3gpu29glitch_begin_recording_lockedEv @@ -290462,7 +292623,7 @@ _ZN3gpu29glitch_begin_recording_lockedEv # Num Counters: 4 # Counter Values: -2798327 +2827178 0 0 0 @@ -290473,29 +292634,29 @@ _ZN3gpu29host_image_by_resource_lockedEyyPNS_12HostImageRefE # Num Counters: 24 # Counter Values: -12511242 -923940 -905537 -923940 -905537 -191338 -172962 -905537 -905537 -18403 -191338 -0 -191338 -172962 -18376 -0 -191338 -18376 -18376 -3835638 -3835638 -191338 -905537 +12688105 +936254 +913693 +936254 +913693 +194983 +172449 +913693 +913693 +22561 +194983 +0 +194983 +172449 +22534 +0 +194983 +22534 +22534 +3663988 +3663988 +194983 +913693 0 _ZN3gpu29image_heap_avoid_block_lockedEi @@ -290504,7 +292665,7 @@ _ZN3gpu29image_heap_avoid_block_lockedEi # Num Counters: 1 # Counter Values: -16 +22 _ZN3gpu29indirect_clamp_retired_lockedEy # Func Hash: @@ -290512,8 +292673,8 @@ _ZN3gpu29indirect_clamp_retired_lockedEy # Num Counters: 27 # Counter Values: -225185 -3325635 +225180 +3338025 0 0 0 @@ -290521,20 +292682,20 @@ _ZN3gpu29indirect_clamp_retired_lockedEy 0 0 0 -225185 +225180 0 0 -2798158 +2826994 0 0 0 0 0 -1734692 +1762834 0 -166500 +170035 0 -166500 +170035 0 0 0 @@ -290611,47 +292772,47 @@ _ZN3gpu29record_target_copy_raw_lockedERNS_7RtImageES1_jj # Num Counters: 70 # Counter Values: -54133 -166869 +53504 +170429 0 0 0 -905537 -905537 -905537 -905537 -738668 -738668 -738668 -34136 -54133 +913693 +913693 +913693 +913693 +743264 +743264 +743264 +42704 +53504 67 -166869 +170429 67 67 -166869 +170429 0 -166869 +170429 0 7 0 -738668 -738668 +743264 +743264 0 0 0 0 0 0 -166869 +170429 0 0 0 -166869 +170429 0 -166869 -166869 -166869 +170429 +170429 +170429 0 0 0 @@ -290675,9 +292836,9 @@ _ZN3gpu29record_target_copy_raw_lockedERNS_7RtImageES1_jj 0 0 0 -166869 -166869 -166869 +170429 +170429 +170429 0 0 0 @@ -290793,12 +292954,12 @@ _ZN3gpu29textures_census_window_lockedB5cxx11Ev # Counter Values: 0 0 -5384 -3725509 -9422 -3725509 -1118 -1118 +5436 +3767074 +9513 +3767074 +1111 +1111 0 0 0 @@ -290809,15 +292970,15 @@ _ZN3gpu29textures_census_window_lockedB5cxx11Ev 0 0 0 -580 -580 -580 -580 +587 +587 +587 +587 0 0 -1346 -1346 -766 +1359 +1359 +772 0 0 0 @@ -290877,11 +293038,11 @@ _ZN3gpu29textures_census_window_lockedB5cxx11Ev 0 0 0 -475 -3657646 -3657646 -3657646 -580 +482 +3699312 +3699312 +3699312 +587 0 0 0 @@ -290928,60 +293089,60 @@ _ZN3gpu29textures_copy_resource_lockedEyyyy # Num Counters: 97 # Counter Values: -242102 +296182 0 -18376 -18376 -18376 -18376 +22534 +22534 +22534 +22534 0 -18376 -18376 +22534 +22534 0 -254686 +313417 0 0 0 0 0 0 -18376 +22534 0 0 0 0 -18376 -18376 -18376 +22534 +22534 +22534 0 0 -18376 -18376 +22534 +22534 0 -18376 -18376 -18376 -18376 -18376 -18376 -18376 +22534 +22534 +22534 +22534 +22534 +22534 +22534 0 0 0 0 0 0 -18376 +22534 0 -18376 +22534 0 0 0 -18376 +22534 0 0 -18376 -18376 +22534 +22534 0 0 0 @@ -290989,7 +293150,7 @@ _ZN3gpu29textures_copy_resource_lockedEyyyy 0 0 24 -18376 +22534 0 0 24 @@ -290998,7 +293159,7 @@ _ZN3gpu29textures_copy_resource_lockedEyyyy 0 24 24 -18376 +22534 24 24 24 @@ -291018,10 +293179,10 @@ _ZN3gpu29textures_copy_resource_lockedEyyyy 0 0 0 -114787 -114787 -109493 -109493 +147486 +147486 +134049 +134049 0 0 24 @@ -291032,28 +293193,28 @@ _ZN3gpu29textures_fill_surfaces_lockedEyyPKf # Num Counters: 24 # Counter Values: -751094 -112322 -56116 -25671575 -56116 -25727531 -56116 -56116 -390391 -390391 -12 -56206 -56116 -390391 -56104 -334185 -56104 +914523 +137117 +68523 +26411206 +68523 +26479550 +68523 +68523 +409915 +409915 +12 +68594 +68523 +409915 +68511 +341321 +68511 0 151 -25727781 -326198 -326198 +26479800 +399785 +399785 0 0 @@ -291080,12 +293241,12 @@ _ZN3gpu29textures_resource_copy_reportB5cxx11Ev # Num Counters: 6 # Counter Values: -10768 -10768 -1346 +10872 +10872 +1359 0 0 -1346 +1359 _ZN3gpu29textures_retire_reused_lockedEyyNSt6chrono10time_pointINS0_3_V212steady_clockENS0_8durationIxSt5ratioILx1ELx1000000000EEEEEEb # Func Hash: @@ -291093,28 +293254,28 @@ _ZN3gpu29textures_retire_reused_lockedEyyNSt6chrono10time_pointINS0_3_V212steady # Num Counters: 22 # Counter Values: -22290 -3024829 -46 -3024875 -188538 -3024875 -147211 -117151 -1767 -46 -46 +22359 +3001949 +43 +3001992 +187143 +3001992 +148824 +119042 +1777 +43 +43 21 0 -46 -882 +41 +887 0 -46 -882 -46 -46 -6160 -6160 +41 +887 +41 +41 +6166 +6166 _ZN3gpu29textures_upload_region_lockedEyPKjjjjjjjPKvyj # Func Hash: @@ -291122,58 +293283,58 @@ _ZN3gpu29textures_upload_region_lockedEyPKjjjjjjjPKvyj # Num Counters: 69 # Counter Values: -1130096 -16434828 -953 +1141751 +16777204 +991 0 0 -1130161 -1130161 -1130096 -1130096 -65 -65 +1141818 +1141818 +1141751 +1141751 +67 +67 0 -1130096 -65 +1141751 +67 0 -1130161 +1141818 0 -65 +67 0 0 0 -1130161 +1141818 0 -65 +67 0 0 0 0 0 -1130161 -1130161 -1130161 -1130161 -1130161 -1130161 -1130161 -1130161 -1130161 +1141818 +1141818 +1141818 +1141818 +1141818 +1141818 +1141818 +1141818 +1141818 0 -1130161 -1130161 -1130161 -1130161 -1130161 -1130161 -1130161 -1130161 -1130161 -1130161 -1130161 +1141818 +1141818 +1141818 +1141818 +1141818 +1141818 +1141818 +1141818 +1141818 +1141818 +1141818 0 -502 +498 0 0 0 @@ -291182,15 +293343,15 @@ _ZN3gpu29textures_upload_region_lockedEyPKjjjjjjjPKvyj 0 0 0 -10789276 -10789276 +11054791 +11054791 0 0 -620 -620 +665 +665 0 -1130161 -1130161 +1141818 +1141818 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -291199,8 +293360,8 @@ _ZN3gpu29textures_upload_region_lockedEyPKjjjjjjjPKvyj 2 0 3 -513:1129914 -4:192 +513:1141570 +4:193 64:55 _ZN3gpu30capture_dispatch_finish_lockedESt10unique_ptrINS_14CaptureSessionENS_21CaptureSessionDeleterEE @@ -291283,19 +293444,19 @@ _ZN3gpu30render_pending_fill_for_lockedEyyyyPf # Num Counters: 15 # Counter Values: -498 +495 151 -325659 +320093 604 604 -100154 -42325 -166 -166 +99958 +40994 +165 +165 163 151 -253431 -253431 +243361 +243361 163 163 @@ -291323,19 +293484,19 @@ _ZN3gpu30textures_relocate_block_lockedEi # Num Counters: 16 # Counter Values: -228 -7 -26759 -26759 -26759 -235 +64 +1 +24345 +24345 +24345 +65 6 -235 +65 6 -7 -228 +1 +64 6 -7 +1 6 3 0 @@ -291389,7 +293550,7 @@ _ZN3gpu31image_heap_avoided_block_lockedEv # Num Counters: 1 # Counter Values: -1712 +1714 _ZN3gpu31render_retire_generation_lockedEyyyyb # Func Hash: @@ -291397,22 +293558,22 @@ _ZN3gpu31render_retire_generation_lockedEyyyyb # Num Counters: 19 # Counter Values: -495938 -60846 -909 +507489 +60749 +889 0 0 -6289 -98390 +6284 +98262 0 -2597 -49195 +2595 +49131 0 -49195 -49195 -49195 -342685 -342685 +49131 +49131 +49131 +353233 +353233 0 0 0 @@ -291438,7 +293599,7 @@ _ZN3gpu31textures_drop_rt_regions_lockedEy 0 0 0 -1610 +1618 0 0 @@ -291448,22 +293609,22 @@ _ZN3gpu31textures_relocate_pinned_lockedEv # Num Counters: 20 # Counter Values: -114 +32 0 -13376 -13376 -13376 -114 -114 +12172 +12172 +12172 +32 +32 0 0 -2798319 -114 +2827169 +32 3 -113 +31 3 3 -114 +32 0 3 3 @@ -291475,7 +293636,7 @@ _ZN3gpu31upscale_capture_viewport_lockedERK10VkViewport # Num Counters: 3 # Counter Values: -46192087 +45741225 0 0 @@ -291485,7 +293646,7 @@ _ZN3gpu31upscale_pass_hudless_due_lockedEv # Num Counters: 1 # Counter Values: -125854102 +125730694 _ZN3gpu31upscale_pass_output_view_lockedEjj # Func Hash: @@ -291493,13 +293654,13 @@ _ZN3gpu31upscale_pass_output_view_lockedEjj # Num Counters: 7 # Counter Values: -134338 -45589 -45589 -45589 -45589 +134318 +45187 +45187 +45187 +45187 10 -45589 +45187 _ZN3gpu31view_clear_apply_barrier_lockedERNS_7RtImageEbi # Func Hash: @@ -291507,17 +293668,17 @@ _ZN3gpu31view_clear_apply_barrier_lockedERNS_7RtImageEbi # Num Counters: 12 # Counter Values: -1647609 +1697180 0 -1366395 -1366395 -281214 +1409545 +1409545 +287635 0 0 0 0 -1647609 -1647609 +1697180 +1697180 24 _ZN3gpu32copy_destination_describe_lockedB5cxx11Ey @@ -291561,9 +293722,9 @@ _ZN3gpu32occlusion_begin_recording_lockedEv # Num Counters: 3 # Counter Values: -2798327 -2798327 -217273 +2827178 +2827178 +216419 _ZN3gpu32particle_args_before_draw_lockedEv # Func Hash: @@ -291571,8 +293732,8 @@ _ZN3gpu32particle_args_before_draw_lockedEv # Num Counters: 3 # Counter Values: -96359671 -472862 +95070252 +477272 0 _ZN3gpu32textures_return_from_host_lockedEv @@ -291584,7 +293745,7 @@ _ZN3gpu32textures_return_from_host_lockedEv 0 0 0 -2798319 +2827169 0 0 0 @@ -291614,10 +293775,10 @@ _ZN3gpu33copy_versions_put_in_place_lockedEi # Num Counters: 4 # Counter Values: -76802 -76802 -76789 -76789 +73604 +73604 +73587 +73587 _ZN3gpu33image_heap_drain_candidate_lockedEPyS0_RKSt6vectorIiSaIiEE # Func Hash: @@ -291627,18 +293788,18 @@ _ZN3gpu33image_heap_drain_candidate_lockedEPyS0_RKSt6vectorIiSaIiEE # Counter Values: 0 0 -11051 -10097 -3140 -3140 -3140 -2123 -1436 -1704 -1704 -1704 -1704 -1355 +10971 +10202 +3149 +3149 +3149 +2058 +1441 +1708 +1708 +1708 +1708 +1359 _ZN3gpu33textures_carry_into_target_lockedEyjjyP9VkImage_T # Func Hash: @@ -291646,22 +293807,22 @@ _ZN3gpu33textures_carry_into_target_lockedEyjjyP9VkImage_T # Num Counters: 26 # Counter Values: -54896 +54817 3730 3730 3730 -1635 -1635 -1623 -1623 -1623 -1623 -1623 -1567 -1524 -1524 -1524 -1524 +1436 +1436 +1424 +1424 +1424 +1424 +1424 +1364 +1332 +1332 +1332 +1332 144 144 144 @@ -291669,9 +293830,9 @@ _ZN3gpu33textures_carry_into_target_lockedEyjjyP9VkImage_T 12 12 0 -23325 -23325 -1524 +23465 +23465 +1332 _ZN3gpu33textures_copy_image_region_lockedERK12GpuImageCopy # Func Hash: @@ -291681,9 +293842,9 @@ _ZN3gpu33textures_copy_image_region_lockedERK12GpuImageCopy # Counter Values: 0 0 -767628 -767628 -767628 +791127 +791127 +791127 0 0 0 @@ -291691,7 +293852,7 @@ _ZN3gpu33textures_copy_image_region_lockedERK12GpuImageCopy 0 0 0 -767628 +791127 0 0 0 @@ -291711,7 +293872,7 @@ _ZN3gpu33textures_copy_image_region_lockedERK12GpuImageCopy 0 0 0 -738294 +759168 0 0 288 @@ -291720,7 +293881,7 @@ _ZN3gpu33textures_copy_image_region_lockedERK12GpuImageCopy 0 0 1200 -767628 +791127 0 0 0 @@ -291730,51 +293891,51 @@ _ZN3gpu33textures_copy_image_region_lockedERK12GpuImageCopy 2448 0 0 -767628 +791127 0 0 0 0 -767628 +791127 0 0 0 0 -767628 +791127 0 0 0 -767628 -767628 -767628 -767628 -767628 -767573 -29334 -767573 -29334 -767573 -29334 -738294 -738294 -738294 +791127 +791127 +791127 +791127 +791127 +791072 +31959 +791072 +31959 +791072 +31959 +759168 +759168 +759168 0 0 -767628 +791127 0 -767628 +791127 0 0 -767628 +791127 0 0 0 -767628 +791127 0 -767628 +791127 0 -738294 -735836 +759168 +756709 0 0 0 @@ -291782,7 +293943,7 @@ _ZN3gpu33textures_copy_image_region_lockedERK12GpuImageCopy 0 0 0 -738294 +759168 0 0 0 @@ -291820,8 +293981,8 @@ _ZN3gpu33textures_copy_image_region_lockedERK12GpuImageCopy 0 0 0 -767628 -767628 +791127 +791127 0 0 0 @@ -291832,7 +293993,7 @@ _ZN3gpu33textures_copy_image_region_lockedERK12GpuImageCopy 0 0 0 -738294 +759168 48 _ZN3gpu33textures_swap_target_views_lockedEyy @@ -291891,11 +294052,11 @@ _ZN3gpu34image_memory_place_existing_lockedERK20VkMemoryRequirementsRNS_11ImageM # Num Counters: 6 # Counter Values: -442 -221 -442 -221 -221 +280 +140 +280 +140 +140 0 _ZN3gpu34import_window_census_report_lockedB5cxx11Eb @@ -291991,7 +294152,7 @@ _ZN3gpu34import_window_census_report_lockedB5cxx11Eb 0 0 0 -228 +231 0 0 0 @@ -292099,11 +294260,11 @@ _ZN3gpu35particle_args_after_dispatch_lockedEv # Num Counters: 5 # Counter Values: -773257 +775484 0 -742665 -472862 -30592 +738618 +477272 +36866 _ZN3gpu35textures_forget_target_memos_lockedEyy # Func Hash: @@ -292145,15 +294306,15 @@ _ZN3gpu38render_target_newer_overlapping_lockedEyyyPKNS_7RtImageE 0 425 12 -730 +734 0 -724 -674 +728 +678 0 -668 +672 0 0 -418 +422 0 56 50 @@ -292271,13 +294432,13 @@ _ZN3gpu3Rec10copy_imageEP9VkImage_T13VkImageLayoutS2_S3_jPK11VkImageCopy # Num Counters: 7 # Counter Values: -1506672 +1534686 0 -1506672 -1506672 -1506672 +1534686 +1534686 +1534686 0 -1506672 +1534686 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -292285,7 +294446,7 @@ _ZN3gpu3Rec10copy_imageEP9VkImage_T13VkImageLayoutS2_S3_jPK11VkImageCopy # NumValueSites: 1 2 -65:1506692 +65:1534704 513:1 _ZN3gpu3Rec10end_submitERKNS_6stream9EndSubmitE @@ -292294,7 +294455,7 @@ _ZN3gpu3Rec10end_submitERKNS_6stream9EndSubmitE # Num Counters: 1 # Counter Values: -2798319 +2827167 _ZN3gpu3Rec11begin_queryEP13VkQueryPool_Tjj # Func Hash: @@ -292315,13 +294476,13 @@ _ZN3gpu3Rec11copy_bufferEP10VkBuffer_TS2_jPK12VkBufferCopy # Num Counters: 7 # Counter Values: -18252865 +18324555 0 -18252865 -18252865 -18252865 -13 -18252865 +18324555 +18324555 +18324555 +11 +18324555 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -292329,7 +294490,7 @@ _ZN3gpu3Rec11copy_bufferEP10VkBuffer_TS2_jPK12VkBufferCopy # NumValueSites: 1 1 -17:18252992 +17:18324611 _ZN3gpu3Rec11fill_bufferEP10VkBuffer_Tyyj # Func Hash: @@ -292337,12 +294498,12 @@ _ZN3gpu3Rec11fill_bufferEP10VkBuffer_Tyyj # Num Counters: 6 # Counter Values: -22594578 +22685041 0 -22594578 -22594578 +22685041 +22685041 0 -22594578 +22685041 _ZN3gpu3Rec11update_setsEjPK20VkWriteDescriptorSet # Func Hash: @@ -292392,13 +294553,13 @@ _ZN3gpu3Rec12push_buffersE19VkPipelineBindPointP18VkPipelineLayout_TjjPKjPK22VkD 8 # Counter Values: 0 -773257 -773257 +775484 +775484 0 -773257 -773257 +775484 +775484 0 -773257 +775484 # Num Value Kinds: 2 # ValueKind = IPVK_IndirectCallTarget: @@ -292411,15 +294572,15 @@ _ZN3gpu3Rec12push_buffersE19VkPipelineBindPointP18VkPipelineLayout_TjjPKjPK22VkD # NumValueSites: 2 4 -4:321327 -17:250911 -9:167716 -8:33308 +4:323932 +17:250601 +9:171274 +8:29683 4 -17:321327 -129:250911 -65:167716 -33:33308 +17:323932 +129:250601 +65:171274 +33:29683 _ZN3gpu3Rec13bind_pipelineE19VkPipelineBindPointP12VkPipeline_T # Func Hash: @@ -292427,12 +294588,12 @@ _ZN3gpu3Rec13bind_pipelineE19VkPipelineBindPointP12VkPipeline_T # Num Counters: 6 # Counter Values: -1575255 +1579683 0 -1575255 -1575255 +1579683 +1579683 0 -1575255 +1579683 _ZN3gpu3Rec13end_renderingEb # Func Hash: @@ -292441,8 +294602,8 @@ _ZN3gpu3Rec13end_renderingEb 3 # Counter Values: 0 -4789376 -4789376 +4811677 +4811677 _ZN3gpu3Rec13update_bufferEP10VkBuffer_TyyPKv # Func Hash: @@ -292479,13 +294640,13 @@ _ZN3gpu3Rec14push_constantsEP18VkPipelineLayout_TjjjPKv # Num Counters: 7 # Counter Values: -801998 +804199 0 -801998 -801998 -801998 +804199 +804199 +804199 0 -801998 +804199 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -292493,9 +294654,9 @@ _ZN3gpu3Rec14push_constantsEP18VkPipelineLayout_TjjjPKv # NumValueSites: 1 3 -8:392069 -33:217329 -17:192604 +8:395629 +33:216471 +17:192106 _ZN3gpu3Rec15begin_renderingERK15VkRenderingInfo # Func Hash: @@ -292530,12 +294691,12 @@ _ZN3gpu3Rec15write_timestampE23VkPipelineStageFlagBitsP13VkQueryPool_Tj # Num Counters: 6 # Counter Values: -5596645 +5654343 0 -5596645 -5596645 +5654343 +5654343 0 -5596645 +5654343 _ZN3gpu3Rec16pipeline_barrierEjjjjPK15VkMemoryBarrierjPK21VkBufferMemoryBarrierjPK20VkImageMemoryBarrier # Func Hash: @@ -292543,19 +294704,19 @@ _ZN3gpu3Rec16pipeline_barrierEjjjjPK15VkMemoryBarrierjPK21VkBufferMemoryBarrierj # Num Counters: 13 # Counter Values: -10549663 +10688093 0 -2372758 +2420722 0 -12922307 +13108783 0 -10549663 +10688093 0 -2372644 -12922307 -12922307 +2420690 +13108783 +13108783 0 -12922307 +13108783 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -292563,11 +294724,11 @@ _ZN3gpu3Rec16pipeline_barrierEjjjjPK15VkMemoryBarrierjPK21VkBufferMemoryBarrierj # NumValueSites: 3 1 -17:10549747 +17:10688181 0 2 -65:2372530 -129:114 +65:2420658 +129:32 _ZN3gpu3Rec16reset_query_poolEP13VkQueryPool_Tjj # Func Hash: @@ -292575,12 +294736,12 @@ _ZN3gpu3Rec16reset_query_poolEP13VkQueryPool_Tjj # Num Counters: 6 # Counter Values: -3015599 +3043595 0 -3015599 -3015599 +3043595 +3043595 0 -3015599 +3043595 _ZN3gpu3Rec16transfer_barrierEb # Func Hash: @@ -292589,8 +294750,8 @@ _ZN3gpu3Rec16transfer_barrierEb 3 # Counter Values: 0 -9100687 -9100687 +9154763 +9154763 _ZN3gpu3Rec17clear_color_imageEP9VkImage_T13VkImageLayoutRK17VkClearColorValuejPK23VkImageSubresourceRange # Func Hash: @@ -292598,13 +294759,13 @@ _ZN3gpu3Rec17clear_color_imageEP9VkImage_T13VkImageLayoutRK17VkClearColorValuejP # Num Counters: 7 # Counter Values: -1425116 +1480866 0 -1425116 -1425116 -1425116 +1480866 +1480866 +1480866 0 -1425116 +1480866 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -292612,7 +294773,7 @@ _ZN3gpu3Rec17clear_color_imageEP9VkImage_T13VkImageLayoutRK17VkClearColorValuejP # NumValueSites: 1 1 -17:1425136 +17:1480882 _ZN3gpu3Rec17dispatch_indirectEP10VkBuffer_Ty # Func Hash: @@ -292620,12 +294781,12 @@ _ZN3gpu3Rec17dispatch_indirectEP10VkBuffer_Ty # Num Counters: 6 # Counter Values: -225197 +225196 0 -225197 -225197 +225196 +225196 0 -225197 +225196 _ZN3gpu3Rec18copy_order_barrierEv # Func Hash: @@ -292643,12 +294804,12 @@ _ZN3gpu3Rec18copy_query_resultsEP13VkQueryPool_TjjP10VkBuffer_Tyyj # Num Counters: 6 # Counter Values: -217105 +216252 0 -217105 -217105 +216252 +216252 0 -217105 +216252 _ZN3gpu3Rec20copy_buffer_to_imageEP10VkBuffer_TP9VkImage_T13VkImageLayoutjPK17VkBufferImageCopy # Func Hash: @@ -292656,13 +294817,13 @@ _ZN3gpu3Rec20copy_buffer_to_imageEP10VkBuffer_TP9VkImage_T13VkImageLayoutjPK17Vk # Num Counters: 7 # Counter Values: -1130161 +1141818 0 -1130161 -1130161 -1130161 +1141818 +1141818 +1141818 0 -1130161 +1141818 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -292670,7 +294831,7 @@ _ZN3gpu3Rec20copy_buffer_to_imageEP10VkBuffer_TP9VkImage_T13VkImageLayoutjPK17Vk # NumValueSites: 1 1 -33:1130161 +33:1141818 _ZN3gpu3Rec20copy_image_to_bufferEP9VkImage_T13VkImageLayoutP10VkBuffer_TjPK17VkBufferImageCopy # Func Hash: @@ -292699,13 +294860,13 @@ _ZN3gpu3Rec25clear_depth_stencil_imageEP9VkImage_T13VkImageLayoutRK24VkClearDept # Num Counters: 7 # Counter Values: -281536 +287951 0 -281536 -281536 -281536 +287951 +287951 +287951 0 -281536 +287951 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -292713,7 +294874,7 @@ _ZN3gpu3Rec25clear_depth_stencil_imageEP9VkImage_T13VkImageLayoutRK24VkClearDept # NumValueSites: 1 1 -17:281536 +17:287951 _ZN3gpu3Rec5beginEP17VkCommandBuffer_T # Func Hash: @@ -292721,9 +294882,9 @@ _ZN3gpu3Rec5beginEP17VkCommandBuffer_T # Num Counters: 4 # Counter Values: -2798326 -2798326 -2798326 +2827176 +2827176 +2827176 0 _ZN3gpu3Rec6markerEj @@ -292745,12 +294906,12 @@ _ZN3gpu3Rec8dispatchEjjj # Num Counters: 6 # Counter Values: -1350058 +1354487 0 -1350058 -1350058 +1354487 +1354487 0 -1350058 +1354487 _ZN3gpu3Rec9bind_setsE19VkPipelineBindPointP18VkPipelineLayout_TjjPKP17VkDescriptorSet_TjPKj # Func Hash: @@ -292758,14 +294919,14 @@ _ZN3gpu3Rec9bind_setsE19VkPipelineBindPointP18VkPipelineLayout_TjjPKP17VkDescrip # Num Counters: 8 # Counter Values: -940126 +945913 0 -940126 -773257 -940126 -940126 +945913 +775484 +945913 +945913 0 -940126 +945913 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -292773,9 +294934,9 @@ _ZN3gpu3Rec9bind_setsE19VkPipelineBindPointP18VkPipelineLayout_TjjPKP17VkDescrip # NumValueSites: 2 1 -8:940131 +8:945920 1 -4:773262 +4:775490 _ZN3gpu3Rec9end_queryEP13VkQueryPool_Tj # Func Hash: @@ -292796,7 +294957,7 @@ _ZN3gpu3recEv # Num Counters: 1 # Counter Values: -92095183 +92783635 _ZN3gpu40image_heap_target_drain_candidate_lockedEPyS0_ # Func Hash: @@ -292804,16 +294965,16 @@ _ZN3gpu40image_heap_target_drain_candidate_lockedEPyS0_ # Num Counters: 11 # Counter Values: -9153 -8407 -5713 -5713 -3094 -4255 -1470 -1122 -1122 -1122 +8433 +7921 +5352 +5352 +3362 +3969 +1395 +1047 +1047 +1047 12 _ZN3gpu5fnv1aEPKvyy @@ -292822,9 +294983,9 @@ _ZN3gpu5fnv1aEPKvyy # Num Counters: 3 # Counter Values: -3890548121 -19576248916 -3107915311 +3889496435 +19522942153 +3113791167 _ZN3gpu5g_cmdEv # Func Hash: @@ -292832,7 +294993,7 @@ _ZN3gpu5g_cmdEv # Num Counters: 1 # Counter Values: -2018984 +2028340 _ZN3gpu6locateEyy # Func Hash: @@ -292841,11 +295002,11 @@ _ZN3gpu6locateEyy 8 # Counter Values: 0 -118763435 -118129498 -633925 +120710196 +120082039 +628145 0 -118763423 +120710184 0 0 @@ -292864,7 +295025,7 @@ _ZN3gpu7hlsl_onEv # Num Counters: 1 # Counter Values: -29167 +29163 _ZN3gpu7pick_rtEy # Func Hash: @@ -292872,19 +295033,19 @@ _ZN3gpu7pick_rtEy # Num Counters: 13 # Counter Values: -26107892 -1141880 -3310890 -2833298 -522387 -202022 -13576940 -13576940 -477592 -862303 -862303 -202022 -522387 +26508714 +1242909 +3401419 +2879993 +578367 +215655 +13147133 +13147133 +521426 +950688 +950688 +215655 +578367 _ZN3gpu8DrawCmds10copy_orderEv # Func Hash: @@ -292906,8 +295067,8 @@ _ZN3gpu8DrawCmds10start_listEPv # Num Counters: 2 # Counter Values: -31074840 -31074552 +32227108 +32226004 _ZN3gpu8DrawCmds11copy_bufferEP10VkBuffer_TS2_RK12VkBufferCopy # Func Hash: @@ -292915,13 +295076,13 @@ _ZN3gpu8DrawCmds11copy_bufferEP10VkBuffer_TS2_RK12VkBufferCopy # Num Counters: 7 # Counter Values: -19391250 -19391250 -19391250 -19391250 -19391250 -19391250 -19279631 +19451214 +19451214 +19451214 +19451214 +19451214 +19451214 +19340431 _ZN3gpu8DrawCmds11copy_regionEP9VkImage_TS2_jjb # Func Hash: @@ -292943,14 +295104,14 @@ _ZN3gpu8DrawCmds11update_setsEPK20VkWriteDescriptorSety # Num Counters: 9 # Counter Values: -157135 +153079 0 -145261 -11874 -11874 -11874 -157135 -157135 +141209 +11870 +11870 +11870 +153079 +153079 0 _ZN3gpu8DrawCmds12depth_boundsEff @@ -292959,7 +295120,7 @@ _ZN3gpu8DrawCmds12depth_boundsEff # Num Counters: 2 # Counter Values: -37444056 +38563991 0 _ZN3gpu8DrawCmds12index_bufferEP10VkBuffer_Ty11VkIndexType @@ -292968,7 +295129,7 @@ _ZN3gpu8DrawCmds12index_bufferEP10VkBuffer_Ty11VkIndexType # Num Counters: 2 # Counter Values: -89824604 +89535564 0 _ZN3gpu8DrawCmds12pass_barrierEv @@ -292994,8 +295155,8 @@ _ZN3gpu8DrawCmds12push_buffersEP18VkPipelineLayout_TPKjPK22VkDescriptorBufferInf 4 # Counter Values: 0 -124518057 -124522294 +124358441 +124361915 0 # Num Value Kinds: 2 @@ -293009,21 +295170,21 @@ _ZN3gpu8DrawCmds12push_buffersEP18VkPipelineLayout_TPKjPK22VkDescriptorBufferInf # NumValueSites: 2 9 -33:66009210 -16:20035582 -4:10627037 -17:9243184 -9:8625833 -8:6507193 -32:2926206 -65:596596 -64:11745 -5 -257:59823269 -65:36434011 -129:11160835 -17:10627035 -33:6505936 +33:65737075 +16:20017491 +4:10663364 +17:9201548 +9:8804588 +8:6506977 +32:2897199 +65:594084 +64:10700 +5 +257:59582931 +65:36563831 +129:11084920 +17:10663358 +33:6505556 _ZN3gpu8DrawCmds12transfer_endEv # Func Hash: @@ -293031,12 +295192,12 @@ _ZN3gpu8DrawCmds12transfer_endEv # Num Counters: 6 # Counter Values: -4261054 -4261054 -4261054 -4261054 -4261054 -4261054 +4280881 +4280881 +4280881 +4280881 +4280881 +4280881 _ZN3gpu8DrawCmds13bind_pipelineEP12VkPipeline_Tb # Func Hash: @@ -293044,7 +295205,7 @@ _ZN3gpu8DrawCmds13bind_pipelineEP12VkPipeline_Tb # Num Counters: 3 # Counter Values: -86203296 +86872570 0 0 @@ -293054,12 +295215,12 @@ _ZN3gpu8DrawCmds13end_renderingEb # Num Counters: 6 # Counter Values: -12951570 -12951570 -12951570 -12951570 -12951570 -12951570 +13102028 +13102028 +13102028 +13102028 +13102028 +13102028 _ZN3gpu8DrawCmds13library_stateERKNS_16DrawLibraryStateEb # Func Hash: @@ -293067,7 +295228,7 @@ _ZN3gpu8DrawCmds13library_stateERKNS_16DrawLibraryStateEb # Num Counters: 2 # Counter Values: -53054665 +54048235 0 _ZN3gpu8DrawCmds14bind_stage_setEP18VkPipelineLayout_TjP17VkDescriptorSet_TjPKj @@ -293076,8 +295237,8 @@ _ZN3gpu8DrawCmds14bind_stage_setEP18VkPipelineLayout_TjP17VkDescriptorSet_TjPKj # Num Counters: 3 # Counter Values: -102358 -259493 +100624 +253703 0 _ZN3gpu8DrawCmds14start_reservedEyb @@ -293097,14 +295258,14 @@ _ZN3gpu8DrawCmds14transfer_beginEv # Num Counters: 8 # Counter Values: -2244191 -2244191 -2244191 -2244191 -2244191 -1766049 -1766049 -1766049 +2272283 +2272283 +2272283 +2272283 +2272283 +1786220 +1786220 +1786220 _ZN3gpu8DrawCmds14vertex_buffersEjPKP10VkBuffer_TPKy # Func Hash: @@ -293112,9 +295273,9 @@ _ZN3gpu8DrawCmds14vertex_buffersEjPKP10VkBuffer_TPKy # Num Counters: 4 # Counter Values: -125297805 +125166230 0 -125300043 +125165043 0 # Num Value Kinds: 1 @@ -293123,21 +295284,21 @@ _ZN3gpu8DrawCmds14vertex_buffersEjPKP10VkBuffer_TPKy # NumValueSites: 2 7 -8:117741804 -16:6503808 -17:778134 -64:187018 -33:50980 -65:957 -32:2 +8:117654798 +16:6472409 +17:780826 +64:170731 +33:45966 +65:1203 +32:3 7 -8:117636636 -16:6503807 -17:778133 -64:187018 -33:50980 -65:957 -32:2 +8:117563756 +16:6472409 +17:780825 +64:170731 +33:45966 +65:1203 +32:3 _ZN3gpu8DrawCmds15begin_renderingERK15VkRenderingInfo # Func Hash: @@ -293145,15 +295306,15 @@ _ZN3gpu8DrawCmds15begin_renderingERK15VkRenderingInfo # Num Counters: 9 # Counter Values: -16436973 -17740953 -17740953 -17740953 -17740953 -17740952 -5989000 -5355912 -17740953 +16619591 +17913714 +17913714 +17913714 +17913714 +17913714 +5987834 +5348958 +17913714 _ZN3gpu8DrawCmds15blend_constantsEPKf # Func Hash: @@ -293161,7 +295322,7 @@ _ZN3gpu8DrawCmds15blend_constantsEPKf # Num Counters: 2 # Counter Values: -33587757 +34801607 0 _ZN3gpu8DrawCmds4drawERKNS_8DrawCallE @@ -293170,7 +295331,7 @@ _ZN3gpu8DrawCmds4drawERKNS_8DrawCallE # Num Counters: 2 # Counter Values: -125688680 +125576563 0 _ZN3gpu8DrawCmds4openEv @@ -293179,7 +295340,7 @@ _ZN3gpu8DrawCmds4openEv # Num Counters: 1 # Counter Values: -92546716 +93147732 _ZN3gpu8DrawCmds5splitEv # Func Hash: @@ -293187,9 +295348,9 @@ _ZN3gpu8DrawCmds5splitEv # Num Counters: 3 # Counter Values: -802067 -802067 -802067 +817317 +817317 +817317 _ZN3gpu8DrawCmds5startEb # Func Hash: @@ -293197,26 +295358,26 @@ _ZN3gpu8DrawCmds5startEb # Num Counters: 20 # Counter Values: -777293504 +767100160 0 0 0 0 -97161688 +95887520 0 -97161688 -97161688 +95887520 +95887520 0 0 0 -95519 -97161688 +94290 +95887520 0 0 -97161688 +95887520 0 0 -97161688 +95887520 _ZN3gpu8DrawCmds6markerEj # Func Hash: @@ -293233,10 +295394,10 @@ _ZN3gpu8DrawCmds7publishEv # Num Counters: 4 # Counter Values: -260402459 -31018698 -97161687 -97161687 +259824134 +32161393 +95887519 +95887519 _ZN3gpu8DrawCmds7scissorERK8VkRect2D # Func Hash: @@ -293244,7 +295405,7 @@ _ZN3gpu8DrawCmds7scissorERK8VkRect2D # Num Counters: 2 # Counter Values: -39975719 +41186498 0 _ZN3gpu8DrawCmds7stencilEPKj @@ -293253,7 +295414,7 @@ _ZN3gpu8DrawCmds7stencilEPKj # Num Counters: 2 # Counter Values: -40837663 +41963179 0 _ZN3gpu8DrawCmds8viewportERK10VkViewport @@ -293262,7 +295423,7 @@ _ZN3gpu8DrawCmds8viewportERK10VkViewport # Num Counters: 2 # Counter Values: -39227534 +40434637 0 _ZN3gpu8DrawCmds9bind_setsEP18VkPipelineLayout_TPKP17VkDescriptorSet_TPKjb @@ -293271,8 +295432,8 @@ _ZN3gpu8DrawCmds9bind_setsEP18VkPipelineLayout_TPKP17VkDescriptorSet_TPKjb # Num Counters: 6 # Counter Values: -125774833 -125778981 +125644775 +125645001 0 0 0 @@ -293284,26 +295445,26 @@ _ZN3gpu8DrawCmds9take_setsERSt6vectorI20VkWriteDescriptorSetSaIS2_EERS1_I21VkDes # Num Counters: 20 # Counter Values: -511790 -139387 -940003 -940003 -548867 -940003 -940003 -511790 -37077 -548867 -391136 -37077 -127253069 -391136 -0 -0 -139387 -139387 -139387 -940003 +503120 +137774 +932643 +932643 +540318 +932643 +932643 +503120 +37198 +540318 +392325 +37198 +127101680 +392325 +0 +0 +137774 +137774 +137774 +932643 _ZN3gpu8DrawCmdsC2Eb # Func Hash: @@ -293319,7 +295480,7 @@ _ZN3gpu8DrawCmdsD2Ev # Num Counters: 2 # Counter Values: -134052729 +133632821 0 _ZN3gpu8twins_onEv @@ -293328,7 +295489,7 @@ _ZN3gpu8twins_onEv # Num Counters: 2 # Counter Values: -64875845 +66514821 0 _ZN3gpu9ListNotes9note_viewEjhP13VkImageView_TbPKj @@ -293337,14 +295498,14 @@ _ZN3gpu9ListNotes9note_viewEjhP13VkImageView_TbPKj # Num Counters: 9 # Counter Values: -529993927 -521483896 -8524313 -1339651400 -176396133 -167490361 +551318557 +542597064 +8731040 +1395074712 +183721805 +174419575 0 -11578240 +12522632 0 _ZN3gpu9RunDigestC2Ev @@ -293372,7 +295533,7 @@ _ZN3gpu9glitch_onEv # Num Counters: 1 # Counter Values: -173213704 +173960351 _ZN3gpu9hlsl_laneEi # Func Hash: @@ -293380,7 +295541,7 @@ _ZN3gpu9hlsl_laneEi # Num Counters: 1 # Counter Values: -69963 +69959 _ZN3gpu9hlsl_modeEv # Func Hash: @@ -293404,20 +295565,20 @@ _ZN3gpu9paths_forEyRKSt6vectorIjSaIjEEN3gcn5StageEjj # Num Counters: 15 # Counter Values: -259880678 -65696306 +259545772 +67940064 +0 +67948132 +67936736 0 -65702575 -65701378 -1 0 -1 -1 0 -1 -1 -1 -259882071 +0 +0 +0 +0 +0 +259544521 0 _ZN3gpu9stream_onEv @@ -293426,8 +295587,8 @@ _ZN3gpu9stream_onEv # Num Counters: 2 # Counter Values: -14086993 -14086993 +14199350 +14199350 _ZN3net10room_clearEv # Func Hash: @@ -294199,651 +296360,31 @@ _ZN3net16account_web_codeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 -0 - -_ZN3net16auth_server_baseB5cxx11Ev -# Func Hash: -844982796217682314 -# Num Counters: -4 -# Counter Values: -0 -0 -0 -0 - -_ZN3net16server_heartbeatERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi -# Func Hash: -89690571045035408 -# Num Counters: -61 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 -0 - -_ZN3net16server_join_roomEyRN4json5ValueERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE -# Func Hash: -274068937385376956 -# Num Counters: -29 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -_ZN3net16session_shutdownEv -# Func Hash: -844982799463459685 -# Num Counters: -4 -# Counter Values: -0 -0 -0 -0 - -_ZN3net17account_link_pollERKNS_10DeviceLinkERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE -# Func Hash: -723402592491817415 -# Num Counters: -67 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -2 -0 -0 - -_ZN3net17account_logged_inEv -# Func Hash: -886271540078755313 -# Num Counters: -4 -# Counter Values: -24 -0 -0 -0 - -_ZN3net17peers_find_onlineERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_4PeerE -# Func Hash: -151646355405494441 -# Num Counters: -11 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 -0 - -_ZN3net17peers_provisionalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjt -# Func Hash: -317696125974865985 -# Num Counters: -27 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 -0 - -_ZN3net17server_leave_roomERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRN4json5ValueERS5_ -# Func Hash: -221622510489959403 -# Num Counters: -47 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 -0 - -_ZN3net18account_link_startERNS_10DeviceLinkERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE -# Func Hash: -727649023115475893 -# Num Counters: -71 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 -0 - -_ZN3net18peers_from_membersERKN4json5ValueE -# Func Hash: -442217345836583722 -# Num Counters: -47 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -_ZN3net18read_sign_in_replyElRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ -# Func Hash: -7706470160867124 -# Num Counters: -148 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 0 + +_ZN3net16auth_server_baseB5cxx11Ev +# Func Hash: +844982796217682314 +# Num Counters: +4 +# Counter Values: 0 0 0 0 + +_ZN3net16server_heartbeatERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi +# Func Hash: +89690571045035408 +# Num Counters: +61 +# Counter Values: 0 0 0 @@ -294853,24 +296394,11 @@ _ZN3net18read_sign_in_replyElRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIc 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -5 0 0 0 0 0 - -_ZN3net18server_create_roomEiRKN4json5ValueERS1_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE -# Func Hash: -625283765401163465 -# Num Counters: -48 -# Counter Values: 0 0 0 @@ -294918,13 +296446,19 @@ _ZN3net18server_create_roomEiRKN4json5ValueERS1_RNSt7__cxx1112basic_stringIcSt11 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 0 -_ZN3net18server_kick_memberERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiPKhyRS5_ +_ZN3net16server_join_roomEyRN4json5ValueERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: -664336662106189776 +274068937385376956 # Num Counters: -101 +29 # Counter Values: 0 0 @@ -294955,11 +296489,24 @@ _ZN3net18server_kick_memberERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcE 0 0 0 + +_ZN3net16session_shutdownEv +# Func Hash: +844982799463459685 +# Num Counters: +4 +# Counter Values: 0 0 0 0 -0 + +_ZN3net17account_link_pollERKNS_10DeviceLinkERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +# Func Hash: +723402592491817415 +# Num Counters: +67 +# Counter Values: 0 0 0 @@ -295036,19 +296583,22 @@ _ZN3net18server_kick_memberERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcE 0 0 -_ZN3net18set_p2p_port_boundEi +_ZN3net17account_logged_inEv # Func Hash: -742261418966908927 +886271540078755313 # Num Counters: -1 +4 # Counter Values: +12 +0 +0 0 -_ZN3net19account_check_startEi +_ZN3net17peers_find_onlineERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_4PeerE # Func Hash: -1021456893610277395 +151646355405494441 # Num Counters: -54 +11 # Counter Values: 0 0 @@ -295061,7 +296611,20 @@ _ZN3net19account_check_startEi 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 0 + +_ZN3net17peers_provisionalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjt +# Func Hash: +317696125974865985 +# Num Counters: +27 +# Counter Values: 0 0 0 @@ -295089,6 +296652,24 @@ _ZN3net19account_check_startEi 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +_ZN3net17server_leave_roomERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiRN4json5ValueERS5_ +# Func Hash: +221622510489959403 +# Num Counters: +47 +# Counter Values: +0 +0 +0 +0 0 0 0 @@ -295104,28 +296685,12 @@ _ZN3net19account_check_startEi 0 0 0 -# Num Value Kinds: -2 -# ValueKind = IPVK_IndirectCallTarget: 0 -# NumValueSites: -2 0 0 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -3 0 0 0 - -_ZN3net19account_device_nameB5cxx11Ev -# Func Hash: -1065123698127676620 -# Num Counters: -13 -# Counter Values: 0 0 0 @@ -295139,20 +296704,7 @@ _ZN3net19account_device_nameB5cxx11Ev 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 0 - -_ZN3net19server_session_blobERN4json5ValueERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE -# Func Hash: -448268668213330664 -# Num Counters: -8 -# Counter Values: 0 0 0 @@ -295169,11 +296721,11 @@ _ZN3net19server_session_blobERN4json5ValueERNSt7__cxx1112basic_stringIcSt11char_ 1 0 -_ZN3net20account_mark_refusedERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +_ZN3net18account_link_startERNS_10DeviceLinkERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: -393568428797299216 +727649023115475893 # Num Counters: -13 +71 # Counter Values: 0 0 @@ -295188,15 +296740,6 @@ _ZN3net20account_mark_refusedERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaI 0 0 0 - -_ZN3net20server_context_startERN4json5ValueERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE -# Func Hash: -237573758850322423 -# Num Counters: -105 -# Counter Values: -0 -0 0 0 0 @@ -295255,7 +296798,20 @@ _ZN3net20server_context_startERN4json5ValueERNSt7__cxx1112basic_stringIcSt11char 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 0 + +_ZN3net18peers_from_membersERKN4json5ValueE +# Func Hash: +442217345836583722 +# Num Counters: +47 +# Counter Values: 0 0 0 @@ -295300,21 +296856,15 @@ _ZN3net20server_context_startERN4json5ValueERNSt7__cxx1112basic_stringIcSt11char 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -3 0 0 0 -_ZN3net24server_signaling_resolveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPjPtRS5_ +_ZN3net18read_sign_in_replyElRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ # Func Hash: -400335246453505268 +7706470160867124 # Num Counters: -61 +148 # Counter Values: 0 0 @@ -295377,46 +296927,6 @@ _ZN3net24server_signaling_resolveERKNSt7__cxx1112basic_stringIcSt11char_traitsIc 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 -0 - -_ZN3net3nat10auto_stateEv -# Func Hash: -1096621587626867316 -# Num Counters: -5 -# Counter Values: -0 -0 -0 -0 -0 - -_ZN3net3nat10rememberedEv -# Func Hash: -238984481941143025 -# Num Counters: -3 -# Counter Values: -0 -0 -0 - -_ZN3net3nat11parse_portsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE -# Func Hash: -787521394146370304 -# Num Counters: -35 -# Counter Values: -0 -0 -0 -0 0 0 0 @@ -295448,13 +296958,6 @@ _ZN3net3nat11parse_portsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 0 0 0 - -_ZN3net3nat12inbound_lineB5cxx11ENS0_7InboundEiNS0_7VerdictE -# Func Hash: -1014347296059594355 -# Num Counters: -56 -# Counter Values: 0 0 0 @@ -295516,16 +297019,18 @@ _ZN3net3nat12inbound_lineB5cxx11ENS0_7InboundEiNS0_7VerdictE # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: -3 +5 +0 +0 0 0 0 -_ZN3net3nat12public_portsB5cxx11ERKNS0_11ProbeResultE +_ZN3net18server_create_roomEiRKN4json5ValueERS1_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: -448994385749716436 +625283765401163465 # Num Counters: -61 +48 # Counter Values: 0 0 @@ -295575,6 +297080,20 @@ _ZN3net3nat12public_portsB5cxx11ERKNS0_11ProbeResultE 0 0 0 + +_ZN3net18server_kick_memberERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiPKhyRS5_ +# Func Hash: +664336662106189776 +# Num Counters: +101 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 0 0 0 @@ -295588,21 +297107,8 @@ _ZN3net3nat12public_portsB5cxx11ERKNS0_11ProbeResultE 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -2 0 0 - -_ZN3net3nat12same_networkERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ -# Func Hash: -637998173314770346 -# Num Counters: -19 -# Counter Values: 0 0 0 @@ -295622,21 +297128,8 @@ _ZN3net3nat12same_networkERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -2 0 0 - -_ZN3net3nat14auto_test_waitEi -# Func Hash: -1070589995213224689 -# Num Counters: -18 -# Counter Values: 0 0 0 @@ -295655,13 +297148,6 @@ _ZN3net3nat14auto_test_waitEi 0 0 0 - -_ZN3net3nat14unsaved_reasonB5cxx11ERKNS0_7OutcomeE -# Func Hash: -739509375182583181 -# Num Counters: -40 -# Counter Values: 0 0 0 @@ -295711,13 +297197,20 @@ _ZN3net3nat14unsaved_reasonB5cxx11ERKNS0_7OutcomeE 0 0 -_ZN3net3nat15auto_state_jsonB5cxx11ERKNS0_9AutoStateE +_ZN3net18set_p2p_port_boundEi # Func Hash: -415397412699199368 +742261418966908927 # Num Counters: -116 +1 # Counter Values: 0 + +_ZN3net19account_check_startEi +# Func Hash: +1021456893610277395 +# Num Counters: +54 +# Counter Values: 0 0 0 @@ -295772,12 +297265,28 @@ _ZN3net3nat15auto_state_jsonB5cxx11ERKNS0_9AutoStateE 0 0 0 +# Num Value Kinds: +2 +# ValueKind = IPVK_IndirectCallTarget: 0 +# NumValueSites: +2 0 0 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +3 0 0 0 + +_ZN3net19account_device_nameB5cxx11Ev +# Func Hash: +1065123698127676620 +# Num Counters: +13 +# Counter Values: 0 0 0 @@ -295791,7 +297300,20 @@ _ZN3net3nat15auto_state_jsonB5cxx11ERKNS0_9AutoStateE 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 0 + +_ZN3net19server_session_blobERN4json5ValueERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +# Func Hash: +448268668213330664 +# Num Counters: +8 +# Counter Values: 0 0 0 @@ -295800,7 +297322,20 @@ _ZN3net3nat15auto_state_jsonB5cxx11ERKNS0_9AutoStateE 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 0 + +_ZN3net20account_mark_refusedERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +# Func Hash: +393568428797299216 +# Num Counters: +13 +# Counter Values: 0 0 0 @@ -295814,6 +297349,13 @@ _ZN3net3nat15auto_state_jsonB5cxx11ERKNS0_9AutoStateE 0 0 0 + +_ZN3net20server_context_startERN4json5ValueERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +# Func Hash: +237573758850322423 +# Num Counters: +105 +# Counter Values: 0 0 0 @@ -295833,24 +297375,11 @@ _ZN3net3nat15auto_state_jsonB5cxx11ERKNS0_9AutoStateE 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -5 0 0 0 0 0 - -_ZN3net3nat15read_save_replyElRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ -# Func Hash: -149666131193916010 -# Num Counters: -101 -# Counter Values: 0 0 0 @@ -295932,6 +297461,35 @@ _ZN3net3nat15read_save_replyElRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaI 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +3 +0 +0 +0 + +_ZN3net24server_signaling_resolveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPjPtRS5_ +# Func Hash: +400335246453505268 +# Num Counters: +61 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 0 0 0 @@ -295952,25 +297510,12 @@ _ZN3net3nat15read_save_replyElRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaI 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -6 0 0 0 0 0 0 - -_ZN3net3nat15tested_endpointB5cxx11ERKNS0_11ProbeResultE -# Func Hash: -652370799864526589 -# Num Counters: -22 -# Counter Values: 0 0 0 @@ -296001,15 +297546,22 @@ _ZN3net3nat15tested_endpointB5cxx11ERKNS0_11ProbeResultE 1 0 -_ZN3net3nat18note_seen_endpointEjt +_ZN3net3nat10rememberedEv # Func Hash: -15543707251905904 +238984481941143025 # Num Counters: -38 +3 # Counter Values: 0 0 0 + +_ZN3net3nat11parse_portsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +# Func Hash: +787521394146370304 +# Num Counters: +35 +# Counter Values: 0 0 0 @@ -296045,19 +297597,12 @@ _ZN3net3nat18note_seen_endpointEjt 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 -0 -_ZN3net3nat20auto_state_from_jsonERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +_ZN3net3nat12inbound_lineB5cxx11ENS0_7InboundEiNS0_7VerdictE # Func Hash: -622478352747298936 +1014347296059594355 # Num Counters: -67 +56 # Counter Values: 0 0 @@ -296115,9 +297660,22 @@ _ZN3net3nat20auto_state_from_jsonERKNSt7__cxx1112basic_stringIcSt11char_traitsIc 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +3 0 0 0 + +_ZN3net3nat12public_portsB5cxx11ERKNS0_11ProbeResultE +# Func Hash: +448994385749716436 +# Num Counters: +61 +# Counter Values: 0 0 0 @@ -296126,25 +297684,16 @@ _ZN3net3nat20auto_state_from_jsonERKNSt7__cxx1112basic_stringIcSt11char_traitsIc 0 0 0 - -_ZN3net3nat22auto_test_start_if_dueEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE -# Func Hash: -102749067948576677 -# Num Counters: -123 -# Counter Values: 0 0 0 0 0 0 -12 0 0 0 0 -12 0 0 0 @@ -296188,8 +297737,21 @@ _ZN3net3nat22auto_test_start_if_dueEPNSt7__cxx1112basic_stringIcSt11char_traitsI 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +2 0 0 + +_ZN3net3nat14unsaved_reasonB5cxx11ERKNS0_7OutcomeE +# Func Hash: +739509375182583181 +# Num Counters: +40 +# Counter Values: 0 0 0 @@ -296230,8 +297792,22 @@ _ZN3net3nat22auto_test_start_if_dueEPNSt7__cxx1112basic_stringIcSt11char_traitsI 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +2 0 0 + +_ZN3net3nat15read_save_replyElRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ +# Func Hash: +135721724178262972 +# Num Counters: +89 +# Counter Values: +0 0 0 0 @@ -296256,12 +297832,6 @@ _ZN3net3nat22auto_test_start_if_dueEPNSt7__cxx1112basic_stringIcSt11char_traitsI 0 0 0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -10 0 0 0 @@ -296272,13 +297842,6 @@ _ZN3net3nat22auto_test_start_if_dueEPNSt7__cxx1112basic_stringIcSt11char_traitsI 0 0 0 - -_ZN3net3nat3Job3runENS0_9JobParamsE -# Func Hash: -286137582156766832 -# Num Counters: -207 -# Counter Values: 0 0 0 @@ -296333,9 +297896,25 @@ _ZN3net3nat3Job3runENS0_9JobParamsE 0 0 0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +6 +0 +0 +0 0 0 0 + +_ZN3net3nat3Job3runENS0_9JobParamsE +# Func Hash: +1081718579494797875 +# Num Counters: +150 +# Counter Values: 0 0 0 @@ -296501,19 +298080,14 @@ _ZN3net3nat3Job3runENS0_9JobParamsE # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: -6 -0 -0 -0 -0 -0 +1 0 _ZN3net3nat3Job5startERKNS0_9JobParamsE # Func Hash: -833404404248333220 +890424031587784875 # Num Counters: -26 +22 # Counter Values: 0 0 @@ -296537,10 +298111,6 @@ _ZN3net3nat3Job5startERKNS0_9JobParamsE 0 0 0 -0 -0 -0 -0 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -296715,43 +298285,6 @@ _ZN3net3nat7OutcomeC2ERKS1_ 0 0 -_ZN3net3nat8auto_dueERKNS0_9AutoStateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_SB_d -# Func Hash: -505811025745454372 -# Num Counters: -19 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -5 -0 -0 -0 -0 -0 - _ZN3net3nat8log_lineB5cxx11ERKNS0_7OutcomeE # Func Hash: 963982588464500845 @@ -296932,25 +298465,7 @@ _ZN3net3nat8rememberERKNS0_10RememberedE _ZN3net3nat9JobParamsC2ERKS1_ # Func Hash: -701607646645927926 -# Num Counters: -11 -# Counter Values: -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 - -_ZN3net3nat9JobParamsC2Ev -# Func Hash: -331779887918248519 +414921809671476895 # Num Counters: 7 # Counter Values: @@ -297356,11 +298871,11 @@ _ZN3spv6Module10capabilityENS_10CapabilityE # Num Counters: 5 # Counter Values: -132 -132 -276 -0 -276 +168 +168 +294 +4 +290 _ZN3spv6Module10const_boolEb # Func Hash: @@ -297368,12 +298883,12 @@ _ZN3spv6Module10const_boolEb # Num Counters: 6 # Counter Values: +30 +8 0 0 0 -0 -0 -0 +4 _ZN3spv6Module10const_nullEj # Func Hash: @@ -297393,9 +298908,9 @@ _ZN3spv6Module10type_arrayEjj # Num Counters: 7 # Counter Values: -372 -372 -372 +378 +378 +378 0 0 0 @@ -297407,9 +298922,9 @@ _ZN3spv6Module10type_floatEj # Num Counters: 7 # Counter Values: -840 -840 -840 +1078 +1078 +1078 0 0 0 @@ -297436,9 +298951,9 @@ _ZN3spv6Module11entry_pointENS_14ExecutionModelEjRKNSt7__cxx1112basic_stringIcSt # Num Counters: 9 # Counter Values: -144 +148 0 -144 +148 0 0 0 @@ -297463,8 +298978,8 @@ _ZN3spv6Module11type_structERKSt6vectorIjSaIjEE # Num Counters: 5 # Counter Values: -96 -96 +160 +160 0 0 0 @@ -297475,9 +298990,9 @@ _ZN3spv6Module11type_vectorEjj # Num Counters: 7 # Counter Values: -180 -180 -180 +212 +212 +212 0 0 0 @@ -297489,8 +299004,8 @@ _ZN3spv6Module12access_chainEjjRKSt6vectorIjSaIjEE # Num Counters: 5 # Counter Values: -2364 -2364 +3045 +3045 0 0 0 @@ -297501,14 +299016,14 @@ _ZN3spv6Module12end_functionEv # Num Counters: 18 # Counter Values: -6540 -6684 -5772 -288 -144 -144 +15684 +17702 +16730 +314 +154 +154 0 -144 +154 0 0 0 @@ -297526,7 +299041,7 @@ _ZN3spv6Module12memory_modelEjj # Num Counters: 1 # Counter Values: -96 +100 _ZN3spv6Module12type_pointerENS_12StorageClassEj # Func Hash: @@ -297534,9 +299049,9 @@ _ZN3spv6Module12type_pointerENS_12StorageClassEj # Num Counters: 7 # Counter Values: -2124 -2124 -2124 +2198 +2198 +2198 0 0 0 @@ -297548,9 +299063,9 @@ _ZN3spv6Module12type_samplerEv # Num Counters: 6 # Counter Values: +2 0 -0 -0 +2 0 0 0 @@ -297561,9 +299076,9 @@ _ZN3spv6Module13type_functionEjRKSt6vectorIjSaIjEE # Num Counters: 9 # Counter Values: -144 -144 -144 +154 +154 +154 0 0 0 @@ -297579,14 +299094,14 @@ _ZN3spv6Module14begin_functionEjj # Counter Values: 0 0 +112 0 0 +100 +154 0 0 -144 -0 -0 -0 +6 0 0 0 @@ -297612,11 +299127,11 @@ _ZN3spv6Module14local_variableEjj # Num Counters: 10 # Counter Values: +342 0 +342 0 -0 -0 -0 +342 0 0 0 @@ -297629,9 +299144,9 @@ _ZN3spv6Module14spec_const_u32Ejj # Num Counters: 9 # Counter Values: +36 0 -0 -0 +36 0 0 0 @@ -297658,9 +299173,9 @@ _ZN3spv6Module15global_variableEjNS_12StorageClassEj # Num Counters: 10 # Counter Values: -612 +723 0 -612 +723 0 0 0 @@ -297675,9 +299190,9 @@ _ZN3spv6Module15member_decorateEjjNS_10DecorationERKSt6vectorIjSaIjEE # Num Counters: 8 # Counter Values: -96 +140 0 -96 +140 0 0 0 @@ -297690,9 +299205,9 @@ _ZN3spv6Module18type_runtime_arrayEj # Num Counters: 7 # Counter Values: -0 -0 -0 +4 +4 +4 0 0 0 @@ -297718,19 +299233,19 @@ _ZN3spv6Module4emitENS_2OpEjRKSt6vectorIjSaIjEE # Num Counters: 13 # Counter Values: -0 -0 -192 -192 -4020 -384 -0 +108 +140 +216 +232 +13379 +696 0 0 0 0 0 0 +1520 _ZN3spv6Module4loadEjj # Func Hash: @@ -297738,8 +299253,8 @@ _ZN3spv6Module4loadEjj # Num Counters: 4 # Counter Values: -1152 -1152 +3004 +3004 0 0 @@ -297749,9 +299264,9 @@ _ZN3spv6Module4nameEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Num Counters: 8 # Counter Values: -420 +846 0 -420 +846 0 0 0 @@ -297764,9 +299279,9 @@ _ZN3spv6Module5labelEj # Num Counters: 5 # Counter Values: -144 +184 0 -144 +154 0 0 @@ -297776,8 +299291,8 @@ _ZN3spv6Module5storeEjj # Num Counters: 4 # Counter Values: -1608 -1608 +2729 +2729 0 0 @@ -297787,18 +299302,18 @@ _ZN3spv6Module6encodeERKNS0_5InstrE # Num Counters: 12 # Counter Values: -8484 +18892 0 0 0 -12912 -5988 -8484 +25506 +16182 +18892 0 0 0 0 -6924 +9323 _ZN3spv6Module8add_typeERKSt6vectorIjSaIjEENS_2OpES5_ # Func Hash: @@ -297806,8 +299321,8 @@ _ZN3spv6Module8add_typeERKSt6vectorIjSaIjEENS_2OpES5_ # Num Counters: 5 # Counter Values: -4092 -2352 +7973 +2524 0 0 0 @@ -297818,9 +299333,9 @@ _ZN3spv6Module8decorateEjNS_10DecorationERKSt6vectorIjSaIjEE # Num Counters: 8 # Counter Values: -972 +1492 0 -972 +1492 0 0 0 @@ -297842,9 +299357,9 @@ _ZN3spv6Module8ext_instEjNS_4GlslERKSt6vectorIjSaIjEE # Num Counters: 6 # Counter Values: -0 -0 -0 +324 +324 +4 0 0 0 @@ -297855,9 +299370,9 @@ _ZN3spv6Module8type_intEjb # Num Counters: 7 # Counter Values: -2544 -2544 -2544 +6121 +6121 +6130 0 0 0 @@ -297869,8 +299384,8 @@ _ZN3spv6Module9const_f32Ef # Num Counters: 5 # Counter Values: -480 -216 +694 +236 0 0 0 @@ -297893,8 +299408,8 @@ _ZN3spv6Module9const_u32Ej # Num Counters: 5 # Counter Values: -360 -708 +3581 +916 0 0 0 @@ -297905,8 +299420,8 @@ _ZN3spv6Module9const_u64Ey # Num Counters: 5 # Counter Values: -0 -0 +72 +36 0 0 0 @@ -297917,7 +299432,7 @@ _ZN3spv6Module9emit_voidENS_2OpERKSt6vectorIjSaIjEE # Num Counters: 5 # Counter Values: -2232 +3423 0 0 0 @@ -297933,8 +299448,8 @@ _ZN3spv6Module9extensionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 0 0 0 -0 -0 +4 +4 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -297949,9 +299464,9 @@ _ZN3spv6Module9type_boolEv # Num Counters: 6 # Counter Values: +42 0 -0 -0 +42 0 0 0 @@ -297962,9 +299477,9 @@ _ZN3spv6Module9type_voidEv # Num Counters: 6 # Counter Values: -144 +148 0 -144 +148 0 0 0 @@ -297975,7 +299490,7 @@ _ZN3spv6ModuleC2Ev # Num Counters: 1 # Counter Values: -144 +148 _ZN3spv6ModuleD2Ev # Func Hash: @@ -297983,8 +299498,8 @@ _ZN3spv6ModuleD2Ev # Num Counters: 4 # Counter Values: -144 -144 +148 +148 0 0 @@ -298103,7 +299618,7 @@ _ZN4gxvk10arena_modeEv # Num Counters: 1 # Counter Values: -871452699 +867116377 _ZN4gxvk10arena_noteENS_9ArenaNoteEy # Func Hash: @@ -298119,7 +299634,7 @@ _ZN4gxvk10buffers_onEv # Num Counters: 4 # Counter Values: -481256355 +480781197 12 12 0 @@ -298130,7 +299645,7 @@ _ZN4gxvk11arena_labelEyyy # Num Counters: 13 # Counter Values: -22229247 +22319365 0 0 0 @@ -298150,17 +299665,17 @@ _ZN4gxvk11buffer_goneEy # Num Counters: 11 # Counter Values: -22547 -22547 -6995 -6995 -6995 -6995 +22596 +22596 +6961 +6961 +6961 +6961 0 0 0 0 -22547 +22596 _ZN4gxvk11buffer_madeEyyjhhhjb # Func Hash: @@ -298169,31 +299684,31 @@ _ZN4gxvk11buffer_madeEyyjhhhjb 37 # Counter Values: 49140 -870328 -17511 -852833 -870328 +870380 +17506 +852884 +870380 0 0 0 -16 -17511 +10 +17506 102 102 -852817 -17495 -17495 -864617 -6104 -54271 -11391 -11391 -54271 -25201 +852874 +17496 +17496 +864625 +6093 +54267 +11403 +11403 +54267 +25194 12 12 -21136 -17495 +21131 +17496 0 0 0 @@ -298201,8 +299716,8 @@ _ZN4gxvk11buffer_madeEyyjhhhjb 0 0 0 -870328 -17495 +870380 +17496 102 0 @@ -298233,7 +299748,7 @@ _ZN4gxvk11census_ringEyy # Num Counters: 6 # Counter Values: -11227902 +11136336 0 0 0 @@ -298246,7 +299761,7 @@ _ZN4gxvk11handout_seqEv # Num Counters: 2 # Counter Values: -100864298 +100951041 0 _ZN4gxvk11upload_heapEPyS0_ @@ -298419,7 +299934,7 @@ _ZN4gxvk12buffers_modeEv # Num Counters: 4 # Counter Values: -787520150 +789362252 12 12 0 @@ -298430,7 +299945,7 @@ _ZN4gxvk12copy_writtenEyy # Num Counters: 6 # Counter Values: -68468719 +68577010 0 0 0 @@ -298443,9 +299958,9 @@ _ZN4gxvk12heap_writtenENS_9HeapGuardEyy # Num Counters: 9 # Counter Values: -32200313 -32200313 -32200014 +32219158 +32219158 +32218859 0 0 0 @@ -298460,9 +299975,9 @@ _ZN4gxvk12take_retiredEPjy 8 # Counter Values: 0 -2798336 -310 -310 +2827187 +331 +331 0 0 0 @@ -298473,20 +299988,19 @@ _ZN4gxvk12take_retiredEPjy 1 # NumValueSites: 1 -13 -0:2798034 -4:115 -8:85 -65:24 -513:21 -17:18 -257:11 -16:9 -33:9 -129:7 -9:6 -32:4 -64:1 +12 +0:2826862 +4:132 +8:83 +65:25 +513:19 +9:16 +17:12 +33:12 +257:12 +129:9 +16:6 +32:5 _ZN4gxvk12watch_writesEv # Func Hash: @@ -298494,7 +300008,7 @@ _ZN4gxvk12watch_writesEv # Num Counters: 4 # Counter Values: -10072148 +10124524 12 12 0 @@ -298711,8 +300225,8 @@ _ZN4gxvk14buffer_writtenEyNS_6RetireE # Num Counters: 11 # Counter Values: -14127570 -14127277 +14025209 +14024841 0 0 0 @@ -298721,7 +300235,7 @@ _ZN4gxvk14buffer_writtenEyNS_6RetireE 0 0 0 -14127419 +14025004 _ZN4gxvk14buffers_reportEv # Func Hash: @@ -298733,8 +300247,8 @@ _ZN4gxvk14buffers_reportEv 108 60 60 -23 -23 +24 +24 12 0 12 @@ -298868,7 +300382,7 @@ _ZN4gxvk14heap_snap_modeEv # Num Counters: 1 # Counter Values: -634616140 +632278452 _ZN4gxvk14memory_writtenEyyNS_6RetireE # Func Hash: @@ -299013,7 +300527,7 @@ _ZN4gxvk16census_view_madeEyi 5 # Counter Values: 0 -108298 +108251 0 0 0 @@ -299197,18 +300711,18 @@ _ZN4gxvk17heap_snap_bindingEyybbbbb # Num Counters: 13 # Counter Values: -673743912 -673826951 -634771519 -634647323 -634647159 +671614977 +671746752 +632316805 +632137672 +632118667 0 -634594841 -634714477 +632240534 +632109006 0 0 0 -634653289 +632084142 0 _ZN4gxvk18arena_proof_wantedEv @@ -299227,7 +300741,7 @@ _ZN4gxvk18census_buffer_goneEy # Num Counters: 7 # Counter Values: -22547 +22596 0 0 0 @@ -299241,7 +300755,7 @@ _ZN4gxvk18census_buffer_madeEyb # Num Counters: 53 # Counter Values: -870328 +870380 0 0 0 @@ -299313,7 +300827,7 @@ _ZN4gxvk19census_texture_goneEy # Num Counters: 8 # Counter Values: -39539 +39474 0 0 0 @@ -299328,7 +300842,7 @@ _ZN4gxvk19census_texture_madeEy # Num Counters: 2 # Counter Values: -100904 +100867 0 _ZN4gxvk19heap_copy_ring_madeEv @@ -299362,7 +300876,7 @@ _ZN4gxvk20census_buffer_mappedEyjyjbb # Num Counters: 14 # Counter Values: -14127560 +14025293 0 0 0 @@ -299411,7 +300925,7 @@ _ZN4gxvk21copyback_check_wantedEv # Num Counters: 1 # Counter Values: -9149476 +9189804 _ZN4gxvk6censusEv # Func Hash: @@ -299419,7 +300933,7 @@ _ZN4gxvk6censusEv # Num Counters: 1 # Counter Values: -3392238686 +3379549027 _ZN4gxvk6retireEjjNS_6RetireE # Func Hash: @@ -299463,10 +300977,10 @@ _ZN4gxvk7recycleEj # Num Counters: 9 # Counter Values: -7047 -7047 -6921 -126 +7032 +7032 +6908 +124 0 0 0 @@ -299479,8 +300993,8 @@ _ZN4gxvk8entry_atEj # Num Counters: 3 # Counter Values: -528929108 -528942823 +530192972 +530186203 0 _ZN4gxvk9CopyWatchILi64ELj16ELj16384EE3addEyy @@ -316491,8 +318005,8 @@ _ZN5gsync10arena_freeEPvy # Num Counters: 4 # Counter Values: -6177865 -6177885 +6195721 +6195737 0 0 # Num Value Kinds: @@ -316502,9 +318016,9 @@ _ZN5gsync10arena_freeEPvy # NumValueSites: 1 4 -33:2493071 -16:2437798 -32:1246788 +33:2498246 +16:2447254 +32:1249997 256:273 _ZN5gsync10arena_ownsEPKv @@ -316521,10 +318035,10 @@ _ZN5gsync10mutex_initEPPvi # Num Counters: 5 # Counter Values: -2803961 -2803962 -2803967 -2803964 +2820542 +2820542 +2820543 +2820541 0 _ZN5gsync10mutex_lockEPPvPKNSt6chrono10time_pointINS2_3_V212steady_clockENS2_8durationIxSt5ratioILx1ELx1000000000EEEEEE @@ -316533,9 +318047,9 @@ _ZN5gsync10mutex_lockEPPvPKNSt6chrono10time_pointINS2_3_V212steady_clockENS2_8du # Num Counters: 4 # Counter Values: -28966934 -28796179 -28964789 +29679960 +29519016 +29676811 0 _ZN5gsync10rw_destroyEPPv @@ -316575,11 +318089,11 @@ _ZN5gsync11arena_allocEy # Num Counters: 22 # Counter Values: -6493280 -6177634 +6522526 +6195481 12 0 -315665 +327063 0 0 0 @@ -316604,9 +318118,9 @@ _ZN5gsync11arena_allocEy # NumValueSites: 1 4 -33:2493052 -16:2437774 -32:1246580 +33:2498224 +16:2447230 +32:1249789 256:273 _ZN5gsync11cond_signalEPPvb @@ -316616,19 +318130,19 @@ _ZN5gsync11cond_signalEPPvb 27 # Counter Values: 0 -9089123 -9089121 -9089156 -9089122 -9089155 +9115429 +9115432 +9115458 +9115431 +9115460 0 -9077579 +9103875 0 -9089156 -9077574 +9115459 +9103873 0 0 -5473 +6517 0 0 0 @@ -316640,7 +318154,7 @@ _ZN5gsync11cond_signalEPPvb 0 0 0 -9089124 +9115434 0 _ZN5gsync11mutex_ownerEPPv @@ -316649,11 +318163,11 @@ _ZN5gsync11mutex_ownerEPPv # Num Counters: 5 # Counter Values: -166786 -166786 -166786 -166786 -166786 +170344 +170344 +170344 +170344 +170344 _ZN5gsync11thread_freeEPNS_6ThreadE # Func Hash: @@ -316670,19 +318184,19 @@ _ZN5gsync12cond_destroyEPPv # Num Counters: 13 # Counter Values: -1245734 -1245734 +1248948 +1248948 0 -1245734 +1248948 0 -1245734 +1248948 0 -1245734 -1245734 +1248948 +1248948 0 0 0 -1245734 +1248948 _ZN5gsync12mutex_unlockEPPv # Func Hash: @@ -316690,15 +318204,15 @@ _ZN5gsync12mutex_unlockEPPv # Num Counters: 9 # Counter Values: -18189020 -18189495 +18556247 +18556880 0 0 -18190000 -18192208 +18557352 +18560498 0 -18188928 -18190599 +18556991 +18558188 _ZN5gsync12rw_tryrdlockEPPv # Func Hash: @@ -316744,21 +318258,21 @@ _ZN5gsync13mutex_destroyEPPv # Num Counters: 15 # Counter Values: -2492580 -2492580 +2497761 +2497762 0 -2492581 +2497762 0 -2492582 +2497762 0 -2492582 +2497761 0 -2492582 -2492581 +2497761 +2497760 0 0 0 -2492578 +2497762 _ZN5gsync13mutex_trylockEPPv # Func Hash: @@ -316766,10 +318280,10 @@ _ZN5gsync13mutex_trylockEPPv # Num Counters: 5 # Counter Values: -25133646 -25276419 +25279220 +25404578 0 -23188866 +23295422 0 _ZN5gsync14current_threadEv @@ -316778,8 +318292,8 @@ _ZN5gsync14current_threadEv # Num Counters: 5 # Counter Values: -92934958 -93102213 +94266443 +94426794 1041 12 12 @@ -316790,10 +318304,10 @@ _ZN5gsync14mutexattr_initEPPv # Num Counters: 4 # Counter Values: -2437794 -2437793 -2437795 -2437795 +2447251 +2447251 +2447253 +2447253 _ZN5gsync14mutexattr_typeEPPv # Func Hash: @@ -316801,11 +318315,11 @@ _ZN5gsync14mutexattr_typeEPPv # Num Counters: 5 # Counter Values: -2803960 -2452982 -2452982 -2452983 -2452983 +2820541 +2462440 +2462441 +2462440 +2462440 _ZN5gsync14rw_rdlock_fastEPPv # Func Hash: @@ -316813,13 +318327,13 @@ _ZN5gsync14rw_rdlock_fastEPPv # Num Counters: 7 # Counter Values: -73710551 -77366748 -73740341 -73699105 -73809941 -73781456 -73807064 +73783841 +78199963 +73797017 +73847475 +73852376 +73780919 +73857062 _ZN5gsync14rw_unlock_fastEPPv # Func Hash: @@ -316827,13 +318341,13 @@ _ZN5gsync14rw_unlock_fastEPPv # Num Counters: 7 # Counter Values: -79920200 -74348647 -74427372 -74432142 -74417327 -74187355 -74495689 +80772020 +74439807 +74516780 +74472955 +74544527 +74296799 +74523288 _ZN5gsync15mutex_lock_fastEPPvPNS_6ThreadE # Func Hash: @@ -316841,14 +318355,14 @@ _ZN5gsync15mutex_lock_fastEPPvPNS_6ThreadE # Num Counters: 8 # Counter Values: -1321929413 -1322454541 -1323452873 -1274984566 -48267638 -1246702910 -48267633 -1322076447 +1336347371 +1336966840 +1338024317 +1287570778 +48698126 +1262398395 +48698132 +1336938720 _ZN5gsync17from_realtime_absExx # Func Hash: @@ -316864,14 +318378,14 @@ _ZN5gsync17mutex_unlock_fastEPPvPNS_6ThreadE # Num Counters: 8 # Counter Values: -1342814344 -1343827638 -1342860863 -1342777523 -1293602506 -48267539 -18038939 -1344895465 +1357573599 +1358248737 +1356348868 +1359007399 +1306868069 +48697943 +18403622 +1357897077 _ZN5gsync17mutexattr_destroyEPPv # Func Hash: @@ -316879,11 +318393,11 @@ _ZN5gsync17mutexattr_destroyEPPv # Num Counters: 5 # Counter Values: -2437779 -2437779 -2437779 -2437779 -2437779 +2447239 +2447239 +2447239 +2447239 +2447239 _ZN5gsync17mutexattr_gettypeEPPvPi # Func Hash: @@ -316903,11 +318417,11 @@ _ZN5gsync17mutexattr_settypeEPPvi # Num Counters: 5 # Counter Values: -2437795 -2437795 -2437795 -2437795 -2437795 +2447250 +2447251 +2447251 +2447251 +2447251 _ZN5gsync18set_current_threadEPNS_6ThreadE # Func Hash: @@ -316923,7 +318437,7 @@ _ZN5gsync6countsEv # Num Counters: 1 # Counter Values: -1346 +1359 _ZN5gsync7rw_initEPPv # Func Hash: @@ -316942,10 +318456,10 @@ _ZN5gsync9cond_initEPPv # Num Counters: 4 # Counter Values: -1248876 -1248876 -1248876 -1248876 +1252087 +1252087 +1252087 +1252087 _ZN5gsync9cond_waitEPPvS1_PKNSt6chrono10time_pointINS2_3_V212steady_clockENS2_8durationIxSt5ratioILx1ELx1000000000EEEEEE # Func Hash: @@ -316953,35 +318467,35 @@ _ZN5gsync9cond_waitEPPvS1_PKNSt6chrono10time_pointINS2_3_V212steady_clockENS2_8d # Num Counters: 59 # Counter Values: -9075602 +9101893 0 0 0 -10114588 -10115523 -10121417 -10119545 -9057025 +11103794 +11101215 +11110929 +11109015 +9084580 0 0 -10113965 -10111098 -9061529 +11099853 +11099605 +9087890 0 -201 -9063561 +204 +9087753 0 0 0 -9073886 +9100781 0 -9075532 -9075155 +9101626 +9101428 0 0 -9073562 -9075256 -5425 +9100217 +9101547 +6450 0 0 0 @@ -317008,9 +318522,9 @@ _ZN5gsync9cond_waitEPPvS1_PKNSt6chrono10time_pointINS2_3_V212steady_clockENS2_8d 0 0 0 -9062518 +9087341 0 -9073215 +9099761 0 _ZN5gsync9rw_rdlockEPPvPKNSt6chrono10time_pointINS2_3_V212steady_clockENS2_8durationIxSt5ratioILx1ELx1000000000EEEEEE @@ -317019,8 +318533,8 @@ _ZN5gsync9rw_rdlockEPPvPKNSt6chrono10time_pointINS2_3_V212steady_clockENS2_8dura # Num Counters: 2 # Counter Values: -0 -0 +1 +1 _ZN5gsync9rw_unlockEPPv # Func Hash: @@ -317029,14 +318543,14 @@ _ZN5gsync9rw_unlockEPPv 9 # Counter Values: 0 -508775 -508775 -508775 -508775 -508775 -508775 -508775 -508775 +523299 +523299 +523299 +523299 +523299 +523299 +523299 +523299 _ZN5gsync9rw_wrlockEPPvPKNSt6chrono10time_pointINS2_3_V212steady_clockENS2_8durationIxSt5ratioILx1ELx1000000000EEEEEE # Func Hash: @@ -317044,8 +318558,8 @@ _ZN5gsync9rw_wrlockEPPvPKNSt6chrono10time_pointINS2_3_V212steady_clockENS2_8dura # Num Counters: 2 # Counter Values: -508775 -508775 +523299 +523299 _ZN5twins11ranges_meetINS_9ShapedMapIyEEEEbRKT_yy # Func Hash: @@ -317053,14 +318567,14 @@ _ZN5twins11ranges_meetINS_9ShapedMapIyEEEEbRKT_yy # Num Counters: 8 # Counter Values: -92 -2079663 -617068 -617931 -617068 -791 -643188 -643188 +101 +2171781 +656816 +657660 +656816 +48879 +639821 +639821 _ZN6ImFont10RenderCharEP10ImDrawListfRK6ImVec2jtPK6ImVec4 # Func Hash: @@ -318585,7 +320099,7 @@ _ZN7fg_pace4noteERNS_4PaceEyyfbyd 20 # Counter Values: 0 -376739 +380695 0 0 0 @@ -319317,9 +320831,9 @@ _ZN8GpuMutex4lockEv # Num Counters: 3 # Counter Values: -187527800 +186595628 0 -239382 +248603 _ZN8GpuMutex6reportEv # Func Hash: @@ -319368,9 +320882,9 @@ _ZN8GpuMutex6unlockEv # Num Counters: 4 # Counter Values: -187527990 +186595788 0 -1217944 +1261795 0 _ZN8GpuMutex7name_ofB5cxx11EPv @@ -319452,7 +320966,7 @@ _ZN8GpuMutex9profilingEv # Num Counters: 4 # Counter Values: -375054023 +373189398 12 12 0 @@ -319463,9 +320977,9 @@ _ZN8HostLock9lock_slowEj # Num Counters: 3 # Counter Values: -54527908 -32581714 -12266566 +52648335 +31596140 +12072142 _ZN8ImVectorI18ImGuiTableTempDataE14clear_destructEv # Func Hash: @@ -319595,7 +321109,7 @@ _ZN8MemOwnerC2EPKc # Num Counters: 1 # Counter Values: -2285 +2305 _ZN8MemOwnerD2Ev # Func Hash: @@ -319603,7 +321117,7 @@ _ZN8MemOwnerD2Ev # Num Counters: 1 # Counter Values: -2285 +2305 _ZN8cache_rw11unlock_slowEv # Func Hash: @@ -319611,7 +321125,7 @@ _ZN8cache_rw11unlock_slowEv # Num Counters: 1 # Counter Values: -2105503 +2277722 _ZN8cache_rw16lock_shared_slowEv # Func Hash: @@ -319619,11 +321133,11 @@ _ZN8cache_rw16lock_shared_slowEv # Num Counters: 6 # Counter Values: -62598424 -4734173 -14015958 -62305163 -249083 +64649287 +5569273 +16861020 +64289928 +298541 0 _ZN8cache_rw18unlock_shared_slowEv @@ -319632,7 +321146,7 @@ _ZN8cache_rw18unlock_shared_slowEv # Num Counters: 1 # Counter Values: -62352338 +64367516 _ZN8cache_rw6countsEv # Func Hash: @@ -319640,7 +321154,7 @@ _ZN8cache_rw6countsEv # Num Counters: 1 # Counter Values: -374 +378 _ZN8cache_rw9lock_slowEv # Func Hash: @@ -319648,14 +321162,14 @@ _ZN8cache_rw9lock_slowEv # Num Counters: 10 # Counter Values: -2609 -2108112 -8987236 -17738300 +2636 +2280358 +11178243 +21620010 0 -2609 -2105503 -291414 +2636 +2277722 +353865 0 0 @@ -320077,7 +321591,7 @@ _ZN8sfx_node11smooth_callEv # Num Counters: 3 # Counter Values: -2049620 +2049026 0 0 @@ -320087,7 +321601,7 @@ _ZN8sfx_node14emission_clockEv # Num Counters: 1 # Counter Values: -98115097 +96394578 _ZN8sfx_node18set_emission_clockEi # Func Hash: @@ -320103,56 +321617,56 @@ _ZN8sfx_node4emitEyyyNS_4EmitEfbf # Num Counters: 51 # Counter Values: -580077 -6264 -43145265 -41969626 -35854398 -28236477 -244 -244 -28252372 -566648 -26594844 -16013803 +583655 +6305 +43639775 +42199283 +36125054 +28519910 +240 +240 +28524797 +568881 +26753250 +16083127 0 -244 +240 0 -4545 -28161969 -16011218 -16031863 -567026 +4886 +28438031 +16083402 +16129695 +569034 0 -1402 -566862 -3481 +1420 +568925 +3498 91 -8087458 -14805765 -86 -1349897 +8123220 +14851624 +90 +1357317 46 -86 -283000 -555350 -772395 -9448 -1775 -772182 +90 +284050 +557522 +776294 +9525 +1776 +776155 0 0 46 -772058 -1775 +775976 +1776 0 0 -5037 -16037323 -16024230 +5065 +16115061 +16098965 0 0 -82803 +82678 91 # Num Value Kinds: 1 @@ -320161,41 +321675,41 @@ _ZN8sfx_node4emitEyyyNS_4EmitEfbf # NumValueSites: 20 1 -** External Symbol **:41007765 +** External Symbol **:41193801 1 -** External Symbol **:41131710 +** External Symbol **:41321978 0 1 -** External Symbol **:244 +** External Symbol **:240 1 -** External Symbol **:1402 +** External Symbol **:1420 1 -** External Symbol **:4545 +** External Symbol **:4884 1 -** External Symbol **:15806762 +** External Symbol **:15901205 1 -** External Symbol **:15878901 +** External Symbol **:16025253 1 -** External Symbol **:3481 +** External Symbol **:3497 1 ** External Symbol **:46 2 -** External Symbol **:767225 -** External Symbol **:4391 +** External Symbol **:770808 +** External Symbol **:4550 1 -** External Symbol **:771693 +** External Symbol **:775545 0 1 -** External Symbol **:565704 +** External Symbol **:567376 1 -** External Symbol **:565744 +** External Symbol **:568194 1 -** External Symbol **:86 +** External Symbol **:90 1 -** External Symbol **:1773 +** External Symbol **:1776 0 1 -** External Symbol **:5034 +** External Symbol **:5060 0 _ZN8sfx_node6updateEyRKNS_5StepsEyy @@ -320204,101 +321718,101 @@ _ZN8sfx_node6updateEyRKNS_5StepsEyy # Num Counters: 97 # Counter Values: -283217 -15921294 +284270 +15943412 0 -7941982 -71809291 -4454 -41856117 -33324485 -41317228 +7978220 +71981654 +4428 +42142666 +33485582 +41802107 0 0 0 0 0 0 -61805097 -32985588 +63186843 +33148932 0 0 0 0 0 0 -29659303 -41638046 -41124988 +30484867 +41878464 +41466300 0 0 -283191 -16256112 -30863976 -17650 -211 -31055063 +284295 +16347758 +31012055 +17669 +216 +31815600 0 0 -35697567 -36078589 -9730 -211 +36095141 +36510153 +10098 +216 18 -30631 -35615269 -9737 +30846 +36000818 +10105 0 0 0 0 -30540 -30758 +30823 +30967 0 0 0 -9734 +10106 0 -7447 +7460 0 -360352 -8167435 -283354 +363395 +8210359 +284458 0 -35822443 -247833 -30596 -5724085 -331824 -5993 -19509 -5686259 -5712364 -8168727 -5712657 -783 -29745 -944 +36029259 +298898 +30811 +5740234 +333716 +6058 +19670 +5707940 +5731231 +8204268 +5733364 +784 +29987 +945 0 -5693531 -7455 +5712106 +7481 0 0 -8172263 +8210618 0 0 0 0 0 0 -3857 +3870 0 0 0 -23373700 -7891794 -64275524 -37630513 +23408408 +7876424 +65120586 +38500500 0 0 # Num Value Kinds: @@ -320308,23 +321822,23 @@ _ZN8sfx_node6updateEyRKNS_5StepsEyy # NumValueSites: 29 1 -** External Symbol **:30223661 +** External Symbol **:30602315 1 -** External Symbol **:30428844 +** External Symbol **:30749096 1 -** External Symbol **:28764980 +** External Symbol **:29413936 1 -** External Symbol **:17616 +** External Symbol **:17645 1 -** External Symbol **:28520653 +** External Symbol **:29252041 1 -** External Symbol **:19465 +** External Symbol **:19614 1 -** External Symbol **:30407 +** External Symbol **:30631 1 -** External Symbol **:937 +** External Symbol **:939 1 -** External Symbol **:240962 +** External Symbol **:290158 0 0 0 @@ -320332,33 +321846,33 @@ _ZN8sfx_node6updateEyRKNS_5StepsEyy 0 0 1 -** External Symbol **:5657599 +** External Symbol **:5677667 1 -** External Symbol **:5667776 +** External Symbol **:5693124 1 -** External Symbol **:9733 +** External Symbol **:10104 1 -** External Symbol **:9734 +** External Symbol **:10102 1 -** External Symbol **:9733 +** External Symbol **:10103 1 -** External Symbol **:14201 +** External Symbol **:14283 1 -** External Symbol **:6766 +** External Symbol **:6839 1 ** External Symbol **:783 1 -** External Symbol **:5988 +** External Symbol **:6054 1 -** External Symbol **:7440 +** External Symbol **:7455 1 -** External Symbol **:7445 +** External Symbol **:7468 1 -** External Symbol **:7443 +** External Symbol **:7460 1 -** External Symbol **:7435 +** External Symbol **:7463 1 -** External Symbol **:56473094 +** External Symbol **:57889957 _ZN9ImageFile3rowEPKh # Func Hash: @@ -320593,8 +322107,8 @@ _ZN9decomp_gx13hand_to_traceEyyyyyyyy # Num Counters: 2 # Counter Values: -7262764 -7262764 +7398241 +7398241 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -320602,7 +322116,7 @@ _ZN9decomp_gx13hand_to_traceEyyyyyyyy # NumValueSites: 1 1 -** External Symbol **:7262801 +** External Symbol **:7398264 _ZN9decomp_gx18note_writer_callerEPKvy # Func Hash: @@ -320628,22 +322142,32 @@ _ZN9decomp_gx22game_return_in_methodsEy _ZN9gxvk_rest4stepERNS_5StateERKNS_6WindowEy # Func Hash: -405208778770442838 +68428320513802502 # Num Counters: -253 +275 # Counter Values: -6958 -6884 -4016 +8824 +6865 +6874 +6805 3795 -8 -6 +3969 +3714 +0 +0 +0 +0 +0 +27 +0 +11 +0 +0 +0 2 0 0 -30 0 -15 0 0 0 @@ -320651,135 +322175,141 @@ _ZN9gxvk_rest4stepERNS_5StateERKNS_6WindowEy 0 0 0 +201 0 +3976 +142 0 +2834 0 +27 0 +11 +242 +5080 0 -238 0 -4069 -177 +57 0 -2896 0 -30 +17 +156 +4547 +135 +7692 +5128 +7692 +5128 +7692 +5128 0 -15 -219 -5196 -5196 -5150 -7794 -7794 0 +1375 0 -168 0 0 -82 -143 0 0 -1495 +5 +13 +3 +0 0 -145 0 -110 0 -4 0 -6 -6 -9 -9 -36 0 0 -22 33 -68 -246 +22 +73 +214 0 0 0 0 0 0 +3 +2 0 0 0 0 0 0 -27 -84 0 -1765 -96 +88 +77 0 -2118 +0 +2052 +1710 0 0 0 0 0 -22 33 22 -24 +22 +62 0 -2644 -12 +2612 0 0 0 0 -95 0 0 -114 -12 0 -2575 -2598 +48 +40 0 -12 -2359 0 +2540 +2612 0 0 -12 -660 +2205 0 -55 0 -66 -12 -3 +0 +0 +727 +0 0 0 0 0 0 -35 0 -299 -764 -2598 0 0 +0 +33 +0 +275 +780 +0 11 0 0 0 0 +1 +2564 +0 0 33 -3 -173 0 -12 +219 +0 +11 +0 +2564 +0 +2564 0 0 11 @@ -320787,42 +322317,46 @@ _ZN9gxvk_rest4stepERNS_5StateERKNS_6WindowEy 0 0 0 -487 -22 +1 +0 +508 +37 33 0 0 -3 +0 0 0 0 0 11 -3 0 -3 0 0 0 0 +0 +1 +0 8 0 0 0 -12 +11 0 0 0 0 0 -353 -59 +342 +64 0 0 0 0 0 0 +1 0 0 0 @@ -320831,8 +322365,9 @@ _ZN9gxvk_rest4stepERNS_5StateERKNS_6WindowEy 0 0 0 -337 -150 +0 +315 +193 0 0 8 @@ -320843,8 +322378,7 @@ _ZN9gxvk_rest4stepERNS_5StateERKNS_6WindowEy 0 0 0 -19 -11 +8 0 0 0 @@ -320853,35 +322387,37 @@ _ZN9gxvk_rest4stepERNS_5StateERKNS_6WindowEy 0 0 0 -11 0 -4537 -4537 -4100 -5 +0 +0 +4547 +4547 +4119 +75 +75 +824 24 -752 -12 0 -27 0 -9 -9 -9 -18 0 0 -2629 -2644 -2644 0 0 0 0 0 +2612 0 0 -8 +0 +0 +1 +0 +0 +0 +0 +0 +7 8 0 0 @@ -320892,34 +322428,34 @@ _ZN9rt_extent5Table4drawEyjjjj # Num Counters: 29 # Counter Values: -334000 -167000 -376769 -43150 -144 -72 +341114 +170557 +380653 +45183 +142 +71 0 0 -500547 -500547 +505956 +505956 0 -543625 -105 -376625 -72 -43078 -105 +551068 +104 +380511 +71 +45112 +104 0 0 -167000 -500547 +170557 +505956 0 0 0 0 -167000 +170557 0 -500547 +505956 0 _ZNK10ImDrawList11CloneOutputEv @@ -320979,18 +322515,18 @@ _ZNK10gxvk_homes9HomeIndex5meetsEyyPNS0_3HitE # Num Counters: 12 # Counter Values: -622542210 -32390782 -32390782 -32390782 -32390782 -8574846 -23564233 -188314 -23564233 -188314 -284242229 -284242229 +535626982 +28542597 +28542598 +28542597 +28542597 +5453445 +23088007 +166070 +23088007 +166070 +260934389 +260934389 _ZNK10gxvk_homes9HomeIndex8may_meetEyy # Func Hash: @@ -320998,13 +322534,13 @@ _ZNK10gxvk_homes9HomeIndex8may_meetEyy # Num Counters: 7 # Counter Values: -703737400 -530633927 -1267826832 -1166876302 -401884406 -383314293 -1267824611 +692769945 +523026437 +1273911066 +1172462146 +392294370 +381813210 +1273908842 _ZNK11ImFontAtlas13GetCustomRectEiP15ImFontAtlasRect # Func Hash: @@ -321514,22 +323050,22 @@ _ZNK3gcn12ResourcePath3strB5cxx11Ev 0 0 0 -1078179 -1078178 -1078178 -1078178 +1066802 +1066801 +1066801 +1066801 0 -28415 +28481 0 0 -763902 -763902 -763902 -763902 -763902 -266506 -458988 -4750 +763385 +763385 +763385 +763385 +763385 +266270 +458990 +4752 0 0 0 @@ -321565,15 +323101,15 @@ _ZNK3gcn12ResourcePath3strB5cxx11Ev # NumValueSites: 6 1 -9:1078189 +9:1066804 1 -9:1078189 +9:1066803 0 0 1 -9:763911 +9:763388 1 -9:763911 +9:763388 _ZNK3gpu21CaptureSessionDeleterclEPNS_14CaptureSessionE # Func Hash: @@ -321660,15 +323196,15 @@ _ZNK3gpu8DrawCmds14holds_commandsEv # Num Counters: 9 # Counter Values: -1390567 -1390567 -1390567 -1162984 -1162984 -1162984 -1066642 -588500 -588500 +1431316 +1431316 +1431316 +1195970 +1195970 +1195970 +1100062 +613999 +613999 _ZNK3gpu8DrawCmds6numberEv # Func Hash: @@ -321676,8 +323212,8 @@ _ZNK3gpu8DrawCmds6numberEv # Num Counters: 2 # Counter Values: -37065 -37065 +37186 +37186 _ZNK3net11poll_pacing4Gate4liveEy # Func Hash: @@ -321718,38 +323254,38 @@ _ZNK3spv6Module8assembleEv # Num Counters: 62 # Counter Values: -144 -420 -420 -1068 -4176 -6684 -276 -0 -0 -144 +148 420 +846 +1632 +4768 +17702 +290 +4 +4 +148 420 -1068 -4176 -6684 -144 -0 -0 -144 -144 -144 -144 -144 -12 -144 -0 +846 +1632 +4768 +17702 +148 +4 0 +148 +148 +148 +148 +148 +16 +148 +4 +4 0 132 0 -0 -0 +4 +2 0 0 0 @@ -321789,14 +323325,14 @@ _ZNK4gxvk9CopyWatchILi64ELj16ELj16384EE3hitEyy # Counter Values: 0 0 -103621074 -34545860 -34545297 -34541398 -34542456 -34537980 -34537980 -34539965 +103686855 +34568514 +34568209 +34562652 +34563771 +34555603 +34553437 +34562480 _ZNK4gxvk9CopyWatchILi64ELj16ELj16384EE7writtenEyy # Func Hash: @@ -321804,10 +323340,10 @@ _ZNK4gxvk9CopyWatchILi64ELj16ELj16384EE7writtenEyy # Num Counters: 4 # Counter Values: -133509058 -68465477 -68469054 -34542174 +135673168 +68575157 +68578361 +34567764 _ZNK4json5Value4findERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # Func Hash: @@ -321836,11 +323372,11 @@ _ZNK5twins10MissFilter5meetsEyy # Num Counters: 5 # Counter Values: -203571495 -936149561 -60983545 -135454139 -89118483 +174389619 +944216175 +51279903 +132314758 +78758825 _ZNK9TextEntry6lengthEv # Func Hash: @@ -321871,13 +323407,13 @@ _ZNKSt10_HashtableIN9rt_extent3KeyESt4pairIKS1_NS0_5Table5SizesEESaIS6_ENSt8__de # Num Counters: 7 # Counter Values: -2891794 -11612504 -320 -17188 -11612504 -11656632 -11630012 +3320023 +11747935 +271 +18726 +11747935 +11794104 +11766932 _ZNKSt10_HashtableIN9rt_extent3KeyESt4pairIKS1_NS0_5Table5SizesEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_7KeyHashENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS3_ # Func Hash: @@ -321888,8 +323424,8 @@ _ZNKSt10_HashtableIN9rt_extent3KeyESt4pairIKS1_NS0_5Table5SizesEESaIS6_ENSt8__de 0 0 0 -543625 -543612 +551068 +551055 13 13 @@ -321930,14 +323466,14 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_ # Num Counters: 8 # Counter Values: -11180195 -2073 -25501 -8142798 -2074 -2074 -17056022 -8172018 +11199037 +2078 +25533 +8156905 +2077 +2077 +17079310 +8183782 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -321945,7 +323481,7 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_ # NumValueSites: 1 10 -17:1090 +17:1094 6:276 7:192 4:156 @@ -321962,13 +323498,13 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_ # Num Counters: 8 # Counter Values: -38479235 -1766352 -1766468 -20955909 -3909372 -17056791 -3910387 +38531575 +1768626 +1768779 +20988309 +3913977 +17084472 +3915442 0 # Num Value Kinds: 1 @@ -321977,15 +323513,15 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_ # NumValueSites: 1 9 -17:1362516 -33:195369 -9:85326 -6:85269 -4:18317 -5:14428 -3:3167 -7:1725 -16:1321 +17:1364369 +33:195592 +6:85414 +9:85300 +4:18272 +5:14504 +3:3197 +7:1716 +16:1327 _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N2bb13guest_console6Filter4SeenEESaISC_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSE_18_Mod_range_hashingENSE_20_Default_ranged_hashENSE_20_Prime_rehash_policyENSE_17_Hashtable_traitsILb1ELb0ELb1EEEE22_M_find_before_node_trIS5_EEPNSE_15_Hash_node_baseEyRKT_y # Func Hash: @@ -322138,14 +323674,14 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIK # Num Counters: 8 # Counter Values: -67213 -76581 -85 -29374 -76581 -76581 -136365 -106040 +67335 +76523 +71 +29404 +76523 +76523 +136308 +105998 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -322153,7 +323689,7 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIK # NumValueSites: 1 1 -8:76581 +8:76523 _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIKN3gcn16ShaderReflectionEEESaISD_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSF_18_Mod_range_hashingENSF_20_Default_ranged_hashENSF_20_Prime_rehash_policyENSF_17_Hashtable_traitsILb1ELb0ELb1EEEE9_M_locateERS7_ # Func Hash: @@ -322161,13 +323697,13 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIK # Num Counters: 8 # Counter Values: -34407 -34908 -34908 -138983 -3119 -136365 -2618 +34209 +34697 +34697 +138930 +3110 +136308 +2622 0 # Num Value Kinds: 1 @@ -322176,7 +323712,7 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIK # NumValueSites: 1 1 -8:34908 +8:34697 _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIKN3gpu14OverrideSourceEEESaISD_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSF_18_Mod_range_hashingENSF_20_Default_ranged_hashENSF_20_Prime_rehash_policyENSF_17_Hashtable_traitsILb1ELb0ELb1EEEE22_M_find_before_node_trIS5_EEPNSF_15_Hash_node_baseEyRKT_y # Func Hash: @@ -322408,14 +323944,14 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIK # Num Counters: 8 # Counter Values: -50924 -73468 -5162 -22795 -73468 -71533 -139926 -101425 +51342 +73471 +5197 +22951 +73471 +71530 +139918 +101619 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -322424,7 +323960,7 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIK 1 2 8:45312 -17:26221 +17:26218 _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE9_M_locateERS7_ # Func Hash: @@ -322432,11 +323968,11 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIK # Num Counters: 8 # Counter Values: -258153 -323902 -323861 +258529 +324255 +324210 0 -66458 +66447 0 0 0 @@ -322447,8 +323983,8 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIK # NumValueSites: 1 2 -8:236560 -17:87301 +8:236739 +17:87471 _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE22_M_find_before_node_trIS5_EEPNSA_15_Hash_node_baseEyRKT_y # Func Hash: @@ -322478,11 +324014,11 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIK # Num Counters: 8 # Counter Values: -1963 -2083 -2083 +1949 +2063 +2063 355 -475 +469 0 355 0 @@ -322493,9 +324029,9 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIK # NumValueSites: 1 3 -17:794 -16:675 -65:614 +17:787 +16:670 +65:606 _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_yESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE22_M_find_before_node_trIS5_EEPNSA_15_Hash_node_baseEyRKT_y # Func Hash: @@ -322503,14 +324039,14 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIK # Num Counters: 8 # Counter Values: -151227 -209096 +151210 +209070 72 -61958 -209096 -209096 -330754 -271128 +61956 +209069 +209070 +330743 +271101 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -322518,7 +324054,7 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIK # NumValueSites: 1 1 -8:209093 +8:209071 _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_yESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE9_M_locateERS7_ # Func Hash: @@ -322529,9 +324065,9 @@ _ZNKSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIK 5040 5040 5040 -331261 +331249 504 -330756 +330744 504 0 # Num Value Kinds: @@ -322553,10 +324089,10 @@ _ZNKSt10_HashtableIP10HostEqueueS1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ 0 0 0 -340140 -340128 +345575 +345563 12 -340128 +345563 12 _ZNKSt10_HashtableIP11VkSampler_TSt4pairIKS1_19VkSamplerCreateInfoESaIS5_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS3_ @@ -322565,7 +324101,7 @@ _ZNKSt10_HashtableIP11VkSampler_TSt4pairIKS1_19VkSamplerCreateInfoESaIS5_ENSt8__ # Num Counters: 9 # Counter Values: -9 +6 0 0 0 @@ -322597,14 +324133,14 @@ _ZNKSt10_HashtableIP13VkImageView_TSt4pairIKS1_N3gpu10ViewRecordEESaIS6_ENSt8__d # Num Counters: 9 # Counter Values: -16881 -0 +17854 0 -1130 -49910 -49910 +1 +1098 +49356 +49356 0 -48863 +48276 0 _ZNKSt10_HashtableIP13VkImageView_TSt4pairIKS1_St6vectorIySaIyEEESaIS7_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS3_ @@ -322613,14 +324149,14 @@ _ZNKSt10_HashtableIP13VkImageView_TSt4pairIKS1_St6vectorIySaIyEEESaIS7_ENSt8__de # Num Counters: 9 # Counter Values: -21848 +22118 0 -39 -14221 -49910 -49886 +50 +14447 +49356 +49332 24 -30482 +30732 24 _ZNKSt10_HashtableIP13VkImageView_TSt4pairIKS1_jESaIS4_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS3_ @@ -322761,10 +324297,10 @@ _ZNKSt10_HashtableIiSt4pairIKibESaIS2_ENSt8__detail10_Select1stESt8equal_toIiESt 0 0 118 -114619 114595 +114571 24 -114283 +114259 24 _ZNKSt10_HashtableIiSt4pairIKiiESaIS2_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -322853,14 +324389,14 @@ _ZNKSt10_HashtableIjSt4pairIKjjESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt # Num Counters: 9 # Counter Values: -138 +141 0 0 0 -474 -474 +483 +483 0 -474 +483 0 _ZNKSt10_HashtableIjSt4pairIKjyESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -322869,14 +324405,14 @@ _ZNKSt10_HashtableIjSt4pairIKjyESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt # Num Counters: 9 # Counter Values: -6527 +6497 0 -15 -64 -27540 -27528 12 -27427 +57 +27682 +27670 +12 +27559 12 _ZNKSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE9_M_locateERKj @@ -322885,15 +324421,15 @@ _ZNKSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_ # Num Counters: 9 # Counter Values: -217988 +218684 0 -43100 -203662 -3788479 -3280718 -508295 -963490 -508294 +43218 +204314 +3792802 +3284454 +508924 +965452 +508909 _ZNKSt10_HashtableIySt4pairIKy11GxYebisDrawESaIS3_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ # Func Hash: @@ -322901,14 +324437,14 @@ _ZNKSt10_HashtableIySt4pairIKy11GxYebisDrawESaIS3_ENSt8__detail10_Select1stESt8e # Num Counters: 9 # Counter Values: -13106 +14074 0 0 0 -7081282 -7081282 +7213155 +7213155 0 -7081282 +7213155 0 _ZNKSt10_HashtableIySt4pairIKy12GpuClearViewESaIS3_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -322917,14 +324453,14 @@ _ZNKSt10_HashtableIySt4pairIKy12GpuClearViewESaIS3_ENSt8__detail10_Select1stESt8 # Num Counters: 9 # Counter Values: -952766 +1094175 0 0 0 -5170759 -5170759 +5279542 +5279542 0 -5170759 +5279542 0 _ZNKSt10_HashtableIySt4pairIKy12GpuImageCopyESaIS3_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -322933,14 +324469,14 @@ _ZNKSt10_HashtableIySt4pairIKy12GpuImageCopyESaIS3_ENSt8__detail10_Select1stESt8 # Num Counters: 9 # Counter Values: -106480 +109777 0 0 0 -767628 -767628 +791127 +791127 0 -767628 +791127 0 _ZNKSt10_HashtableIySt4pairIKy12NativeShadowESaIS3_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -322965,14 +324501,14 @@ _ZNKSt10_HashtableIySt4pairIKy13GpuDrawInputsESaIS3_ENSt8__detail10_Select1stESt # Num Counters: 9 # Counter Values: -13106 +14074 0 0 0 -7081282 -7081282 +7213155 +7213155 0 -7081282 +7213155 0 _ZNKSt10_HashtableIySt4pairIKyN10yebis_bind4WorkEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -322981,14 +324517,14 @@ _ZNKSt10_HashtableIySt4pairIKyN10yebis_bind4WorkEESaIS4_ENSt8__detail10_Select1s # Num Counters: 9 # Counter Values: -13106 +14074 0 0 0 -7081282 -7081282 +7213155 +7213155 0 -7081282 +7213155 0 _ZNKSt10_HashtableIySt4pairIKyN3gcn15TranslateResultEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -322997,14 +324533,14 @@ _ZNKSt10_HashtableIySt4pairIKyN3gcn15TranslateResultEESaIS4_ENSt8__detail10_Sele # Num Counters: 9 # Counter Values: -29295372 +30058337 0 -108 -18453 -94927489 -94950327 +111 +18451 +96975727 +96985036 24 -94921525 +96967770 24 _ZNKSt10_HashtableIySt4pairIKyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS8_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -323029,14 +324565,14 @@ _ZNKSt10_HashtableIySt4pairIKyP11VkSampler_TESaIS4_ENSt8__detail10_Select1stESt8 # Num Counters: 9 # Counter Values: -55515106 +55735188 0 0 120 -148078901 -148114293 +151808374 +151883273 12 -148102477 +151872203 12 _ZNKSt10_HashtableIySt4pairIKyP12VkPipeline_TESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -323045,15 +324581,15 @@ _ZNKSt10_HashtableIySt4pairIKyP12VkPipeline_TESaIS4_ENSt8__detail10_Select1stESt # Num Counters: 9 # Counter Values: -80574 +81001 0 -77 -30793 -173725 -172644 -1081 -142714 -1081 +101 +30972 +173676 +172596 +1080 +142832 +1080 _ZNKSt10_HashtableIySt4pairIKyP16VkShaderModule_TESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ # Func Hash: @@ -323061,14 +324597,14 @@ _ZNKSt10_HashtableIySt4pairIKyP16VkShaderModule_TESaIS4_ENSt8__detail10_Select1s # Num Counters: 9 # Counter Values: -2137 +2192 0 24 0 -4604 -4580 +4605 +4581 24 -4556 +4557 24 _ZNKSt10_HashtableIySt4pairIKyP18VkPipelineLayout_TESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -323077,14 +324613,14 @@ _ZNKSt10_HashtableIySt4pairIKyP18VkPipelineLayout_TESaIS4_ENSt8__detail10_Select # Num Counters: 9 # Counter Values: -6296 +18856 0 +6 2 -4 -78223 -78199 +78233 +78209 24 -78133 +78145 24 _ZNKSt10_HashtableIySt4pairIKyP23VkDescriptorSetLayout_TESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -323097,10 +324633,10 @@ _ZNKSt10_HashtableIySt4pairIKyP23VkDescriptorSetLayout_TESaIS4_ENSt8__detail10_S 0 0 0 -1124 -1100 +1129 +1105 24 -1052 +1057 24 _ZNKSt10_HashtableIySt4pairIKyS0_IffEESaIS3_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -323113,10 +324649,10 @@ _ZNKSt10_HashtableIySt4pairIKyS0_IffEESaIS3_ENSt8__detail10_Select1stESt8equal_t 0 0 0 -5602690 -5602666 +5557552 +5557528 24 -5602618 +5557480 24 _ZNKSt10_HashtableIySt4pairIKySt10shared_ptrIKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_IKN3gpu14OverrideSourceEESt4hashIS9_ESt8equal_toIS9_ESaIS0_IKS9_SD_EEEEESaISO_ENSt8__detail10_Select1stESG_IyESE_IyENSQ_18_Mod_range_hashingENSQ_20_Default_ranged_hashENSQ_20_Prime_rehash_policyENSQ_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -323145,10 +324681,10 @@ _ZNKSt10_HashtableIySt4pairIKySt5arrayIfLy6EEESaIS4_ENSt8__detail10_Select1stESt 0 0 0 -5602690 -5602666 +5557552 +5557528 24 -5602618 +5557480 24 _ZNKSt10_HashtableIySt4pairIKySt5arrayIyLy3EEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -323237,15 +324773,15 @@ _ZNKSt10_HashtableIySt4pairIKybESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt # Num Counters: 9 # Counter Values: -29083 +29200 0 -53 -10290 -95084 -95048 -36 -84280 -36 +45 +10271 +95090 +95052 +38 +84259 +38 _ZNKSt10_HashtableIySt4pairIKycESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ # Func Hash: @@ -323253,14 +324789,14 @@ _ZNKSt10_HashtableIySt4pairIKycESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt # Num Counters: 9 # Counter Values: -598 +12739 0 -5 -450 -158431 -158419 +4 +460 +157635 +157623 12 -157839 +157052 12 _ZNKSt10_HashtableIySt4pairIKyhESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -323273,11 +324809,11 @@ _ZNKSt10_HashtableIySt4pairIKyhESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt 0 0 0 -8499 +8224 0 -8499 +8224 0 -8499 +8224 _ZNKSt10_HashtableIySt4pairIKyjESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ # Func Hash: @@ -323285,14 +324821,14 @@ _ZNKSt10_HashtableIySt4pairIKyjESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt # Num Counters: 9 # Counter Values: -14893 +15200 0 -50 -8468 -31553 -31541 +49 +8499 +31499 +31487 12 -22560 +22541 12 _ZNKSt10_HashtableIySt4pairIKyyESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_locateERS1_ @@ -323301,15 +324837,15 @@ _ZNKSt10_HashtableIySt4pairIKyyESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt # Num Counters: 9 # Counter Values: -2106 +2166 0 -133 -1619 -8126 -2977 -5149 -1801 -5149 +130 +1659 +8136 +2954 +5182 +1839 +5182 _ZNKSt10_HashtableIyySaIyENSt8__detail9_IdentityESt8equal_toIyESt4hashIyENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE9_M_locateERKy # Func Hash: @@ -323317,15 +324853,15 @@ _ZNKSt10_HashtableIyySaIyENSt8__detail9_IdentityESt8equal_toIyESt4hashIyENS1_18_ # Num Counters: 9 # Counter Values: -40852930 +42097308 0 -763943 -24422146 -94900776 -93841877 -1057823 -44529495 -1057823 +747079 +24192156 +94210001 +93156390 +1053545 +44190313 +1053545 _ZNKSt10filesystem7__cxx1115directory_entry12_M_file_typeERSt10error_code # Func Hash: @@ -323333,8 +324869,8 @@ _ZNKSt10filesystem7__cxx1115directory_entry12_M_file_typeERSt10error_code # Num Counters: 3 # Counter Values: -10068 -10068 +10452 +10452 0 _ZNKSt10filesystem7__cxx114path14generic_stringIcSt11char_traitsIcESaIcEEENSt7__cxx1112basic_stringIT_T0_T1_EERKSA_ @@ -323372,18 +324908,18 @@ _ZNKSt10filesystem7__cxx114path8filenameEv 13 # Counter Values: 0 -2057 +2105 0 0 0 -2057 -2057 -2057 +2105 +2105 +2105 0 0 0 -2057 -2057 +2105 +2105 _ZNKSt10filesystem7__cxx114path9extensionEv # Func Hash: @@ -323419,14 +324955,14 @@ _ZNKSt19istreambuf_iteratorIcSt11char_traitsIcEE5equalERKS2_ # Num Counters: 9 # Counter Values: -1228884243 -1228583517 +1228848914 +1228548196 0 408 0 -300726 +300718 0 -1228884243 +1228848914 0 # Num Value Kinds: 1 @@ -323435,7 +324971,7 @@ _ZNKSt19istreambuf_iteratorIcSt11char_traitsIcEE5equalERKS2_ # NumValueSites: 2 1 -** External Symbol **:300726 +** External Symbol **:300718 0 _ZNKSt23__codecvt_abstract_baseIwc9_MbstatetE2inERS0_PKcS4_RS4_PwS6_RS6_ @@ -323444,7 +324980,7 @@ _ZNKSt23__codecvt_abstract_baseIwc9_MbstatetE2inERS0_PKcS4_RS4_PwS6_RS6_ # Num Counters: 1 # Counter Values: -36991 +37800 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -323452,7 +324988,7 @@ _ZNKSt23__codecvt_abstract_baseIwc9_MbstatetE2inERS0_PKcS4_RS4_PwS6_RS6_ # NumValueSites: 1 1 -** External Symbol **:36991 +** External Symbol **:37800 _ZNKSt23__codecvt_abstract_baseIwc9_MbstatetE3outERS0_PKwS4_RS4_PcS6_RS6_ # Func Hash: @@ -323460,7 +324996,7 @@ _ZNKSt23__codecvt_abstract_baseIwc9_MbstatetE3outERS0_PKwS4_RS4_PcS6_RS6_ # Num Counters: 1 # Counter Values: -4730 +4882 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -323468,7 +325004,7 @@ _ZNKSt23__codecvt_abstract_baseIwc9_MbstatetE3outERS0_PKwS4_RS4_PcS6_RS6_ # NumValueSites: 1 1 -** External Symbol **:4730 +** External Symbol **:4882 _ZNKSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEE4findEPKDsyy # Func Hash: @@ -323506,11 +325042,11 @@ _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEPKcy # Num Counters: 5 # Counter Values: -2000497 -1959593 -1852931 -147566 -1852931 +2000323 +1959427 +1852779 +147544 +1852779 _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16find_last_not_ofEPKcy # Func Hash: @@ -323828,11 +325364,11 @@ _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_ # Num Counters: 5 # Counter Values: -191 -191 -191 +199 +199 +199 0 -215 +223 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -323840,7 +325376,7 @@ _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_ # NumValueSites: 1 1 -8:191 +8:199 _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_PKSt6vectorIN3gcn16ReflectedElementESaISA_EEESt10_Select1stISF_ESt4lessIS5_ESaISF_EE14_M_lower_boundEPSt18_Rb_tree_node_baseSN_RS7_ # Func Hash: @@ -323867,11 +325403,11 @@ _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_ # Num Counters: 5 # Counter Values: -79493 -16009 +79555 +16086 2054 -63484 -13914 +63469 +13934 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -323879,11 +325415,11 @@ _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_ # NumValueSites: 1 5 -9:50868 +9:50934 16:17172 -17:9327 -8:2117 -7:9 +17:9328 +8:2111 +7:10 _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE4findERS7_ # Func Hash: @@ -323891,11 +325427,11 @@ _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_ # Num Counters: 5 # Counter Values: -637 -553 -553 +625 +541 +541 238 -315 +303 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -323903,7 +325439,7 @@ _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_ # NumValueSites: 1 3 -9:361 +9:349 17:156 16:36 @@ -324154,26 +325690,84 @@ _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_ 1 0 +_ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE14_M_lower_boundEPSt18_Rb_tree_node_baseSG_RS7_ +# Func Hash: +234856436597202767 +# Num Counters: +5 +# Counter Values: +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +_ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE4findERS7_ +# Func Hash: +1027614719103094610 +# Num Counters: +5 +# Counter Values: +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +_ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_dESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE14_M_lower_boundEPSt18_Rb_tree_node_baseSG_RS7_ +# Func Hash: +234856436597202767 +# Num Counters: +5 +# Counter Values: +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE14_M_lower_boundEPSt18_Rb_tree_node_baseSG_RS7_ # Func Hash: 234856436597202767 # Num Counters: 5 # Counter Values: -144 +145 72 0 -72 -147 +73 +150 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 1 -2 +3 17:108 9:36 +3:1 _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE14_M_lower_boundEPSt18_Rb_tree_node_baseSG_RS7_ # Func Hash: @@ -324181,11 +325775,11 @@ _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_ # Num Counters: 5 # Counter Values: -194731 +194655 335 335 -194398 -189093 +194325 +189066 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -324193,8 +325787,8 @@ _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_ # NumValueSites: 1 3 -32:115174 -33:79299 +32:115133 +33:79271 9:215 _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE4findERS7_ @@ -324203,7 +325797,7 @@ _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_ # Num Counters: 5 # Counter Values: -21456 +21484 120 120 120 @@ -324242,21 +325836,23 @@ _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_ # Num Counters: 5 # Counter Values: -3279531 -2055046 -775134 -1224485 -775470 +3280481 +2056155 +777464 +1224326 +777850 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 1 -3 -8:3277532 +5 +8:3278060 33:1992 -17:29 +17:268 +16:134 +9:54 _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_yESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE4findERS7_ # Func Hash: @@ -324264,18 +325860,21 @@ _ZNKSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_ # Num Counters: 5 # Counter Values: -0 -0 -0 -0 -0 +56 +46 +46 +40 +6 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 1 -0 +3 +17:38 +16:6 +9:2 _ZNKSt8_Rb_treeISt4pairIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_St9_IdentityIS7_ESt4lessIS7_ESaIS7_EE4findERKS7_ # Func Hash: @@ -324393,30 +325992,38 @@ _ZNKSt8_Rb_treeISt6vectorIjSaIjEES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE4findER 0 0 -_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc +_ZNKSt8equal_toIvEclIRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKPKcEEDTeqclsr3stdE7forwardIT_Efp_Eclsr3stdE7forwardIT0_Efp0_EEOSD_OSE_ # Func Hash: -543243708862749142 +298789186336314856 # Num Counters: 3 # Counter Values: -17411 +0 0 0 # Num Value Kinds: 1 -# ValueKind = IPVK_IndirectCallTarget: -0 +# ValueKind = IPVK_MemOPSize: +1 # NumValueSites: 1 0 -_ZNSdC2Ev +_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc # Func Hash: -784007058953177093 +543243708862749142 # Num Counters: -2 +3 # Counter Values: +17411 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_IndirectCallTarget: 0 +# NumValueSites: +1 0 _ZNSt10_HashtableIN9rt_extent3KeyESt4pairIKS1_NS0_5Table5SizesEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_7KeyHashENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEyyPNS8_10_Hash_nodeIS6_Lb0EEEy @@ -324425,7 +326032,7 @@ _ZNSt10_HashtableIN9rt_extent3KeyESt4pairIKS1_NS0_5Table5SizesEESaIS6_ENSt8__det # Num Counters: 4 # Counter Values: -1063 +1070 48 48 0 @@ -324436,9 +326043,9 @@ _ZNSt10_HashtableIN9rt_extent3KeyESt4pairIKS1_NS0_5Table5SizesEESaIS6_ENSt8__det # Num Counters: 3 # Counter Values: -497 -566 -554 +488 +582 +570 _ZNSt10_HashtableIN9rt_extent3KeyESt4pairIKS1_NS0_5Table5SizesEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_7KeyHashENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE # Func Hash: @@ -324446,9 +326053,9 @@ _ZNSt10_HashtableIN9rt_extent3KeyESt4pairIKS1_NS0_5Table5SizesEESaIS6_ENSt8__det # Num Counters: 6 # Counter Values: -209 -1003 -967 +213 +999 +963 48 36 0 @@ -324544,9 +326151,9 @@ _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_E # Num Counters: 8 # Counter Values: -958 -20765124 -20719612 +962 +20793672 +20761985 0 0 0 @@ -324607,11 +326214,11 @@ _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_E # Num Counters: 6 # Counter Values: -9883570 -745366 -745424 -10894744 -10717270 +9900614 +746341 +746407 +10914333 +10736937 0 _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_ENSt8__detail9_IdentityESt8equal_toIS5_ESt4hashIS5_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb1ELb1ELb1EEEE5clearEv @@ -324686,11 +326293,11 @@ _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_E # Num Counters: 6 # Counter Values: -6003737 -22110916 -21545334 -745389 -565486 +6012029 +22139810 +21573619 +746366 +566230 0 # Num Value Kinds: 1 @@ -324699,10 +326306,10 @@ _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_E # NumValueSites: 1 4 -513:205637 -65:179960 -129:179935 -257:179931 +513:205905 +65:180196 +129:180174 +257:180168 _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_ENSt8__detail9_IdentityESt8equal_toIS5_ESt4hashIS5_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb1ELb1ELb1EEEEC2EOSI_OSaINS7_10_Hash_nodeIS5_Lb1EEEESt17integral_constantIbLb1EE # Func Hash: @@ -324893,9 +326500,9 @@ _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS # Num Counters: 8 # Counter Values: -5399 -30709 -30709 +5377 +30731 +30731 0 0 0 @@ -324908,9 +326515,9 @@ _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS # Num Counters: 8 # Counter Values: -289 -5399 -5399 +252 +5377 +5377 0 0 0 @@ -324923,11 +326530,11 @@ _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS # Num Counters: 6 # Counter Values: -17581 +17590 108 108 -18527 -18515 +18518 +18506 0 _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIKN3gcn16ShaderReflectionEEESaISD_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSF_18_Mod_range_hashingENSF_20_Default_ranged_hashENSF_20_Prime_rehash_policyENSF_17_Hashtable_traitsILb1ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE @@ -324936,9 +326543,9 @@ _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS # Num Counters: 6 # Counter Values: -10507 -43397 -43301 +10499 +43405 +43309 108 96 0 @@ -325031,7 +326638,7 @@ _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS 4 # Counter Values: 0 -13 +14 0 0 @@ -325245,11 +326852,11 @@ _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS # Num Counters: 6 # Counter Values: -27957 +28148 12 12 -38501 -38430 +38299 +38224 0 _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE5eraseERS7_ @@ -325258,9 +326865,9 @@ _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS # Num Counters: 3 # Counter Values: -66458 -66458 -66458 +66447 +66447 +66447 _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE8_M_eraseEyPNSA_15_Hash_node_baseEPNSA_10_Hash_nodeIS8_Lb1EEE # Func Hash: @@ -325268,13 +326875,13 @@ _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS # Num Counters: 7 # Counter Values: -21129 -13227 -45329 -41511 -11401 -6939 -31562 +21114 +13207 +45333 +41452 +11412 +6820 +31479 _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE # Func Hash: @@ -325303,7 +326910,7 @@ _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS # Num Counters: 8 # Counter Values: -120 +114 355 355 0 @@ -325511,11 +327118,11 @@ _ZNSt10_HashtableIP11VkSampler_TSt4pairIKS1_19VkSamplerCreateInfoESaIS5_ENSt8__d # Num Counters: 6 # Counter Values: -100 +101 24 24 -173 -161 +172 +160 0 _ZNSt10_HashtableIP11VkSampler_TSt4pairIKS1_19VkSamplerCreateInfoESaIS5_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE @@ -325524,9 +327131,9 @@ _ZNSt10_HashtableIP11VkSampler_TSt4pairIKS1_19VkSamplerCreateInfoESaIS5_ENSt8__d # Num Counters: 6 # Counter Values: -22 -134 -122 +26 +130 +118 24 12 0 @@ -325593,11 +327200,11 @@ _ZNSt10_HashtableIP13VkImageView_TSt4pairIKS1_N3gpu10ViewRecordEESaIS6_ENSt8__de # Num Counters: 6 # Counter Values: -57063 +62196 120 120 -64275 -64263 +58904 +58892 0 _ZNSt10_HashtableIP13VkImageView_TSt4pairIKS1_N3gpu10ViewRecordEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEE5eraseERS3_ @@ -325606,8 +327213,8 @@ _ZNSt10_HashtableIP13VkImageView_TSt4pairIKS1_N3gpu10ViewRecordEESaIS6_ENSt8__de # Num Counters: 3 # Counter Values: -49910 -47733 +49356 +47177 0 _ZNSt10_HashtableIP13VkImageView_TSt4pairIKS1_N3gpu10ViewRecordEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEE8_M_eraseEyPNS8_15_Hash_node_baseEPNS8_10_Hash_nodeIS6_Lb0EEE @@ -325616,12 +327223,12 @@ _ZNSt10_HashtableIP13VkImageView_TSt4pairIKS1_N3gpu10ViewRecordEESaIS6_ENSt8__de # Num Counters: 6 # Counter Values: -12490 -12483 -35231 -10158 -12 -24875 +12956 +12946 +34208 +10329 +13 +23349 _ZNSt10_HashtableIP13VkImageView_TSt4pairIKS1_N3gpu10ViewRecordEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE # Func Hash: @@ -325629,9 +327236,9 @@ _ZNSt10_HashtableIP13VkImageView_TSt4pairIKS1_N3gpu10ViewRecordEESaIS6_ENSt8__de # Num Counters: 6 # Counter Values: -27498 -87450 -87342 +26629 +88319 +88211 120 108 0 @@ -325653,11 +327260,11 @@ _ZNSt10_HashtableIP13VkImageView_TSt4pairIKS1_St6vectorIySaIyEEESaIS7_ENSt8__det # Num Counters: 6 # Counter Values: -17663 +18536 96 96 -21941 -21929 +21112 +21100 0 _ZNSt10_HashtableIP13VkImageView_TSt4pairIKS1_St6vectorIySaIyEEESaIS7_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb0ELb0ELb1EEEE5clearEv @@ -325678,13 +327285,13 @@ _ZNSt10_HashtableIP13VkImageView_TSt4pairIKS1_St6vectorIySaIyEEESaIS7_ENSt8__det # Num Counters: 7 # Counter Values: -3305 -16222 -3298 -12908 -2797 -9 -9706 +3222 +16235 +3214 +12999 +2674 +14 +9459 _ZNSt10_HashtableIP13VkImageView_TSt4pairIKS1_St6vectorIySaIyEEESaIS7_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE # Func Hash: @@ -325692,9 +327299,9 @@ _ZNSt10_HashtableIP13VkImageView_TSt4pairIKS1_St6vectorIySaIyEEESaIS7_ENSt8__det # Num Counters: 6 # Counter Values: -5063 -20557 -20473 +4414 +21206 +21122 96 84 0 @@ -326494,11 +328101,11 @@ _ZNSt10_HashtableIjSt4pairIKjjESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4 # Num Counters: 6 # Counter Values: -3296880 -293244 -293183 -28513757 -28466913 +3302573 +293633 +293554 +28530149 +28486917 0 _ZNSt10_HashtableIjSt4pairIKjjESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE @@ -326507,11 +328114,11 @@ _ZNSt10_HashtableIjSt4pairIKjjESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4 # Num Counters: 6 # Counter Values: -650460 -86646191 -86189324 -562772 -457785 +650248 +86762657 +86304881 +563543 +458389 0 # Num Value Kinds: 1 @@ -326520,10 +328127,10 @@ _ZNSt10_HashtableIjSt4pairIKjjESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4 # NumValueSites: 1 4 -513:287557 -65:104881 -129:85168 -257:85050 +513:287937 +65:105029 +129:85275 +257:85164 _ZNSt10_HashtableIjSt4pairIKjyESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE15_M_emplace_uniqIJRS1_RKyEEES0_INS4_14_Node_iteratorIS2_Lb0ELb0EEEbEDpOT_ # Func Hash: @@ -326531,7 +328138,7 @@ _ZNSt10_HashtableIjSt4pairIKjyESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4 # Num Counters: 7 # Counter Values: -27348 +27490 192 192 0 @@ -326545,11 +328152,11 @@ _ZNSt10_HashtableIjSt4pairIKjyESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4 # Num Counters: 6 # Counter Values: -78 +63 24 24 -114 -102 +129 +117 0 _ZNSt10_HashtableIjSt4pairIKjyESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE @@ -326558,9 +328165,9 @@ _ZNSt10_HashtableIjSt4pairIKjyESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4 # Num Counters: 6 # Counter Values: -28 -128 -116 +24 +132 +120 24 12 0 @@ -326580,9 +328187,9 @@ _ZNSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_M # Num Counters: 7 # Counter Values: -716758 -3072250 -3072445 +717950 +3075473 +3075618 0 0 0 @@ -326594,11 +328201,11 @@ _ZNSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_M # Num Counters: 6 # Counter Values: -200955 -570283 -570258 -2871573 -2363585 +201681 +571097 +571087 +2874053 +2365398 0 _ZNSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE @@ -326607,11 +328214,11 @@ _ZNSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_M # Num Counters: 6 # Counter Values: -167630 -2551837 -2448914 -822311 -102923 +167376 +2553216 +2450158 +823313 +103057 0 # Num Value Kinds: 1 @@ -326620,10 +328227,10 @@ _ZNSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_M # NumValueSites: 1 4 -65:700596 -129:68331 -513:30803 -257:22623 +65:701439 +129:68500 +513:30824 +257:22584 _ZNSt10_HashtableIySt4pairIKy11GxYebisDrawESaIS3_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEyyPNS5_10_Hash_nodeIS3_Lb0EEEy # Func Hash: @@ -326631,11 +328238,11 @@ _ZNSt10_HashtableIySt4pairIKy11GxYebisDrawESaIS3_ENSt8__detail10_Select1stESt8eq # Num Counters: 6 # Counter Values: -13323 +14329 48 48 -7068280 -6904588 +7199213 +7032878 0 _ZNSt10_HashtableIySt4pairIKy11GxYebisDrawESaIS3_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE8_M_eraseEyPNS5_15_Hash_node_baseEPNS5_10_Hash_nodeIS3_Lb0EEE @@ -326644,12 +328251,12 @@ _ZNSt10_HashtableIySt4pairIKy11GxYebisDrawESaIS3_ENSt8__detail10_Select1stESt8eq # Num Counters: 6 # Counter Values: -13106 -12504 -7655 -12504 -7060521 -7570 +14074 +13427 +8615 +13427 +7190466 +8465 _ZNSt10_HashtableIySt4pairIKy11GxYebisDrawESaIS3_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE # Func Hash: @@ -326657,9 +328264,9 @@ _ZNSt10_HashtableIySt4pairIKy11GxYebisDrawESaIS3_ENSt8__detail10_Select1stESt8eq # Num Counters: 6 # Counter Values: -88 -1124 -1088 +183 +1029 +993 48 36 0 @@ -326681,11 +328288,11 @@ _ZNSt10_HashtableIySt4pairIKy12GpuClearViewESaIS3_ENSt8__detail10_Select1stESt8e # Num Counters: 6 # Counter Values: -993958 -52 -52 -4177328 -3922994 +1136145 +50 +50 +4143930 +3889837 0 _ZNSt10_HashtableIySt4pairIKy12GpuClearViewESaIS3_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE5eraseERS1_ @@ -326704,12 +328311,12 @@ _ZNSt10_HashtableIySt4pairIKy12GpuClearViewESaIS3_ENSt8__detail10_Select1stESt8e # Num Counters: 6 # Counter Values: -852055 -782271 -3308832 -747013 -1009872 -3167254 +970456 +902676 +3367166 +857112 +941920 +3201855 _ZNSt10_HashtableIySt4pairIKy12GpuClearViewESaIS3_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE # Func Hash: @@ -326717,11 +328324,11 @@ _ZNSt10_HashtableIySt4pairIKy12GpuClearViewESaIS3_ENSt8__detail10_Select1stESt8e # Num Counters: 6 # Counter Values: -260 -1460 -1420 -52 -40 +214 +1252 +1214 +50 +38 0 # Num Value Kinds: 1 @@ -326730,7 +328337,7 @@ _ZNSt10_HashtableIySt4pairIKy12GpuClearViewESaIS3_ENSt8__detail10_Select1stESt8e # NumValueSites: 1 4 -513:16 +513:14 65:12 129:12 257:12 @@ -326741,11 +328348,11 @@ _ZNSt10_HashtableIySt4pairIKy12GpuImageCopyESaIS3_ENSt8__detail10_Select1stESt8e # Num Counters: 6 # Counter Values: -127715 -36 -36 -640043 -618391 +132477 +34 +34 +658786 +636681 0 _ZNSt10_HashtableIySt4pairIKy12GpuImageCopyESaIS3_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE8_M_eraseEyPNS5_15_Hash_node_baseEPNS5_10_Hash_nodeIS3_Lb0EEE @@ -326754,12 +328361,12 @@ _ZNSt10_HashtableIySt4pairIKy12GpuImageCopyESaIS3_ENSt8__detail10_Select1stESt8e # Num Counters: 6 # Counter Values: -101173 -81452 -325454 -77168 -341001 -299022 +104541 +82619 +325906 +78318 +360680 +298070 _ZNSt10_HashtableIySt4pairIKy12GpuImageCopyESaIS3_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE # Func Hash: @@ -326767,11 +328374,11 @@ _ZNSt10_HashtableIySt4pairIKy12GpuImageCopyESaIS3_ENSt8__detail10_Select1stESt8e # Num Counters: 6 # Counter Values: -65 -439 -415 -36 -24 +48 +398 +376 +34 +22 0 # Num Value Kinds: 1 @@ -326782,7 +328389,7 @@ _ZNSt10_HashtableIySt4pairIKy12GpuImageCopyESaIS3_ENSt8__detail10_Select1stESt8e 3 65:12 129:12 -257:12 +257:10 _ZNSt10_HashtableIySt4pairIKy12NativeShadowESaIS3_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEyyPNS5_10_Hash_nodeIS3_Lb0EEEy # Func Hash: @@ -326836,11 +328443,11 @@ _ZNSt10_HashtableIySt4pairIKy13GpuDrawInputsESaIS3_ENSt8__detail10_Select1stESt8 # Num Counters: 6 # Counter Values: -13323 +14329 48 48 -7068280 -6904588 +7199213 +7032878 0 _ZNSt10_HashtableIySt4pairIKy13GpuDrawInputsESaIS3_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE8_M_eraseEyPNS5_15_Hash_node_baseEPNS5_10_Hash_nodeIS3_Lb0EEE @@ -326849,12 +328456,12 @@ _ZNSt10_HashtableIySt4pairIKy13GpuDrawInputsESaIS3_ENSt8__detail10_Select1stESt8 # Num Counters: 6 # Counter Values: -13106 -12504 -7655 -12504 -7060521 -7570 +14074 +13427 +8615 +13427 +7190466 +8465 _ZNSt10_HashtableIySt4pairIKy13GpuDrawInputsESaIS3_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE # Func Hash: @@ -326862,9 +328469,9 @@ _ZNSt10_HashtableIySt4pairIKy13GpuDrawInputsESaIS3_ENSt8__detail10_Select1stESt8 # Num Counters: 6 # Counter Values: -88 -1124 -1088 +183 +1029 +993 48 36 0 @@ -326886,11 +328493,11 @@ _ZNSt10_HashtableIySt4pairIKyN10yebis_bind4WorkEESaIS4_ENSt8__detail10_Select1st # Num Counters: 6 # Counter Values: -13323 +14329 48 48 -7068280 -6904588 +7199213 +7032878 0 _ZNSt10_HashtableIySt4pairIKyN10yebis_bind4WorkEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE8_M_eraseEyPNS6_15_Hash_node_baseEPNS6_10_Hash_nodeIS4_Lb0EEE @@ -326899,12 +328506,12 @@ _ZNSt10_HashtableIySt4pairIKyN10yebis_bind4WorkEESaIS4_ENSt8__detail10_Select1st # Num Counters: 6 # Counter Values: -13106 -12504 -7655 -12504 -7060521 -7570 +14074 +13427 +8615 +13427 +7190466 +8465 _ZNSt10_HashtableIySt4pairIKyN10yebis_bind4WorkEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE # Func Hash: @@ -326912,9 +328519,9 @@ _ZNSt10_HashtableIySt4pairIKyN10yebis_bind4WorkEESaIS4_ENSt8__detail10_Select1st # Num Counters: 6 # Counter Values: -88 -1124 -1088 +183 +1029 +993 48 36 0 @@ -326950,11 +328557,11 @@ _ZNSt10_HashtableIySt4pairIKyN3gcn15TranslateResultEESaIS4_ENSt8__detail10_Selec # Num Counters: 6 # Counter Values: -18558 +18549 180 180 -18113 -18089 +18118 +18094 0 _ZNSt10_HashtableIySt4pairIKyN3gcn15TranslateResultEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE8_M_eraseEyPNS6_15_Hash_node_baseEPNS6_10_Hash_nodeIS4_Lb0EEE @@ -326963,12 +328570,12 @@ _ZNSt10_HashtableIySt4pairIKyN3gcn15TranslateResultEESaIS4_ENSt8__detail10_Selec # Num Counters: 6 # Counter Values: -842 -842 -2636 -658 -1 -2053 +852 +851 +2623 +671 +0 +2051 _ZNSt10_HashtableIySt4pairIKyN3gcn15TranslateResultEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE # Func Hash: @@ -326976,9 +328583,9 @@ _ZNSt10_HashtableIySt4pairIKyN3gcn15TranslateResultEESaIS4_ENSt8__detail10_Selec # Num Counters: 6 # Counter Values: -12469 -47255 -47099 +12467 +47257 +47101 180 156 0 @@ -327010,11 +328617,11 @@ _ZNSt10_HashtableIySt4pairIKyN3gpu14ViewClearImageEESaIS4_ENSt8__detail10_Select # Num Counters: 6 # Counter Values: -131 +129 24 24 -152 -140 +159 +147 0 _ZNSt10_HashtableIySt4pairIKyN3gpu14ViewClearImageEESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE @@ -327023,9 +328630,9 @@ _ZNSt10_HashtableIySt4pairIKyN3gpu14ViewClearImageEESaIS4_ENSt8__detail10_Select # Num Counters: 6 # Counter Values: -34 -122 -110 +37 +119 +107 24 12 0 @@ -327149,11 +328756,11 @@ _ZNSt10_HashtableIySt4pairIKyP12VkPipeline_TESaIS4_ENSt8__detail10_Select1stESt8 # Num Counters: 6 # Counter Values: -29128 +29310 108 108 -28106 -28094 +27929 +27917 0 _ZNSt10_HashtableIySt4pairIKyP12VkPipeline_TESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE @@ -327162,9 +328769,9 @@ _ZNSt10_HashtableIySt4pairIKyP12VkPipeline_TESaIS4_ENSt8__detail10_Select1stESt8 # Num Counters: 6 # Counter Values: -10880 -43024 -42928 +10709 +43195 +43099 108 96 0 @@ -327248,11 +328855,11 @@ _ZNSt10_HashtableIySt4pairIKyP18VkPipelineLayout_TESaIS4_ENSt8__detail10_Select1 # Num Counters: 6 # Counter Values: -3 +4 12 12 -45 -33 +44 +32 0 _ZNSt10_HashtableIySt4pairIKyP18VkPipelineLayout_TESaIS4_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE @@ -327741,7 +329348,7 @@ _ZNSt10_HashtableIySt4pairIKybESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4 # Num Counters: 7 # Counter Values: -23477 +23464 16380 16380 0 @@ -327755,11 +329362,11 @@ _ZNSt10_HashtableIySt4pairIKybESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4 # Num Counters: 6 # Counter Values: -8003 +7989 96 96 -8377 -8365 +8391 +8379 0 _ZNSt10_HashtableIySt4pairIKybESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE @@ -327768,9 +329375,9 @@ _ZNSt10_HashtableIySt4pairIKybESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4 # Num Counters: 6 # Counter Values: -4990 -20630 -20546 +4997 +20623 +20539 96 84 0 @@ -327792,7 +329399,7 @@ _ZNSt10_HashtableIySt4pairIKycESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4 # Num Counters: 7 # Counter Values: -157384 +156588 1047 1047 0 @@ -327806,11 +329413,11 @@ _ZNSt10_HashtableIySt4pairIKycESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4 # Num Counters: 6 # Counter Values: -465 +468 48 48 -582 -570 +579 +567 0 _ZNSt10_HashtableIySt4pairIKycESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE @@ -327819,9 +329426,9 @@ _ZNSt10_HashtableIySt4pairIKycESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4 # Num Counters: 6 # Counter Values: -154 -1058 -1022 +141 +1071 +1035 48 36 0 @@ -327889,11 +329496,11 @@ _ZNSt10_HashtableIySt4pairIKyjESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4 # Num Counters: 6 # Counter Values: -853747 +879174 220 220 -4319821 -4199823 +4280909 +4161638 0 _ZNSt10_HashtableIySt4pairIKyjESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE8_M_eraseEyPNS4_15_Hash_node_baseEPNS4_10_Hash_nodeIS2_Lb0EEE @@ -327902,12 +329509,12 @@ _ZNSt10_HashtableIySt4pairIKyjESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4 # Num Counters: 6 # Counter Values: -1262 -1257 -5779 -1021 -6 -3819 +1361 +1357 +5660 +1122 +11 +3787 _ZNSt10_HashtableIySt4pairIKyjESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE # Func Hash: @@ -327915,9 +329522,9 @@ _ZNSt10_HashtableIySt4pairIKyjESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4 # Num Counters: 6 # Counter Values: -8092 -30850 -30664 +8044 +30898 +30712 220 186 0 @@ -327953,11 +329560,11 @@ _ZNSt10_HashtableIySt4pairIKyyESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4 # Num Counters: 6 # Counter Values: -4310732 -184 -184 -15921262 -15657873 +4268391 +182 +182 +15852344 +15590356 0 _ZNSt10_HashtableIySt4pairIKyyESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE5eraseERS1_ @@ -327978,10 +329585,10 @@ _ZNSt10_HashtableIySt4pairIKyyESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4 # Counter Values: 12 12 -37 +38 12 0 -27 +28 _ZNSt10_HashtableIySt4pairIKyyESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4hashIyENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE # Func Hash: @@ -327989,11 +329596,11 @@ _ZNSt10_HashtableIySt4pairIKyyESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4 # Num Counters: 6 # Counter Values: -899 -5723 -5587 -184 -136 +897 +5585 +5451 +182 +134 0 # Num Value Kinds: 1 @@ -328002,9 +329609,9 @@ _ZNSt10_HashtableIySt4pairIKyyESaIS2_ENSt8__detail10_Select1stESt8equal_toIyESt4 # NumValueSites: 1 4 -513:59 +513:58 65:48 -129:41 +129:40 257:36 _ZNSt10_HashtableIyySaIyENSt8__detail9_IdentityESt8equal_toIyESt4hashIyENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE15_M_emplace_uniqIJRKyEEESt4pairINS1_14_Node_iteratorIyLb1ELb0EEEbEDpOT_ @@ -328013,9 +329620,9 @@ _ZNSt10_HashtableIyySaIyENSt8__detail9_IdentityESt8equal_toIyESt4hashIyENS1_18_M # Num Counters: 7 # Counter Values: -11696402 -103568 -103563 +11677761 +103602 +103597 0 0 0 @@ -328028,8 +329635,8 @@ _ZNSt10_HashtableIyySaIyENSt8__detail9_IdentityESt8equal_toIyESt4hashIyENS1_18_M 7 # Counter Values: 0 -20228722 -20228722 +20117487 +20117487 0 0 0 @@ -328041,11 +329648,11 @@ _ZNSt10_HashtableIyySaIyENSt8__detail9_IdentityESt8equal_toIyESt4hashIyENS1_18_M # Num Counters: 6 # Counter Values: -3639106 +3618906 321 321 -16693182 -15915810 +16602180 +15827655 0 _ZNSt10_HashtableIyySaIyENSt8__detail9_IdentityESt8equal_toIyESt4hashIyENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE5eraseERKy @@ -328054,8 +329661,8 @@ _ZNSt10_HashtableIyySaIyENSt8__detail9_IdentityESt8equal_toIyESt4hashIyENS1_18_M # Num Counters: 3 # Counter Values: -57234 -57234 +57239 +57239 0 _ZNSt10_HashtableIyySaIyENSt8__detail9_IdentityESt8equal_toIyESt4hashIyENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE8_M_eraseEyPNS1_15_Hash_node_baseEPNS1_10_Hash_nodeIyLb0EEE @@ -328064,12 +329671,12 @@ _ZNSt10_HashtableIyySaIyENSt8__detail9_IdentityESt8equal_toIyESt4hashIyENS1_18_M # Num Counters: 6 # Counter Values: -4115 -810 -12380 -733 -40739 -11185 +4255 +774 +12356 +710 +40628 +11151 _ZNSt10_HashtableIyySaIyENSt8__detail9_IdentityESt8equal_toIyESt4hashIyENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE9_M_rehashEySt17integral_constantIbLb1EE # Func Hash: @@ -328077,9 +329684,9 @@ _ZNSt10_HashtableIyySaIyENSt8__detail9_IdentityESt8equal_toIyESt4hashIyENS1_18_M # Num Counters: 6 # Counter Values: -11144 -42955 -42718 +11150 +42949 +42712 321 237 0 @@ -328102,14 +329709,14 @@ _ZNSt10filesystem7__cxx114path10_S_convertIcEEDaPKT_S5_ 9 # Counter Values: 0 -36991 -36991 +37800 +37800 0 0 0 0 0 -36991 +37800 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -328140,7 +329747,7 @@ _ZNSt10filesystem7__cxx114path14_S_str_convertIcSt11char_traitsIcESaIcEEENSt7__c # Num Counters: 9 # Counter Values: -4670 +4822 0 0 60 @@ -328148,7 +329755,7 @@ _ZNSt10filesystem7__cxx114path14_S_str_convertIcSt11char_traitsIcESaIcEEENSt7__c 0 0 0 -4730 +4882 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -328204,7 +329811,7 @@ _ZNSt10filesystem7__cxx114pathC2EOS1_ # Num Counters: 3 # Counter Values: -199 +201 0 0 # Num Value Kinds: @@ -328221,7 +329828,7 @@ _ZNSt10filesystem7__cxx114pathC2ERKS1_ # Num Counters: 3 # Counter Values: -8813 +9085 0 0 @@ -328519,7 +330126,7 @@ _ZNSt10filesystem7__cxx114pathC2INSt7__cxx1112basic_stringIcSt11char_traitsIcESa # Num Counters: 5 # Counter Values: -33215 +33896 0 0 0 @@ -328568,9 +330175,9 @@ _ZNSt10filesystem7__cxx114pathD2Ev # Num Counters: 3 # Counter Values: -47466 -46751 -715 +48595 +47878 +717 _ZNSt10filesystem7__cxx118__detail24__throw_conversion_errorEv # Func Hash: @@ -328591,7 +330198,7 @@ _ZNSt10filesystem7__cxx11dvERKNS0_4pathES3_ # Num Counters: 2 # Counter Values: -6471 +6695 0 _ZNSt11_Deque_baseI12HostSettingsSaIS0_EE15_M_create_nodesEPPS0_S4_ @@ -328702,9 +330309,9 @@ _ZNSt11_Deque_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE1 # Num Counters: 6 # Counter Values: -376775 +380734 0 -376775 +380734 0 0 0 @@ -328715,7 +330322,7 @@ _ZNSt11_Deque_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE1 # Num Counters: 4 # Counter Values: -376775 +380734 0 0 0 @@ -328726,9 +330333,9 @@ _ZNSt11_Deque_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED # Num Counters: 3 # Counter Values: -376739 -376739 -376739 +380698 +380698 +380698 _ZNSt11_Deque_baseISt4pairIjyESaIS1_EE15_M_create_nodesEPPS1_S5_ # Func Hash: @@ -328804,9 +330411,9 @@ _ZNSt11_Deque_baseISt6vectorIhSaIhEESaIS2_EE15_M_create_nodesEPPS2_S6_ # Num Counters: 6 # Counter Values: -9567860 +9678964 0 -9567893 +9679203 0 0 0 @@ -328817,7 +330424,7 @@ _ZNSt11_Deque_baseISt6vectorIhSaIhEESaIS2_EE17_M_initialize_mapEy # Num Counters: 4 # Counter Values: -9568192 +9679369 0 0 0 @@ -328828,8 +330435,8 @@ _ZNSt11_Deque_baseISt6vectorIhSaIhEESaIS2_EEC2EOS4_ # Num Counters: 2 # Counter Values: -3189577 -3189577 +3226658 +3226658 _ZNSt11_Deque_baseISt6vectorIhSaIhEESaIS2_EED2Ev # Func Hash: @@ -328837,9 +330444,9 @@ _ZNSt11_Deque_baseISt6vectorIhSaIhEESaIS2_EED2Ev # Num Counters: 3 # Counter Values: -9710934 -9568580 -9568580 +9821272 +9679792 +9679792 _ZNSt11_Deque_baseIiSaIiEE15_M_create_nodesEPPiS3_ # Func Hash: @@ -328929,7 +330536,7 @@ _ZNSt11unique_lockI8GpuMutexE4lockEv # Num Counters: 3 # Counter Values: -96359722 +95070306 0 0 @@ -328939,8 +330546,8 @@ _ZNSt11unique_lockI8HostLockE4lockEv # Num Counters: 4 # Counter Values: -160659450 -27856045 +161560044 +26941049 0 0 @@ -328950,7 +330557,7 @@ _ZNSt11unique_lockISt5mutexE4lockEv # Num Counters: 4 # Counter Values: -14568563 +14652515 0 0 0 @@ -329000,8 +330607,8 @@ _ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2I14GxStageRecordsSaIvEJEEE # Num Counters: 2 # Counter Values: -1196008 -598043 +1194074 +597068 _ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEC2IKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIvEJRPKcRKyEEERPT_St20_Sp_alloc_shared_tagIT0_EDpOT1_ # Func Hash: @@ -329061,9 +330668,9 @@ _ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev # Num Counters: 4 # Counter Values: -22442188 -1050255 -933349 +22974533 +1051854 +935027 0 # Num Value Kinds: 1 @@ -329072,30 +330679,30 @@ _ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev # NumValueSites: 2 12 -_ZNSt23_Sp_counted_ptr_inplaceI14GxStageRecordsSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:598000 -_ZNSt23_Sp_counted_ptr_inplaceIN10yebis_bind4WorkESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:174404 -@SRC@/src/host/textures.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_113PendingUploadESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:93755 -@SRC@/src/host/textures.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_111TexturePrepESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:47657 -_ZNSt23_Sp_counted_ptr_inplaceIN3gcn16ShaderReflectionESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:13199 -@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_114PipelineRecipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:4314 -@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_111CachedStageESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:1819 +_ZNSt23_Sp_counted_ptr_inplaceI14GxStageRecordsSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:597020 +_ZNSt23_Sp_counted_ptr_inplaceIN10yebis_bind4WorkESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:177612 +@SRC@/src/host/textures.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_113PendingUploadESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:93756 +@SRC@/src/host/textures.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_111TexturePrepESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:47170 +_ZNSt23_Sp_counted_ptr_inplaceIN3gcn16ShaderReflectionESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:13174 +@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_114PipelineRecipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:4275 +@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_111CachedStageESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:1823 @SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_113ComputeRecipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:96 @SRC@/src/hle/ajm.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN12_GLOBAL__N_18At9StateESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:47 ** External Symbol **:36 -@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN12_GLOBAL__N_16LsPipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:13 _ZNSt23_Sp_counted_ptr_inplaceIN3gpu11ComputeLeanESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:12 -12 -_ZNSt23_Sp_counted_ptr_inplaceI14GxStageRecordsSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:598000 -_ZNSt23_Sp_counted_ptr_inplaceIN10yebis_bind4WorkESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:174404 -@SRC@/src/host/textures.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_113PendingUploadESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:93755 -@SRC@/src/host/textures.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_111TexturePrepESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:47657 -_ZNSt23_Sp_counted_ptr_inplaceIN3gcn16ShaderReflectionESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:13198 -@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_114PipelineRecipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:4313 -@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_111CachedStageESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:1819 +@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN12_GLOBAL__N_16LsPipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:12 +12 +_ZNSt23_Sp_counted_ptr_inplaceI14GxStageRecordsSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:597020 +_ZNSt23_Sp_counted_ptr_inplaceIN10yebis_bind4WorkESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:177612 +@SRC@/src/host/textures.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_113PendingUploadESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:93756 +@SRC@/src/host/textures.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_111TexturePrepESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:47170 +_ZNSt23_Sp_counted_ptr_inplaceIN3gcn16ShaderReflectionESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:13172 +@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_114PipelineRecipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:4274 +@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_111CachedStageESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:1823 @SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_113ComputeRecipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:96 @SRC@/src/hle/ajm.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN12_GLOBAL__N_18At9StateESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:47 ** External Symbol **:36 -@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN12_GLOBAL__N_16LsPipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:13 +@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN12_GLOBAL__N_16LsPipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:12 _ZNSt23_Sp_counted_ptr_inplaceIN3gpu11ComputeLeanESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:12 _ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEaSERKS2_ @@ -329104,11 +330711,11 @@ _ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEaSERKS2_ # Num Counters: 7 # Counter Values: -245510 -241771 -241771 +245112 +241468 +241468 0 -5311 +5312 0 0 # Num Value Kinds: @@ -329118,9 +330725,9 @@ _ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEaSERKS2_ # NumValueSites: 2 1 -@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_114PipelineRecipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:5311 +@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_114PipelineRecipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv:5312 1 -@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_114PipelineRecipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:5311 +@SRC@/src/host/render.cpp;_ZNSt23_Sp_counted_ptr_inplaceIN3gpu12_GLOBAL__N_114PipelineRecipeESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv:5312 _ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode # Func Hash: @@ -329252,9 +330859,9 @@ _ZNSt15_Deque_iteratorIN3gpu9TexUpdateERS1_PS1_EmIEx # Num Counters: 3 # Counter Values: -97 +98 0 -59 +55 _ZNSt15_Rb_tree_headerC2EOS_ # Func Hash: @@ -329262,8 +330869,8 @@ _ZNSt15_Rb_tree_headerC2EOS_ # Num Counters: 2 # Counter Values: -72337 -70229 +72339 +70253 _ZNSt15__new_allocatorI10ConfigEditE8allocateEyPKv # Func Hash: @@ -329331,7 +330938,7 @@ _ZNSt15__new_allocatorI11VkImageCopyE8allocateEyPKv # Num Counters: 3 # Counter Values: -21372 +25332 0 0 @@ -329381,7 +330988,7 @@ _ZNSt15__new_allocatorI13MemOwnerTotalE8allocateEyPKv # Num Counters: 3 # Counter Values: -228 +231 0 0 @@ -329411,7 +331018,7 @@ _ZNSt15__new_allocatorI14HostThreadTimeE8allocateEyPKv # Num Counters: 3 # Counter Values: -3540 +3558 0 0 @@ -329471,7 +331078,7 @@ _ZNSt15__new_allocatorI17VkBufferImageCopyE8allocateEyPKv # Num Counters: 3 # Counter Values: -429707 +429177 0 0 @@ -329501,7 +331108,7 @@ _ZNSt15__new_allocatorI18VkSparseMemoryBindE8allocateEyPKv # Num Counters: 3 # Counter Values: -290 +294 0 0 @@ -329531,7 +331138,7 @@ _ZNSt15__new_allocatorI20VkWriteDescriptorSetE8allocateEyPKv # Num Counters: 3 # Counter Values: -2163758 +2171579 0 0 @@ -329541,7 +331148,7 @@ _ZNSt15__new_allocatorI21VkDescriptorImageInfoE8allocateEyPKv # Num Counters: 3 # Counter Values: -826457 +828705 0 0 @@ -329561,7 +331168,7 @@ _ZNSt15__new_allocatorI22VkDescriptorBufferInfoE8allocateEyPKv # Num Counters: 3 # Counter Values: -30975 +30973 0 0 @@ -329581,7 +331188,7 @@ _ZNSt15__new_allocatorI25VkRenderingAttachmentInfoE8allocateEyPKv # Num Counters: 3 # Counter Values: -15927148 +16113245 0 0 @@ -329611,7 +331218,7 @@ _ZNSt15__new_allocatorI28VkDescriptorSetLayoutBindingE8allocateEyPKv # Num Counters: 3 # Counter Values: -2473 +2478 0 0 @@ -329621,7 +331228,7 @@ _ZNSt15__new_allocatorI31VkPipelineShaderStageCreateInfoE8allocateEyPKv # Num Counters: 3 # Counter Values: -90383 +90348 0 0 @@ -329631,7 +331238,7 @@ _ZNSt15__new_allocatorI31VkVertexInputBindingDescriptionE8allocateEyPKv # Num Counters: 3 # Counter Values: -57279 +57274 0 0 @@ -329661,7 +331268,7 @@ _ZNSt15__new_allocatorI33VkVertexInputAttributeDescriptionE8allocateEyPKv # Num Counters: 3 # Counter Values: -57321 +57317 0 0 @@ -329671,7 +331278,7 @@ _ZNSt15__new_allocatorI35VkPipelineColorBlendAttachmentStateE8allocateEyPKv # Num Counters: 3 # Counter Values: -52741 +52794 0 0 @@ -329715,13 +331322,23 @@ _ZNSt15__new_allocatorI7GpuDrawE8allocateEyPKv 0 0 +_ZNSt15__new_allocatorI8ImGuiKeyE8allocateEyPKv +# Func Hash: +238984481941143025 +# Num Counters: +3 +# Counter Values: +0 +0 +0 + _ZNSt15__new_allocatorI8VkFormatE8allocateEyPKv # Func Hash: 238984481941143025 # Num Counters: 3 # Counter Values: -52738 +52795 0 0 @@ -329741,7 +331358,7 @@ _ZNSt15__new_allocatorIDsE8allocateEyPKv # Num Counters: 3 # Counter Values: -995 +993 0 0 @@ -329951,7 +331568,7 @@ _ZNSt15__new_allocatorIN3gcn11BindingNameEE8allocateEyPKv # Num Counters: 3 # Counter Values: -274616 +274371 0 0 @@ -329981,7 +331598,7 @@ _ZNSt15__new_allocatorIN3gcn12ImageBindingEE8allocateEyPKv # Num Counters: 3 # Counter Values: -90644 +90650 0 0 @@ -329991,7 +331608,7 @@ _ZNSt15__new_allocatorIN3gcn12ResourcePathEE8allocateEyPKv # Num Counters: 3 # Counter Values: -2132 +2130 0 0 @@ -330001,7 +331618,7 @@ _ZNSt15__new_allocatorIN3gcn12ResourceStepEE8allocateEyPKv # Num Counters: 3 # Counter Values: -1965 +2787 0 0 @@ -330011,7 +331628,7 @@ _ZNSt15__new_allocatorIN3gcn13BufferBindingEE8allocateEyPKv # Num Counters: 3 # Counter Values: -103385 +103383 0 0 @@ -330021,7 +331638,7 @@ _ZNSt15__new_allocatorIN3gcn13VertexElementEE8allocateEyPKv # Num Counters: 3 # Counter Values: -203406 +203395 0 0 @@ -330031,7 +331648,7 @@ _ZNSt15__new_allocatorIN3gcn14PredictedImageEE8allocateEyPKv # Num Counters: 3 # Counter Values: -16356 +16354 0 0 @@ -330041,7 +331658,7 @@ _ZNSt15__new_allocatorIN3gcn14SamplerBindingEE8allocateEyPKv # Num Counters: 3 # Counter Values: -89394 +89400 0 0 @@ -330051,7 +331668,7 @@ _ZNSt15__new_allocatorIN3gcn15TranslateResult10BufferReadEE8allocateEyPKv # Num Counters: 3 # Counter Values: -87799 +87792 0 0 @@ -330061,7 +331678,7 @@ _ZNSt15__new_allocatorIN3gcn16ReflectedElementEE8allocateEyPKv # Num Counters: 3 # Counter Values: -997844 +997004 0 0 @@ -330071,7 +331688,7 @@ _ZNSt15__new_allocatorIN3gcn16ReflectedSamplerEE8allocateEyPKv # Num Counters: 3 # Counter Values: -53642 +53578 0 0 @@ -330081,7 +331698,7 @@ _ZNSt15__new_allocatorIN3gcn17ReflectedResourceEE8allocateEyPKv # Num Counters: 3 # Counter Values: -165539 +165367 0 0 @@ -330091,7 +331708,7 @@ _ZNSt15__new_allocatorIN3gcn18ReflectedAttributeEE8allocateEyPKv # Num Counters: 3 # Counter Values: -357067 +356664 0 0 @@ -330101,7 +331718,7 @@ _ZNSt15__new_allocatorIN3gcn4InstEE8allocateEyPKv # Num Counters: 3 # Counter Values: -941852 +941219 0 0 @@ -330131,7 +331748,7 @@ _ZNSt15__new_allocatorIN3gcn9UsageSlotEE8allocateEyPKv # Num Counters: 3 # Counter Values: -177401 +177178 0 0 @@ -330161,7 +331778,7 @@ _ZNSt15__new_allocatorIN3gpu11ImageMemoryEE8allocateEyPKv # Num Counters: 3 # Counter Values: -1265 +1234 0 0 @@ -330171,7 +331788,7 @@ _ZNSt15__new_allocatorIN3gpu11RetireEntryEE8allocateEyPKv # Num Counters: 3 # Counter Values: -2145 +2213 0 0 @@ -330181,7 +331798,7 @@ _ZNSt15__new_allocatorIN3gpu11StageImages5ImageEE8allocateEyPKv # Num Counters: 3 # Counter Values: -146 +144 0 0 @@ -330211,7 +331828,7 @@ _ZNSt15__new_allocatorIN3gpu13UntileGpuPassEE8allocateEyPKv # Num Counters: 3 # Counter Values: -844042 +843464 0 0 @@ -330241,7 +331858,7 @@ _ZNSt15__new_allocatorIN3gpu3Gpu10SmallWriteEE8allocateEyPKv # Num Counters: 3 # Counter Values: -1612 +1609 0 0 @@ -330251,7 +331868,7 @@ _ZNSt15__new_allocatorIN3gpu5ChunkEE8allocateEyPKv # Num Counters: 3 # Counter Values: -130 +143 0 0 @@ -330291,7 +331908,7 @@ _ZNSt15__new_allocatorIN3gpu9DevBufferEE8allocateEyPKv # Num Counters: 3 # Counter Values: -1023 +1035 0 0 @@ -330301,7 +331918,7 @@ _ZNSt15__new_allocatorIN3gpu9TexUpdateEE8allocateEyPKv # Num Counters: 3 # Counter Values: -437 +431 0 0 @@ -330331,7 +331948,7 @@ _ZNSt15__new_allocatorIN3spv6Module5InstrEE8allocateEyPKv # Num Counters: 3 # Counter Values: -3528 +3744 0 0 @@ -330381,7 +331998,7 @@ _ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8all # Num Counters: 3 # Counter Values: -1051524 +1053269 0 0 @@ -330421,7 +332038,7 @@ _ZNSt15__new_allocatorIP11VkSampler_TE8allocateEyPKv # Num Counters: 3 # Counter Values: -104 +98 0 0 @@ -330451,7 +332068,7 @@ _ZNSt15__new_allocatorIP13VkImageView_TE8allocateEyPKv # Num Counters: 3 # Counter Values: -1565 +1527 0 0 @@ -330471,7 +332088,7 @@ _ZNSt15__new_allocatorIP16VkDeviceMemory_TE8allocateEyPKv # Num Counters: 3 # Counter Values: -79 +83 0 0 @@ -330481,7 +332098,7 @@ _ZNSt15__new_allocatorIP17VkDescriptorSet_TE8allocateEyPKv # Num Counters: 3 # Counter Values: -1317553 +1330183 0 0 @@ -330511,7 +332128,7 @@ _ZNSt15__new_allocatorIP9HostEventE8allocateEyPKv # Num Counters: 3 # Counter Values: -63 +59 0 0 @@ -330521,7 +332138,7 @@ _ZNSt15__new_allocatorIP9VkImage_TE8allocateEyPKv # Num Counters: 3 # Counter Values: -1265 +1234 0 0 @@ -330561,7 +332178,7 @@ _ZNSt15__new_allocatorIPKcE8allocateEyPKv # Num Counters: 3 # Counter Values: -2364 +2352 0 0 @@ -330621,7 +332238,7 @@ _ZNSt15__new_allocatorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8al # Num Counters: 3 # Counter Values: -376835 +380794 0 0 @@ -330631,7 +332248,7 @@ _ZNSt15__new_allocatorIPNSt8__detail15_Hash_node_baseEE8allocateEyPKv # Num Counters: 3 # Counter Values: -2262060 +2264060 0 0 @@ -330661,7 +332278,7 @@ _ZNSt15__new_allocatorIPSt6vectorIhSaIhEEE8allocateEyPKv # Num Counters: 3 # Counter Values: -9568210 +9679322 0 0 @@ -330711,7 +332328,7 @@ _ZNSt15__new_allocatorISt10unique_ptrIA_hSt14default_deleteIS1_EEE8allocateEyPKv # Num Counters: 3 # Counter Values: -0 +3 0 0 @@ -330841,7 +332458,7 @@ _ZNSt15__new_allocatorISt4pairIP18VkDescriptorPool_TP17VkDescriptorSet_TEE8alloc # Num Counters: 3 # Counter Values: -959 +971 0 0 @@ -330871,7 +332488,7 @@ _ZNSt15__new_allocatorISt4pairIPKvyEE8allocateEyS2_ # Num Counters: 3 # Counter Values: -26004975 +26290145 0 0 @@ -330971,7 +332588,7 @@ _ZNSt15__new_allocatorISt4pairIdiEE8allocateEyPKv # Num Counters: 3 # Counter Values: -138 +140 0 0 @@ -331001,7 +332618,7 @@ _ZNSt15__new_allocatorISt4pairIiyEE8allocateEyPKv # Num Counters: 3 # Counter Values: -436 +437 0 0 @@ -331051,7 +332668,7 @@ _ZNSt15__new_allocatorISt4pairIjbEE8allocateEyPKv # Num Counters: 3 # Counter Values: -1448646 +1454045 0 0 @@ -331081,7 +332698,7 @@ _ZNSt15__new_allocatorISt4pairIjyEE8allocateEyPKv # Num Counters: 3 # Counter Values: -65021 +65154 0 0 @@ -331161,7 +332778,7 @@ _ZNSt15__new_allocatorISt4pairIyjEE8allocateEyPKv # Num Counters: 3 # Counter Values: -3468 +3504 0 0 @@ -331171,7 +332788,7 @@ _ZNSt15__new_allocatorISt4pairIyyEE8allocateEyPKv # Num Counters: 3 # Counter Values: -13718 +14180 0 0 @@ -331211,7 +332828,7 @@ _ZNSt15__new_allocatorISt5arrayIyLy6EEE8allocateEyPKv # Num Counters: 3 # Counter Values: -411 +421 0 0 @@ -331291,7 +332908,7 @@ _ZNSt15__new_allocatorISt6vectorIjSaIjEEE8allocateEyPKv # Num Counters: 3 # Counter Values: -128152 +128362 0 0 @@ -331361,7 +332978,7 @@ _ZNSt15__new_allocatorIdE8allocateEyPKv # Num Counters: 3 # Counter Values: -5714 +5743 0 0 @@ -331371,7 +332988,7 @@ _ZNSt15__new_allocatorIfE8allocateEyPKv # Num Counters: 3 # Counter Values: -18260 +18265 0 0 @@ -331381,7 +332998,7 @@ _ZNSt15__new_allocatorIiE8allocateEyPKv # Num Counters: 3 # Counter Values: -77638 +77686 0 0 @@ -331391,7 +333008,7 @@ _ZNSt15__new_allocatorIjE8allocateEyPKv # Num Counters: 3 # Counter Values: -46614610 +46882941 0 0 @@ -331411,7 +333028,7 @@ _ZNSt15__new_allocatorImE8allocateEyPKv # Num Counters: 3 # Counter Values: -206352 +206643 0 0 @@ -331421,7 +333038,7 @@ _ZNSt15__new_allocatorIsE8allocateEyPKv # Num Counters: 3 # Counter Values: -334 +333 0 0 @@ -331431,7 +333048,7 @@ _ZNSt15__new_allocatorItE8allocateEyPKv # Num Counters: 3 # Counter Values: -38339 +38785 0 0 @@ -331441,7 +333058,7 @@ _ZNSt15__new_allocatorIwE8allocateEyPKv # Num Counters: 3 # Counter Values: -145771 +150546 0 0 @@ -331461,7 +333078,7 @@ _ZNSt15__new_allocatorIyE8allocateEyPKv # Num Counters: 3 # Counter Values: -2345447 +2368655 0 0 @@ -331471,8 +333088,8 @@ _ZNSt15__uniq_ptr_implIN3gpu5ChunkESt14default_deleteIS1_EEaSEOS4_ # Num Counters: 3 # Counter Values: -372 -163 +401 +172 0 _ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv @@ -331657,8 +333274,8 @@ _ZNSt18condition_variable10wait_untilINSt6chrono3_V212steady_clockENS1_8duration # Num Counters: 2 # Counter Values: -546965 -192806 +579679 +207525 _ZNSt18condition_variable17__wait_until_implINSt6chrono8durationIxSt5ratioILx1ELx1000000000EEEEEESt9cv_statusRSt11unique_lockISt5mutexERKNS1_10time_pointINS1_3_V212system_clockET_EE # Func Hash: @@ -331666,7 +333283,7 @@ _ZNSt18condition_variable17__wait_until_implINSt6chrono8durationIxSt5ratioILx1EL # Num Counters: 2 # Counter Values: -546964 +579679 0 _ZNSt18condition_variable8wait_forIxSt5ratioILx1ELx1000EEZN3net11poll_pacing4Gate5sleepEyiEUlvE_EEbRSt11unique_lockISt5mutexERKNSt6chrono8durationIT_T0_EET1_ @@ -331685,7 +333302,7 @@ _ZNSt19_Node_handle_commonISt4pairIKyN3gpu7RtImageEESaISt13_Rb_tree_nodeIS4_EEE8 # Num Counters: 2 # Counter Values: -252 +245 0 _ZNSt19_UninitDestroyGuardIP10ConfigEditvED2Ev @@ -331767,7 +333384,7 @@ _ZNSt19_UninitDestroyGuardIPN3gcn18ReflectedAttributeEvED2Ev # Num Counters: 5 # Counter Values: -80483 +80403 0 0 0 @@ -331865,13 +333482,47 @@ _ZNSt22_Optional_payload_baseISt6vectorIhSaIhEEE14_M_move_assignEOS3_ 0 0 +_ZNSt23_Sp_counted_ptr_inplaceI11PluginEntrySaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +0 + +_ZNSt23_Sp_counted_ptr_inplaceI11PluginEntrySaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +0 + +_ZNSt23_Sp_counted_ptr_inplaceI11PluginEntrySaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info +# Func Hash: +1063705162494746942 +# Num Counters: +3 +# Counter Values: +0 +0 +0 + +_ZNSt23_Sp_counted_ptr_inplaceI11PluginEntrySaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev +# Func Hash: +742261418966908927 +# Num Counters: +1 +# Counter Values: +0 + _ZNSt23_Sp_counted_ptr_inplaceI14GxStageRecordsSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv # Func Hash: 742261418966908927 # Num Counters: 1 # Counter Values: -597996 +597015 _ZNSt23_Sp_counted_ptr_inplaceI14GxStageRecordsSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv # Func Hash: @@ -331879,7 +333530,7 @@ _ZNSt23_Sp_counted_ptr_inplaceI14GxStageRecordsSaIvELN9__gnu_cxx12_Lock_policyE2 # Num Counters: 1 # Counter Values: -597996 +597015 _ZNSt23_Sp_counted_ptr_inplaceI14GxStageRecordsSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info # Func Hash: @@ -331905,7 +333556,7 @@ _ZNSt23_Sp_counted_ptr_inplaceIN10yebis_bind4WorkESaIvELN9__gnu_cxx12_Lock_polic # Num Counters: 1 # Counter Values: -174404 +177611 _ZNSt23_Sp_counted_ptr_inplaceIN10yebis_bind4WorkESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv # Func Hash: @@ -331913,7 +333564,7 @@ _ZNSt23_Sp_counted_ptr_inplaceIN10yebis_bind4WorkESaIvELN9__gnu_cxx12_Lock_polic # Num Counters: 1 # Counter Values: -174404 +177611 _ZNSt23_Sp_counted_ptr_inplaceIN10yebis_bind4WorkESaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info # Func Hash: @@ -331981,7 +333632,7 @@ _ZNSt23_Sp_counted_ptr_inplaceIN3gcn16ShaderReflectionESaIvELN9__gnu_cxx12_Lock_ # Num Counters: 1 # Counter Values: -13199 +13172 _ZNSt23_Sp_counted_ptr_inplaceIN3gcn16ShaderReflectionESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv # Func Hash: @@ -331989,8 +333640,8 @@ _ZNSt23_Sp_counted_ptr_inplaceIN3gcn16ShaderReflectionESaIvELN9__gnu_cxx12_Lock_ # Num Counters: 2 # Counter Values: -13199 -5640 +13175 +5578 _ZNSt23_Sp_counted_ptr_inplaceIN3gcn16ShaderReflectionESaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info # Func Hash: @@ -332712,10 +334363,10 @@ _ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaI # Num Counters: 5 # Counter Values: -1078 -542 -970 -542 +1079 +550 +971 +550 108 # Num Value Kinds: 1 @@ -332724,7 +334375,7 @@ _ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaI # NumValueSites: 1 4 -8:422 +8:430 9:72 17:36 16:12 @@ -332967,6 +334618,44 @@ _ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIySaIyEES 1 0 +_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbSt4lessIS5_ESaISt4pairIKS5_bEEEixERS9_ +# Func Hash: +952936703508237247 +# Num Counters: +5 +# Counter Values: +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdSt4lessIS5_ESaISt4pairIKS5_dEEEixERS9_ +# Func Hash: +952936703508237247 +# Num Counters: +5 +# Counter Values: +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + _ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEEixEOS5_ # Func Hash: 952936703508237247 @@ -332993,9 +334682,9 @@ _ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt # Num Counters: 5 # Counter Values: -1 +2 0 -1 +2 0 0 # Num Value Kinds: @@ -333012,8 +334701,8 @@ _ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS5_ESaISt # Num Counters: 3 # Counter Values: -126570 -4504 +126578 +4500 0 _ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS5_ESaISt4pairIKS5_jEEEixEOS5_ @@ -333041,9 +334730,9 @@ _ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS5_ESaISt # Num Counters: 5 # Counter Values: -167213 +167156 0 -167241 +167192 0 0 # Num Value Kinds: @@ -333146,11 +334835,11 @@ _ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEySt4lessIS5_ESaISt # Num Counters: 5 # Counter Values: -2045 -2021 +2046 +2022 24 -2021 -2021 +2022 +2022 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -333159,7 +334848,7 @@ _ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEySt4lessIS5_ESaISt 1 2 33:1992 -17:29 +17:30 _ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEySt4lessIS5_ESaISt4pairIKS5_yEEEixERS9_ # Func Hash: @@ -333167,19 +334856,21 @@ _ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEySt4lessIS5_ESaISt # Num Counters: 5 # Counter Values: -773425 -773365 -312 -773365 -773113 +775668 +775598 +328 +775598 +775340 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 1 -1 -8:773370 +3 +8:775598 +17:4 +9:2 _ZNSt3mapIP10VkBuffer_TjSt4lessIS1_ESaISt4pairIKS1_jEEEixERS5_ # Func Hash: @@ -333187,12 +334878,12 @@ _ZNSt3mapIP10VkBuffer_TjSt4lessIS1_ESaISt4pairIKS1_jEEEixERS5_ # Num Counters: 6 # Counter Values: -890131 -869208 -7181 -862716 -23435 -23435 +896323 +875683 +6920 +869473 +23313 +23313 _ZNSt3mapIP11VkSampler_TNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEEixERSB_ # Func Hash: @@ -333213,10 +334904,10 @@ _ZNSt3mapIP11VkSampler_TS1_St4lessIS1_ESaISt4pairIKS1_S1_EEEixERS5_ # Num Counters: 6 # Counter Values: -7 +8 5 5 -1 +2 6 6 @@ -333265,10 +334956,10 @@ _ZNSt3mapIPKcySt4lessIS1_ESaISt4pairIKS1_yEEEixEOS1_ # Num Counters: 6 # Counter Values: -0 -6 +2 6 -0 +4 +2 0 0 @@ -333278,9 +334969,9 @@ _ZNSt3mapISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EN3gpu1 # Num Counters: 6 # Counter Values: -1372 -1384 -1372 +1312 +1324 +1312 12 0 0 @@ -333607,16 +335298,16 @@ _ZNSt3mapISt5tupleIJjyjEEjSt4lessIS1_ESaISt4pairIKS1_jEEEixERS5_ # Num Counters: 10 # Counter Values: -3324 -2664 +4728 +3826 0 -1212 -1212 -732 -540 +1484 +1484 +974 +766 0 -2280 -2280 +3068 +3068 _ZNSt3mapISt5tupleIJyiyEEySt4lessIS1_ESaISt4pairIKS1_yEEEixEOS1_ # Func Hash: @@ -333658,16 +335349,16 @@ _ZNSt3mapISt5tupleIJyjjEEjSt4lessIS1_ESaISt4pairIKS1_jEEE7emplaceIJRS5_jEEES4_IS # Num Counters: 10 # Counter Values: -325 +322 14 0 -125 -79 -13 +129 +81 +11 0 0 -160 -160 +151 +151 _ZNSt3mapISt5tupleIJyjjiEEN3gpu8RtRegionESt4lessIS1_ESaISt4pairIKS1_S3_EEE7emplaceIJRS7_RS3_EEES6_ISt17_Rb_tree_iteratorIS8_EbEDpOT_ # Func Hash: @@ -333720,17 +335411,17 @@ _ZNSt3mapISt6vectorIjSaIjEEjSt4lessIS2_ESaISt4pairIKS2_jEEE7emplaceIJRS2_RKjEEES # Num Counters: 11 # Counter Values: -1236178 -768131 -152469 +1236095 +768072 +152446 8420 -324023 -169106 -121988 -55536 -53846 -8419 -8419 +324004 +169087 +121973 +55530 +53841 +8418 +8418 _ZNSt3mapISt6vectorIjSaIjEEjSt4lessIS2_ESaISt4pairIKS2_jEEE7emplaceIJRS2_RjEEES5_ISt17_Rb_tree_iteratorIS7_EbEDpOT_ # Func Hash: @@ -333756,17 +335447,17 @@ _ZNSt3mapISt6vectorIjSaIjEEjSt4lessIS2_ESaISt4pairIKS2_jEEEixERS6_ # Num Counters: 11 # Counter Values: -49141 -18012 -9835 -0 -21294 -7496 -4000 -4982 -3496 -4982 -0 +50499 +18497 +10054 +6 +21956 +7714 +4118 +5153 +3597 +5154 +2 _ZNSt3mapIhSt5arrayIjLy4EESt4lessIhESaISt4pairIKhS1_EEE11try_emplaceIJEEES4_ISt17_Rb_tree_iteratorIS6_EbERS5_DpOT_ # Func Hash: @@ -333813,12 +335504,12 @@ _ZNSt3mapIiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS6 # Num Counters: 6 # Counter Values: -0 -0 -0 -0 -0 -0 +844 +198 +144 +74 +684 +684 _ZNSt3mapIiSt4pairIyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt4lessIiESaIS0_IKiS7_EEEixERSA_ # Func Hash: @@ -333826,12 +335517,12 @@ _ZNSt3mapIiSt4pairIyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt4less # Num Counters: 6 # Counter Values: -0 -0 -0 -0 -0 -0 +624 +150 +122 +28 +596 +596 _ZNSt3mapIiSt8optionalISt6vectorIhSaIhEEESt4lessIiESaISt4pairIKiS4_EEEixERS8_ # Func Hash: @@ -333914,12 +335605,12 @@ _ZNSt3mapIijSt4lessIiESaISt4pairIKijEEEixERS3_ # Num Counters: 6 # Counter Values: -2473 -7040 -7040 -0 -2473 -2473 +4461 +7389 +7389 +72 +4369 +4369 _ZNSt3mapIitSt4lessIiESaISt4pairIKitEEEixEOi # Func Hash: @@ -333940,10 +335631,10 @@ _ZNSt3mapIiySt4lessIiESaISt4pairIKiyEEEixERS3_ # Num Counters: 6 # Counter Values: -336449 -336461 +338229 +338241 12 -336449 +338229 0 0 @@ -333966,7 +335657,7 @@ _ZNSt3mapIjP13VkImageView_TSt4lessIjESaISt4pairIKjS1_EEEaSEOS8_ # Num Counters: 3 # Counter Values: -107 +108 0 0 @@ -334026,12 +335717,12 @@ _ZNSt3mapIjS_IiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4les # Num Counters: 6 # Counter Values: -0 -0 -0 -0 -0 -0 +214 +84 +8 +76 +138 +138 _ZNSt3mapIjS_IiSt4pairIyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt4lessIiESaIS0_IKiS7_EEES8_IjESaIS0_IKjSD_EEEixERSF_ # Func Hash: @@ -334039,12 +335730,12 @@ _ZNSt3mapIjS_IiSt4pairIyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt4 # Num Counters: 6 # Counter Values: -0 -0 -0 -0 -0 -0 +402 +158 +8 +150 +240 +240 _ZNSt3mapIjS_IjSt6vectorIjSaIjEESt4lessIjESaISt4pairIKjS2_EEES4_SaIS5_IS6_S9_EEEixERS6_ # Func Hash: @@ -334091,12 +335782,12 @@ _ZNSt3mapIjSt3setIjSt4lessIjESaIjEES2_SaISt4pairIKjS4_EEEixERS6_ # Num Counters: 6 # Counter Values: -0 -0 -0 -0 -0 -0 +24 +16 +8 +8 +14 +14 _ZNSt3mapIjSt3setItSt4lessItESaItEES1_IjESaISt4pairIKjS4_EEE11try_emplaceIJRS4_EEES6_ISt17_Rb_tree_iteratorIS8_EbERS7_DpOT_ # Func Hash: @@ -334104,12 +335795,12 @@ _ZNSt3mapIjSt3setItSt4lessItESaItEES1_IjESaISt4pairIKjS4_EEE11try_emplaceIJRS4_E # Num Counters: 6 # Counter Values: -0 -0 -0 -0 -0 -0 +8 +8 +4 +2 +4 +4 _ZNSt3mapIjSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESt4lessIjESaIS0_IKjS7_EEEixERSA_ # Func Hash: @@ -334130,12 +335821,12 @@ _ZNSt3mapIjSt4pairIjjESt4lessIjESaIS0_IKjS1_EEEixERS4_ # Num Counters: 6 # Counter Values: -31901 -12374 -12374 +31697 +12290 +12290 50 -31853 -31853 +31647 +31647 _ZNSt3mapIjSt4pairIyyESt4lessIjESaIS0_IKjS1_EEEixERS4_ # Func Hash: @@ -334169,12 +335860,12 @@ _ZNSt3mapIjSt6vectorIjSaIjEESt4lessIjESaISt4pairIKjS2_EEEixERS6_ # Num Counters: 6 # Counter Values: -3286299 -292176 -83775 -209164 -2827644 -2827065 +3286939 +292235 +83738 +209267 +2827517 +2827517 _ZNSt3mapIjbSt4lessIjESaISt4pairIKjbEEEixEOj # Func Hash: @@ -334221,8 +335912,8 @@ _ZNSt3mapIjjSt4lessIjESaISt4pairIKjjEEEaSEOS6_ # Num Counters: 3 # Counter Values: -379696 -88203 +379720 +88145 0 _ZNSt3mapIjjSt4lessIjESaISt4pairIKjjEEEixEOj @@ -334244,12 +335935,12 @@ _ZNSt3mapIjjSt4lessIjESaISt4pairIKjjEEEixERS3_ # Num Counters: 6 # Counter Values: -16303716 -3326265 -3111420 -381710 -14126485 -14122769 +16335862 +3332346 +3117714 +381515 +14154300 +14154300 _ZNSt3mapIjySt4lessIjESaISt4pairIKjyEEEaSEOS6_ # Func Hash: @@ -334280,12 +335971,12 @@ _ZNSt3mapIjySt4lessIjESaISt4pairIKjyEEEixERS3_ # Num Counters: 6 # Counter Values: -6248 -3111 +6314 +3144 48 -3087 -1715 -1715 +3120 +1741 +1741 _ZNSt3mapItN3net4PeerESt4lessItESaISt4pairIKtS1_EEEixERS5_ # Func Hash: @@ -334418,12 +336109,12 @@ _ZNSt3mapIyP13VkImageView_TSt4lessIyESaISt4pairIKyS1_EEEixERS5_ # Num Counters: 6 # Counter Values: -15235 -121338 -121338 -6580 -8567 -8567 +15249 +121100 +121100 +6589 +8572 +8572 _ZNSt3mapIyS_IyP13VkImageView_TSt4lessIyESaISt4pairIKyS1_EEES3_SaIS4_IS5_S8_EEEixERS5_ # Func Hash: @@ -334431,12 +336122,12 @@ _ZNSt3mapIyS_IyP13VkImageView_TSt4lessIyESaISt4pairIKyS1_EEES3_SaIS4_IS5_S8_EEEi # Num Counters: 6 # Counter Values: -2305772 -311401 -3740 -311028 -670175 -670175 +2027918 +275858 +3783 +275487 +663742 +663742 _ZNSt3mapIySt3setIiSt4lessIiESaIiEES1_IyESaISt4pairIKyS4_EEEixERS7_ # Func Hash: @@ -334496,12 +336187,12 @@ _ZNSt3mapIyjSt4lessIyESaISt4pairIKyjEEEixERS3_ # Num Counters: 6 # Counter Values: -299895 -23687 -23687 -15533 -240321 -240321 +299455 +23688 +23688 +15457 +240359 +240359 _ZNSt3mapIyySt4lessIyESaISt4pairIKyyEEE5eraseB5cxx11ESt17_Rb_tree_iteratorIS4_E # Func Hash: @@ -334517,8 +336208,8 @@ _ZNSt3mapIyySt4lessIyESaISt4pairIKyyEEEaSEOS6_ # Num Counters: 3 # Counter Values: -25 -7 +29 +11 0 _ZNSt3mapIyySt4lessIyESaISt4pairIKyyEEEixEOy @@ -334527,12 +336218,12 @@ _ZNSt3mapIyySt4lessIyESaISt4pairIKyyEEEixEOy # Num Counters: 6 # Counter Values: -1014365 -104939 -104939 -52341 -866596 -866596 +1008714 +104552 +104552 +50143 +869839 +869839 _ZNSt3mapIyySt4lessIyESaISt4pairIKyyEEEixERS3_ # Func Hash: @@ -334540,12 +336231,12 @@ _ZNSt3mapIyySt4lessIyESaISt4pairIKyyEEEixERS3_ # Num Counters: 6 # Counter Values: -28282706 -1836294 -1055963 -1614245 -24432381 -24432381 +28298142 +1838389 +1055466 +1615041 +24459320 +24459320 _ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2ESt16initializer_listIS5_ERKS7_RKS8_ # Func Hash: @@ -334596,7 +336287,7 @@ _ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EEaSEOS5_ # Num Counters: 3 # Counter Values: -0 +2 0 0 @@ -334617,7 +336308,7 @@ _ZNSt3setIiSt4lessIiESaIiEEaSEOS3_ # Num Counters: 3 # Counter Values: -0 +2 0 0 @@ -334638,7 +336329,7 @@ _ZNSt3setIjSt4lessIjESaIjEEaSEOS3_ # Num Counters: 3 # Counter Values: -0 +2 0 0 @@ -334826,7 +336517,7 @@ _ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EC2IRPKcRS5_Qa # Num Counters: 3 # Counter Values: -251 +259 0 0 @@ -334836,7 +336527,7 @@ _ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EC2IRPKcSA_Qaa # Num Counters: 3 # Counter Values: -1384 +1324 0 0 @@ -334929,8 +336620,8 @@ _ZNSt5dequeI9HostEventSaIS0_EE16_M_push_back_auxIJRKS0_EEEvDpOT_ # Num Counters: 3 # Counter Values: -23528 -1374 +23774 +1306 0 _ZNSt5dequeI9HostEventSaIS0_EE17_M_reallocate_mapEyb @@ -334939,16 +336630,16 @@ _ZNSt5dequeI9HostEventSaIS0_EE17_M_reallocate_mapEyb # Num Counters: 13 # Counter Values: -51 -952 +47 +835 0 0 0 0 -371 +424 0 0 -371 +424 0 0 0 @@ -334958,26 +336649,27 @@ _ZNSt5dequeI9HostEventSaIS0_EE17_M_reallocate_mapEyb 1 # NumValueSites: 3 -10 -65:817 -33:55 -16:41 -17:10 -513:9 -32:5 -64:5 -129:5 -257:4 +11 +65:666 +16:56 +33:54 +32:18 +17:15 +129:12 +257:7 +513:3 +64:2 128:1 +256:1 0 7 -513:13 -65:10 +513:11 +65:8 129:8 257:8 -32:6 -17:5 -33:1 +33:7 +17:3 +32:2 _ZNSt5dequeIN3gpu9TexUpdateESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # Func Hash: @@ -334985,9 +336677,9 @@ _ZNSt5dequeIN3gpu9TexUpdateESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # Num Counters: 3 # Counter Values: -1889 -373 -373 +1891 +371 +371 _ZNSt5dequeIN3gpu9TexUpdateESaIS1_EE15_M_pop_back_auxEv # Func Hash: @@ -334996,7 +336688,7 @@ _ZNSt5dequeIN3gpu9TexUpdateESaIS1_EE15_M_pop_back_auxEv 2 # Counter Values: 79 -21 +17 _ZNSt5dequeIN3gpu9TexUpdateESaIS1_EE16_M_pop_front_auxEv # Func Hash: @@ -335004,8 +336696,8 @@ _ZNSt5dequeIN3gpu9TexUpdateESaIS1_EE16_M_pop_front_auxEv # Num Counters: 2 # Counter Values: -242 -228 +245 +232 _ZNSt5dequeIN3gpu9TexUpdateESaIS1_EE16_M_push_back_auxIJS1_EEEvDpOT_ # Func Hash: @@ -335013,7 +336705,7 @@ _ZNSt5dequeIN3gpu9TexUpdateESaIS1_EE16_M_push_back_auxIJS1_EEEvDpOT_ # Num Counters: 3 # Counter Values: -373 +371 57 0 @@ -335043,8 +336735,8 @@ _ZNSt5dequeIN3gpu9TexUpdateESaIS1_EE17_M_reallocate_mapEyb # NumValueSites: 3 2 -16:42 -17:5 +16:45 +17:2 0 1 17:10 @@ -335073,11 +336765,11 @@ _ZNSt5dequeIN3gpu9TexUpdateESaIS1_EE8_M_eraseESt15_Deque_iteratorIS1_RS1_PS1_E # Num Counters: 5 # Counter Values: -1492 -471 -342 -44 -303 +1500 +481 +349 +42 +306 _ZNSt5dequeIN3gpu9TexUpdateESaIS1_EE8pop_backEv # Func Hash: @@ -335085,8 +336777,8 @@ _ZNSt5dequeIN3gpu9TexUpdateESaIS1_EE8pop_backEv # Num Counters: 3 # Counter Values: -392 -107 +402 +119 79 _ZNSt5dequeIN3gpu9TexUpdateESaIS1_EE9pop_frontEv @@ -335095,9 +336787,9 @@ _ZNSt5dequeIN3gpu9TexUpdateESaIS1_EE9pop_frontEv # Num Counters: 3 # Counter Values: -1250 -1142 -242 +1255 +1149 +245 _ZNSt5dequeIN3gpu9TexUpdateESaIS1_EED2Ev # Func Hash: @@ -335229,7 +336921,7 @@ _ZNSt5dequeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE19_M_des 0 0 0 -376739 +380698 _ZNSt5dequeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev # Func Hash: @@ -335237,7 +336929,7 @@ _ZNSt5dequeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev # Num Counters: 2 # Counter Values: -376739 +380698 0 _ZNSt5dequeISt4pairIjyESaIS1_EE12emplace_backIJRjyEEERS1_DpOT_ @@ -335246,7 +336938,7 @@ _ZNSt5dequeISt4pairIjyESaIS1_EE12emplace_backIJRjyEEERS1_DpOT_ # Num Counters: 3 # Counter Values: -1704 +1703 50 50 @@ -335345,7 +337037,7 @@ _ZNSt5dequeISt6vectorIhSaIhEESaIS2_EE12emplace_backIJPKhS7_EEERS2_DpOT_ # Num Counters: 3 # Counter Values: -166891 +170458 0 0 @@ -335355,9 +337047,9 @@ _ZNSt5dequeISt6vectorIhSaIhEESaIS2_EE12emplace_backIJS2_EEERS2_DpOT_ # Num Counters: 3 # Counter Values: -10749260 -142358 -142358 +10815252 +141484 +141484 _ZNSt5dequeISt6vectorIhSaIhEESaIS2_EE15_M_erase_at_endESt15_Deque_iteratorIS2_RS2_PS2_E # Func Hash: @@ -335366,7 +337058,7 @@ _ZNSt5dequeISt6vectorIhSaIhEESaIS2_EE15_M_erase_at_endESt15_Deque_iteratorIS2_RS 2 # Counter Values: 0 -3189507 +3226575 _ZNSt5dequeISt6vectorIhSaIhEESaIS2_EE16_M_push_back_auxIJPKhS7_EEEvDpOT_ # Func Hash: @@ -335387,7 +337079,7 @@ _ZNSt5dequeISt6vectorIhSaIhEESaIS2_EE16_M_push_back_auxIJS2_EEEvDpOT_ # Num Counters: 3 # Counter Values: -142358 +141484 0 0 @@ -335426,17 +337118,17 @@ _ZNSt5dequeISt6vectorIhSaIhEESaIS2_EE19_M_destroy_data_auxESt15_Deque_iteratorIS # Num Counters: 11 # Counter Values: -6594 -6594 -314 -2982777 -1038869 -2982777 -1038869 -7029834 -6636621 -142037 -12616051 +6720 +6720 +320 +2964255 +1036232 +2964255 +1036232 +7119438 +6718119 +141155 +12765215 _ZNSt5dequeISt6vectorIhSaIhEESaIS2_EE5clearEv # Func Hash: @@ -335444,7 +337136,7 @@ _ZNSt5dequeISt6vectorIhSaIhEESaIS2_EE5clearEv # Num Counters: 2 # Counter Values: -3189507 +3226575 0 _ZNSt5dequeISt6vectorIhSaIhEESaIS2_EED2Ev @@ -335453,7 +337145,7 @@ _ZNSt5dequeISt6vectorIhSaIhEESaIS2_EED2Ev # Num Counters: 2 # Counter Values: -9568579 +9679796 0 _ZNSt5dequeIiSaIiEE16_M_push_back_auxIJRKiEEEvDpOT_ @@ -335649,12 +337341,12 @@ _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJPFvvEEEEEE6_M_runEv # NumValueSites: 1 7 -@SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_118import_free_threadEv:12 -@SRC@/src/hle/video.cpp;_ZN12_GLOBAL__N_111flip_waiterEv:12 -@SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_115prefetch_threadEv:12 @SRC@/src/engine/gx_resources.cpp;_ZN12_GLOBAL__N_112ahead_threadEv:12 -@SRC@/src/host/perf_meter.cpp;_ZN12_GLOBAL__N_112meter_threadEv:12 +@SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_115prefetch_threadEv:12 +@SRC@/src/hle/video.cpp;_ZN12_GLOBAL__N_111flip_waiterEv:12 @SRC@/src/host/recorder.cpp;_ZN3gpu12_GLOBAL__N_115recorder_threadEv:12 +@SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_118import_free_threadEv:12 +@SRC@/src/host/perf_meter.cpp;_ZN12_GLOBAL__N_112meter_threadEv:12 @SRC@/src/host/gpu.cpp;_ZN3gpu12_GLOBAL__N_113submit_threadEv:12 _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJPFvvEEEEEED0Ev @@ -336029,9 +337721,9 @@ _ZNSt6vectorI11VkImageCopySaIS0_EE17_M_realloc_appendIJRKS0_EEEvDpOT_ # Num Counters: 4 # Counter Values: -21372 -1933 -1933 +25332 +1855 +1855 0 # Num Value Kinds: 1 @@ -336040,9 +337732,9 @@ _ZNSt6vectorI11VkImageCopySaIS0_EE17_M_realloc_appendIJRKS0_EEEvDpOT_ # NumValueSites: 1 4 -65:768 -129:651 -257:417 +65:734 +129:623 +257:401 513:97 _ZNSt6vectorI11sockaddr_inSaIS0_EE17_M_realloc_appendIJRKS0_EEEvDpOT_ @@ -336200,9 +337892,9 @@ _ZNSt6vectorI13MemOwnerTotalSaIS0_EE12emplace_backIJS0_EEERS0_DpOT_ # Num Counters: 3 # Counter Values: -2242 +2277 0 -1676 +1701 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -336210,7 +337902,7 @@ _ZNSt6vectorI13MemOwnerTotalSaIS0_EE12emplace_backIJS0_EEERS0_DpOT_ # NumValueSites: 1 1 -9:1676 +9:1701 _ZNSt6vectorI13MemOwnerTotalSaIS0_EE17_M_realloc_appendIJS0_EEEvDpOT_ # Func Hash: @@ -336241,8 +337933,8 @@ _ZNSt6vectorI13MemOwnerTotalSaIS0_EE7reserveEy # Counter Values: 0 0 -228 -228 +231 +231 0 0 # Num Value Kinds: @@ -336349,8 +338041,8 @@ _ZNSt6vectorI14HostThreadTimeSaIS0_EE7reserveEy # Num Counters: 5 # Counter Values: -3540 -3540 +3558 +3558 0 0 0 @@ -336413,26 +338105,20 @@ _ZNSt6vectorI16PluginOptionDescSaIS0_EE14_M_move_assignEOS2_St17integral_constan _ZNSt6vectorI16PluginOptionDescSaIS0_EE17_M_realloc_appendIJS0_EEEvDpOT_ # Func Hash: -701607649120024866 +798733564690234915 # Num Counters: -10 +4 # Counter Values: 0 0 0 0 -0 -0 -0 -0 -0 -0 _ZNSt6vectorI16PluginOptionDescSaIS0_EED2Ev # Func Hash: -950994589636138958 +393568428033113518 # Num Counters: -9 +10 # Counter Values: 0 0 @@ -336443,6 +338129,7 @@ _ZNSt6vectorI16PluginOptionDescSaIS0_EED2Ev 0 0 0 +0 _ZNSt6vectorI16VkDescriptorTypeSaIS0_EE21_M_range_initialize_nIPKS0_S5_EEvT_T0_y # Func Hash: @@ -336554,9 +338241,9 @@ _ZNSt6vectorI17VkBufferImageCopySaIS0_EE17_M_realloc_appendIJRKS0_EEEvDpOT_ # Num Counters: 4 # Counter Values: -429707 -327118 -327118 +429177 +326885 +326885 0 # Num Value Kinds: 1 @@ -336565,10 +338252,10 @@ _ZNSt6vectorI17VkBufferImageCopySaIS0_EE17_M_realloc_appendIJRKS0_EEEvDpOT_ # NumValueSites: 1 5 -33:89914 -65:89778 -129:89413 -257:57595 +33:89840 +65:89711 +129:89360 +257:57556 513:418 _ZNSt6vectorI17VkLayerPropertiesSaIS0_EEC2EyRKS1_ @@ -336610,9 +338297,9 @@ _ZNSt6vectorI18VkSparseMemoryBindSaIS0_EE17_M_realloc_appendIJRKS0_EEEvDpOT_ # Num Counters: 4 # Counter Values: -290 -247 -247 +294 +250 +250 0 # Num Value Kinds: 1 @@ -336621,11 +338308,11 @@ _ZNSt6vectorI18VkSparseMemoryBindSaIS0_EE17_M_realloc_appendIJRKS0_EEEvDpOT_ # NumValueSites: 1 5 -513:110 -33:35 -65:35 -129:35 -257:32 +513:108 +33:36 +65:36 +129:36 +257:34 _ZNSt6vectorI18VkSurfaceFormatKHRSaIS0_EEC2EyRKS1_ # Func Hash: @@ -336690,9 +338377,9 @@ _ZNSt6vectorI20VkWriteDescriptorSetSaIS0_EE17_M_realloc_appendIJRKS0_EEEvDpOT_ # Num Counters: 4 # Counter Values: -2100440 -1315297 -1315297 +2108043 +1320677 +1320677 0 # Num Value Kinds: 1 @@ -336701,9 +338388,9 @@ _ZNSt6vectorI20VkWriteDescriptorSetSaIS0_EE17_M_realloc_appendIJRKS0_EEEvDpOT_ # NumValueSites: 1 3 -64:715490 -128:374617 -256:225200 +64:721594 +128:373897 +256:225199 _ZNSt6vectorI20VkWriteDescriptorSetSaIS0_EE7reserveEy # Func Hash: @@ -336711,10 +338398,10 @@ _ZNSt6vectorI20VkWriteDescriptorSetSaIS0_EE7reserveEy # Num Counters: 5 # Counter Values: -129192200 -63318 +129022734 +63536 0 -51003 +51220 0 # Num Value Kinds: 1 @@ -336812,10 +338499,10 @@ _ZNSt6vectorI21VkDescriptorImageInfoSaIS0_EE7reserveEy # Num Counters: 5 # Counter Values: -129957644 -826457 +129794017 +828705 0 -40885 +40905 0 # Num Value Kinds: 1 @@ -336866,18 +338553,18 @@ _ZNSt6vectorI22VkDescriptorBufferInfoSaIS0_EE13_M_assign_auxIN9__gnu_cxx17__norm # Num Counters: 13 # Counter Values: -18799 -6512 -107494 +18813 +6525 +105669 0 -21242 +21438 0 -12960 +13159 0 -134 -83 -65 -57 +133 +93 +64 +55 0 # Num Value Kinds: 1 @@ -336886,27 +338573,27 @@ _ZNSt6vectorI22VkDescriptorBufferInfoSaIS0_EE13_M_assign_auxIN9__gnu_cxx17__norm # NumValueSites: 4 5 -257:16932 -65:1076 -129:524 -17:160 -33:107 +257:16953 +65:1072 +129:526 +17:157 +33:105 4 -257:103333 -65:3214 -129:896 -33:51 +257:101445 +65:3265 +129:905 +33:54 4 -257:9456 -65:2708 -129:671 -33:42 +257:9669 +65:2717 +129:635 +33:45 5 -65:8878 -129:2481 -33:678 -17:537 -257:386 +65:9046 +129:2503 +33:652 +17:576 +257:382 _ZNSt6vectorI22VkDescriptorBufferInfoSaIS0_EE13_M_assign_auxIN9__gnu_cxx17__normal_iteratorIPS0_S2_EEEEvT_S8_St20forward_iterator_tag # Func Hash: @@ -336987,9 +338674,9 @@ _ZNSt6vectorI22VkDescriptorBufferInfoSaIS0_EE15_M_range_insertIPKS0_EEvN9__gnu_c 0 0 0 -157135 -11874 -11874 +153079 +11870 +11870 0 0 0 @@ -336998,10 +338685,10 @@ _ZNSt6vectorI22VkDescriptorBufferInfoSaIS0_EE15_M_range_insertIPKS0_EEvN9__gnu_c 0 0 0 -145261 +141209 0 0 -145261 +141209 0 0 0 @@ -337016,10 +338703,10 @@ _ZNSt6vectorI22VkDescriptorBufferInfoSaIS0_EE15_M_range_insertIPKS0_EEvN9__gnu_c 0 0 1 -17:145262 +17:141213 0 1 -17:11874 +17:11870 _ZNSt6vectorI22VkDescriptorBufferInfoSaIS0_EE17_M_realloc_appendIJRKS0_EEEvDpOT_ # Func Hash: @@ -337048,10 +338735,10 @@ _ZNSt6vectorI22VkDescriptorBufferInfoSaIS0_EE7reserveEy # Num Counters: 5 # Counter Values: -129332970 -218 +129165335 +206 0 -178 +166 0 # Num Value Kinds: 1 @@ -337089,9 +338776,9 @@ _ZNSt6vectorI25VkRenderingAttachmentInfoSaIS0_EE17_M_realloc_appendIJRKS0_EEEvDp # Num Counters: 4 # Counter Values: -15927148 -1404122 -1404122 +16113245 +1403651 +1403651 0 # Num Value Kinds: 1 @@ -337100,9 +338787,9 @@ _ZNSt6vectorI25VkRenderingAttachmentInfoSaIS0_EE17_M_realloc_appendIJRKS0_EEEvDp # NumValueSites: 1 3 -65:1064238 -129:169944 -257:169944 +65:1066096 +129:168783 +257:168783 _ZNSt6vectorI25VkRenderingAttachmentInfoSaIS0_EE17_M_realloc_appendIJS0_EEEvDpOT_ # Func Hash: @@ -337154,7 +338841,7 @@ _ZNSt6vectorI28VkDescriptorSetLayoutBindingSaIS0_EE17_M_realloc_appendIJS0_EEEvD # Num Counters: 4 # Counter Values: -2473 +2478 1361 1361 0 @@ -337178,9 +338865,9 @@ _ZNSt6vectorI31VkPipelineShaderStageCreateInfoSaIS0_EE17_M_realloc_appendIJRKS0_ # Num Counters: 4 # Counter Values: -90383 -34111 -34111 +90351 +34093 +34091 0 # Num Value Kinds: 1 @@ -337189,8 +338876,8 @@ _ZNSt6vectorI31VkPipelineShaderStageCreateInfoSaIS0_EE17_M_realloc_appendIJRKS0_ # NumValueSites: 1 2 -33:29408 -65:4692 +33:29397 +65:4690 _ZNSt6vectorI31VkVertexInputBindingDescriptionSaIS0_EE14_M_move_assignEOS2_St17integral_constantIbLb1EE # Func Hash: @@ -337208,15 +338895,15 @@ _ZNSt6vectorI31VkVertexInputBindingDescriptionSaIS0_EE17_M_default_appendEy 12 # Counter Values: 0 -14790 -22076 +14650 +22068 0 -22076 -22076 +22068 +22068 0 0 0 -6575 +6578 0 0 # Num Value Kinds: @@ -337255,8 +338942,8 @@ _ZNSt6vectorI31VkVertexInputBindingDescriptionSaIS0_EEC2ERKS2_ # Num Counters: 3 # Counter Values: -1230 -1230 +1229 +1229 21 # Num Value Kinds: 1 @@ -337267,9 +338954,9 @@ _ZNSt6vectorI31VkVertexInputBindingDescriptionSaIS0_EEC2ERKS2_ 5 9:761 17:367 -65:76 -33:21 -129:5 +65:75 +33:22 +129:4 _ZNSt6vectorI31VkVertexInputBindingDescriptionSaIS0_EEaSERKS2_ # Func Hash: @@ -337277,8 +338964,8 @@ _ZNSt6vectorI31VkVertexInputBindingDescriptionSaIS0_EEaSERKS2_ # Num Counters: 11 # Counter Values: -33878 -33876 +33882 +33882 0 0 0 @@ -337295,11 +338982,11 @@ _ZNSt6vectorI31VkVertexInputBindingDescriptionSaIS0_EEaSERKS2_ # NumValueSites: 4 5 -9:24286 -17:6998 -65:1681 -33:819 -129:93 +9:24281 +17:7022 +65:1673 +33:818 +129:83 0 0 0 @@ -337342,15 +339029,15 @@ _ZNSt6vectorI33VkVertexInputAttributeDescriptionSaIS0_EE17_M_default_appendEy 12 # Counter Values: 0 -84597 -22076 +84523 +22068 0 -22076 -22076 +22068 +22068 0 0 0 -22016 +22008 0 0 # Num Value Kinds: @@ -337367,9 +339054,9 @@ _ZNSt6vectorI33VkVertexInputAttributeDescriptionSaIS0_EE17_M_realloc_appendIJS0_ # Num Counters: 4 # Counter Values: -138 -110 -110 +140 +112 +112 0 # Num Value Kinds: 1 @@ -337378,10 +339065,10 @@ _ZNSt6vectorI33VkVertexInputAttributeDescriptionSaIS0_EE17_M_realloc_appendIJS0_ # NumValueSites: 1 4 -16:28 32:28 64:28 -128:26 +128:28 +16:27 _ZNSt6vectorI33VkVertexInputAttributeDescriptionSaIS0_EEC2ERKS2_ # Func Hash: @@ -337389,8 +339076,8 @@ _ZNSt6vectorI33VkVertexInputAttributeDescriptionSaIS0_EEC2ERKS2_ # Num Counters: 3 # Counter Values: -1230 -1230 +1229 +1229 21 # Num Value Kinds: 1 @@ -337400,11 +339087,11 @@ _ZNSt6vectorI33VkVertexInputAttributeDescriptionSaIS0_EEC2ERKS2_ 1 7 65:470 -128:288 -32:227 +128:289 +32:226 33:92 64:83 -129:66 +129:65 16:4 _ZNSt6vectorI33VkVertexInputAttributeDescriptionSaIS0_EEaSERKS2_ @@ -337413,8 +339100,8 @@ _ZNSt6vectorI33VkVertexInputAttributeDescriptionSaIS0_EEaSERKS2_ # Num Counters: 11 # Counter Values: -33877 -33878 +33879 +33881 0 0 0 @@ -337431,13 +339118,13 @@ _ZNSt6vectorI33VkVertexInputAttributeDescriptionSaIS0_EEaSERKS2_ # NumValueSites: 4 7 -65:10369 -32:10271 -128:5376 -33:4485 -64:1991 -129:1249 -16:136 +65:10391 +32:10289 +128:5372 +33:4464 +64:1997 +129:1231 +16:138 0 0 0 @@ -337457,9 +339144,9 @@ _ZNSt6vectorI35VkPipelineColorBlendAttachmentStateSaIS0_EE17_M_realloc_appendIJR # Num Counters: 4 # Counter Values: -52664 -26765 -26764 +52716 +26811 +26812 0 # Num Value Kinds: 1 @@ -337468,9 +339155,9 @@ _ZNSt6vectorI35VkPipelineColorBlendAttachmentStateSaIS0_EE17_M_realloc_appendIJR # NumValueSites: 1 3 -32:15103 -128:5835 -64:5834 +32:15115 +128:5850 +64:5849 _ZNSt6vectorI35VkPipelineColorBlendAttachmentStateSaIS0_EE17_M_realloc_appendIJS0_EEEvDpOT_ # Func Hash: @@ -337578,6 +339265,24 @@ _ZNSt6vectorI7GpuDrawSaIS0_EED2Ev 0 0 +_ZNSt6vectorI8ImGuiKeySaIS0_EE17_M_realloc_appendIJRKS0_EEEvDpOT_ +# Func Hash: +98923582799265811 +# Num Counters: +4 +# Counter Values: +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + _ZNSt6vectorI8VkFormatSaIS0_EE14_M_move_assignEOS2_St17integral_constantIbLb1EE # Func Hash: 784007056844089447 @@ -337593,9 +339298,9 @@ _ZNSt6vectorI8VkFormatSaIS0_EE17_M_realloc_appendIJRKS0_EEEvDpOT_ # Num Counters: 4 # Counter Values: -52656 -26773 -26773 +52720 +26817 +26816 0 # Num Value Kinds: 1 @@ -337604,9 +339309,9 @@ _ZNSt6vectorI8VkFormatSaIS0_EE17_M_realloc_appendIJRKS0_EEEvDpOT_ # NumValueSites: 1 3 -4:15107 -8:5835 -16:5835 +4:15116 +16:5851 +8:5850 _ZNSt6vectorI8VkFormatSaIS0_EE17_M_realloc_appendIJS0_EEEvDpOT_ # Func Hash: @@ -337977,7 +339682,7 @@ _ZNSt6vectorIN10host_lists5TakenESaIS1_EE14_M_move_assignEOS3_St17integral_const # Counter Values: 0 0 -3189507 +3226575 0 _ZNSt6vectorIN10host_lists5TakenESaIS1_EE17_M_default_appendEy @@ -338018,7 +339723,7 @@ _ZNSt6vectorIN10host_lists5TakenESaIS1_EED2Ev # Counter Values: 0 0 -3189507 +3226575 0 _ZNSt6vectorIN10patch_file4SiteESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ @@ -338128,10 +339833,10 @@ _ZNSt6vectorIN10patch_file4SiteESaIS1_EED2Ev # Num Counters: 6 # Counter Values: -5090 -5090 +5054 +5054 120 -4970 +4934 6896 396 @@ -338559,8 +340264,8 @@ _ZNSt6vectorIN3gcn11BindingNameESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # Num Counters: 2 # Counter Values: -193009 -274614 +192896 +274373 _ZNSt6vectorIN3gcn11BindingNameESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ # Func Hash: @@ -338569,9 +340274,9 @@ _ZNSt6vectorIN3gcn11BindingNameESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ 5 # Counter Values: 0 -559788 -274617 -201155 +559560 +274373 +201040 0 _ZNSt6vectorIN3gcn11BindingNameESaIS1_EED2Ev @@ -338580,10 +340285,10 @@ _ZNSt6vectorIN3gcn11BindingNameESaIS1_EED2Ev # Num Counters: 4 # Counter Values: -152441 -315282 -377693 -73387 +152258 +315105 +377429 +73296 _ZNSt6vectorIN3gcn11BundleEntryESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # Func Hash: @@ -338701,7 +340406,7 @@ _ZNSt6vectorIN3gcn12ImageBindingESaIS1_EE14_M_move_assignEOS3_St17integral_const # Counter Values: 0 0 -126572 +126586 0 _ZNSt6vectorIN3gcn12ImageBindingESaIS1_EE17_M_default_appendEy @@ -338711,13 +340416,13 @@ _ZNSt6vectorIN3gcn12ImageBindingESaIS1_EE17_M_default_appendEy 11 # Counter Values: 0 -313476 +313197 0 0 -41305 +41283 0 -41300 -41305 +41280 +41282 0 0 0 @@ -338742,8 +340447,8 @@ _ZNSt6vectorIN3gcn12ImageBindingESaIS1_EE20_M_allocate_and_copyIN9__gnu_cxx17__n # Num Counters: 4 # Counter Values: -24821 -24822 +24842 +24843 0 0 @@ -338755,8 +340460,8 @@ _ZNSt6vectorIN3gcn12ImageBindingESaIS1_EE6resizeEy # Counter Values: 0 0 -55965 -41306 +55966 +41284 0 0 @@ -338775,8 +340480,8 @@ _ZNSt6vectorIN3gcn12ImageBindingESaIS1_EEC2ERKS3_ # Num Counters: 4 # Counter Values: -46211 -24531 +46204 +24535 0 0 @@ -338786,10 +340491,10 @@ _ZNSt6vectorIN3gcn12ImageBindingESaIS1_EED2Ev # Num Counters: 4 # Counter Values: -362826 +362672 0 -297088 -45033 +297096 +45056 _ZNSt6vectorIN3gcn12ImageBindingESaIS1_EEaSERKS3_ # Func Hash: @@ -338803,11 +340508,11 @@ _ZNSt6vectorIN3gcn12ImageBindingESaIS1_EEaSERKS3_ 0 0 0 -50576 -24821 +50575 +24843 0 0 -25755 +25731 _ZNSt6vectorIN3gcn12ResourcePathESaIS1_EE14_M_move_assignEOS3_St17integral_constantIbLb1EE # Func Hash: @@ -338817,7 +340522,7 @@ _ZNSt6vectorIN3gcn12ResourcePathESaIS1_EE14_M_move_assignEOS3_St17integral_const # Counter Values: 0 0 -126571 +126578 0 _ZNSt6vectorIN3gcn12ResourcePathESaIS1_EE17_M_default_appendEy @@ -338829,10 +340534,10 @@ _ZNSt6vectorIN3gcn12ResourcePathESaIS1_EE17_M_default_appendEy 0 1762 0 -1378 +1377 0 1378 -1378 +1377 0 0 0 @@ -338869,8 +340574,8 @@ _ZNSt6vectorIN3gcn12ResourcePathESaIS1_EE6resizeEy # Counter Values: 0 0 -95893 -1378 +95870 +1377 0 0 @@ -338889,8 +340594,8 @@ _ZNSt6vectorIN3gcn12ResourcePathESaIS1_EEC2ERKS3_ # Num Counters: 4 # Counter Values: -46217 -372 +46212 +371 0 0 @@ -338902,7 +340607,7 @@ _ZNSt6vectorIN3gcn12ResourcePathESaIS1_EED2Ev # Counter Values: 1066 0 -297074 +297102 838 _ZNSt6vectorIN3gcn12ResourcePathESaIS1_EEaSERKS3_ @@ -338917,11 +340622,11 @@ _ZNSt6vectorIN3gcn12ResourcePathESaIS1_EEaSERKS3_ 0 0 0 -50580 +50574 382 0 0 -50198 +50192 _ZNSt6vectorIN3gcn12ResourceStepESaIS1_EE13_M_assign_auxIN9__gnu_cxx17__normal_iteratorIPKS1_S3_EEEEvT_SA_St20forward_iterator_tag # Func Hash: @@ -338937,7 +340642,7 @@ _ZNSt6vectorIN3gcn12ResourceStepESaIS1_EE13_M_assign_auxIN9__gnu_cxx17__normal_i 0 0 0 -0 +44 0 0 0 @@ -338960,12 +340665,12 @@ _ZNSt6vectorIN3gcn12ResourceStepESaIS1_EE17_M_default_appendEy 10 # Counter Values: 0 -1533 +1524 0 -1341 +1332 0 -1341 -1341 +1332 +1332 0 0 0 @@ -338976,9 +340681,9 @@ _ZNSt6vectorIN3gcn12ResourceStepESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -0 -0 -0 +88 +146 +88 0 _ZNSt6vectorIN3gcn12ResourceStepESaIS1_EEC2ERKS3_ @@ -338987,9 +340692,9 @@ _ZNSt6vectorIN3gcn12ResourceStepESaIS1_EEC2ERKS3_ # Num Counters: 3 # Counter Values: -624 -624 -1236029 +1076 +1076 +1236210 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -338997,8 +340702,8 @@ _ZNSt6vectorIN3gcn12ResourceStepESaIS1_EEC2ERKS3_ # NumValueSites: 1 2 -8:432 -16:192 +8:684 +16:392 _ZNSt6vectorIN3gcn12ResourceStepESaIS1_EEaSERKS3_ # Func Hash: @@ -339006,16 +340711,16 @@ _ZNSt6vectorIN3gcn12ResourceStepESaIS1_EEaSERKS3_ # Num Counters: 11 # Counter Values: +579 +234 0 +98 0 0 0 +248 0 -0 -0 -0 -0 -0 +86 0 # Num Value Kinds: 1 @@ -339023,8 +340728,11 @@ _ZNSt6vectorIN3gcn12ResourceStepESaIS1_EEaSERKS3_ 1 # NumValueSites: 4 -0 -0 +2 +8:146 +16:88 +1 +16:98 0 0 @@ -339034,10 +340742,10 @@ _ZNSt6vectorIN3gcn13BufferBindingESaIS1_EE14_M_move_assignEOS3_St17integral_cons # Num Counters: 4 # Counter Values: -256 +248 0 -126572 -58 +126586 +55 _ZNSt6vectorIN3gcn13BufferBindingESaIS1_EE17_M_default_appendEy # Func Hash: @@ -339046,13 +340754,13 @@ _ZNSt6vectorIN3gcn13BufferBindingESaIS1_EE17_M_default_appendEy 11 # Counter Values: 0 -272354 +272262 0 0 -44964 +44948 0 -44950 -44963 +44943 +44948 0 0 0 @@ -339063,10 +340771,10 @@ _ZNSt6vectorIN3gcn13BufferBindingESaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # Num Counters: 7 # Counter Values: +14 0 -0 -0 -0 +8 +6 0 0 0 @@ -339077,8 +340785,8 @@ _ZNSt6vectorIN3gcn13BufferBindingESaIS1_EE20_M_allocate_and_copyIN9__gnu_cxx17__ # Num Counters: 4 # Counter Values: -49837 -49838 +49851 +49854 0 0 @@ -339090,8 +340798,8 @@ _ZNSt6vectorIN3gcn13BufferBindingESaIS1_EE6resizeEy # Counter Values: 0 0 -52304 -44963 +52300 +44948 0 0 @@ -339101,8 +340809,8 @@ _ZNSt6vectorIN3gcn13BufferBindingESaIS1_EE9push_backERKS1_ # Num Counters: 2 # Counter Values: -0 -0 +8 +8 _ZNSt6vectorIN3gcn13BufferBindingESaIS1_EEC2ERKS3_ # Func Hash: @@ -339110,8 +340818,8 @@ _ZNSt6vectorIN3gcn13BufferBindingESaIS1_EEC2ERKS3_ # Num Counters: 4 # Counter Values: -46207 -8589 +46202 +8583 0 0 @@ -339121,10 +340829,10 @@ _ZNSt6vectorIN3gcn13BufferBindingESaIS1_EED2Ev # Num Counters: 4 # Counter Values: -300213 +300261 0 -297086 -45320 +297098 +45346 _ZNSt6vectorIN3gcn13BufferBindingESaIS1_EEaSERKS3_ # Func Hash: @@ -339138,11 +340846,11 @@ _ZNSt6vectorIN3gcn13BufferBindingESaIS1_EEaSERKS3_ 0 0 0 -50572 -49838 +50573 +49851 0 0 -735 +720 _ZNSt6vectorIN3gcn13VertexElementESaIS1_EE14_M_move_assignEOS3_St17integral_constantIbLb1EE # Func Hash: @@ -339160,12 +340868,12 @@ _ZNSt6vectorIN3gcn13VertexElementESaIS1_EE17_M_default_appendEy 10 # Counter Values: 0 -106529 +106447 0 -22076 +22068 0 -22076 -22076 +22068 +22068 0 0 0 @@ -339176,9 +340884,9 @@ _ZNSt6vectorIN3gcn13VertexElementESaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -162649 -96078 -69473 +162651 +96083 +69476 0 _ZNSt6vectorIN3gcn13VertexElementESaIS1_EEC2ERKS3_ @@ -339187,9 +340895,9 @@ _ZNSt6vectorIN3gcn13VertexElementESaIS1_EEC2ERKS3_ # Num Counters: 3 # Counter Values: -1254 -1254 -350 +1259 +1259 +343 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -339197,9 +340905,9 @@ _ZNSt6vectorIN3gcn13VertexElementESaIS1_EEC2ERKS3_ # NumValueSites: 1 4 -129:541 +129:543 65:366 -33:343 +33:346 17:4 _ZNSt6vectorIN3gcn13VertexElementESaIS1_EEaSERKS3_ @@ -339208,8 +340916,8 @@ _ZNSt6vectorIN3gcn13VertexElementESaIS1_EEaSERKS3_ # Num Counters: 11 # Counter Values: -84015 -84014 +84005 +84009 0 0 0 @@ -339226,10 +340934,10 @@ _ZNSt6vectorIN3gcn13VertexElementESaIS1_EEaSERKS3_ # NumValueSites: 4 4 -65:28989 -129:28869 +65:29003 +129:28848 33:25813 -17:340 +17:342 0 0 0 @@ -339240,9 +340948,9 @@ _ZNSt6vectorIN3gcn14PredictedImageESaIS1_EEC2EyRKS2_ # Num Counters: 4 # Counter Values: -131858 -45166 -16356 +131866 +45165 +16354 0 _ZNSt6vectorIN3gcn14SamplerBindingESaIS1_EE14_M_move_assignEOS3_St17integral_constantIbLb1EE @@ -339253,7 +340961,7 @@ _ZNSt6vectorIN3gcn14SamplerBindingESaIS1_EE14_M_move_assignEOS3_St17integral_con # Counter Values: 0 0 -126571 +126586 0 _ZNSt6vectorIN3gcn14SamplerBindingESaIS1_EE17_M_default_appendEy @@ -339263,13 +340971,13 @@ _ZNSt6vectorIN3gcn14SamplerBindingESaIS1_EE17_M_default_appendEy 11 # Counter Values: 0 -153354 +153249 0 0 -40430 +40410 0 -40422 -40430 +40404 +40411 0 0 0 @@ -339294,8 +341002,8 @@ _ZNSt6vectorIN3gcn14SamplerBindingESaIS1_EE20_M_allocate_and_copyIN9__gnu_cxx17_ # Num Counters: 4 # Counter Values: -24757 -24760 +24783 +24782 0 0 @@ -339307,8 +341015,8 @@ _ZNSt6vectorIN3gcn14SamplerBindingESaIS1_EE6resizeEy # Counter Values: 0 0 -56836 -40430 +56845 +40409 0 0 @@ -339327,8 +341035,8 @@ _ZNSt6vectorIN3gcn14SamplerBindingESaIS1_EEC2ERKS3_ # Num Counters: 4 # Counter Values: -46206 -24219 +46204 +24220 0 0 @@ -339338,10 +341046,10 @@ _ZNSt6vectorIN3gcn14SamplerBindingESaIS1_EED2Ev # Num Counters: 4 # Counter Values: -173773 +173766 0 -297087 -44638 +297104 +44663 _ZNSt6vectorIN3gcn14SamplerBindingESaIS1_EEaSERKS3_ # Func Hash: @@ -339355,11 +341063,11 @@ _ZNSt6vectorIN3gcn14SamplerBindingESaIS1_EEaSERKS3_ 0 0 0 -50576 -24757 +50575 +24783 0 0 -25816 +25792 _ZNSt6vectorIN3gcn15TranslateResult10BufferReadESaIS2_EE12emplace_backIJS2_EEERS2_DpOT_ # Func Hash: @@ -339378,7 +341086,7 @@ _ZNSt6vectorIN3gcn15TranslateResult10BufferReadESaIS2_EE14_M_move_assignEOS4_St1 # Counter Values: 0 0 -126573 +126577 0 _ZNSt6vectorIN3gcn15TranslateResult10BufferReadESaIS2_EE17_M_default_appendEy @@ -339388,13 +341096,13 @@ _ZNSt6vectorIN3gcn15TranslateResult10BufferReadESaIS2_EE17_M_default_appendEy 11 # Counter Values: 0 -298978 +298860 0 0 -50826 +50817 0 -50818 -50829 +50806 +50820 0 0 0 @@ -339430,8 +341138,8 @@ _ZNSt6vectorIN3gcn15TranslateResult10BufferReadESaIS2_EE6resizeEy # Counter Values: 0 0 -46445 -50825 +46433 +50817 0 0 @@ -339441,8 +341149,8 @@ _ZNSt6vectorIN3gcn15TranslateResult10BufferReadESaIS2_EEC2ERKS4_ # Num Counters: 4 # Counter Values: -46208 -36950 +46203 +36953 0 0 @@ -339452,10 +341160,10 @@ _ZNSt6vectorIN3gcn15TranslateResult10BufferReadESaIS2_EED2Ev # Num Counters: 4 # Counter Values: -315872 -1173 -297077 -54506 +315770 +1164 +297100 +54497 _ZNSt6vectorIN3gcn15TranslateResult10BufferReadESaIS2_EEaSERKS4_ # Func Hash: @@ -339469,11 +341177,11 @@ _ZNSt6vectorIN3gcn15TranslateResult10BufferReadESaIS2_EEaSERKS4_ 0 0 0 -50580 +50575 24 0 0 -50555 +50550 _ZNSt6vectorIN3gcn16ReflectedElementESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # Func Hash: @@ -339481,8 +341189,8 @@ _ZNSt6vectorIN3gcn16ReflectedElementESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # Num Counters: 2 # Counter Values: -2493586 -296768 +2491562 +296401 _ZNSt6vectorIN3gcn16ReflectedElementESaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # Func Hash: @@ -339491,10 +341199,10 @@ _ZNSt6vectorIN3gcn16ReflectedElementESaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ 8 # Counter Values: 0 -2766499 -2766573 -700899 -498571 +2764568 +2764672 +700498 +498255 0 0 0 @@ -339506,10 +341214,10 @@ _ZNSt6vectorIN3gcn16ReflectedElementESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ 6 # Counter Values: 0 -4197255 -4197297 -296766 -255819 +4194069 +4194067 +296402 +255504 0 _ZNSt6vectorIN3gcn16ReflectedElementESaIS1_EED2Ev @@ -339518,11 +341226,11 @@ _ZNSt6vectorIN3gcn16ReflectedElementESaIS1_EED2Ev # Num Counters: 5 # Counter Values: -1716403 -2667007 -951142 -1603967 -208066 +1714349 +2663015 +949236 +1603083 +207888 _ZNSt6vectorIN3gcn16ReflectedSamplerESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # Func Hash: @@ -339530,9 +341238,9 @@ _ZNSt6vectorIN3gcn16ReflectedSamplerESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # Num Counters: 3 # Counter Values: -323 -53641 -17159 +321 +53578 +17163 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -339540,7 +341248,7 @@ _ZNSt6vectorIN3gcn16ReflectedSamplerESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # NumValueSites: 1 1 -9:17159 +9:17163 _ZNSt6vectorIN3gcn16ReflectedSamplerESaIS1_EE14_M_move_assignEOS3_St17integral_constantIbLb1EE # Func Hash: @@ -339550,7 +341258,7 @@ _ZNSt6vectorIN3gcn16ReflectedSamplerESaIS1_EE14_M_move_assignEOS3_St17integral_c # Counter Values: 0 0 -49307 +49283 0 _ZNSt6vectorIN3gcn16ReflectedSamplerESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ @@ -339560,10 +341268,10 @@ _ZNSt6vectorIN3gcn16ReflectedSamplerESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ 6 # Counter Values: 468 -72857 -2457 -34556 -51186 +72843 +2427 +34543 +51150 0 # Num Value Kinds: 1 @@ -339572,10 +341280,10 @@ _ZNSt6vectorIN3gcn16ReflectedSamplerESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ # NumValueSites: 2 2 -9:50561 +9:50524 16:624 2 -9:72819 +9:72806 16:36 _ZNSt6vectorIN3gcn16ReflectedSamplerESaIS1_EED2Ev @@ -339584,10 +341292,10 @@ _ZNSt6vectorIN3gcn16ReflectedSamplerESaIS1_EED2Ev # Num Counters: 4 # Counter Values: -368 -8718 -13200 -2828 +336 +8688 +13175 +2776 _ZNSt6vectorIN3gcn17ReflectedResourceESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # Func Hash: @@ -339595,9 +341303,9 @@ _ZNSt6vectorIN3gcn17ReflectedResourceESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # Num Counters: 3 # Counter Values: -59649 -165540 -129132 +59626 +165367 +129094 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -339605,10 +341313,10 @@ _ZNSt6vectorIN3gcn17ReflectedResourceESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # NumValueSites: 1 5 -9:99866 -16:10501 -6:10322 -8:8434 +9:99860 +16:10486 +6:10303 +8:8432 7:12 _ZNSt6vectorIN3gcn17ReflectedResourceESaIS1_EE14_M_move_assignEOS3_St17integral_constantIbLb1EE @@ -339619,7 +341327,7 @@ _ZNSt6vectorIN3gcn17ReflectedResourceESaIS1_EE14_M_move_assignEOS3_St17integral_ # Counter Values: 0 0 -49305 +49278 0 _ZNSt6vectorIN3gcn17ReflectedResourceESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ @@ -339628,11 +341336,11 @@ _ZNSt6vectorIN3gcn17ReflectedResourceESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ # Num Counters: 6 # Counter Values: -241132 -212850 -55176 -124141 -110359 +241007 +212742 +55105 +124022 +110253 0 # Num Value Kinds: 1 @@ -339641,16 +341349,16 @@ _ZNSt6vectorIN3gcn17ReflectedResourceESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ # NumValueSites: 2 5 -9:103041 -16:3806 -6:2388 -8:1098 +9:102934 +16:3798 +6:2390 +8:1102 7:24 5 -9:191961 -16:16919 -8:2400 -6:1556 +9:191870 +16:16891 +8:2402 +6:1563 7:12 _ZNSt6vectorIN3gcn17ReflectedResourceESaIS1_EED2Ev @@ -339659,10 +341367,10 @@ _ZNSt6vectorIN3gcn17ReflectedResourceESaIS1_EED2Ev # Num Counters: 4 # Counter Values: -14667 -28629 -13198 -5541 +14571 +28485 +13174 +5479 _ZNSt6vectorIN3gcn18ReflectedAttributeESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # Func Hash: @@ -339670,8 +341378,8 @@ _ZNSt6vectorIN3gcn18ReflectedAttributeESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # Num Counters: 2 # Counter Values: -167276 -276596 +167054 +276263 _ZNSt6vectorIN3gcn18ReflectedAttributeESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ # Func Hash: @@ -339680,10 +341388,10 @@ _ZNSt6vectorIN3gcn18ReflectedAttributeESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ 6 # Counter Values: 0 -499657 -499660 -276596 -193169 +498968 +498961 +276267 +192956 0 _ZNSt6vectorIN3gcn18ReflectedAttributeESaIS1_EE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKS1_S3_EEEEPS1_yT_SB_ @@ -339692,8 +341400,8 @@ _ZNSt6vectorIN3gcn18ReflectedAttributeESaIS1_EE20_M_allocate_and_copyIN9__gnu_cx # Num Counters: 4 # Counter Values: -80482 -80487 +80404 +80407 0 0 @@ -339703,11 +341411,11 @@ _ZNSt6vectorIN3gcn18ReflectedAttributeESaIS1_EED2Ev # Num Counters: 5 # Counter Values: -327639 -512041 -184402 -475404 -91850 +327126 +511183 +184057 +475087 +91656 _ZNSt6vectorIN3gcn18ReflectedAttributeESaIS1_EEaSERKS3_ # Func Hash: @@ -339723,11 +341431,11 @@ _ZNSt6vectorIN3gcn18ReflectedAttributeESaIS1_EEaSERKS3_ 0 0 0 -80582 -80483 +80503 +80404 0 0 -96 +95 _ZNSt6vectorIN3gcn4InstESaIS1_EE17_M_default_appendEy # Func Hash: @@ -339752,9 +341460,9 @@ _ZNSt6vectorIN3gcn4InstESaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -43221535 -941848 -832757 +43190667 +941219 +832309 0 _ZNSt6vectorIN3gcn4InstESaIS1_EEC2ERKS3_ @@ -339824,9 +341532,9 @@ _ZNSt6vectorIN3gcn9UsageSlotESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -406831 -177400 -135790 +406433 +177178 +135622 0 _ZNSt6vectorIN3gpu10LabelDwordESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ @@ -339864,9 +341572,9 @@ _ZNSt6vectorIN3gpu11ImageMemoryESaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -54093 -1265 -1076 +51253 +1234 +1045 0 _ZNSt6vectorIN3gpu11RetireEntryESaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ @@ -339875,9 +341583,9 @@ _ZNSt6vectorIN3gpu11RetireEntryESaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -2003 -1641 -1641 +2071 +1699 +1699 0 # Num Value Kinds: 1 @@ -339886,11 +341594,11 @@ _ZNSt6vectorIN3gpu11RetireEntryESaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # NumValueSites: 1 5 -513:692 -33:272 -65:244 -129:231 -257:202 +513:712 +33:282 +65:253 +129:241 +257:211 _ZNSt6vectorIN3gpu11RetireEntryESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ # Func Hash: @@ -339921,16 +341629,16 @@ _ZNSt6vectorIN3gpu11StageImages5ImageESaIS2_EE17_M_default_appendEy # Num Counters: 12 # Counter Values: -543597964 -4200 -77656540 -600 -297 -26165677 -26162777 -146 -146 -94 +547260623 +4095 +78178136 +585 +301 +26308041 +26303383 +144 +144 +91 0 0 @@ -340047,9 +341755,9 @@ _ZNSt6vectorIN3gpu13UntileGpuPassESaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -2160709 -844042 -648482 +2159612 +843464 +648176 0 _ZNSt6vectorIN3gpu14CaptureSession12StorageImageESaIS2_EE17_M_realloc_appendIJRKS2_EEEvDpOT_ @@ -340130,9 +341838,9 @@ _ZNSt6vectorIN3gpu3Gpu10SmallWriteESaIS2_EE17_M_realloc_appendIJRKS2_EEEvDpOT_ # Num Counters: 4 # Counter Values: -24756 -1612 -1408 +24564 +1609 +1405 0 _ZNSt6vectorIN3gpu5ChunkESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ @@ -340141,8 +341849,8 @@ _ZNSt6vectorIN3gpu5ChunkESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # Num Counters: 2 # Counter Values: -33 -130 +29 +143 _ZNSt6vectorIN3gpu5ChunkESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ # Func Hash: @@ -340150,9 +341858,9 @@ _ZNSt6vectorIN3gpu5ChunkESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -51 -130 -51 +59 +143 +58 0 _ZNSt6vectorIN3gpu5ChunkESaIS1_EED2Ev @@ -340200,9 +341908,9 @@ _ZNSt6vectorIN3gpu8KeyStage5WordsESaIS2_EE17_M_realloc_appendIJEEEvDpOT_ 5 # Counter Values: 1757 -612 +616 252 -195 +196 0 _ZNSt6vectorIN3gpu9CandidateESaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ @@ -340222,9 +341930,9 @@ _ZNSt6vectorIN3gpu9DevBufferESaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -1018 -1023 -604 +1029 +1035 +614 0 _ZNSt6vectorIN3gpu9DevBufferESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ @@ -340245,7 +341953,7 @@ _ZNSt6vectorIN3gpu9TexUpdateESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ 2 # Counter Values: 0 -437 +431 _ZNSt6vectorIN3gpu9TexUpdateESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ # Func Hash: @@ -340254,7 +341962,7 @@ _ZNSt6vectorIN3gpu9TexUpdateESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ 4 # Counter Values: 0 -437 +431 0 0 @@ -340339,8 +342047,8 @@ _ZNSt6vectorIN3spv6Module5InstrESaIS2_EE12emplace_backIJS2_EEERS2_DpOT_ # Num Counters: 2 # Counter Values: -9672 -3240 +21932 +3434 _ZNSt6vectorIN3spv6Module5InstrESaIS2_EE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPS2_S4_EEEEvS9_T_SA_St20forward_iterator_tag # Func Hash: @@ -340348,25 +342056,25 @@ _ZNSt6vectorIN3spv6Module5InstrESaIS2_EE15_M_range_insertIN9__gnu_cxx17__normal_ # Num Counters: 25 # Counter Values: +164 0 +164 0 0 0 0 0 0 +462 0 +154 +154 0 -432 -0 -144 -144 -0 -0 -0 +6 0 0 0 +4 0 0 0 @@ -340380,9 +342088,9 @@ _ZNSt6vectorIN3spv6Module5InstrESaIS2_EE17_M_realloc_appendIJRKS2_EEEvDpOT_ # Num Counters: 6 # Counter Values: -0 -0 -0 +1846 +2 +2 0 0 0 @@ -340393,9 +342101,9 @@ _ZNSt6vectorIN3spv6Module5InstrESaIS2_EE17_M_realloc_appendIJS2_EEEvDpOT_ # Num Counters: 4 # Counter Values: -17592 -3240 -2388 +32996 +3434 +2558 0 _ZNSt6vectorIN3spv6Module5InstrESaIS2_EE7reserveEy @@ -340405,8 +342113,8 @@ _ZNSt6vectorIN3spv6Module5InstrESaIS2_EE7reserveEy 5 # Counter Values: 0 -144 -144 +154 +154 0 0 @@ -340416,8 +342124,8 @@ _ZNSt6vectorIN3spv6Module5InstrESaIS2_EE9push_backERKS2_ # Num Counters: 2 # Counter Values: -6540 -0 +15682 +2 _ZNSt6vectorIN3spv6Module5InstrESaIS2_EED2Ev # Func Hash: @@ -340425,10 +342133,10 @@ _ZNSt6vectorIN3spv6Module5InstrESaIS2_EED2Ev # Num Counters: 4 # Counter Values: -19452 -17628 -1296 -996 +42952 +41012 +1332 +1024 _ZNSt6vectorIN4json5ValueESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # Func Hash: @@ -340512,9 +342220,9 @@ _ZNSt6vectorINSt10filesystem7__cxx114pathESaIS2_EE17_M_realloc_appendIJRKS2_EEEv # Num Counters: 6 # Counter Values: -117 +118 246 -55 +56 0 0 0 @@ -340528,6 +342236,15 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12empla 0 0 +_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12emplace_backIJRPKcEEERS5_DpOT_ +# Func Hash: +146835647075900052 +# Num Counters: +2 +# Counter Values: +0 +0 + _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12emplace_backIJRPKcRKyEEERS5_DpOT_ # Func Hash: 146835647075900052 @@ -340552,9 +342269,9 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12empla # Num Counters: 3 # Counter Values: -1800 -9529 -1509 +1806 +9542 +1511 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -340563,7 +342280,7 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12empla 1 8 16:756 -9:472 +9:474 6:216 4:24 5:24 @@ -340634,7 +342351,7 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE14_M_mo # Counter Values: 0 0 -126695 +126705 0 _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPS5_S7_EEEEvSC_T_SD_St20forward_iterator_tag @@ -340644,23 +342361,23 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE15_M_ra 29 # Counter Values: 0 +2 0 0 0 0 0 0 +2 0 0 0 0 +2 +2 +2 0 -0 -0 -0 -0 -0 -0 +2 0 0 0 @@ -340690,13 +342407,13 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_de 11 # Counter Values: 0 -23046 +23049 0 0 21286 0 21283 -21286 +21285 0 0 0 @@ -340736,9 +342453,9 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_re 7 # Counter Values: 446 -1904795 -965806 -725799 +1907641 +967550 +727073 0 0 0 @@ -340749,16 +342466,37 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_re # NumValueSites: 1 9 -8:888543 -6:618366 -9:261369 -4:92367 -7:39550 +8:888434 +6:618451 +9:262570 +4:92775 +7:40740 5:2652 -16:1827 +16:1899 3:96 1:24 +_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_appendIJRPKcEEEvDpOT_ +# Func Hash: +1091155577463231558 +# Num Counters: +7 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_appendIJRPKcRKyEEEvDpOT_ # Func Hash: 561929923373989630 @@ -340808,10 +342546,10 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_re # Num Counters: 6 # Counter Values: -7298 +7313 1233 -9302 -4865 +9317 +4872 227 0 # Num Value Kinds: @@ -340907,8 +342645,8 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE21_M_ra # Num Counters: 3 # Counter Values: -44013 -44013 +43994 +43994 0 _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE21_M_range_initialize_nISt23_Rb_tree_const_iteratorIS5_ESA_EEvT_T0_y @@ -340917,7 +342655,7 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE21_M_ra # Num Counters: 3 # Counter Values: -40 +45 0 0 @@ -340942,8 +342680,8 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE6resize # Counter Values: 0 0 -121334 -21286 +121284 +21285 0 0 @@ -340978,8 +342716,8 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_b # Num Counters: 2 # Counter Values: -670981 -965805 +671743 +967551 _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2ERKS7_ # Func Hash: @@ -340987,7 +342725,7 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2ERKS7 # Num Counters: 4 # Counter Values: -55953 +55883 10860 0 0 @@ -340998,7 +342736,7 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2ESt16 # Num Counters: 3 # Counter Values: -44013 +43994 0 0 @@ -341032,7 +342770,7 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2ISt23 4 # Counter Values: 0 -40 +45 0 0 @@ -341042,10 +342780,10 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev # Num Counters: 4 # Counter Values: -24492 +24496 456 -310219 -22860 +310174 +22864 _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSERKS7_ # Func Hash: @@ -341059,11 +342797,11 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSERKS7 0 0 0 -50628 +50626 0 0 0 -50629 +50626 _ZNSt6vectorINSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEESaIS5_EE12emplace_backIJS5_EEERS5_DpOT_ # Func Hash: @@ -341167,16 +342905,16 @@ _ZNSt6vectorIP11VkSampler_TSaIS1_EE17_M_default_appendEy # Num Counters: 12 # Counter Values: -16880941 -125 -21233399 -21233353 -104 -104 -75 -76 -6789624 -75 +17041972 +126 +21363676 +21363585 +98 +98 +67 +70 +6898063 +72 0 0 # Num Value Kinds: @@ -341186,10 +342924,10 @@ _ZNSt6vectorIP11VkSampler_TSaIS1_EE17_M_default_appendEy # NumValueSites: 1 4 -16:26 -8:23 -32:23 -33:3 +32:25 +16:21 +8:20 +33:1 _ZNSt6vectorIP11VkSampler_TSaIS1_EEaSERKS3_ # Func Hash: @@ -341277,15 +343015,15 @@ _ZNSt6vectorIP13VkImageView_TSaIS1_EE14_M_fill_assignEyRKS1_ # Num Counters: 9 # Counter Values: -145350 -525139815 -740522 -194 -142 -144775103 -110931783 -515468 -110963717 +148747 +524143882 +746005 +187 +135 +144572603 +110896710 +521597 +110943864 _ZNSt6vectorIP13VkImageView_TSaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # Func Hash: @@ -341293,9 +343031,9 @@ _ZNSt6vectorIP13VkImageView_TSaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -1371 -1179 -1179 +1340 +1148 +1148 0 # Num Value Kinds: 1 @@ -341305,13 +343043,13 @@ _ZNSt6vectorIP13VkImageView_TSaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ 1 8 8:192 -16:184 -32:174 -64:165 -128:150 -513:126 -256:111 -512:77 +16:185 +32:170 +64:161 +128:144 +513:115 +256:107 +512:74 _ZNSt6vectorIP13VkImageView_TSaIS1_EEC2EyRKS1_RKS2_ # Func Hash: @@ -341319,9 +343057,9 @@ _ZNSt6vectorIP13VkImageView_TSaIS1_EEC2EyRKS1_RKS2_ # Num Counters: 4 # Counter Values: -1487 -194 -194 +1434 +187 +187 0 _ZNSt6vectorIP13VkImageView_TSaIS1_EED2Ev @@ -341366,7 +343104,7 @@ _ZNSt6vectorIP16VkDeviceMemory_TSaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -79 +83 24 24 0 @@ -341418,9 +343156,9 @@ _ZNSt6vectorIP17VkDescriptorSet_TSaIS1_EE15_M_range_insertIPS1_EEvN9__gnu_cxx17_ 0 0 0 -1318489 -1317553 -1317553 +1331061 +1330183 +1330183 0 0 0 @@ -341429,10 +343167,10 @@ _ZNSt6vectorIP17VkDescriptorSet_TSaIS1_EE15_M_range_insertIPS1_EEvN9__gnu_cxx17_ 0 0 0 -936 +878 0 0 -936 +878 0 0 0 @@ -341447,10 +343185,10 @@ _ZNSt6vectorIP17VkDescriptorSet_TSaIS1_EE15_M_range_insertIPS1_EEvN9__gnu_cxx17_ 0 0 1 -33:936 +33:878 0 1 -33:1317556 +33:1330194 _ZNSt6vectorIP18VkDescriptorPool_TSaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # Func Hash: @@ -341515,9 +343253,9 @@ _ZNSt6vectorIP9VkImage_TSaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -1265 -1076 -1076 +1234 +1045 +1045 0 # Num Value Kinds: 1 @@ -341526,13 +343264,13 @@ _ZNSt6vectorIP9VkImage_TSaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # NumValueSites: 1 8 -8:177 -16:172 -32:165 -64:156 -128:133 -513:119 -256:92 +8:175 +16:169 +32:161 +64:152 +128:127 +513:111 +256:88 512:62 _ZNSt6vectorIP9VkImage_TSaIS1_EEC2ERKS3_ @@ -341660,8 +343398,8 @@ _ZNSt6vectorIPKcSaIS1_EE21_M_range_initialize_nIPKS1_S6_EEvT_T0_y # Num Counters: 4 # Counter Values: -660 -660 +648 +648 0 0 # Num Value Kinds: @@ -341671,7 +343409,7 @@ _ZNSt6vectorIPKcSaIS1_EE21_M_range_initialize_nIPKS1_S6_EEvT_T0_y # NumValueSites: 1 7 -16:444 +16:432 32:72 17:48 33:36 @@ -341685,7 +343423,7 @@ _ZNSt6vectorIPKcSaIS1_EEC2ESt16initializer_listIS1_ERKS2_ # Num Counters: 3 # Counter Values: -660 +648 0 0 @@ -342006,7 +343744,7 @@ _ZNSt6vectorIS_IjSaIjEESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ 2 # Counter Values: 0 -128152 +128364 _ZNSt6vectorIS_IjSaIjEESaIS1_EE14_M_fill_assignEyRKS1_ # Func Hash: @@ -342046,9 +343784,9 @@ _ZNSt6vectorIS_IjSaIjEESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -9212 -128152 -9212 +9227 +128364 +9227 0 _ZNSt6vectorIS_IjSaIjEESaIS1_EEC2EyRKS1_RKS2_ @@ -342069,10 +343807,10 @@ _ZNSt6vectorIS_IjSaIjEESaIS1_EED2Ev # Num Counters: 4 # Counter Values: -89722 -89722 -80511 -80511 +89881 +89881 +80654 +80654 _ZNSt6vectorIS_ItSaItEESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_ # Func Hash: @@ -342146,9 +343884,9 @@ _ZNSt6vectorISt10unique_ptrIA_hSt14default_deleteIS1_EESaIS4_EE17_M_realloc_appe # Num Counters: 4 # Counter Values: -0 -0 -0 +3 +3 +2 0 _ZNSt6vectorISt10unique_ptrIA_hSt14default_deleteIS1_EESaIS4_EED2Ev @@ -342180,8 +343918,8 @@ _ZNSt6vectorISt10unique_ptrIN3gpu5ChunkESt14default_deleteIS2_EESaIS5_EE8_M_eras 5 # Counter Values: 0 -372 -163 +401 +172 0 0 @@ -342385,7 +344123,7 @@ _ZNSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaI # Num Counters: 2 # Counter Values: -227 +235 24 _ZNSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE12emplace_backIJRS6_RKS6_EEERS7_DpOT_ @@ -342448,11 +344186,11 @@ _ZNSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaI # Num Counters: 5 # Counter Values: -239 +247 0 0 0 -239 +247 _ZNSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EED2Ev # Func Hash: @@ -342639,7 +344377,7 @@ _ZNSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEhESaIS7 # Counter Values: 0 0 -19059 +19063 0 _ZNSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEhESaIS7_EE17_M_realloc_appendIJRA260_cRhEEEvDpOT_ @@ -342672,7 +344410,7 @@ _ZNSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEhESaIS7 # Counter Values: 0 0 -18641 +18645 0 _ZNSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE12emplace_backIJRKS6_iEEERS7_DpOT_ @@ -342784,9 +344522,9 @@ _ZNSt6vectorISt4pairIP18VkDescriptorPool_TP17VkDescriptorSet_TESaIS5_EE17_M_real # Num Counters: 4 # Counter Values: -24695 -959 -786 +24290 +971 +799 0 _ZNSt6vectorISt4pairIP23VkDescriptorSetLayout_TS_IP17VkDescriptorSet_TSaIS4_EEESaIS7_EE12emplace_backIJRS2_S6_EEERS7_DpOT_ @@ -342795,7 +344533,7 @@ _ZNSt6vectorISt4pairIP23VkDescriptorSetLayout_TS_IP17VkDescriptorSet_TSaIS4_EEES # Num Counters: 2 # Counter Values: -1316977 +1329607 576 _ZNSt6vectorISt4pairIP23VkDescriptorSetLayout_TS_IP17VkDescriptorSet_TSaIS4_EEESaIS7_EE17_M_realloc_appendIJRS2_S6_EEEvDpOT_ @@ -342848,9 +344586,9 @@ _ZNSt6vectorISt4pairIPKvyESaIS3_EE17_M_realloc_appendIJPhyEEEvDpOT_ # Num Counters: 4 # Counter Values: -10405608 -5479167 -2289617 +10446947 +5537135 +2310511 0 _ZNSt6vectorISt4pairIPKvyESaIS3_EE17_M_realloc_appendIJPjjEEEvDpOT_ @@ -342870,9 +344608,9 @@ _ZNSt6vectorISt4pairIPKvyESaIS3_EE17_M_realloc_appendIJPvjEEEvDpOT_ # Num Counters: 4 # Counter Values: -20811278 -10956996 -4579244 +20893894 +11072934 +4621022 0 _ZNSt6vectorISt4pairIPKvyESaIS3_EE17_M_realloc_appendIJRKS3_EEEvDpOT_ @@ -342882,7 +344620,7 @@ _ZNSt6vectorISt4pairIPKvyESaIS3_EE17_M_realloc_appendIJRKS3_EEEvDpOT_ 4 # Counter Values: 0 -27 +34 0 0 @@ -342903,9 +344641,9 @@ _ZNSt6vectorISt4pairIPKvyESaIS3_EE21_M_range_initialize_nIPKS3_S8_EEvT_T0_y # Num Counters: 4 # Counter Values: -27 -27 -27 +34 +34 +34 0 _ZNSt6vectorISt4pairIPKvyESaIS3_EE7reserveEy @@ -342915,8 +344653,8 @@ _ZNSt6vectorISt4pairIPKvyESaIS3_EE7reserveEy 5 # Counter Values: 0 -3189604 -3188902 +3226692 +3225990 0 0 @@ -342936,7 +344674,7 @@ _ZNSt6vectorISt4pairIPKvyESaIS3_EEC2ESt16initializer_listIS3_ERKS4_ # Num Counters: 3 # Counter Values: -27 +34 0 0 @@ -342946,12 +344684,12 @@ _ZNSt6vectorISt4pairIPKvyESaIS3_EEaSERKS5_ # Num Counters: 9 # Counter Values: -21783346 +21913540 0 0 0 -6379156 -6379156 +6453316 +6453316 0 0 0 @@ -343187,9 +344925,9 @@ _ZNSt6vectorISt4pairIdiESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -108 -138 -80 +118 +140 +83 0 _ZNSt6vectorISt4pairIicESaIS1_EE17_M_realloc_appendIJRicEEEvDpOT_ @@ -343220,9 +344958,9 @@ _ZNSt6vectorISt4pairIiyESaIS1_EE17_M_realloc_appendIJRiRyEEEvDpOT_ # Num Counters: 4 # Counter Values: -8131 -436 -348 +8139 +437 +349 0 _ZNSt6vectorISt4pairIiyESaIS1_EE21_M_range_initialize_nISt23_Rb_tree_const_iteratorIS0_IKiyEES8_EEvT_T0_y @@ -343331,12 +345069,12 @@ _ZNSt6vectorISt4pairIjbESaIS1_EE17_M_default_appendEy 10 # Counter Values: 0 -97401 +97321 0 -20872 +20878 0 -20872 -20872 +20878 +20878 0 0 0 @@ -343347,9 +345085,9 @@ _ZNSt6vectorISt4pairIjbESaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -384 -113 -97 +392 +114 +98 0 _ZNSt6vectorISt4pairIjbESaIS1_EE17_M_realloc_appendIJRKjRKbEEEvDpOT_ @@ -343358,9 +345096,9 @@ _ZNSt6vectorISt4pairIjbESaIS1_EE17_M_realloc_appendIJRKjRKbEEEvDpOT_ # Num Counters: 4 # Counter Values: -158781 -61780 -45425 +158784 +61787 +45422 0 _ZNSt6vectorISt4pairIjbESaIS1_EE17_M_realloc_appendIJRjRbEEEvDpOT_ @@ -343369,9 +345107,9 @@ _ZNSt6vectorISt4pairIjbESaIS1_EE17_M_realloc_appendIJRjRbEEEvDpOT_ # Num Counters: 4 # Counter Values: -24 -3 -3 +16 +2 +2 0 _ZNSt6vectorISt4pairIjbESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ @@ -343380,9 +345118,9 @@ _ZNSt6vectorISt4pairIjbESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -827000 -1316641 -601143 +826281 +1322026 +600424 0 _ZNSt6vectorISt4pairIjbESaIS1_EE21_M_range_initialize_nISt23_Rb_tree_const_iteratorIS1_ES6_EEvT_T0_y @@ -343402,9 +345140,9 @@ _ZNSt6vectorISt4pairIjbESaIS1_EEC2ERKS3_ # Num Counters: 3 # Counter Values: -6211 -2855 -1127 +6206 +2852 +1128 _ZNSt6vectorISt4pairIjbESaIS1_EEC2ISt23_Rb_tree_const_iteratorIS1_EvEET_S7_RKS2_ # Func Hash: @@ -343423,15 +345161,15 @@ _ZNSt6vectorISt4pairIjbESaIS1_EEaSERKS3_ # Num Counters: 9 # Counter Values: -318404 +318285 0 0 12 -110349 -44793 +110358 +44798 0 0 -65559 +65562 _ZNSt6vectorISt4pairIjiESaIS1_EE13_M_assign_auxIPKS1_EEvT_S7_St20forward_iterator_tag # Func Hash: @@ -343529,9 +345267,9 @@ _ZNSt6vectorISt4pairIjyESaIS1_EE17_M_realloc_appendIJRKjRKyEEEvDpOT_ # Num Counters: 4 # Counter Values: -48127 -48638 -32255 +48387 +48770 +32385 0 _ZNSt6vectorISt4pairIjyESaIS1_EE17_M_realloc_appendIJRjRyEEEvDpOT_ @@ -343773,9 +345511,9 @@ _ZNSt6vectorISt4pairIyjESaIS1_EE17_M_realloc_appendIJyRjEEEvDpOT_ # Num Counters: 4 # Counter Values: -2762 -3343 -1997 +2797 +3380 +2021 0 _ZNSt6vectorISt4pairIyjESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ @@ -343784,10 +345522,10 @@ _ZNSt6vectorISt4pairIyjESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__nor # Num Counters: 5 # Counter Values: -9475 -4721 -125 -113 +7442 +5730 +124 +112 0 _ZNSt6vectorISt4pairIyjESaIS1_EE6insertEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EERS6_ @@ -343796,10 +345534,10 @@ _ZNSt6vectorISt4pairIyjESaIS1_EE6insertEN9__gnu_cxx17__normal_iteratorIPKS1_S3_E # Num Counters: 4 # Counter Values: -256227760 -26805226 -125 -7132005 +256128801 +26843546 +124 +7249168 _ZNSt6vectorISt4pairIyyESaIS1_EE14_M_move_assignEOS3_St17integral_constantIbLb1EE # Func Hash: @@ -343816,9 +345554,9 @@ _ZNSt6vectorISt4pairIyyESaIS1_EE17_M_realloc_appendIJRKS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -8106 -1820 -1495 +8118 +1824 +1497 0 _ZNSt6vectorISt4pairIyyESaIS1_EE17_M_realloc_appendIJRKyRyEEEvDpOT_ @@ -343860,9 +345598,9 @@ _ZNSt6vectorISt4pairIyyESaIS1_EE17_M_realloc_appendIJRyS5_EEEvDpOT_ # Num Counters: 4 # Counter Values: -26616 -5934 -3041 +25959 +6565 +3328 0 _ZNSt6vectorISt4pairIyyESaIS1_EE17_M_realloc_appendIJRyyEEEvDpOT_ @@ -343882,9 +345620,9 @@ _ZNSt6vectorISt4pairIyyESaIS1_EE17_M_realloc_appendIJS1_EEEvDpOT_ # Num Counters: 4 # Counter Values: -12128 -5493 -3895 +11332 +5318 +3750 0 _ZNSt6vectorISt4pairIyyESaIS1_EE17_M_realloc_appendIJyyEEEvDpOT_ @@ -343927,8 +345665,8 @@ _ZNSt6vectorISt4pairIyyESaIS1_EE7reserveEy 5 # Counter Values: 0 -459 -459 +463 +463 0 0 @@ -344051,13 +345789,13 @@ _ZNSt6vectorISt5arrayIyLy6EESaIS1_EE14_M_fill_appendEyRKS1_ # Num Counters: 9 # Counter Values: -28 -932 -654 -25 -411 -411 -183 +26 +952 +683 +23 +421 +421 +190 0 0 @@ -344369,7 +346107,7 @@ _ZNSt6vectorIbSaIbEE13_M_initializeEy 3 # Counter Values: 47083 -44923 +44927 0 _ZNSt6vectorIbSaIbEE13_M_insert_auxESt13_Bit_iteratorb @@ -344408,10 +346146,10 @@ _ZNSt6vectorIbSaIbEE14_M_fill_assignEyb # Num Counters: 5 # Counter Values: -806230 -426595 -410332 -777840 +806280 +426575 +410346 +777806 0 # Num Value Kinds: 1 @@ -344420,9 +346158,9 @@ _ZNSt6vectorIbSaIbEE14_M_fill_assignEyb # NumValueSites: 2 1 -4:410114 +4:410141 1 -4:776780 +4:777055 _ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iteratoryb # Func Hash: @@ -344434,12 +346172,12 @@ _ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iteratoryb 0 0 0 -596937 +597265 0 0 0 -410073 -161402 +410116 +161687 0 0 0 @@ -344449,12 +346187,12 @@ _ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iteratoryb 0 0 0 -410137 -80360 -81046 +410129 +80529 +81162 0 0 -409952 +410050 0 0 0 @@ -344464,7 +346202,7 @@ _ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iteratoryb 0 0 0 -161393 +161683 0 0 0 @@ -344485,11 +346223,11 @@ _ZNSt6vectorIbSaIbEE15_M_copy_alignedESt19_Bit_const_iteratorS2_St13_Bit_iterato 10 # Counter Values: 0 -158825 +158809 0 -274632 +274926 0 -433455 +433728 0 0 0 @@ -344509,7 +346247,7 @@ _ZNSt6vectorIbSaIbEE6resizeEyb 3 # Counter Values: 0 -46036 +46020 0 _ZNSt6vectorIbSaIbEE9push_backEb @@ -344521,7 +346259,7 @@ _ZNSt6vectorIbSaIbEE9push_backEb 28 0 0 -329825943 +329124963 _ZNSt6vectorIbSaIbEEC2ERKS1_ # Func Hash: @@ -344529,7 +346267,7 @@ _ZNSt6vectorIbSaIbEEC2ERKS1_ # Num Counters: 4 # Counter Values: -2855 +2852 0 0 0 @@ -344558,9 +346296,9 @@ _ZNSt6vectorIbSaIbEEaSERKS1_ # Num Counters: 4 # Counter Values: -110345 -110349 -43796 +110355 +110356 +43799 0 _ZNSt6vectorIcSaIcEE13_M_assign_auxISt19istreambuf_iteratorIcSt11char_traitsIcEEEEvT_S7_St18input_iterator_tag @@ -344709,9 +346447,9 @@ _ZNSt6vectorIcSaIcEE17_M_realloc_appendIJcEEEvDpOT_ # Num Counters: 4 # Counter Values: +4 +2 2 -0 -0 0 # Num Value Kinds: 1 @@ -344719,7 +346457,8 @@ _ZNSt6vectorIcSaIcEE17_M_realloc_appendIJcEEEvDpOT_ 1 # NumValueSites: 1 -0 +1 +1:2 _ZNSt6vectorIcSaIcEE17_M_realloc_insertIJcEEEvN9__gnu_cxx17__normal_iteratorIPcS1_EEDpOT_ # Func Hash: @@ -344818,14 +346557,14 @@ _ZNSt6vectorIdSaIdEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPKdS1_EEEEv # Num Counters: 24 # Counter Values: -493468 +524461 0 0 0 -1785 -299 -299 -253 +1795 +303 +303 +256 0 0 0 @@ -344833,10 +346572,10 @@ _ZNSt6vectorIdSaIdEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPKdS1_EEEEv 0 0 0 -1450 +1455 0 0 -1450 +1455 0 0 0 @@ -344850,15 +346589,16 @@ _ZNSt6vectorIdSaIdEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPKdS1_EEEEv 5 0 0 -3 -513:958 -257:490 -512:2 +2 +513:972 +257:483 0 -3 -513:223 -257:71 -129:5 +5 +513:222 +257:75 +129:4 +17:1 +512:1 _ZNSt6vectorIdSaIdEE17_M_default_appendEy # Func Hash: @@ -344936,8 +346676,8 @@ _ZNSt6vectorIdSaIdEE7reserveEy # Num Counters: 5 # Counter Values: -1785 -1749 +1795 +1758 0 0 0 @@ -344955,8 +346695,8 @@ _ZNSt6vectorIdSaIdEEC2ERKS1_ # Num Counters: 3 # Counter Values: -3538 -3538 +3554 +3554 0 # Num Value Kinds: 1 @@ -344964,11 +346704,12 @@ _ZNSt6vectorIdSaIdEEC2ERKS1_ 1 # NumValueSites: 1 -4 -513:2407 -257:1124 +5 +513:2431 +257:1115 129:5 512:2 +17:1 _ZNSt6vectorIfSaIfEE14_M_fill_assignEyRKf # Func Hash: @@ -344992,9 +346733,9 @@ _ZNSt6vectorIfSaIfEE17_M_realloc_appendIJfEEEvDpOT_ # Num Counters: 4 # Counter Values: -18259 -13696 -13699 +18265 +13700 +13697 0 # Num Value Kinds: 1 @@ -345003,9 +346744,9 @@ _ZNSt6vectorIfSaIfEE17_M_realloc_appendIJfEEEvDpOT_ # NumValueSites: 1 3 -8:4564 -16:4561 -4:4560 +8:4566 +4:4563 +16:4563 _ZNSt6vectorIfSaIfEEC2EyRKS0_ # Func Hash: @@ -345128,7 +346869,7 @@ _ZNSt6vectorIhSaIhEE13_M_assign_auxIPKhEEvT_S5_St20forward_iterator_tag # Num Counters: 13 # Counter Values: -1477657 +1461910 0 0 0 @@ -345148,8 +346889,8 @@ _ZNSt6vectorIhSaIhEE13_M_assign_auxIPKhEEvT_S5_St20forward_iterator_tag # NumValueSites: 4 9 -128:1474226 -32:1325 +128:1458537 +32:1267 513:780 4:390 64:312 @@ -345223,13 +346964,13 @@ _ZNSt6vectorIhSaIhEE14_M_fill_assignEyRKh # Num Counters: 9 # Counter Values: -398 -58 -23085232 -1920823 -1920823 -23085232 -1851007 +388 +48 +21386831 +1447496 +1447497 +21386831 +1478257 0 0 # Num Value Kinds: @@ -345241,65 +346982,61 @@ _ZNSt6vectorIhSaIhEE14_M_fill_assignEyRKh 6 7:192 6:96 -65:42 +65:36 513:28 5:24 -64:16 -17 -1:1396100 -2:153530 -65:107052 -9:57736 -17:36750 -5:31462 -64:30940 -513:23602 -4:20802 -3:19308 -33:15374 -7:12412 -129:6857 -6:4734 -16:3728 -8:378 -32:60 +64:12 +15 +1:1127014 +2:137196 +64:49560 +65:42360 +513:23792 +33:19280 +17:14770 +9:10412 +3:7634 +129:6712 +4:4792 +32:3640 +5:310 +7:20 +8:10 19 -1:1232594 -64:132984 -65:118310 -17:105000 -33:91904 -9:54150 -2:46914 -8:29038 -16:19650 -257:17552 -5:15680 -6:13700 -4:12942 -7:8858 -3:8716 -513:6860 -128:3732 -129:2225 -32:16 -16 -1:17493848 -2:3908168 -65:1202088 -513:138054 -9:105854 -17:49850 -5:42368 -33:37796 -7:25758 -4:23530 -3:20192 -64:18060 -8:8858 -129:6859 -6:3906 -32:60 +1:953010 +64:135971 +17:72894 +33:66214 +3:41196 +4:33866 +9:29686 +8:28524 +65:25562 +257:17657 +2:12942 +32:7030 +513:6718 +5:3916 +128:3800 +7:3652 +129:2238 +16:1926 +6:700 +14 +1:17593918 +2:2642338 +65:633824 +513:138795 +17:87596 +9:78550 +64:75246 +33:51662 +3:33524 +4:13054 +7:11214 +8:10544 +5:9906 +129:6714 _ZNSt6vectorIhSaIhEE14_M_move_assignEOS1_St17integral_constantIbLb1EE # Func Hash: @@ -345307,8 +347044,8 @@ _ZNSt6vectorIhSaIhEE14_M_move_assignEOS1_St17integral_constantIbLb1EE # Num Counters: 2 # Counter Values: -1406 -28 +1377 +33 _ZNSt6vectorIhSaIhEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEEvNS4_IPhS1_EET_SG_St20forward_iterator_tag # Func Hash: @@ -345316,14 +347053,14 @@ _ZNSt6vectorIhSaIhEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cx # Num Counters: 24 # Counter Values: -5323758 +5412412 0 0 0 -555505 -5503 -5503 -5503 +563797 +5601 +5601 +5601 0 0 0 @@ -345331,10 +347068,10 @@ _ZNSt6vectorIhSaIhEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cx 0 0 0 -550002 +558196 0 0 -550002 +558196 0 0 0 @@ -345349,11 +347086,11 @@ _ZNSt6vectorIhSaIhEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cx 0 0 1 -8:550002 +8:558196 0 2 -8:5158 -32:345 +8:5250 +32:351 _ZNSt6vectorIhSaIhEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPKhS1_EEEEvNS4_IPhS1_EET_SA_St20forward_iterator_tag # Func Hash: @@ -345403,14 +347140,14 @@ _ZNSt6vectorIhSaIhEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPhS1_EEEEvS # Num Counters: 24 # Counter Values: -1025362681 +1033974364 0 0 0 -233225 -4292 -4292 -4292 +236323 +4336 +4336 +4336 0 0 0 @@ -345418,10 +347155,10 @@ _ZNSt6vectorIhSaIhEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPhS1_EEEEvS 0 0 0 -228933 +231987 0 0 -228933 +231987 0 0 0 @@ -345436,13 +347173,13 @@ _ZNSt6vectorIhSaIhEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPhS1_EEEEvS 0 0 4 -513:226518 -129:1380 -257:690 -65:345 +513:229537 +129:1400 +257:700 +65:350 0 1 -513:4292 +513:4336 _ZNSt6vectorIhSaIhEE15_M_range_insertIPKhEEvN9__gnu_cxx17__normal_iteratorIPhS1_EET_S9_St20forward_iterator_tag # Func Hash: @@ -345450,14 +347187,14 @@ _ZNSt6vectorIhSaIhEE15_M_range_insertIPKhEEvN9__gnu_cxx17__normal_iteratorIPhS1_ # Num Counters: 24 # Counter Values: -5012556039 +5024678173 0 0 0 -338752933 -54589047 -54589002 -43857016 +340989201 +54861854 +54861969 +44056049 0 0 0 @@ -345465,10 +347202,10 @@ _ZNSt6vectorIhSaIhEE15_M_range_insertIPKhEEvN9__gnu_cxx17__normal_iteratorIPhS1_ 0 0 0 -284203239 +286162584 0 0 -284202820 +286163237 0 0 0 @@ -345482,25 +347219,27 @@ _ZNSt6vectorIhSaIhEE15_M_range_insertIPKhEEvN9__gnu_cxx17__normal_iteratorIPhS1_ 5 0 0 -7 -4:148373489 -16:105346295 -17:16638950 -8:13292639 -128:418201 -33:218847 +8 +4:150332540 +16:105207070 +17:16724718 +8:13353886 +128:423609 +33:221379 2:132 +32:2 0 -9 -16:38993819 -8:7206289 -17:6209114 -4:1897485 -65:230120 -128:42039 -33:11273 +10 +16:39107760 +8:7306468 +17:6224302 +4:1936460 +65:233173 +128:42737 +33:11794 2:72 7:12 +513:4 _ZNSt6vectorIhSaIhEE15_M_range_insertIPhEEvN9__gnu_cxx17__normal_iteratorIS3_S1_EET_S7_St20forward_iterator_tag # Func Hash: @@ -345512,7 +347251,7 @@ _ZNSt6vectorIhSaIhEE15_M_range_insertIPhEEvN9__gnu_cxx17__normal_iteratorIS3_S1_ 0 0 0 -308778 +303533 60 60 24 @@ -345523,10 +347262,10 @@ _ZNSt6vectorIhSaIhEE15_M_range_insertIPhEEvN9__gnu_cxx17__normal_iteratorIS3_S1_ 0 0 0 -308718 +303473 0 0 -308718 +303473 0 0 0 @@ -345541,7 +347280,7 @@ _ZNSt6vectorIhSaIhEE15_M_range_insertIPhEEvN9__gnu_cxx17__normal_iteratorIS3_S1_ 0 0 1 -17:308720 +17:303474 0 2 17:36 @@ -345553,12 +347292,12 @@ _ZNSt6vectorIhSaIhEE17_M_default_appendEy # Num Counters: 10 # Counter Values: -1134259 +1145989 0 -1134253 +1145983 0 -1134257 -1134259 +1145988 +1145986 0 0 0 @@ -345571,12 +347310,12 @@ _ZNSt6vectorIhSaIhEE17_M_default_appendEy 3 0 6 -513:1130244 -129:2538 -65:1349 -33:102 +513:1141913 +129:2513 +65:1436 +33:95 +257:15 1:12 -257:12 0 _ZNSt6vectorIhSaIhEE17_M_realloc_appendIJRKhEEEvDpOT_ @@ -345585,9 +347324,9 @@ _ZNSt6vectorIhSaIhEE17_M_realloc_appendIJRKhEEEvDpOT_ # Num Counters: 4 # Counter Values: -322413 -230577 -230577 +322420 +230584 +230582 0 # Num Value Kinds: 1 @@ -345600,7 +347339,7 @@ _ZNSt6vectorIhSaIhEE17_M_realloc_appendIJRKhEEEvDpOT_ 2:78528 4:53136 8:10692 -513:345 +513:352 _ZNSt6vectorIhSaIhEE17_M_realloc_appendIJcEEEvDpOT_ # Func Hash: @@ -345608,9 +347347,9 @@ _ZNSt6vectorIhSaIhEE17_M_realloc_appendIJcEEEvDpOT_ # Num Counters: 4 # Counter Values: -7012 -6616 -6616 +7011 +6615 +6615 0 # Num Value Kinds: 1 @@ -345619,7 +347358,7 @@ _ZNSt6vectorIhSaIhEE17_M_realloc_appendIJcEEEvDpOT_ # NumValueSites: 1 11 -513:2944 +513:2943 1:396 2:396 4:396 @@ -345637,9 +347376,9 @@ _ZNSt6vectorIhSaIhEE17_M_realloc_appendIJhEEEvDpOT_ # Num Counters: 4 # Counter Values: -171517 -115866 -115862 +171631 +115974 +115966 0 # Num Value Kinds: 1 @@ -345648,10 +347387,10 @@ _ZNSt6vectorIhSaIhEE17_M_realloc_appendIJhEEEvDpOT_ # NumValueSites: 1 9 -1:47601 -2:38252 -4:26399 -8:2294 +1:47631 +2:38305 +4:26424 +8:2286 16:768 32:360 64:96 @@ -345664,10 +347403,10 @@ _ZNSt6vectorIhSaIhEE19_M_range_initializeISt19istreambuf_iteratorIcSt11char_trai # Num Counters: 15 # Counter Values: -124209623 -124216635 +124174295 +124181306 0 -7012 +7011 0 0 396 @@ -345678,7 +347417,7 @@ _ZNSt6vectorIhSaIhEE19_M_range_initializeISt19istreambuf_iteratorIcSt11char_trai 0 0 0 -124216635 +124181306 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -345754,8 +347493,8 @@ _ZNSt6vectorIhSaIhEE21_M_range_initialize_nIPKhS4_EEvT_T0_y # Num Counters: 4 # Counter Values: -858638 -858638 +861162 +861162 0 0 # Num Value Kinds: @@ -345765,10 +347504,10 @@ _ZNSt6vectorIhSaIhEE21_M_range_initialize_nIPKhS4_EEvT_T0_y # NumValueSites: 1 18 -513:851604 +513:854203 1:1692 257:936 -5:888 +5:816 2:768 4:684 7:396 @@ -345782,7 +347521,7 @@ _ZNSt6vectorIhSaIhEE21_M_range_initialize_nIPKhS4_EEvT_T0_y 32:48 64:48 129:48 -256:15 +256:22 _ZNSt6vectorIhSaIhEE21_M_range_initialize_nIPcS3_EEvT_T0_y # Func Hash: @@ -345857,9 +347596,9 @@ _ZNSt6vectorIhSaIhEEC2ERKS1_ # Num Counters: 3 # Counter Values: -18844 -18844 -682 +18702 +18702 +678 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -345869,7 +347608,7 @@ _ZNSt6vectorIhSaIhEEC2ERKS1_ 16 4:5472 1:3124 -5:2232 +5:2088 9:1536 2:1296 16:1128 @@ -345880,7 +347619,7 @@ _ZNSt6vectorIhSaIhEEC2ERKS1_ 6:384 3:264 65:144 -32:120 +32:122 64:96 257:24 @@ -345890,7 +347629,7 @@ _ZNSt6vectorIhSaIhEEC2ESt16initializer_listIhERKS0_ # Num Counters: 3 # Counter Values: -6048 +5976 0 0 @@ -345900,10 +347639,10 @@ _ZNSt6vectorIhSaIhEEC2EyRKS0_ # Num Counters: 5 # Counter Values: -425991 -425993 -425961 -425956 +426195 +426195 +426170 +426164 0 # Num Value Kinds: 1 @@ -345912,12 +347651,12 @@ _ZNSt6vectorIhSaIhEEC2EyRKS0_ # NumValueSites: 1 9 -513:325338 -33:69778 -257:26607 -129:2711 -3:582 -65:547 +513:325579 +33:69637 +257:26656 +129:2763 +3:583 +65:549 9:234 7:78 17:78 @@ -345976,7 +347715,7 @@ _ZNSt6vectorIhSaIhEEC2IPKhvEET_S5_RKS0_ # Num Counters: 3 # Counter Values: -852590 +855186 0 0 @@ -346035,13 +347774,13 @@ _ZNSt6vectorIhSaIhEEaSERKS1_ # Num Counters: 10 # Counter Values: -95876 -95628 +95868 +95605 0 0 0 0 -252 +253 0 0 0 @@ -346052,17 +347791,17 @@ _ZNSt6vectorIhSaIhEEaSERKS1_ # NumValueSites: 4 11 -32:52150 -513:8627 -6:7536 -1:5544 -8:4913 -2:4897 -7:4060 +32:52137 +513:8628 +6:7523 +1:5545 +8:4917 +2:4900 +7:4052 5:3978 -3:1771 +3:1780 4:1517 -9:640 +9:635 0 0 0 @@ -346156,9 +347895,9 @@ _ZNSt6vectorIiSaIiEE17_M_realloc_appendIJRKiEEEvDpOT_ # Num Counters: 4 # Counter Values: -77154 -27268 -27263 +77206 +27313 +27313 0 # Num Value Kinds: 1 @@ -346167,9 +347906,9 @@ _ZNSt6vectorIiSaIiEE17_M_realloc_appendIJRKiEEEvDpOT_ # NumValueSites: 1 3 -4:15269 -8:6000 -16:5999 +4:15284 +8:6016 +16:6016 _ZNSt6vectorIiSaIiEE17_M_realloc_appendIJiEEEvDpOT_ # Func Hash: @@ -346177,9 +347916,9 @@ _ZNSt6vectorIiSaIiEE17_M_realloc_appendIJiEEEvDpOT_ # Num Counters: 4 # Counter Values: -485 -388 -388 +480 +384 +384 0 # Num Value Kinds: 1 @@ -346188,10 +347927,10 @@ _ZNSt6vectorIiSaIiEE17_M_realloc_appendIJiEEEvDpOT_ # NumValueSites: 1 4 -4:97 -8:97 -16:97 -32:97 +4:96 +8:96 +16:96 +32:96 _ZNSt6vectorIiSaIiEE21_M_range_initialize_nIPKiS4_EEvT_T0_y # Func Hash: @@ -346305,7 +348044,7 @@ _ZNSt6vectorIjSaIjEE13_M_assign_auxIN9__gnu_cxx17__normal_iteratorIPKjS1_EEEEvT_ # Num Counters: 13 # Counter Values: -1359926 +1359643 0 0 0 @@ -346325,11 +348064,11 @@ _ZNSt6vectorIjSaIjEE13_M_assign_auxIN9__gnu_cxx17__normal_iteratorIPKjS1_EEEEvT_ # NumValueSites: 4 8 -17:652921 -16:319045 -9:196382 -8:127986 -32:58621 +17:652816 +16:319026 +9:196250 +8:127972 +32:58618 4:4795 33:695 65:165 @@ -346343,15 +348082,15 @@ _ZNSt6vectorIjSaIjEE13_M_assign_auxIPKjEEvT_S5_St20forward_iterator_tag # Num Counters: 13 # Counter Values: -1970 +1967 0 2 0 -16154 +16153 0 0 0 -37615 +37614 0 0 0 @@ -346363,7 +348102,7 @@ _ZNSt6vectorIjSaIjEE13_M_assign_auxIPKjEEvT_S5_St20forward_iterator_tag # NumValueSites: 4 5 -33:970 +33:967 65:921 129:36 17:24 @@ -346412,9 +348151,9 @@ _ZNSt6vectorIjSaIjEE14_M_fill_assignEyRKj 0 0 0 -12137426 +12163782 0 -12110010 +12136327 0 0 0 @@ -346425,8 +348164,8 @@ _ZNSt6vectorIjSaIjEE14_M_move_assignEOS1_St17integral_constantIbLb1EE # Num Counters: 2 # Counter Values: -101580604 -107 +101850414 +102 _ZNSt6vectorIjSaIjEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPKjS1_EEEEvNS4_IPjS1_EET_SA_St20forward_iterator_tag # Func Hash: @@ -346434,14 +348173,14 @@ _ZNSt6vectorIjSaIjEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPKjS1_EEEEv # Num Counters: 24 # Counter Values: -495076999 +494802560 0 0 0 -67639270 -1138332 -1138742 -780331 +67036645 +1148355 +1148858 +789862 0 0 0 @@ -346449,10 +348188,10 @@ _ZNSt6vectorIjSaIjEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPKjS1_EEEEv 0 0 0 -66537826 +65837764 0 0 -65778204 +65128885 0 0 0 @@ -346467,30 +348206,30 @@ _ZNSt6vectorIjSaIjEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPKjS1_EEEEv 0 0 11 -17:37644043 -16:19124095 -9:7247647 -32:4138486 -8:962504 -4:118698 -33:104176 -65:791 +17:37392558 +16:19032110 +9:7232020 +32:4135322 +8:961656 +4:122840 +33:104051 +65:792 129:245 128:10 64:7 0 11 -4:618733 -17:143058 -8:121269 -9:111398 -16:89027 -65:21545 -129:13729 -32:9550 -33:8346 -128:1542 -64:630 +4:619968 +17:143242 +8:127420 +9:113691 +16:89360 +65:21517 +129:13726 +32:9551 +33:8331 +128:1548 +64:629 _ZNSt6vectorIjSaIjEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPjS1_EEEEvS6_T_S7_St20forward_iterator_tag # Func Hash: @@ -346498,14 +348237,14 @@ _ZNSt6vectorIjSaIjEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPjS1_EEEEvS # Num Counters: 24 # Counter Values: -207880 +206645 0 0 0 -65403 -38243 -38249 -37279 +65204 +38195 +38206 +37232 0 0 0 @@ -346513,10 +348252,10 @@ _ZNSt6vectorIjSaIjEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPjS1_EEEEvS 0 0 0 -25025 +24877 0 0 -25007 +24852 0 0 0 @@ -346530,21 +348269,24 @@ _ZNSt6vectorIjSaIjEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPjS1_EEEEvS 5 0 0 -5 -17:21181 -9:963 -129:963 -513:963 -65:962 -0 7 -8:25187 -17:5983 +17:21021 +65:957 +129:957 +513:957 +9:956 +16:4 +32:2 +0 +8 +8:25188 +17:5939 4:5190 -16:1243 +16:1231 9:430 129:165 65:50 +32:2 _ZNSt6vectorIjSaIjEE15_M_range_insertIPKjEEvN9__gnu_cxx17__normal_iteratorIPjS1_EET_S9_St20forward_iterator_tag # Func Hash: @@ -346552,14 +348294,14 @@ _ZNSt6vectorIjSaIjEE15_M_range_insertIPKjEEvN9__gnu_cxx17__normal_iteratorIPjS1_ # Num Counters: 24 # Counter Values: -53653076 +53673044 0 0 0 -36765760 -992282 -992335 -174009 +36787578 +993751 +993772 +174282 0 0 0 @@ -346567,10 +348309,10 @@ _ZNSt6vectorIjSaIjEE15_M_range_insertIPKjEEvN9__gnu_cxx17__normal_iteratorIPjS1_ 0 0 0 -35777165 +35792892 0 0 -35765504 +35774148 0 0 0 @@ -346585,20 +348327,20 @@ _ZNSt6vectorIjSaIjEE15_M_range_insertIPKjEEvN9__gnu_cxx17__normal_iteratorIPjS1_ 0 0 6 -4:35415624 -9:101866 -8:101709 -16:80044 -17:44809 -32:8763 +4:35415915 +9:102004 +8:101805 +16:79971 +17:44865 +32:8779 0 7 -4:715491 -9:115381 -16:76153 -17:46896 -8:26792 -32:11329 +4:716418 +9:115563 +16:76303 +17:47010 +8:26883 +32:11344 33:288 _ZNSt6vectorIjSaIjEE15_M_range_insertISt23_Rb_tree_const_iteratorIjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EET_S9_St20forward_iterator_tag @@ -346643,16 +348385,16 @@ _ZNSt6vectorIjSaIjEE17_M_default_appendEy # Num Counters: 12 # Counter Values: -16902294 -3033870289 -18573874 -3624750 -14949332 -14949777 -737 -737 -3043171 -14942066 +16940612 +3035553516 +18609636 +3636665 +14972979 +14973421 +738 +738 +3038676 +14965713 0 0 # Num Value Kinds: @@ -346663,17 +348405,17 @@ _ZNSt6vectorIjSaIjEE17_M_default_appendEy 1 12 8:218 -17:178 +17:187 33:162 -9:55 -16:49 +9:52 +16:41 4:33 -65:10 -129:10 -32:9 +32:11 +129:9 +64:7 +65:6 +257:6 513:6 -64:4 -257:3 _ZNSt6vectorIjSaIjEE17_M_realloc_appendIJRKjEEEvDpOT_ # Func Hash: @@ -346681,9 +348423,9 @@ _ZNSt6vectorIjSaIjEE17_M_realloc_appendIJRKjEEEvDpOT_ # Num Counters: 4 # Counter Values: -451601 -285148 -285106 +473403 +306806 +306744 0 # Num Value Kinds: 1 @@ -346691,18 +348433,19 @@ _ZNSt6vectorIjSaIjEE17_M_realloc_appendIJRKjEEEvDpOT_ 1 # NumValueSites: 1 -11 -4:123202 -8:63786 -16:44956 -513:20380 -32:17930 -64:13809 +12 +4:134437 +8:74254 +16:45010 +513:20370 +32:17918 +64:13715 128:428 256:263 -512:231 -33:132 -257:54 +512:229 +33:136 +257:50 +17:2 _ZNSt6vectorIjSaIjEE17_M_realloc_appendIJjEEEvDpOT_ # Func Hash: @@ -346710,9 +348453,9 @@ _ZNSt6vectorIjSaIjEE17_M_realloc_appendIJjEEEvDpOT_ # Num Counters: 4 # Counter Values: -12121418 -9309768 -9309756 +12248605 +9395242 +9395228 0 # Num Value Kinds: 1 @@ -346720,19 +348463,20 @@ _ZNSt6vectorIjSaIjEE17_M_realloc_appendIJjEEEvDpOT_ 1 # NumValueSites: 1 -12 -4:2208865 -8:2043114 -16:1812419 -32:1564383 -64:880546 -128:567783 -256:171193 +13 +4:2233110 +8:2063706 +16:1831052 +32:1577474 +64:889413 +128:571151 +256:168048 9:30679 -512:25503 +512:25319 513:4958 -17:359 -257:24 +17:363 +257:19 +65:2 _ZNSt6vectorIjSaIjEE21_M_range_initialize_nIN9__gnu_cxx17__normal_iteratorIPKjS1_EES7_EEvT_T0_y # Func Hash: @@ -346740,8 +348484,8 @@ _ZNSt6vectorIjSaIjEE21_M_range_initialize_nIN9__gnu_cxx17__normal_iteratorIPKjS1 # Num Counters: 4 # Counter Values: -41685 -41682 +41640 +41637 0 0 # Num Value Kinds: @@ -346751,7 +348495,7 @@ _ZNSt6vectorIjSaIjEE21_M_range_initialize_nIN9__gnu_cxx17__normal_iteratorIPKjS1 # NumValueSites: 1 3 -17:41456 +17:41409 33:165 32:50 @@ -346761,8 +348505,8 @@ _ZNSt6vectorIjSaIjEE21_M_range_initialize_nIPKjS4_EEvT_T0_y # Num Counters: 4 # Counter Values: -387454 -387338 +408815 +408838 0 0 # Num Value Kinds: @@ -346771,12 +348515,13 @@ _ZNSt6vectorIjSaIjEE21_M_range_initialize_nIPKjS4_EEvT_T0_y 1 # NumValueSites: 1 -5 -8:237020 -4:118463 -9:27611 -16:3784 -17:574 +6 +8:246840 +4:124677 +9:32892 +16:3954 +17:580 +32:1 _ZNSt6vectorIjSaIjEE21_M_range_initialize_nISt13move_iteratorIN9__gnu_cxx17__normal_iteratorIPjS1_EEES8_EEvT_T0_y # Func Hash: @@ -346795,10 +348540,10 @@ _ZNSt6vectorIjSaIjEE7reserveEy # Num Counters: 5 # Counter Values: -175536 -175504 -963 -963 +175224 +175266 +956 +957 0 # Num Value Kinds: 1 @@ -346807,7 +348552,7 @@ _ZNSt6vectorIjSaIjEE7reserveEy # NumValueSites: 1 1 -17:963 +17:956 _ZNSt6vectorIjSaIjEEC2ERKS1_ # Func Hash: @@ -346815,9 +348560,9 @@ _ZNSt6vectorIjSaIjEEC2ERKS1_ # Num Counters: 3 # Counter Values: -2565309 -2558386 -77629 +2596069 +2594741 +77738 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -346825,16 +348570,16 @@ _ZNSt6vectorIjSaIjEEC2ERKS1_ # NumValueSites: 1 13 -17:1220257 -16:598936 -9:306319 -8:270400 -32:123275 -513:26786 -4:13845 -33:4407 -257:528 -65:460 +17:1221382 +16:599698 +9:311424 +8:285743 +32:123309 +513:26784 +4:25381 +33:4406 +257:531 +65:463 129:452 128:22 64:14 @@ -346845,7 +348590,7 @@ _ZNSt6vectorIjSaIjEEC2ESt16initializer_listIjERKS0_ # Num Counters: 3 # Counter Values: -387341 +408832 0 0 @@ -346855,11 +348600,11 @@ _ZNSt6vectorIjSaIjEEC2EyRKS0_ # Num Counters: 6 # Counter Values: -5301048 -1290 -1290 -1290 -1290 +5403401 +1315 +1315 +1315 +1315 0 _ZNSt6vectorIjSaIjEEC2EyRKjRKS0_ @@ -346868,9 +348613,9 @@ _ZNSt6vectorIjSaIjEEC2EyRKjRKS0_ # Num Counters: 4 # Counter Values: -114074737 -12141919 -12141919 +114340994 +12168276 +12168276 0 _ZNSt6vectorIjSaIjEEC2IN9__gnu_cxx17__normal_iteratorIPKjS1_EEvEET_S8_RKS0_ @@ -346879,7 +348624,7 @@ _ZNSt6vectorIjSaIjEEC2IN9__gnu_cxx17__normal_iteratorIPKjS1_EEvEET_S8_RKS0_ # Num Counters: 3 # Counter Values: -41683 +41641 0 0 @@ -346918,14 +348663,14 @@ _ZNSt6vectorIjSaIjEEaSERKS1_ # Num Counters: 11 # Counter Values: -348525 -293808 +348500 +293824 0 -179 +173 0 0 0 -54587 +54555 0 0 0 @@ -346936,21 +348681,21 @@ _ZNSt6vectorIjSaIjEEaSERKS1_ # NumValueSites: 4 13 -17:120865 -513:64499 -16:41910 -9:17718 -33:14079 -65:7761 -32:6712 -129:5495 -8:4872 +17:120855 +513:64521 +16:41909 +9:17732 +33:14083 +65:7793 +32:6726 +129:5463 +8:4862 4:4648 -257:4633 -64:572 -128:62 +257:4607 +64:568 +128:64 1 -513:179 +513:173 0 0 @@ -346996,14 +348741,14 @@ _ZNSt6vectorIsSaIsEE14_M_fill_assignEyRKs # Num Counters: 9 # Counter Values: -4864 -4864 -651008 -334 -66 -2385 -19 -2385 +4608 +4608 +647936 +333 +68 +2373 +18 +2373 57 _ZNSt6vectorIsSaIsEEC2EyRKsRKS0_ @@ -347012,9 +348757,9 @@ _ZNSt6vectorIsSaIsEEC2EyRKsRKS0_ # Num Counters: 4 # Counter Values: -123392 -334 -334 +123136 +333 +333 0 _ZNSt6vectorItSaItEE17_M_realloc_appendIJRKtEEEvDpOT_ @@ -347104,11 +348849,11 @@ _ZNSt6vectorItSaItEEC2EyRKS0_ # Num Counters: 6 # Counter Values: -5420883 -38342 -38342 -38342 -38342 +5481493 +38786 +38786 +38788 +38788 0 _ZNSt6vectorItSaItEEaSERKS1_ @@ -347265,7 +349010,7 @@ _ZNSt6vectorIySaIyEE14_M_fill_assignEyRKy 0 0 0 -184 +188 0 0 0 @@ -347371,16 +349116,16 @@ _ZNSt6vectorIySaIyEE17_M_default_appendEy # Num Counters: 12 # Counter Values: -50706048 -23658724 -10946737 -10874061 -72537 -72537 -47709 -47709 -9129359 -72411 +50821527 +23595193 +10982360 +10909836 +72419 +72419 +47591 +47591 +9115938 +72290 0 0 # Num Value Kinds: @@ -347390,17 +349135,17 @@ _ZNSt6vectorIySaIyEE17_M_default_appendEy # NumValueSites: 1 11 -513:45525 +513:45413 16:654 -33:534 +33:561 65:486 -17:165 -32:147 +17:156 +32:123 8:99 -129:30 -257:30 -64:27 -128:12 +64:33 +257:27 +128:21 +129:18 _ZNSt6vectorIySaIyEE17_M_realloc_appendIJRKyEEEvDpOT_ # Func Hash: @@ -347408,9 +349153,9 @@ _ZNSt6vectorIySaIyEE17_M_realloc_appendIJRKyEEEvDpOT_ # Num Counters: 4 # Counter Values: -2234978 -1476008 -1476009 +2258181 +1491775 +1491740 0 # Num Value Kinds: 1 @@ -347419,14 +349164,14 @@ _ZNSt6vectorIySaIyEE17_M_realloc_appendIJRKyEEEvDpOT_ # NumValueSites: 1 8 -8:630198 -16:261913 -32:201012 -64:187460 -128:95668 -513:54022 -256:24036 -512:21732 +8:633457 +16:265001 +32:204621 +64:188907 +128:99850 +513:54098 +256:24093 +512:21774 _ZNSt6vectorIySaIyEE17_M_realloc_appendIJyEEEvDpOT_ # Func Hash: @@ -347434,7 +349179,7 @@ _ZNSt6vectorIySaIyEE17_M_realloc_appendIJyEEEvDpOT_ # Num Counters: 4 # Counter Values: -417 +412 20 20 0 @@ -347472,10 +349217,10 @@ _ZNSt6vectorIySaIyEE7reserveEy # Num Counters: 5 # Counter Values: -254995074 -259 +254725249 +256 0 -231 +228 0 # Num Value Kinds: 1 @@ -347531,9 +349276,9 @@ _ZNSt6vectorIySaIyEEC2EyRKyRKS0_ # Num Counters: 4 # Counter Values: -437248 -184 -184 +438272 +188 +188 0 _ZNSt6vectorIySaIyEED2Ev @@ -347551,8 +349296,8 @@ _ZNSt6vectorIySaIyEEaSERKS1_ # Num Counters: 11 # Counter Values: -37077 -37077 +37198 +37198 0 0 0 @@ -347569,10 +349314,10 @@ _ZNSt6vectorIySaIyEEaSERKS1_ # NumValueSites: 4 5 -129:28246 -33:5090 -257:2922 -65:807 +129:28303 +33:5126 +257:2946 +65:811 8:12 0 0 @@ -347824,9 +349569,9 @@ _ZNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEE9_M_createERyy # Num Counters: 4 # Counter Values: -875 -875 -875 +873 +873 +873 0 _ZNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEE9_M_mutateEyyPKDsy @@ -347835,13 +349580,13 @@ _ZNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEE9_M_mutateEyyPKDsy # Num Counters: 12 # Counter Values: -466 +464 48 24 397 397 0 -839 +837 48 0 0 @@ -347855,11 +349600,11 @@ _ZNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEE9_M_mutateEyyPKDsy 3 6 9:397 -17:230 +17:234 33:93 -65:57 -129:33 -257:29 +65:56 +129:32 +257:25 0 1 17:24 @@ -347870,10 +349615,10 @@ _ZNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEE9push_backEDs # Num Counters: 4 # Counter Values: -21141 -815 -6858 -6858 +20844 +813 +6860 +6860 _ZNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEEC2ERKS4_yy # Func Hash: @@ -347966,10 +349711,10 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructILb1EEEvPKcy # Num Counters: 4 # Counter Values: -30741259 -16012219 -65210 -30696813 +30771627 +16027910 +64856 +30725515 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -347977,23 +349722,23 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructILb1EEEvPKcy # NumValueSites: 1 17 -17:10452584 -9:5467386 -4:4823376 -33:4737148 -5:2039996 -8:784159 -3:702783 -32:641257 -6:388479 -16:266744 -7:220290 -65:177791 -2:9937 -64:1117 +17:10466482 +9:5467614 +4:4831828 +33:4744517 +5:2041425 +8:784199 +3:704072 +32:642116 +6:389124 +16:267257 +7:220828 +65:178022 +2:9967 +64:1131 513:72 -129:24 -257:12 +129:40 +257:16 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEEEEvT_SE_St20forward_iterator_tag # Func Hash: @@ -348021,10 +349766,10 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_S # Num Counters: 4 # Counter Values: -8691019 -2947881 -14230 -8616007 +8730434 +2947115 +14327 +8655926 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -348032,25 +349777,25 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_S # NumValueSites: 1 19 -9:4344729 -17:1857913 -8:575582 -33:478463 -16:375686 -2:291765 -6:152920 -65:136118 -5:123525 -3:85260 -7:74072 -32:53399 -4:23998 -64:21956 -257:11328 -129:8412 -513:5112 -512:67 +9:4383246 +17:1856541 +8:575110 +33:478898 +16:375514 +2:292508 +6:152970 +65:136419 +5:123477 +3:86096 +7:74270 +32:53373 +4:23978 +64:21960 +257:11439 +129:8485 +513:5180 128:51 +512:43 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag # Func Hash: @@ -348146,9 +349891,9 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZN # Num Counters: 3 # Counter Values: -514808 -324559 -1979521 +513958 +325874 +1967196 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEjEUlPcyE_EEvyT_ # Func Hash: @@ -348156,9 +349901,9 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZN # Num Counters: 3 # Counter Values: -456 -706 -274 +504 +851 +651 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringElEUlPcyE_EEvyT_ # Func Hash: @@ -348196,9 +349941,9 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZN # Num Counters: 3 # Counter Values: -383 -217 -9424 +386 +231 +9464 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4swapERS4_ # Func Hash: @@ -348256,7 +350001,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKc # Num Counters: 2 # Counter Values: -2991467 +2982589 0 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignISt19istreambuf_iteratorIcS2_EvEERS4_T_S9_ @@ -348304,12 +350049,12 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcy # Num Counters: 6 # Counter Values: -1169286 +1169644 0 -894087 -1139284 -30006 -894082 +894136 +1139583 +30064 +894129 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -348317,15 +350062,15 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcy # NumValueSites: 1 9 -9:24199 -3:2104 -2:1322 -33:710 -8:584 +9:24236 +3:2103 +2:1333 +33:713 +8:585 17:504 -4:365 +4:372 6:215 -7:2 +7:3 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_ # Func Hash: @@ -348355,8 +350100,8 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERyy # Num Counters: 5 # Counter Values: -18944140 -18944140 +18960880 +18960880 0 0 0 @@ -348395,10 +350140,10 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc # Num Counters: 4 # Counter Values: -49641518 -1066954 -36692618 -36686843 +49686037 +1068008 +36726928 +36723267 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_yy # Func Hash: @@ -348406,7 +350151,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_yy # Num Counters: 2 # Counter Values: -670828 +671817 0 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_ @@ -348415,7 +350160,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_ # Num Counters: 2 # Counter Values: -82301 +82265 0 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ISt17basic_string_viewIcS2_EvEERKT_RKS3_ @@ -348491,10 +350236,10 @@ _ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE12_M_constructILb1EEEvPKwy # Num Counters: 5 # Counter Values: -447504 -141446 +459576 +146053 0 -447504 +459576 0 # Num Value Kinds: 1 @@ -348503,13 +350248,13 @@ _ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE12_M_constructILb1EEEvPKwy # NumValueSites: 1 10 -17:122928 -9:102501 -8:72592 -6:70797 -4:58152 -32:11180 -65:6653 +17:126895 +9:105219 +8:74054 +6:72467 +4:59767 +32:11596 +65:6877 16:2016 33:613 129:72 @@ -348531,10 +350276,10 @@ _ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE12_M_constructIPKwEEvT_S8_S # Num Counters: 5 # Counter Values: -4529 -4325 +4697 +4493 0 -4529 +4697 0 # Num Value Kinds: 1 @@ -348543,8 +350288,8 @@ _ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE12_M_constructIPKwEEvT_S8_S # NumValueSites: 1 4 -129:3248 -65:1070 +129:3376 +65:1110 8:204 17:7 @@ -348738,26 +350483,6 @@ _ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEC2ERKNS_12basic_stringIc 0 0 -_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev -# Func Hash: -567185238724484566 -# Num Counters: -4 -# Counter Values: -0 -0 -0 -0 - -_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev -# Func Hash: -146835647075900052 -# Num Counters: -2 -# Counter Values: -0 -0 - _ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode # Func Hash: 391331302019151369 @@ -348805,9 +350530,9 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi # Num Counters: 5 # Counter Values: -8710 -8494 -8494 +8770 +8498 +8498 12 0 # Num Value Kinds: @@ -348816,13 +350541,15 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi 1 # NumValueSites: 1 -6 -8:7654 +8 +8:7646 17:516 -9:217 +9:219 65:59 3:24 33:24 +7:8 +1:2 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE10_M_insert_IRKS5_NSB_20_Reuse_or_alloc_nodeEEESt17_Rb_tree_iteratorIS5_EPSt18_Rb_tree_node_baseSJ_OT_RT0_ # Func Hash: @@ -348830,7 +350557,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi # Num Counters: 5 # Counter Values: -0 +122 0 0 0 @@ -348901,11 +350628,11 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi # Num Counters: 9 # Counter Values: -0 -0 -0 -0 -0 +122 +34 +8 +8 +88 0 0 0 @@ -348917,8 +350644,8 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi # Num Counters: 2 # Counter Values: -8710 -13590371 +8702 +13524127 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE16_M_insert_uniqueIS5_EESt4pairISt17_Rb_tree_iteratorIS5_EbEOT_ # Func Hash: @@ -348935,7 +350662,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi # Num Counters: 4 # Counter Values: -8710 +8960 0 0 0 @@ -348957,8 +350684,8 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi # Num Counters: 2 # Counter Values: -0 -0 +68 +8 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE17_M_insert_unique_IRKS5_NSB_20_Reuse_or_alloc_nodeEEESt17_Rb_tree_iteratorIS5_ESt23_Rb_tree_const_iteratorIS5_EOT_RT0_ # Func Hash: @@ -348966,7 +350693,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi # Num Counters: 2 # Counter Values: -0 +122 0 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE17_M_insert_unique_IRS5_NSB_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS5_ESt23_Rb_tree_const_iteratorIS5_EOT_RT0_ @@ -348985,9 +350712,9 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi 7 # Counter Values: 0 -0 -0 -0 +122 +8 +26 0 0 0 @@ -348999,8 +350726,8 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi 3 # Counter Values: 0 -0 -0 +88 +34 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE24_M_get_insert_unique_posERKS5_ # Func Hash: @@ -349008,41 +350735,44 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi # Num Counters: 10 # Counter Values: -49119851 -31323550 -13590461 -17796301 -13598891 -13590437 -3264316 -13590449 -8454 -807 +48864229 +31164723 +13524225 +17699506 +13532643 +13524201 +3250088 +13524213 +8442 +1001 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 2 -9 -17:28258146 -8:20859338 +11 +17:28168943 +8:20693003 5:1116 -9:592 +9:594 2:444 65:200 33:126 3:36 +7:16 16:12 -8 -17:7981946 -8:5616342 +1:2 +9 +17:7960912 +8:5571143 5:204 9:157 2:108 33:90 65:64 3:24 +7:8 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS5_ERKS5_ # Func Hash: @@ -349051,16 +350781,16 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi 22 # Counter Values: 0 +198 0 0 +20 0 +20 0 0 0 -0 -0 -0 -0 +8 0 0 0 @@ -349078,7 +350808,10 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi 1 # NumValueSites: 5 -0 +3 +7:16 +1:2 +9:2 0 0 0 @@ -349109,9 +350842,9 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi # Num Counters: 3 # Counter Values: +12 0 -0 -0 +56 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE7_M_copyILb0ENSB_11_Alloc_nodeEEEPSt18_Rb_tree_node_basePSt13_Rb_tree_nodeIS5_ESF_RT0_ # Func Hash: @@ -349119,11 +350852,11 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi # Num Counters: 11 # Counter Values: +12 +12 0 0 -0 -0 -0 +56 0 0 0 @@ -349155,8 +350888,8 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_Identi 3 # Counter Values: 491 -313 -1122 +537 +1561 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EEaSERKSB_ # Func Hash: @@ -349776,10 +351509,10 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N # Num Counters: 5 # Counter Values: -203 -191 -191 -191 +211 +199 +199 +199 0 # Num Value Kinds: 1 @@ -349788,7 +351521,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N # NumValueSites: 1 1 -8:191 +8:199 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_NSt6chrono10time_pointINS8_3_V212steady_clockENS8_8durationIxSt5ratioILx1ELx1000000000EEEEEEESt10_Select1stISH_ESt4lessIS5_ESaISH_EE8_M_eraseEPSt13_Rb_tree_nodeISH_E # Func Hash: @@ -349946,7 +351679,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S # Counter Values: 5353 6147 -4295 +4296 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE14_M_create_nodeIJRKSt21piecewise_construct_tSt5tupleIJOS5_EESJ_IJEEEEEPSt13_Rb_tree_nodeIS8_EDpOT_ # Func Hash: @@ -349972,11 +351705,11 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S # Num Counters: 5 # Counter Values: -9648 -5794 -5794 +9649 +5789 +5789 0 -3504 +3510 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -349985,9 +351718,9 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 1 5 16:3564 -9:1380 +9:1381 17:575 -8:271 +8:265 7:4 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE15_M_erase_uniqueERS7_ @@ -350038,7 +351771,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S # Num Counters: 4 # Counter Values: -970 +971 0 0 0 @@ -350133,9 +351866,9 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S # Num Counters: 5 # Counter Values: -970 +971 0 -970 +971 0 0 @@ -350194,27 +351927,27 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S # Num Counters: 22 # Counter Values: -4392 +4400 350 0 0 -4906 +4899 0 -4906 +4899 0 -3740 +3741 0 0 -4906 -652 +4899 +659 0 0 0 0 -2852 +2851 0 0 -888 +890 0 # Num Value Kinds: 1 @@ -350224,19 +351957,19 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 5 5 16:3564 -9:813 +9:814 17:467 -8:58 +8:50 7:4 4 9:3464 17:494 -8:410 +8:418 16:24 4 9:2915 17:432 -8:381 +8:382 16:12 0 0 @@ -350247,11 +351980,11 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S # Num Counters: 5 # Counter Values: -3521 -3473 -3473 +3552 +3504 +3504 1708 -1765 +1796 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -350259,7 +351992,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S # NumValueSites: 1 3 -9:3054 +9:3085 17:417 8:2 @@ -350269,11 +352002,11 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S # Num Counters: 10 # Counter Values: -350 -147 -147 -372 -201 +344 +144 +144 +378 +210 0 0 0 @@ -350286,8 +352019,8 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S # Num Counters: 2 # Counter Values: -9648 -10034 +9649 +10035 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EEaSERKSE_ # Func Hash: @@ -350296,7 +352029,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 12 # Counter Values: 75 -119 +116 60 0 0 @@ -350960,7 +352693,284 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIKN3gpu14OverrideSourceEEESt10_Select1stISD_ESt4lessIS5_ESaISD_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISD_ERS7_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIKN3gpu14OverrideSourceEEESt10_Select1stISD_ESt4lessIS5_ESaISD_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISD_ERS7_ +# Func Hash: +547674796782126033 +# Num Counters: +22 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +5 +0 +0 +0 +0 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIKN3gpu14OverrideSourceEEESt10_Select1stISD_ESt4lessIS5_ESaISD_EE4findERS7_ +# Func Hash: +1027614719103094610 +# Num Counters: +5 +# Counter Values: +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIKN3gpu14OverrideSourceEEESt10_Select1stISD_ESt4lessIS5_ESaISD_EE8_M_eraseEPSt13_Rb_tree_nodeISD_E +# Func Hash: +146835646621254984 +# Num Counters: +2 +# Counter Values: +0 +24 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIS5_ySt4lessIS5_ESaIS6_IS7_yEEEESt10_Select1stISE_ESA_SaISE_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSK_PSt13_Rb_tree_nodeISE_E +# Func Hash: +1027614719103094610 +# Num Counters: +5 +# Counter Values: +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIS5_ySt4lessIS5_ESaIS6_IS7_yEEEESt10_Select1stISE_ESA_SaISE_EE15_M_destroy_nodeEPSt13_Rb_tree_nodeISE_E +# Func Hash: +1124680651882813910 +# Num Counters: +3 +# Counter Values: +0 +0 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIS5_ySt4lessIS5_ESaIS6_IS7_yEEEESt10_Select1stISE_ESA_SaISE_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESN_IJEEEEEvPSt13_Rb_tree_nodeISE_EDpOT_ +# Func Hash: +844982796950093491 +# Num Counters: +4 +# Counter Values: +0 +0 +0 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIS5_ySt4lessIS5_ESaIS6_IS7_yEEEESt10_Select1stISE_ESA_SaISE_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESN_IJEEEEESt17_Rb_tree_iteratorISE_ESt23_Rb_tree_const_iteratorISE_EDpOT_ +# Func Hash: +1096621587901161986 +# Num Counters: +5 +# Counter Values: +0 +0 +0 +0 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIS5_ySt4lessIS5_ESaIS6_IS7_yEEEESt10_Select1stISE_ESA_SaISE_EE24_M_get_insert_unique_posERS7_ +# Func Hash: +685179185207487770 +# Num Counters: +10 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +2 +0 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIS5_ySt4lessIS5_ESaIS6_IS7_yEEEESt10_Select1stISE_ESA_SaISE_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISE_ERS7_ +# Func Hash: +547674796782126033 +# Num Counters: +22 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +5 +0 +0 +0 +0 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIS5_ySt4lessIS5_ESaIS6_IS7_yEEEESt10_Select1stISE_ESA_SaISE_EE8_M_eraseEPSt13_Rb_tree_nodeISE_E +# Func Hash: +146835646621254984 +# Num Counters: +2 +# Counter Values: +0 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIjySt4lessIjESaIS6_IKjyEEEESt10_Select1stISF_ES9_IS5_ESaISF_EE14_M_create_nodeIJRKSt21piecewise_construct_tSt5tupleIJOS5_EESP_IJEEEEEPSt13_Rb_tree_nodeISF_EDpOT_ +# Func Hash: +643771914234550932 +# Num Counters: +2 +# Counter Values: +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIjySt4lessIjESaIS6_IKjyEEEESt10_Select1stISF_ES9_IS5_ESaISF_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSM_PSt13_Rb_tree_nodeISF_E +# Func Hash: +1027614719103094610 +# Num Counters: +5 +# Counter Values: +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIjySt4lessIjESaIS6_IKjyEEEESt10_Select1stISF_ES9_IS5_ESaISF_EE15_M_destroy_nodeEPSt13_Rb_tree_nodeISF_E +# Func Hash: +1124680651882813910 +# Num Counters: +3 +# Counter Values: +0 +0 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIjySt4lessIjESaIS6_IKjyEEEESt10_Select1stISF_ES9_IS5_ESaISF_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJOS5_EESP_IJEEEEESt17_Rb_tree_iteratorISF_ESt23_Rb_tree_const_iteratorISF_EDpOT_ +# Func Hash: +391331302958075915 +# Num Counters: +6 +# Counter Values: +0 +0 +0 +0 +0 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIjySt4lessIjESaIS6_IKjyEEEESt10_Select1stISF_ES9_IS5_ESaISF_EE24_M_get_insert_unique_posERS7_ +# Func Hash: +685179185207487770 +# Num Counters: +10 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +2 +0 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIjySt4lessIjESaIS6_IKjyEEEESt10_Select1stISF_ES9_IS5_ESaISF_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISF_ERS7_ # Func Hash: 547674796782126033 # Num Counters: @@ -351000,35 +353010,16 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIKN3gpu14OverrideSourceEEESt10_Select1stISD_ESt4lessIS5_ESaISD_EE4findERS7_ -# Func Hash: -1027614719103094610 -# Num Counters: -5 -# Counter Values: -0 -0 -0 -0 -0 -# Num Value Kinds: -1 -# ValueKind = IPVK_MemOPSize: -1 -# NumValueSites: -1 -0 - -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIKN3gpu14OverrideSourceEEESt10_Select1stISD_ESt4lessIS5_ESaISD_EE8_M_eraseEPSt13_Rb_tree_nodeISD_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIjySt4lessIjESaIS6_IKjyEEEESt10_Select1stISF_ES9_IS5_ESaISF_EE8_M_eraseEPSt13_Rb_tree_nodeISF_E # Func Hash: 146835646621254984 # Num Counters: 2 # Counter Values: 0 -24 +0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIS5_ySt4lessIS5_ESaIS6_IS7_yEEEESt10_Select1stISE_ESA_SaISE_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSK_PSt13_Rb_tree_nodeISE_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSJ_PSt13_Rb_tree_nodeISD_E # Func Hash: 1027614719103094610 # Num Counters: @@ -351047,7 +353038,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 1 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIS5_ySt4lessIS5_ESaIS6_IS7_yEEEESt10_Select1stISE_ESA_SaISE_EE15_M_destroy_nodeEPSt13_Rb_tree_nodeISE_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE15_M_destroy_nodeEPSt13_Rb_tree_nodeISD_E # Func Hash: 1124680651882813910 # Num Counters: @@ -351057,7 +353048,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIS5_ySt4lessIS5_ESaIS6_IS7_yEEEESt10_Select1stISE_ESA_SaISE_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESN_IJEEEEEvPSt13_Rb_tree_nodeISE_EDpOT_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESM_IJEEEEEvPSt13_Rb_tree_nodeISD_EDpOT_ # Func Hash: 844982796950093491 # Num Counters: @@ -351068,7 +353059,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIS5_ySt4lessIS5_ESaIS6_IS7_yEEEESt10_Select1stISE_ESA_SaISE_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESN_IJEEEEESt17_Rb_tree_iteratorISE_ESt23_Rb_tree_const_iteratorISE_EDpOT_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESM_IJEEEEESt17_Rb_tree_iteratorISD_ESt23_Rb_tree_const_iteratorISD_EDpOT_ # Func Hash: 1096621587901161986 # Num Counters: @@ -351080,7 +353071,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIS5_ySt4lessIS5_ESaIS6_IS7_yEEEESt10_Select1stISE_ESA_SaISE_EE24_M_get_insert_unique_posERS7_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE24_M_get_insert_unique_posERS7_ # Func Hash: 685179185207487770 # Num Counters: @@ -351105,7 +353096,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIS5_ySt4lessIS5_ESaIS6_IS7_yEEEESt10_Select1stISE_ESA_SaISE_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISE_ERS7_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISD_ERS7_ # Func Hash: 547674796782126033 # Num Counters: @@ -351145,21 +353136,15 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIS5_ySt4lessIS5_ESaIS6_IS7_yEEEESt10_Select1stISE_ESA_SaISE_EE8_M_eraseEPSt13_Rb_tree_nodeISE_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE4findERS7_ # Func Hash: -146835646621254984 +1027614719103094610 # Num Counters: -2 +5 # Counter Values: 0 0 - -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIjySt4lessIjESaIS6_IKjyEEEESt10_Select1stISF_ES9_IS5_ESaISF_EE14_M_create_nodeIJRKSt21piecewise_construct_tSt5tupleIJOS5_EESP_IJEEEEEPSt13_Rb_tree_nodeISF_EDpOT_ -# Func Hash: -643771914234550932 -# Num Counters: -2 -# Counter Values: +0 0 0 # Num Value Kinds: @@ -351170,7 +353155,16 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 1 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIjySt4lessIjESaIS6_IKjyEEEESt10_Select1stISF_ES9_IS5_ESaISF_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSM_PSt13_Rb_tree_nodeISF_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE8_M_eraseEPSt13_Rb_tree_nodeISD_E +# Func Hash: +146835646621254984 +# Num Counters: +2 +# Counter Values: +0 +2 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy11EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSI_PSt13_Rb_tree_nodeISA_E # Func Hash: 1027614719103094610 # Num Counters: @@ -351189,21 +353183,22 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 1 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIjySt4lessIjESaIS6_IKjyEEEESt10_Select1stISF_ES9_IS5_ESaISF_EE15_M_destroy_nodeEPSt13_Rb_tree_nodeISF_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy11EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESL_IJEEEEEvPSt13_Rb_tree_nodeISA_EDpOT_ # Func Hash: -1124680651882813910 +844982796950093491 # Num Counters: -3 +4 # Counter Values: 0 0 0 +0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIjySt4lessIjESaIS6_IKjyEEEESt10_Select1stISF_ES9_IS5_ESaISF_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJOS5_EESP_IJEEEEESt17_Rb_tree_iteratorISF_ESt23_Rb_tree_const_iteratorISF_EDpOT_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy11EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESL_IJEEEEESt17_Rb_tree_iteratorISA_ESt23_Rb_tree_const_iteratorISA_EDpOT_ # Func Hash: -391331302958075915 +414921810655334673 # Num Counters: -6 +7 # Counter Values: 0 0 @@ -351211,8 +353206,9 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 0 +0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIjySt4lessIjESaIS6_IKjyEEEESt10_Select1stISF_ES9_IS5_ESaISF_EE24_M_get_insert_unique_posERS7_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy11EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE24_M_get_insert_unique_posERS7_ # Func Hash: 685179185207487770 # Num Counters: @@ -351237,7 +353233,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIjySt4lessIjESaIS6_IKjyEEEESt10_Select1stISF_ES9_IS5_ESaISF_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISF_ERS7_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy11EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISA_ERS7_ # Func Hash: 547674796782126033 # Num Counters: @@ -351277,16 +353273,17 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3mapIjySt4lessIjESaIS6_IKjyEEEESt10_Select1stISF_ES9_IS5_ESaISF_EE8_M_eraseEPSt13_Rb_tree_nodeISF_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy11EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE8_M_eraseEPSt13_Rb_tree_nodeISA_E # Func Hash: -146835646621254984 +536873290231689177 # Num Counters: -2 +3 # Counter Values: 0 0 +0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSJ_PSt13_Rb_tree_nodeISD_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy6EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSI_PSt13_Rb_tree_nodeISA_E # Func Hash: 1027614719103094610 # Num Counters: @@ -351305,17 +353302,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 1 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE15_M_destroy_nodeEPSt13_Rb_tree_nodeISD_E -# Func Hash: -1124680651882813910 -# Num Counters: -3 -# Counter Values: -0 -0 -0 - -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESM_IJEEEEEvPSt13_Rb_tree_nodeISD_EDpOT_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy6EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESL_IJEEEEEvPSt13_Rb_tree_nodeISA_EDpOT_ # Func Hash: 844982796950093491 # Num Counters: @@ -351326,19 +353313,21 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESM_IJEEEEESt17_Rb_tree_iteratorISD_ESt23_Rb_tree_const_iteratorISD_EDpOT_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy6EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESL_IJEEEEESt17_Rb_tree_iteratorISA_ESt23_Rb_tree_const_iteratorISA_EDpOT_ # Func Hash: -1096621587901161986 +414921810655334673 # Num Counters: -5 +7 # Counter Values: 0 0 0 0 0 +0 +0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE24_M_get_insert_unique_posERS7_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy6EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE24_M_get_insert_unique_posERS7_ # Func Hash: 685179185207487770 # Num Counters: @@ -351363,7 +353352,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISD_ERS7_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy6EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISA_ERS7_ # Func Hash: 547674796782126033 # Num Counters: @@ -351403,7 +353392,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE4findERS7_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy6EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE4findERS7_ # Func Hash: 1027614719103094610 # Num Counters: @@ -351422,16 +353411,27 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 1 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3setIS5_St4lessIS5_ESaIS5_EEESt10_Select1stISD_ESA_SaISD_EE8_M_eraseEPSt13_Rb_tree_nodeISD_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy6EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE8_M_eraseEPSt13_Rb_tree_nodeISA_E # Func Hash: -146835646621254984 +536873290231689177 # Num Counters: -2 +3 # Counter Values: 0 -2 +0 +0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy11EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSI_PSt13_Rb_tree_nodeISA_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIySaIyEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE12_M_drop_nodeEPSt13_Rb_tree_nodeISB_E +# Func Hash: +1124680650748772420 +# Num Counters: +3 +# Counter Values: +0 +0 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIySaIyEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSJ_PSt13_Rb_tree_nodeISB_E # Func Hash: 1027614719103094610 # Num Counters: @@ -351450,7 +353450,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 1 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy11EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESL_IJEEEEEvPSt13_Rb_tree_nodeISA_EDpOT_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIySaIyEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESM_IJEEEEEvPSt13_Rb_tree_nodeISB_EDpOT_ # Func Hash: 844982796950093491 # Num Counters: @@ -351461,21 +353461,19 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy11EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESL_IJEEEEESt17_Rb_tree_iteratorISA_ESt23_Rb_tree_const_iteratorISA_EDpOT_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIySaIyEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESM_IJEEEEESt17_Rb_tree_iteratorISB_ESt23_Rb_tree_const_iteratorISB_EDpOT_ # Func Hash: -414921810655334673 +1096621587901161986 # Num Counters: -7 +5 # Counter Values: 0 0 0 0 0 -0 -0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy11EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE24_M_get_insert_unique_posERS7_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIySaIyEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE24_M_get_insert_unique_posERS7_ # Func Hash: 685179185207487770 # Num Counters: @@ -351500,7 +353498,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy11EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISA_ERS7_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIySaIyEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISB_ERS7_ # Func Hash: 547674796782126033 # Num Counters: @@ -351540,17 +353538,25 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy11EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE8_M_eraseEPSt13_Rb_tree_nodeISA_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIySaIyEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE8_M_eraseEPSt13_Rb_tree_nodeISB_E # Func Hash: -536873290231689177 +146835646621254984 # Num Counters: -3 +2 # Counter Values: 0 0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE12_M_erase_auxESt23_Rb_tree_const_iteratorIS8_E +# Func Hash: +146835647075900052 +# Num Counters: +2 +# Counter Values: +0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy6EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSI_PSt13_Rb_tree_nodeISA_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSG_PSt13_Rb_tree_nodeIS8_E # Func Hash: 1027614719103094610 # Num Counters: @@ -351569,7 +353575,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 1 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy6EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESL_IJEEEEEvPSt13_Rb_tree_nodeISA_EDpOT_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_ # Func Hash: 844982796950093491 # Num Counters: @@ -351580,7 +353586,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy6EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESL_IJEEEEESt17_Rb_tree_iteratorISA_ESt23_Rb_tree_const_iteratorISA_EDpOT_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_ # Func Hash: 414921810655334673 # Num Counters: @@ -351594,7 +353600,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy6EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE24_M_get_insert_unique_posERS7_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE24_M_get_insert_unique_posERS7_ # Func Hash: 685179185207487770 # Num Counters: @@ -351619,7 +353625,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy6EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISA_ERS7_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS7_ # Func Hash: 547674796782126033 # Num Counters: @@ -351659,7 +353665,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy6EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE4findERS7_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE4findERS7_ # Func Hash: 1027614719103094610 # Num Counters: @@ -351678,7 +353684,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 1 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5arrayIyLy6EEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE8_M_eraseEPSt13_Rb_tree_nodeISA_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E # Func Hash: 536873290231689177 # Num Counters: @@ -351688,17 +353694,16 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIySaIyEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE12_M_drop_nodeEPSt13_Rb_tree_nodeISB_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_dESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE12_M_erase_auxESt23_Rb_tree_const_iteratorIS8_E # Func Hash: -1124680650748772420 +146835647075900052 # Num Counters: -3 +2 # Counter Values: 0 0 -0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIySaIyEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSJ_PSt13_Rb_tree_nodeISB_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_dESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSG_PSt13_Rb_tree_nodeIS8_E # Func Hash: 1027614719103094610 # Num Counters: @@ -351717,7 +353722,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 1 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIySaIyEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESM_IJEEEEEvPSt13_Rb_tree_nodeISB_EDpOT_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_dESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_ # Func Hash: 844982796950093491 # Num Counters: @@ -351728,19 +353733,21 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIySaIyEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESM_IJEEEEESt17_Rb_tree_iteratorISB_ESt23_Rb_tree_const_iteratorISB_EDpOT_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_dESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_ # Func Hash: -1096621587901161986 +414921810655334673 # Num Counters: -5 +7 # Counter Values: 0 0 0 0 0 +0 +0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIySaIyEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE24_M_get_insert_unique_posERS7_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_dESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE24_M_get_insert_unique_posERS7_ # Func Hash: 685179185207487770 # Num Counters: @@ -351765,7 +353772,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIySaIyEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISB_ERS7_ +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_dESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS7_ # Func Hash: 547674796782126033 # Num Counters: @@ -351805,14 +353812,34 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S 0 0 -_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIySaIyEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE8_M_eraseEPSt13_Rb_tree_nodeISB_E +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_dESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE4findERS7_ # Func Hash: -146835646621254984 +1027614719103094610 # Num Counters: -2 +5 # Counter Values: 0 0 +0 +0 +0 +# Num Value Kinds: +1 +# ValueKind = IPVK_MemOPSize: +1 +# NumValueSites: +1 +0 + +_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_dESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E +# Func Hash: +536873290231689177 +# Num Counters: +3 +# Counter Values: +0 +0 +0 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE12_M_erase_auxESt23_Rb_tree_const_iteratorIS8_E # Func Hash: @@ -351829,9 +353856,9 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_i # Num Counters: 5 # Counter Values: -145 -72 -72 +146 +73 +73 0 36 # Num Value Kinds: @@ -351840,9 +353867,10 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_i 1 # NumValueSites: 1 -2 +3 9:36 17:36 +3:1 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_ # Func Hash: @@ -351850,7 +353878,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_i # Num Counters: 4 # Counter Values: -1 +2 0 0 0 @@ -351884,8 +353912,8 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_i # Num Counters: 7 # Counter Values: -1 -1 +2 +2 0 0 0 @@ -351927,14 +353955,14 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_i 37 0 0 -36 +37 0 -36 +37 0 36 0 0 -36 +37 36 0 0 @@ -351951,8 +353979,9 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_i 1 # NumValueSites: 5 -1 +2 9:36 +3:1 1 17:72 1 @@ -351966,7 +353995,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_i # Num Counters: 5 # Counter Values: -2 +4 0 0 0 @@ -351995,9 +354024,9 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_j # Num Counters: 5 # Counter Values: -167446 -116294 -116306 +167400 +116259 +116262 0 0 # Num Value Kinds: @@ -352007,8 +354036,8 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_j # NumValueSites: 1 2 -32:86435 -33:29871 +32:86411 +33:29850 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE17_M_construct_nodeIJRKS8_EEEvPSt13_Rb_tree_nodeIS8_EDpOT_ # Func Hash: @@ -352016,7 +354045,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_j # Num Counters: 4 # Counter Values: -120308 +120307 0 0 0 @@ -352027,7 +354056,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_j # Num Counters: 4 # Counter Values: -167292 +167246 0 0 0 @@ -352085,8 +354114,8 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_j # Num Counters: 7 # Counter Values: -167246 -167232 +167189 +167221 0 0 0 @@ -352108,7 +354137,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_j 0 0 0 -51178 +51179 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -352125,17 +354154,17 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_j 22 # Counter Values: 0 -51164 +51175 0 0 -116285 +116239 0 -116286 +116242 0 0 0 0 -116300 +116252 0 0 0 @@ -352153,8 +354182,8 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_j # NumValueSites: 5 2 -32:86438 -33:29872 +32:86399 +33:29846 0 0 0 @@ -352186,9 +354215,9 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_j # Num Counters: 3 # Counter Values: -28207 -49851 -36950 +28205 +49848 +36951 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE7_M_copyILb0ENSE_11_Alloc_nodeEEEPSt18_Rb_tree_node_basePSt13_Rb_tree_nodeIS8_ESI_RT0_ # Func Hash: @@ -352197,11 +354226,11 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_j 11 # Counter Values: 33251 -33246 +33240 72 72 -86847 -49842 +86830 +49847 0 0 0 @@ -352231,9 +354260,9 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_j # Num Counters: 3 # Counter Values: -177898 +177846 215 -601911 +601891 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EEaSERKSE_ # Func Hash: @@ -352243,12 +354272,12 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_j # Counter Values: 0 12 -50579 +50574 0 0 167 0 -50579 +50574 0 0 0 @@ -352401,19 +354430,22 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_y # Num Counters: 5 # Counter Values: -336 -156 -156 +352 +166 +166 0 -132 +136 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 1 -1 +4 8:156 +9:4 +17:4 +16:2 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_yESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE17_M_construct_nodeIJRKS8_EEEvPSt13_Rb_tree_nodeIS8_EDpOT_ # Func Hash: @@ -352432,7 +354464,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_y # Num Counters: 4 # Counter Values: -312 +328 0 0 0 @@ -352511,8 +354543,8 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_y # Num Counters: 7 # Counter Values: -312 -312 +328 +328 0 0 0 @@ -352562,7 +354594,7 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_y 0 0 0 -48 +50 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -352578,27 +354610,27 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_y # Num Counters: 22 # Counter Values: -252 -48 +258 +50 0 0 -36 +44 0 -36 +44 0 -204 +210 0 0 -36 +44 48 0 0 0 0 -84 +88 0 0 -120 +122 0 # Num Value Kinds: 1 @@ -352606,12 +354638,19 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_y 1 # NumValueSites: 5 -1 +4 8:36 -1 +9:4 +16:2 +17:2 +3 8:252 -1 +17:4 +9:2 +3 8:204 +17:4 +16:2 0 0 @@ -352621,18 +354660,21 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_y # Num Counters: 5 # Counter Values: -0 -0 -0 -0 -0 +80 +70 +70 +62 +8 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: 1 # NumValueSites: 1 -0 +3 +17:62 +16:6 +9:2 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_yESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE7_M_copyERKSE_ # Func Hash: @@ -352685,9 +354727,9 @@ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_y # Num Counters: 3 # Counter Values: -0 -156 -180 +12 +160 +202 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_yESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EEaSERKSE_ # Func Hash: @@ -352714,12 +354756,12 @@ _ZNSt8_Rb_treeIP10VkBuffer_TSt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4_E # Num Counters: 6 # Counter Values: -7181 +6920 0 0 -2526 +2448 0 -630 +626 _ZNSt8_Rb_treeIP10VkBuffer_TSt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE24_M_get_insert_unique_posERS3_ # Func Hash: @@ -352732,7 +354774,7 @@ _ZNSt8_Rb_treeIP10VkBuffer_TSt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4_E 0 0 0 -4025 +3846 _ZNSt8_Rb_treeIP10VkBuffer_TSt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS4_ERS3_ # Func Hash: @@ -352740,16 +354782,16 @@ _ZNSt8_Rb_treeIP10VkBuffer_TSt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4_E # Num Counters: 12 # Counter Values: -4025 -2467 +3846 +2364 0 -2467 +2364 588 0 -42 +38 0 0 -59 +84 0 0 @@ -352852,15 +354894,15 @@ _ZNSt8_Rb_treeIP11VkSampler_TSt4pairIKS1_S1_ESt10_Select1stIS4_ESt4lessIS1_ESaIS 12 # Counter Values: 1 -3 -0 -3 -1 +2 0 +2 0 0 +1 0 0 +1 0 0 @@ -353047,7 +355089,7 @@ _ZNSt8_Rb_treeIPKcSt4pairIKS1_yESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE22_M_empl # Num Counters: 6 # Counter Values: -6 +4 0 0 0 @@ -353065,7 +355107,7 @@ _ZNSt8_Rb_treeIPKcSt4pairIKS1_yESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE24_M_get_ 0 0 0 -6 +4 _ZNSt8_Rb_treeIPKcSt4pairIKS1_yESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS4_ERS3_ # Func Hash: @@ -353073,7 +355115,7 @@ _ZNSt8_Rb_treeIPKcSt4pairIKS1_yESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE29_M_get_ # Num Counters: 12 # Counter Values: -6 +4 0 0 0 @@ -353415,9 +355457,9 @@ _ZNSt8_Rb_treeISt4pairIP11VkSampler_TiES0_IKS3_S2_ESt10_Select1stIS5_ESt4lessIS3 6 # Counter Values: 24 -15 +16 0 -5 +4 0 0 @@ -353466,20 +355508,20 @@ _ZNSt8_Rb_treeISt4pairIP11VkSampler_TiES0_IKS3_S2_ESt10_Select1stIS5_ESt4lessIS3 0 0 8 -1 +0 0 0 0 4 0 0 -7 +8 0 8 0 12 0 -11 +12 0 0 0 @@ -353492,17 +355534,17 @@ _ZNSt8_Rb_treeISt4pairIP11VkSampler_TiES0_IKS3_S2_ESt10_Select1stIS5_ESt4lessIS3 # Num Counters: 12 # Counter Values: -195034628 -74779748 -74776139 -74806014 -74797918 -90249020 -74786305 -90240070 -90240070 +217569530 +72543255 +72543279 +72557347 +72551323 +142991042 +72539418 +142995126 +142995126 12 -74798338 +72550874 12 _ZNSt8_Rb_treeISt4pairIP11VkSampler_TiES0_IKS3_S2_ESt10_Select1stIS5_ESt4lessIS3_ESaIS5_EE8_M_eraseEPSt13_Rb_tree_nodeIS5_E @@ -353657,7 +355699,7 @@ _ZNSt8_Rb_treeISt4pairIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_ # Counter Values: 0 0 -25 +26 _ZNSt8_Rb_treeISt4pairIicES0_IKS1_yESt10_Select1stIS3_ESt4lessIS1_ESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E # Func Hash: @@ -353799,7 +355841,7 @@ _ZNSt8_Rb_treeISt4pairIiiES0_IKS1_jESt10_Select1stIS3_ESt4lessIS1_ESaIS3_EE8_M_e 2 # Counter Values: 0 -0 +2 _ZNSt8_Rb_treeISt4pairIiiES0_IKS1_yESt10_Select1stIS3_ESt4lessIS1_ESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E # Func Hash: @@ -353993,7 +356035,7 @@ _ZNSt8_Rb_treeISt4pairIiiES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE8_M_eraseEPSt1 2 # Counter Values: 5700 -5939 +5946 _ZNSt8_Rb_treeISt4pairIiiES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EEaSERKS7_ # Func Hash: @@ -354091,8 +356133,8 @@ _ZNSt8_Rb_treeISt4pairIjbES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE10_M_insert_IS # Num Counters: 4 # Counter Values: -13220 -9900 +13212 +9892 0 0 @@ -354102,7 +356144,7 @@ _ZNSt8_Rb_treeISt4pairIjbES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE16_M_insert_un # Num Counters: 2 # Counter Values: -13220 +13212 1320 _ZNSt8_Rb_treeISt4pairIjbES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE24_M_get_insert_unique_posERKS1_ @@ -354111,12 +356153,12 @@ _ZNSt8_Rb_treeISt4pairIjbES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE24_M_get_inser # Num Counters: 8 # Counter Values: -20460 -11880 -5940 +20447 +11873 +5938 1320 -1980 -7280 +1979 +7278 1320 1320 @@ -354232,7 +356274,7 @@ _ZNSt8_Rb_treeISt4pairIjiES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE8_M_eraseEPSt1 2 # Counter Values: 0 -0 +18 _ZNSt8_Rb_treeISt4pairIjjES0_IKS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stIS9_ESt4lessIS1_ESaIS9_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSH_PSt13_Rb_tree_nodeIS9_E # Func Hash: @@ -354448,7 +356490,7 @@ _ZNSt8_Rb_treeISt4pairIjjES0_IKS1_jESt10_Select1stIS3_ESt4lessIS1_ESaIS3_EE8_M_e 2 # Counter Values: 0 -963 +956 _ZNSt8_Rb_treeISt4pairIjjES0_IKS1_yESt10_Select1stIS3_ESt4lessIS1_ESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E # Func Hash: @@ -354563,7 +356605,7 @@ _ZNSt8_Rb_treeISt4pairIjjES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE8_M_eraseEPSt1 2 # Counter Values: 0 -0 +2 _ZNSt8_Rb_treeISt4pairIxxES0_IKS1_iESt10_Select1stIS3_ESt4lessIS1_ESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E # Func Hash: @@ -354724,9 +356766,9 @@ _ZNSt8_Rb_treeISt4pairIyyES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE17_M_emplace_u # Num Counters: 5 # Counter Values: -18352 +22510 24 -18352 +22510 0 0 @@ -354736,14 +356778,14 @@ _ZNSt8_Rb_treeISt4pairIyyES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE24_M_get_inser # Num Counters: 8 # Counter Values: -9176 -27540 +11255 +33777 12 -18352 -9176 +22510 +11255 12 -18352 -18352 +22510 +22510 _ZNSt8_Rb_treeISt4pairIyyES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE8_M_eraseEPSt13_Rb_tree_nodeIS1_E # Func Hash: @@ -355350,11 +357392,11 @@ _ZNSt8_Rb_treeISt5tupleIJjyjEESt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4 # Num Counters: 5 # Counter Values: -1212 -552 -456 +1484 +714 +606 0 -516 +622 _ZNSt8_Rb_treeISt5tupleIJjyjEESt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tS0_IJRS3_EES0_IJEEEEESt17_Rb_tree_iteratorIS4_ESt23_Rb_tree_const_iteratorIS4_EDpOT_ # Func Hash: @@ -355362,9 +357404,9 @@ _ZNSt8_Rb_treeISt5tupleIJjyjEESt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4 # Num Counters: 5 # Counter Values: -1212 +1484 0 -1212 +1484 0 0 @@ -355383,7 +357425,7 @@ _ZNSt8_Rb_treeISt5tupleIJjyjEESt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4 0 0 0 -144 +148 _ZNSt8_Rb_treeISt5tupleIJjyjEESt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS4_ERS3_ # Func Hash: @@ -355391,25 +357433,25 @@ _ZNSt8_Rb_treeISt5tupleIJjyjEESt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4 # Num Counters: 22 # Counter Values: -540 -144 -336 +766 +148 +362 0 0 0 -240 -336 -204 -492 +258 +362 +212 +710 0 0 -312 +410 0 0 0 0 0 -216 +352 0 0 0 @@ -355420,16 +357462,16 @@ _ZNSt8_Rb_treeISt5tupleIJjyjEESt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4 # Num Counters: 10 # Counter Values: -8472 -5772 -1800 -3012 -2532 -2340 -1800 -4092 -4092 -732 +26746 +21140 +5336 +6820 +6310 +6102 +5338 +11952 +11952 +974 _ZNSt8_Rb_treeISt5tupleIJjyjEESt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E # Func Hash: @@ -355437,8 +357479,8 @@ _ZNSt8_Rb_treeISt5tupleIJjyjEESt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4 # Num Counters: 2 # Counter Values: -1212 -1356 +1484 +1632 _ZNSt8_Rb_treeISt5tupleIJyiyEESt4pairIKS1_yESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSC_PSt13_Rb_tree_nodeIS4_E # Func Hash: @@ -355517,7 +357559,7 @@ _ZNSt8_Rb_treeISt5tupleIJyiyEESt4pairIKS1_yESt10_Select1stIS4_ESt4lessIS1_ESaIS4 2 # Counter Values: 0 -775 +760 _ZNSt8_Rb_treeISt5tupleIJyjiEESt4pairIKS1_N3gpu10RtMipChainEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSE_PSt13_Rb_tree_nodeIS6_E # Func Hash: @@ -355650,11 +357692,11 @@ _ZNSt8_Rb_treeISt5tupleIJyjjEESt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4 # Num Counters: 5 # Counter Values: -125 -53 -0 +129 +54 +2 0 -60 +63 _ZNSt8_Rb_treeISt5tupleIJyjjEESt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE22_M_emplace_hint_uniqueIJRS3_jEEESt17_Rb_tree_iteratorIS4_ESt23_Rb_tree_const_iteratorIS4_EDpOT_ # Func Hash: @@ -355662,9 +357704,9 @@ _ZNSt8_Rb_treeISt5tupleIJyjjEESt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4 # Num Counters: 5 # Counter Values: -125 +129 0 -125 +129 0 0 @@ -355691,25 +357733,25 @@ _ZNSt8_Rb_treeISt5tupleIJyjjEESt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4 # Num Counters: 22 # Counter Values: -13 +11 12 -34 -0 +36 0 0 0 -34 -29 1 +36 +33 +2 0 0 -31 +30 0 0 0 0 0 -19 +18 0 0 0 @@ -355720,16 +357762,16 @@ _ZNSt8_Rb_treeISt5tupleIJyjjEESt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4 # Num Counters: 10 # Counter Values: -337469 -104139 -102233 -102358 -102312 -102246 -102233 -126749 -126749 -79 +331307 +101425 +100495 +100624 +100576 +100506 +100495 +120747 +120747 +81 _ZNSt8_Rb_treeISt5tupleIJyjjEESt4pairIKS1_jESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E # Func Hash: @@ -356303,10 +358345,10 @@ _ZNSt8_Rb_treeISt6vectorIjSaIjEES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE10_M_ins # Num Counters: 6 # Counter Values: -165429 -57359 -118736 -108071 +165698 +57453 +118926 +108245 0 0 @@ -356316,7 +358358,7 @@ _ZNSt8_Rb_treeISt6vectorIjSaIjEES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE16_M_ins # Num Counters: 2 # Counter Values: -118740 +118924 0 _ZNSt8_Rb_treeISt6vectorIjSaIjEES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE24_M_get_insert_unique_posERKS2_ @@ -356325,18 +358367,18 @@ _ZNSt8_Rb_treeISt6vectorIjSaIjEES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE24_M_get # Num Counters: 12 # Counter Values: -362091 -77577 -114067 -170443 +362698 +77706 +114250 +170742 0 -132041 -42983 +132263 +43063 0 -18005 +18032 0 -89056 -29690 +89204 +29725 _ZNSt8_Rb_treeISt6vectorIjSaIjEES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E # Func Hash: @@ -356344,9 +358386,9 @@ _ZNSt8_Rb_treeISt6vectorIjSaIjEES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE8_M_eras # Num Counters: 3 # Counter Values: -118751 -118751 -129632 +118929 +118929 +129825 _ZNSt8_Rb_treeISt6vectorIjSaIjEESt4pairIKS2_jESt10_Select1stIS5_ESt4lessIS2_ESaIS5_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSD_PSt13_Rb_tree_nodeIS5_E # Func Hash: @@ -356354,12 +358396,12 @@ _ZNSt8_Rb_treeISt6vectorIjSaIjEESt4pairIKS2_jESt10_Select1stIS5_ESt4lessIS2_ESaI # Num Counters: 6 # Counter Values: -119820 -76231 -58826 -43589 +120005 +76326 +58990 +43682 0 -14664 +14735 _ZNSt8_Rb_treeISt6vectorIjSaIjEESt4pairIKS2_jESt10_Select1stIS5_ESt4lessIS2_ESaIS5_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS4_EESG_IJEEEEEvPSt13_Rb_tree_nodeIS5_EDpOT_ # Func Hash: @@ -356367,7 +358409,7 @@ _ZNSt8_Rb_treeISt6vectorIjSaIjEESt4pairIKS2_jESt10_Select1stIS5_ESt4lessIS2_ESaI # Num Counters: 4 # Counter Values: -4982 +5154 0 0 0 @@ -356378,7 +358420,7 @@ _ZNSt8_Rb_treeISt6vectorIjSaIjEESt4pairIKS2_jESt10_Select1stIS5_ESt4lessIS2_ESaI # Num Counters: 4 # Counter Values: -53848 +53839 0 0 0 @@ -356400,9 +358442,9 @@ _ZNSt8_Rb_treeISt6vectorIjSaIjEESt4pairIKS2_jESt10_Select1stIS5_ESt4lessIS2_ESaI # Num Counters: 7 # Counter Values: -4982 +5154 0 -4982 +5154 0 0 0 @@ -356414,9 +358456,9 @@ _ZNSt8_Rb_treeISt6vectorIjSaIjEESt4pairIKS2_jESt10_Select1stIS5_ESt4lessIS2_ESaI # Num Counters: 7 # Counter Values: -53846 +53837 0 -53842 +53830 0 0 0 @@ -356453,7 +358495,7 @@ _ZNSt8_Rb_treeISt6vectorIjSaIjEESt4pairIKS2_jESt10_Select1stIS5_ESt4lessIS2_ESaI 0 0 0 -574 +578 _ZNSt8_Rb_treeISt6vectorIjSaIjEESt4pairIKS2_jESt10_Select1stIS5_ESt4lessIS2_ESaIS5_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS5_ERS4_ # Func Hash: @@ -356461,32 +358503,32 @@ _ZNSt8_Rb_treeISt6vectorIjSaIjEESt4pairIKS2_jESt10_Select1stIS5_ESt4lessIS2_ESaI # Num Counters: 27 # Counter Values: -143361 -92748 +143564 +92855 0 0 -15251 -7609 -142614 -92002 +15382 +7675 +142783 +92078 0 0 -574 -0 -7642 -0 +578 0 +7707 +2 0 0 -7642 0 +7707 0 0 0 +6 0 -14666 +14736 0 -35948 +35976 0 _ZNSt8_Rb_treeISt6vectorIjSaIjEESt4pairIKS2_jESt10_Select1stIS5_ESt4lessIS2_ESaIS5_EE4findERS4_ @@ -356495,17 +358537,17 @@ _ZNSt8_Rb_treeISt6vectorIjSaIjEESt4pairIKS2_jESt10_Select1stIS5_ESt4lessIS2_ESaI # Num Counters: 11 # Counter Values: -489457 -265618 -146036 -31362 -109165 -119572 -116077 -36344 -34858 -31362 -31361 +521032 +284608 +157650 +35291 +114070 +131105 +127509 +40395 +38839 +35237 +35238 _ZNSt8_Rb_treeISt6vectorIjSaIjEESt4pairIKS2_jESt10_Select1stIS5_ESt4lessIS2_ESaIS5_EE8_M_eraseEPSt13_Rb_tree_nodeIS5_E # Func Hash: @@ -356513,9 +358555,9 @@ _ZNSt8_Rb_treeISt6vectorIjSaIjEESt4pairIKS2_jESt10_Select1stIS5_ESt4lessIS2_ESaI # Num Counters: 3 # Counter Values: -58832 -58832 -59406 +58995 +58995 +59575 _ZNSt8_Rb_treeIhSt4pairIKhSt5arrayIjLy4EEESt10_Select1stIS4_ESt4lessIhESaIS4_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJOhEESF_IJEEEEESt17_Rb_tree_iteratorIS4_ESt23_Rb_tree_const_iteratorIS4_EDpOT_ # Func Hash: @@ -356590,10 +358632,10 @@ _ZNSt8_Rb_treeIiSt4pairIKiS0_IyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIc # Num Counters: 8 # Counter Values: +122 0 0 -0 -0 +114 0 0 0 @@ -356610,7 +358652,7 @@ _ZNSt8_Rb_treeIiSt4pairIKiS0_IyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIc 0 0 0 -0 +8 _ZNSt8_Rb_treeIiSt4pairIKiS0_IyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESt10_Select1stIS9_ESt4lessIiESaIS9_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS9_ERS1_ # Func Hash: @@ -356618,10 +358660,10 @@ _ZNSt8_Rb_treeIiSt4pairIKiS0_IyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIc # Num Counters: 12 # Counter Values: +8 +114 0 -0 -0 -0 +114 0 0 0 @@ -356638,8 +358680,8 @@ _ZNSt8_Rb_treeIiSt4pairIKiS0_IyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIc 3 # Counter Values: 0 -0 -0 +122 +130 _ZNSt8_Rb_treeIiSt4pairIKiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS8_ESaIS8_EEESt10_Select1stISD_ES9_IiESaISD_EE12_M_drop_nodeEPSt13_Rb_tree_nodeISD_E # Func Hash: @@ -356647,7 +358689,7 @@ _ZNSt8_Rb_treeIiSt4pairIKiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESa # Num Counters: 2 # Counter Values: -0 +200 0 _ZNSt8_Rb_treeIiSt4pairIKiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS8_ESaIS8_EEESt10_Select1stISD_ES9_IiESaISD_EE17_M_construct_nodeIJRKSD_EEEvPSt13_Rb_tree_nodeISD_EDpOT_ @@ -356656,8 +358698,8 @@ _ZNSt8_Rb_treeIiSt4pairIKiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESa # Num Counters: 5 # Counter Values: -0 -0 +56 +56 0 0 0 @@ -356668,12 +358710,12 @@ _ZNSt8_Rb_treeIiSt4pairIKiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESa # Num Counters: 6 # Counter Values: +144 0 0 +126 0 -0 -0 -0 +10 _ZNSt8_Rb_treeIiSt4pairIKiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS8_ESaIS8_EEESt10_Select1stISD_ES9_IiESaISD_EE24_M_get_insert_unique_posERS1_ # Func Hash: @@ -356686,7 +358728,7 @@ _ZNSt8_Rb_treeIiSt4pairIKiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESa 0 0 0 -0 +8 _ZNSt8_Rb_treeIiSt4pairIKiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS8_ESaIS8_EEESt10_Select1stISD_ES9_IiESaISD_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISD_ERS1_ # Func Hash: @@ -356694,16 +358736,16 @@ _ZNSt8_Rb_treeIiSt4pairIKiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESa # Num Counters: 12 # Counter Values: +8 +116 0 +116 0 0 +10 0 0 -0 -0 -0 -0 -0 +10 0 0 @@ -356713,9 +358755,9 @@ _ZNSt8_Rb_treeIiSt4pairIKiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESa # Num Counters: 3 # Counter Values: -0 -0 -0 +8 +22 +6 _ZNSt8_Rb_treeIiSt4pairIKiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS8_ESaIS8_EEESt10_Select1stISD_ES9_IiESaISD_EE7_M_copyILb0ENSI_11_Alloc_nodeEEEPSt18_Rb_tree_node_basePSt13_Rb_tree_nodeISD_ESM_RT0_ # Func Hash: @@ -356723,12 +358765,12 @@ _ZNSt8_Rb_treeIiSt4pairIKiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESa # Num Counters: 11 # Counter Values: -0 -0 -0 -0 -0 -0 +22 +22 +6 +6 +34 +22 0 0 0 @@ -356741,8 +358783,8 @@ _ZNSt8_Rb_treeIiSt4pairIKiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESa # Num Counters: 2 # Counter Values: -0 -0 +200 +216 _ZNSt8_Rb_treeIiSt4pairIKiSt8optionalISt6vectorIhSaIhEEEESt10_Select1stIS7_ESt4lessIiESaIS7_EE10_Auto_nodeD2Ev # Func Hash: @@ -356978,13 +359020,13 @@ _ZNSt8_Rb_treeIiSt4pairIKijESt10_Select1stIS2_ESt4lessIiESaIS2_EE15_M_erase_uniq # Num Counters: 7 # Counter Values: -157911 -163976 -52639 +158006 +164066 +52672 0 -105434 -105434 -52649 +105532 +105532 +52664 _ZNSt8_Rb_treeIiSt4pairIKijESt10_Select1stIS2_ESt4lessIiESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJOiEESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_ # Func Hash: @@ -357005,12 +359047,12 @@ _ZNSt8_Rb_treeIiSt4pairIKijESt10_Select1stIS2_ESt4lessIiESaIS2_EE22_M_emplace_hi # Num Counters: 6 # Counter Values: -7044 -0 +7390 0 -2476 0 +2786 0 +26 _ZNSt8_Rb_treeIiSt4pairIKijESt10_Select1stIS2_ESt4lessIiESaIS2_EE24_M_get_insert_unique_posERS1_ # Func Hash: @@ -357023,7 +359065,7 @@ _ZNSt8_Rb_treeIiSt4pairIKijESt10_Select1stIS2_ESt4lessIiESaIS2_EE24_M_get_insert 0 0 0 -4804 +4818 _ZNSt8_Rb_treeIiSt4pairIKijESt10_Select1stIS2_ESt4lessIiESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_ # Func Hash: @@ -357031,16 +359073,16 @@ _ZNSt8_Rb_treeIiSt4pairIKijESt10_Select1stIS2_ESt4lessIiESaIS2_EE29_M_get_insert # Num Counters: 12 # Counter Values: -4807 -2475 -0 -2475 -0 -0 +4818 +2739 0 +2740 +4 0 +22 0 0 +46 0 0 @@ -357077,8 +359119,8 @@ _ZNSt8_Rb_treeIiSt4pairIKijESt10_Select1stIS2_ESt4lessIiESaIS2_EE8_M_eraseEPSt13 # Num Counters: 2 # Counter Values: -7282 -12088 +7630 +12452 _ZNSt8_Rb_treeIiSt4pairIKitESt10_Select1stIS2_ESt4lessIiESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJOiEESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_ # Func Hash: @@ -357194,8 +359236,8 @@ _ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE10_M_insert_IRKiNS5_11_Alloc_nod # Num Counters: 3 # Counter Values: -2966 -0 +3154 +184 0 _ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE10_M_insert_IRKiNS5_20_Reuse_or_alloc_nodeEEESt17_Rb_tree_iteratorIiEPSt18_Rb_tree_node_baseSD_OT_RT0_ @@ -357235,7 +359277,7 @@ _ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE15_M_erase_uniqueERKi 7 # Counter Values: 0 -0 +1370 0 0 0 @@ -357264,14 +359306,14 @@ _ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE16_M_insert_uniqueIRKiEESt4pairI # Num Counters: 8 # Counter Values: -202 -2966 -2966 -202 -0 -0 -0 -0 +2216 +3154 +3022 +300 +52 +256 +184 +184 _ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE16_M_insert_uniqueIiEESt4pairISt17_Rb_tree_iteratorIiEbEOT_ # Func Hash: @@ -357402,8 +359444,8 @@ _ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE8_M_eraseEPSt13_Rb_tree_nodeIiE # Num Counters: 2 # Counter Values: -2966 -8960 +3154 +9182 _ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEEaSERKS5_ # Func Hash: @@ -357413,12 +359455,12 @@ _ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEEaSERKS5_ # Counter Values: 0 0 +12 0 0 0 0 -0 -0 +12 0 0 0 @@ -357484,8 +359526,8 @@ _ZNSt8_Rb_treeIjSt4pairIKjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES # Num Counters: 2 # Counter Values: -1 -59 +2 +58 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -357493,7 +359535,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES # NumValueSites: 1 1 -9:59 +9:58 _ZNSt8_Rb_treeIjSt4pairIKjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stIS8_ESt4lessIjESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_ # Func Hash: @@ -357691,7 +359733,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjP13VkImageView_TESt10_Select1stIS4_ESt4lessIjESaIS4_EE 2 # Counter Values: 248 -37030127 +37554526 _ZNSt8_Rb_treeIjSt4pairIKjP13VkImageView_TESt10_Select1stIS4_ESt4lessIjESaIS4_EEaSERKSA_ # Func Hash: @@ -357950,10 +359992,10 @@ _ZNSt8_Rb_treeIjSt4pairIKjS0_IjjEESt10_Select1stIS3_ESt4lessIjESaIS3_EE22_M_empl # Num Counters: 6 # Counter Values: -12377 +12303 0 0 -10405 +10342 0 50 @@ -357968,7 +360010,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjS0_IjjEESt10_Select1stIS3_ESt4lessIjESaIS3_EE24_M_get_ 0 0 0 -1926 +1914 _ZNSt8_Rb_treeIjSt4pairIKjS0_IjjEESt10_Select1stIS3_ESt4lessIjESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_ # Func Hash: @@ -357976,10 +360018,10 @@ _ZNSt8_Rb_treeIjSt4pairIKjS0_IjjEESt10_Select1stIS3_ESt4lessIjESaIS3_EE29_M_get_ # Num Counters: 12 # Counter Values: -1926 -10404 +1914 +10336 0 -10405 +10341 0 0 50 @@ -357995,8 +360037,8 @@ _ZNSt8_Rb_treeIjSt4pairIKjS0_IjjEESt10_Select1stIS3_ESt4lessIjESaIS3_EE8_M_erase # Num Counters: 2 # Counter Values: -12383 -14300 +12304 +14213 _ZNSt8_Rb_treeIjSt4pairIKjS0_IyyEESt10_Select1stIS3_ESt4lessIjESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_ # Func Hash: @@ -358058,7 +360100,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiS0_IyNSt7__cxx1112basic_stringIcSt11char_trait # Num Counters: 2 # Counter Values: -0 +8 0 _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiS0_IyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt4lessIiESaIS0_IKiS9_EEEESt10_Select1stISG_ESA_IjESaISG_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESQ_IJEEEEESt17_Rb_tree_iteratorISG_ESt23_Rb_tree_const_iteratorISG_EDpOT_ @@ -358067,10 +360109,10 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiS0_IyNSt7__cxx1112basic_stringIcSt11char_trait # Num Counters: 6 # Counter Values: +8 0 0 -0 -0 +6 0 0 @@ -358085,7 +360127,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiS0_IyNSt7__cxx1112basic_stringIcSt11char_trait 0 0 0 -0 +2 _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiS0_IyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt4lessIiESaIS0_IKiS9_EEEESt10_Select1stISG_ESA_IjESaISG_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISG_ERS1_ # Func Hash: @@ -358093,10 +360135,10 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiS0_IyNSt7__cxx1112basic_stringIcSt11char_trait # Num Counters: 12 # Counter Values: +2 +6 0 -0 -0 -0 +6 0 0 0 @@ -358112,8 +360154,8 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiS0_IyNSt7__cxx1112basic_stringIcSt11char_trait # Num Counters: 2 # Counter Values: -0 -0 +8 +10 _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS9_ESaIS9_EESA_IiESaIS0_IKiSD_EEEESt10_Select1stISJ_ESA_IjESaISJ_EE12_M_drop_nodeEPSt13_Rb_tree_nodeISJ_E # Func Hash: @@ -358121,7 +360163,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiSt3setINSt7__cxx1112basic_stringIcSt11char_tra # Num Counters: 2 # Counter Values: -0 +8 0 _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS9_ESaIS9_EESA_IiESaIS0_IKiSD_EEEESt10_Select1stISJ_ESA_IjESaISJ_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EEST_IJEEEEESt17_Rb_tree_iteratorISJ_ESt23_Rb_tree_const_iteratorISJ_EDpOT_ @@ -358130,10 +360172,10 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiSt3setINSt7__cxx1112basic_stringIcSt11char_tra # Num Counters: 6 # Counter Values: +8 0 0 -0 -0 +6 0 0 @@ -358148,7 +360190,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiSt3setINSt7__cxx1112basic_stringIcSt11char_tra 0 0 0 -0 +2 _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS9_ESaIS9_EESA_IiESaIS0_IKiSD_EEEESt10_Select1stISJ_ESA_IjESaISJ_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorISJ_ERS1_ # Func Hash: @@ -358156,10 +360198,10 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiSt3setINSt7__cxx1112basic_stringIcSt11char_tra # Num Counters: 12 # Counter Values: +2 +6 0 -0 -0 -0 +6 0 0 0 @@ -358175,8 +360217,8 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIiSt3setINSt7__cxx1112basic_stringIcSt11char_tra # Num Counters: 2 # Counter Values: -0 -0 +8 +10 _ZNSt8_Rb_treeIjSt4pairIKjSt3mapIjSt6vectorIjSaIjEESt4lessIjESaIS0_IS1_S5_EEEESt10_Select1stISB_ES7_SaISB_EE12_M_drop_nodeEPSt13_Rb_tree_nodeISB_E # Func Hash: @@ -358373,7 +360415,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3setIjSt4lessIjESaIjEEESt10_Select1stIS7_ES4_SaIS7_E # Num Counters: 2 # Counter Values: -0 +8 0 _ZNSt8_Rb_treeIjSt4pairIKjSt3setIjSt4lessIjESaIjEEESt10_Select1stIS7_ES4_SaIS7_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESG_IJEEEEESt17_Rb_tree_iteratorIS7_ESt23_Rb_tree_const_iteratorIS7_EDpOT_ @@ -358382,10 +360424,10 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3setIjSt4lessIjESaIjEEESt10_Select1stIS7_ES4_SaIS7_E # Num Counters: 6 # Counter Values: +8 0 0 -0 -0 +6 0 0 @@ -358400,7 +360442,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3setIjSt4lessIjESaIjEEESt10_Select1stIS7_ES4_SaIS7_E 0 0 0 -0 +2 _ZNSt8_Rb_treeIjSt4pairIKjSt3setIjSt4lessIjESaIjEEESt10_Select1stIS7_ES4_SaIS7_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS7_ERS1_ # Func Hash: @@ -358408,10 +360450,10 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3setIjSt4lessIjESaIjEEESt10_Select1stIS7_ES4_SaIS7_E # Num Counters: 12 # Counter Values: +2 +6 0 -0 -0 -0 +6 0 0 0 @@ -358427,8 +360469,8 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3setIjSt4lessIjESaIjEEESt10_Select1stIS7_ES4_SaIS7_E # Num Counters: 2 # Counter Values: -0 -0 +8 +12 _ZNSt8_Rb_treeIjSt4pairIKjSt3setItSt4lessItESaItEEESt10_Select1stIS7_ES3_IjESaIS7_EE12_M_drop_nodeEPSt13_Rb_tree_nodeIS7_E # Func Hash: @@ -358436,7 +360478,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3setItSt4lessItESaItEEESt10_Select1stIS7_ES3_IjESaIS # Num Counters: 2 # Counter Values: -0 +6 0 _ZNSt8_Rb_treeIjSt4pairIKjSt3setItSt4lessItESaItEEESt10_Select1stIS7_ES3_IjESaIS7_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESH_IJRS6_EEEEEvPSt13_Rb_tree_nodeIS7_EDpOT_ @@ -358445,8 +360487,8 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3setItSt4lessItESaItEEESt10_Select1stIS7_ES3_IjESaIS # Num Counters: 5 # Counter Values: -0 -0 +6 +6 0 0 0 @@ -358457,12 +360499,12 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3setItSt4lessItESaItEEESt10_Select1stIS7_ES3_IjESaIS # Num Counters: 6 # Counter Values: +6 0 0 +2 0 -0 -0 -0 +2 _ZNSt8_Rb_treeIjSt4pairIKjSt3setItSt4lessItESaItEEESt10_Select1stIS7_ES3_IjESaIS7_EE24_M_get_insert_unique_posERS1_ # Func Hash: @@ -358475,7 +360517,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3setItSt4lessItESaItEEESt10_Select1stIS7_ES3_IjESaIS 0 0 0 -0 +2 _ZNSt8_Rb_treeIjSt4pairIKjSt3setItSt4lessItESaItEEESt10_Select1stIS7_ES3_IjESaIS7_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS7_ERS1_ # Func Hash: @@ -358483,11 +360525,11 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3setItSt4lessItESaItEEESt10_Select1stIS7_ES3_IjESaIS # Num Counters: 12 # Counter Values: +2 +2 0 -0 -0 -0 -0 +2 +2 0 0 0 @@ -358502,8 +360544,8 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt3setItSt4lessItESaItEEESt10_Select1stIS7_ES3_IjESaIS # Num Counters: 2 # Counter Values: -0 -0 +6 +8 _ZNSt8_Rb_treeIjSt4pairIKjSt6vectorIS2_IjSaIjEESaIS4_EEESt10_Select1stIS7_ESt4lessIjESaIS7_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESI_IJEEEEESt17_Rb_tree_iteratorIS7_ESt23_Rb_tree_const_iteratorIS7_EDpOT_ # Func Hash: @@ -358511,10 +360553,10 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt6vectorIS2_IjSaIjEESaIS4_EEESt10_Select1stIS7_ESt4le # Num Counters: 6 # Counter Values: -80507 +80646 0 0 -61773 +61884 0 0 @@ -358529,7 +360571,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt6vectorIS2_IjSaIjEESaIS4_EEESt10_Select1stIS7_ESt4le 0 0 0 -18735 +18764 _ZNSt8_Rb_treeIjSt4pairIKjSt6vectorIS2_IjSaIjEESaIS4_EEESt10_Select1stIS7_ESt4lessIjESaIS7_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS7_ERS1_ # Func Hash: @@ -358537,10 +360579,10 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt6vectorIS2_IjSaIjEESaIS4_EEESt10_Select1stIS7_ESt4le # Num Counters: 12 # Counter Values: -18735 -61771 +18766 +61884 0 -61775 +61884 0 0 0 @@ -358556,8 +360598,8 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt6vectorIS2_IjSaIjEESaIS4_EEESt10_Select1stIS7_ESt4le # Num Counters: 2 # Counter Values: -80512 -102816 +80654 +103004 _ZNSt8_Rb_treeIjSt4pairIKjSt6vectorIjSaIjEEESt10_Select1stIS5_ESt4lessIjESaIS5_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESG_IJEEEEESt17_Rb_tree_iteratorIS5_ESt23_Rb_tree_const_iteratorIS5_EDpOT_ # Func Hash: @@ -358565,11 +360607,11 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt6vectorIjSaIjEEESt10_Select1stIS5_ESt4lessIjESaIS5_E # Num Counters: 8 # Counter Values: -83785 +83782 0 0 0 -83568 +83565 0 0 0 @@ -358594,9 +360636,9 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt6vectorIjSaIjEEESt10_Select1stIS5_ESt4lessIjESaIS5_E 12 # Counter Values: 215 -82966 +82956 0 -82971 +82970 0 0 0 @@ -358612,9 +360654,9 @@ _ZNSt8_Rb_treeIjSt4pairIKjSt6vectorIjSaIjEEESt10_Select1stIS5_ESt4lessIjESaIS5_E # Num Counters: 3 # Counter Values: -83790 -83575 -84005 +83766 +83551 +83960 _ZNSt8_Rb_treeIjSt4pairIKjbESt10_Select1stIS2_ESt4lessIjESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJOjEESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_ # Func Hash: @@ -358735,7 +360777,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjiESt10_Select1stIS2_ESt4lessIjESaIS2_EE8_M_eraseEPSt13 2 # Counter Values: 0 -10572 +10586 _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE13_M_clone_nodeILb0ENS8_20_Reuse_or_alloc_nodeEEEPSt13_Rb_tree_nodeIS2_ESD_RT0_ # Func Hash: @@ -358744,7 +360786,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE13_M_clone_node 2 # Counter Values: 0 -2095432 +2095125 _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE20_Reuse_or_alloc_node10_M_extractEv # Func Hash: @@ -358753,7 +360795,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE20_Reuse_or_all 7 # Counter Values: 0 -2095250 +2095216 0 0 0 @@ -358779,12 +360821,12 @@ _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE22_M_emplace_hi # Num Counters: 6 # Counter Values: -3119652 +3119865 0 0 -2767503 +2767821 0 -143653 +143683 _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE22_M_emplace_hint_uniqueIJRS1_SA_EEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_ # Func Hash: @@ -358818,7 +360860,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE22_M_emplace_hi # Num Counters: 6 # Counter Values: -0 +2 0 0 0 @@ -358831,10 +360873,10 @@ _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE22_M_emplace_hi # Num Counters: 6 # Counter Values: +18 0 0 -0 -0 +14 0 0 @@ -358849,7 +360891,7 @@ _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE24_M_get_insert 0 0 0 -208880 +208861 _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_ # Func Hash: @@ -358857,16 +360899,16 @@ _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE29_M_get_insert # Num Counters: 12 # Counter Values: -208875 -2742545 +208852 +2742393 0 -2744706 -45152 +2744678 +45149 0 -98619 +98682 0 0 -22885 +22925 0 0 @@ -358876,9 +360918,9 @@ _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE7_M_copyERKS8_ # Num Counters: 3 # Counter Values: -105277 -215150 -57346 +105278 +215139 +57341 _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE7_M_copyILb0ENS8_11_Alloc_nodeEEEPSt18_Rb_tree_node_basePSt13_Rb_tree_nodeIS2_ESC_RT0_ # Func Hash: @@ -358886,11 +360928,11 @@ _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE7_M_copyILb0ENS # Num Counters: 10 # Counter Values: -44945564 -22307672 -22307448 -45151422 -22719038 +44936223 +22302791 +22303747 +45140019 +22717309 0 0 0 @@ -358903,11 +360945,11 @@ _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE7_M_copyILb0ENS # Num Counters: 10 # Counter Values: -975863 -399351 -399354 -1122121 -623862 +975803 +399261 +399252 +1122106 +623853 0 0 0 @@ -358920,8 +360962,8 @@ _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EE8_M_eraseEPSt13 # Num Counters: 2 # Counter Values: -106019889 -107617502 +106007025 +107573585 _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EEaSERKS8_ # Func Hash: @@ -358929,14 +360971,14 @@ _ZNSt8_Rb_treeIjSt4pairIKjjESt10_Select1stIS2_ESt4lessIjESaIS2_EEaSERKS8_ # Num Counters: 12 # Counter Values: -225396 -457627 -151717 -0 -0 -99426 +225431 +457722 +151725 +4 +4 +99483 0 -151719 +151722 0 0 0 @@ -359015,8 +361057,8 @@ _ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE10_M_insert_IRKjNS5_11_Alloc_nod # Num Counters: 3 # Counter Values: -346172 -287508 +346402 +287733 0 _ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE10_M_insert_IjNS5_11_Alloc_nodeEEESt17_Rb_tree_iteratorIjEPSt18_Rb_tree_node_baseSB_OT_RT0_ @@ -359025,8 +361067,8 @@ _ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE10_M_insert_IjNS5_11_Alloc_nodeE # Num Counters: 3 # Counter Values: -215 -215 +225 +219 0 _ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE15_M_erase_uniqueERKj @@ -359035,12 +361077,12 @@ _ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE15_M_erase_uniqueERKj # Num Counters: 7 # Counter Values: -571432 -83996 -83996 -83996 -487429 -487429 +571255 +83972 +83972 +83973 +487283 +487283 0 _ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE16_M_insert_uniqueIRKjEESt4pairISt17_Rb_tree_iteratorIjEbEOT_ @@ -359049,14 +361091,14 @@ _ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE16_M_insert_uniqueIRKjEESt4pairI # Num Counters: 8 # Counter Values: -1322175 -345752 -59364 -430 -810 -1125 -287243 -287243 +1324636 +345977 +59479 +618 +904 +1408 +287474 +287474 _ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE16_M_insert_uniqueIjEESt4pairISt17_Rb_tree_iteratorIjEbEOT_ # Func Hash: @@ -359064,14 +361106,14 @@ _ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE16_M_insert_uniqueIjEESt4pairISt # Num Counters: 8 # Counter Values: -215 -215 -0 +219 +225 +6 0 0 0 -215 -215 +219 +219 _ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE17_M_insert_unique_IRKjNS5_11_Alloc_nodeEEESt17_Rb_tree_iteratorIjESt23_Rb_tree_const_iteratorIjEOT_RT0_ # Func Hash: @@ -359137,8 +361179,8 @@ _ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE8_M_eraseEPSt13_Rb_tree_nodeIjE # Num Counters: 2 # Counter Values: -18866842 -26229689 +18920418 +26303399 _ZNSt8_Rb_treeItSt4pairIKtN3net4PeerEESt10_Select1stIS4_ESt4lessItESaIS4_EE12_M_erase_auxESt23_Rb_tree_const_iteratorIS4_E # Func Hash: @@ -359387,7 +361429,7 @@ _ZNSt8_Rb_treeIttSt9_IdentityItESt4lessItESaItEE10_M_insert_ItNS5_11_Alloc_nodeE # Num Counters: 3 # Counter Values: -0 +2 0 0 @@ -359397,8 +361439,8 @@ _ZNSt8_Rb_treeIttSt9_IdentityItESt4lessItESaItEE13_M_clone_nodeILb0ENS5_20_Reuse # Num Counters: 2 # Counter Values: -0 -0 +6 +2 _ZNSt8_Rb_treeIttSt9_IdentityItESt4lessItESaItEE15_M_erase_uniqueERKt # Func Hash: @@ -359406,13 +361448,13 @@ _ZNSt8_Rb_treeIttSt9_IdentityItESt4lessItESaItEE15_M_erase_uniqueERKt # Num Counters: 7 # Counter Values: +696 +696 +664 0 -0 -0 -0 -0 -0 -0 +32 +32 +664 _ZNSt8_Rb_treeIttSt9_IdentityItESt4lessItESaItEE16_M_insert_uniqueIRKtEESt4pairISt17_Rb_tree_iteratorItEbEOT_ # Func Hash: @@ -359436,8 +361478,8 @@ _ZNSt8_Rb_treeIttSt9_IdentityItESt4lessItESaItEE16_M_insert_uniqueItEESt4pairISt 8 # Counter Values: 0 -0 -0 +2 +2 0 0 0 @@ -359451,9 +361493,9 @@ _ZNSt8_Rb_treeIttSt9_IdentityItESt4lessItESaItEE20_Reuse_or_alloc_node10_M_extra 7 # Counter Values: 0 +8 0 -0 -0 +6 0 0 0 @@ -359466,7 +361508,7 @@ _ZNSt8_Rb_treeIttSt9_IdentityItESt4lessItESaItEE7_M_copyERKS5_ # Counter Values: 0 0 -0 +6 _ZNSt8_Rb_treeIttSt9_IdentityItESt4lessItESaItEE7_M_copyILb0ENS5_11_Alloc_nodeEEEPSt18_Rb_tree_node_basePSt13_Rb_tree_nodeItES9_RT0_ # Func Hash: @@ -359477,7 +361519,7 @@ _ZNSt8_Rb_treeIttSt9_IdentityItESt4lessItESaItEE7_M_copyILb0ENS5_11_Alloc_nodeEE 0 0 0 -0 +6 0 0 0 @@ -359494,7 +361536,7 @@ _ZNSt8_Rb_treeIttSt9_IdentityItESt4lessItESaItEE7_M_copyILb0ENS5_20_Reuse_or_all 0 0 0 -0 +8 0 0 0 @@ -359508,8 +361550,8 @@ _ZNSt8_Rb_treeIttSt9_IdentityItESt4lessItESaItEE8_M_eraseEPSt13_Rb_tree_nodeItE # Num Counters: 2 # Counter Values: -0 -0 +10 +20 _ZNSt8_Rb_treeIttSt9_IdentityItESt4lessItESaItEEaSERKS5_ # Func Hash: @@ -359519,12 +361561,12 @@ _ZNSt8_Rb_treeIttSt9_IdentityItESt4lessItESaItEEaSERKS5_ # Counter Values: 0 0 +8 +6 0 +8 0 -0 -0 -0 -0 +2 0 0 0 @@ -359637,12 +361679,12 @@ _ZNSt8_Rb_treeIySt4pairIKyN10gxvk_homes9HomeIndex5ValueEESt10_Select1stIS5_ESt4l # Num Counters: 6 # Counter Values: -838495 +838514 0 0 -772519 +775072 0 -65964 +63430 _ZNSt8_Rb_treeIySt4pairIKyN10gxvk_homes9HomeIndex5ValueEESt10_Select1stIS5_ESt4lessIyESaIS5_EE24_M_get_insert_unique_posERS1_ # Func Hash: @@ -359664,15 +361706,15 @@ _ZNSt8_Rb_treeIySt4pairIKyN10gxvk_homes9HomeIndex5ValueEESt10_Select1stIS5_ESt4l 12 # Counter Values: 12 -690016 +691288 0 -690016 +691288 12 0 -65952 +63418 0 0 -82503 +83784 0 0 @@ -359774,8 +361816,8 @@ _ZNSt8_Rb_treeIySt4pairIKyN3gpu3Gpu11PendingSpanEESt10_Select1stIS5_ESt4lessIyES # Num Counters: 2 # Counter Values: -1475217 -1475217 +1459440 +1459440 _ZNSt8_Rb_treeIySt4pairIKyN3gpu3Gpu11PendingSpanEESt10_Select1stIS5_ESt4lessIyESaIS5_EE22_M_emplace_hint_uniqueIJRS1_S4_EEESt17_Rb_tree_iteratorIS5_ESt23_Rb_tree_const_iteratorIS5_EDpOT_ # Func Hash: @@ -359798,14 +361840,14 @@ _ZNSt8_Rb_treeIySt4pairIKyN3gpu3Gpu11PendingSpanEESt10_Select1stIS5_ESt4lessIyES # Num Counters: 8 # Counter Values: -1475395 +1459648 0 0 0 -724703 +720963 0 0 -718921 +706837 _ZNSt8_Rb_treeIySt4pairIKyN3gpu3Gpu11PendingSpanEESt10_Select1stIS5_ESt4lessIyESaIS5_EE24_M_get_insert_unique_posERS1_ # Func Hash: @@ -359818,7 +361860,7 @@ _ZNSt8_Rb_treeIySt4pairIKyN3gpu3Gpu11PendingSpanEESt10_Select1stIS5_ESt4lessIyES 0 0 0 -31771 +31848 _ZNSt8_Rb_treeIySt4pairIKyN3gpu3Gpu11PendingSpanEESt10_Select1stIS5_ESt4lessIyESaIS5_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS5_ERS1_ # Func Hash: @@ -359826,16 +361868,16 @@ _ZNSt8_Rb_treeIySt4pairIKyN3gpu3Gpu11PendingSpanEESt10_Select1stIS5_ESt4lessIyES # Num Counters: 12 # Counter Values: -31771 -129397 +31848 +122816 0 -129397 -153020 +122816 +151019 0 -565901 +555818 0 0 -595306 +598147 0 0 @@ -359912,7 +361954,7 @@ _ZNSt8_Rb_treeIySt4pairIKyN3gpu7RtImageEESt10_Select1stIS4_ESt4lessIyESaIS4_EE12 # Num Counters: 2 # Counter Values: -1629 +1637 0 _ZNSt8_Rb_treeIySt4pairIKyN3gpu7RtImageEESt10_Select1stIS4_ESt4lessIyESaIS4_EE17_M_construct_nodeIJRyRS3_EEEvPSt13_Rb_tree_nodeIS4_EDpOT_ @@ -359921,7 +361963,7 @@ _ZNSt8_Rb_treeIySt4pairIKyN3gpu7RtImageEESt10_Select1stIS4_ESt4lessIyESaIS4_EE17 # Num Counters: 5 # Counter Values: -4130 +4135 0 0 0 @@ -359933,12 +361975,12 @@ _ZNSt8_Rb_treeIySt4pairIKyN3gpu7RtImageEESt10_Select1stIS4_ESt4lessIyESaIS4_EE22 # Num Counters: 6 # Counter Values: -4130 +4135 0 0 -2571 +2536 0 -1535 +1575 _ZNSt8_Rb_treeIySt4pairIKyN3gpu7RtImageEESt10_Select1stIS4_ESt4lessIyESaIS4_EE22_M_emplace_hint_uniqueIJRyS3_EEESt17_Rb_tree_iteratorIS4_ESt23_Rb_tree_const_iteratorIS4_EDpOT_ # Func Hash: @@ -359949,9 +361991,9 @@ _ZNSt8_Rb_treeIySt4pairIKyN3gpu7RtImageEESt10_Select1stIS4_ESt4lessIyESaIS4_EE22 19 0 0 -17 +18 0 -2 +1 _ZNSt8_Rb_treeIySt4pairIKyN3gpu7RtImageEESt10_Select1stIS4_ESt4lessIyESaIS4_EE24_M_get_insert_unique_posERS1_ # Func Hash: @@ -359973,15 +362015,15 @@ _ZNSt8_Rb_treeIySt4pairIKyN3gpu7RtImageEESt10_Select1stIS4_ESt4lessIyESaIS4_EE29 12 # Counter Values: 24 -459 +465 0 -459 +465 15 0 -1522 +1561 0 0 -2129 +2089 0 0 @@ -360055,7 +362097,7 @@ _ZNSt8_Rb_treeIySt4pairIKyP13VkImageView_TESt10_Select1stIS4_ESt4lessIyESaIS4_EE 7 # Counter Values: 0 -1281 +1228 0 0 0 @@ -360068,12 +362110,12 @@ _ZNSt8_Rb_treeIySt4pairIKyP13VkImageView_TESt10_Select1stIS4_ESt4lessIyESaIS4_EE # Num Counters: 6 # Counter Values: -121338 +121100 0 0 -8543 +8548 0 -6580 +6589 _ZNSt8_Rb_treeIySt4pairIKyP13VkImageView_TESt10_Select1stIS4_ESt4lessIyESaIS4_EE24_M_get_insert_unique_posERS1_ # Func Hash: @@ -360086,7 +362128,7 @@ _ZNSt8_Rb_treeIySt4pairIKyP13VkImageView_TESt10_Select1stIS4_ESt4lessIyESaIS4_EE 0 0 0 -106215 +105963 _ZNSt8_Rb_treeIySt4pairIKyP13VkImageView_TESt10_Select1stIS4_ESt4lessIyESaIS4_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS4_ERS1_ # Func Hash: @@ -360094,11 +362136,11 @@ _ZNSt8_Rb_treeIySt4pairIKyP13VkImageView_TESt10_Select1stIS4_ESt4lessIyESaIS4_EE # Num Counters: 12 # Counter Values: -106215 -8543 +105963 +8548 0 -8543 -6572 +8548 +6581 0 8 0 @@ -360156,8 +362198,8 @@ _ZNSt8_Rb_treeIySt4pairIKyP13VkImageView_TESt10_Select1stIS4_ESt4lessIyESaIS4_EE 0 0 0 -7 -1281 +6 +1228 0 0 0 @@ -360170,8 +362212,8 @@ _ZNSt8_Rb_treeIySt4pairIKyP13VkImageView_TESt10_Select1stIS4_ESt4lessIyESaIS4_EE # Num Counters: 2 # Counter Values: -49014 -2659845 +48405 +2891511 _ZNSt8_Rb_treeIySt4pairIKyP13VkImageView_TESt10_Select1stIS4_ESt4lessIyESaIS4_EEaSERKSA_ # Func Hash: @@ -360180,13 +362222,13 @@ _ZNSt8_Rb_treeIySt4pairIKyP13VkImageView_TESt10_Select1stIS4_ESt4lessIyESaIS4_EE 12 # Counter Values: 0 -7 -1274 +6 +1222 0 0 -1274 +1222 0 -1274 +1222 0 0 0 @@ -360306,7 +362348,7 @@ _ZNSt8_Rb_treeIySt4pairIKySt3mapIyP13VkImageView_TSt4lessIyESaIS0_IS1_S4_EEEESt1 # Num Counters: 2 # Counter Values: -1816 +1829 0 _ZNSt8_Rb_treeIySt4pairIKySt3mapIyP13VkImageView_TSt4lessIyESaIS0_IS1_S4_EEEESt10_Select1stISA_ES6_SaISA_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorISA_ESt23_Rb_tree_const_iteratorISA_EDpOT_ @@ -360315,12 +362357,12 @@ _ZNSt8_Rb_treeIySt4pairIKySt3mapIyP13VkImageView_TSt4lessIyESaIS0_IS1_S4_EEEESt1 # Num Counters: 6 # Counter Values: -3740 +3783 0 0 -1965 +2003 0 -1763 +1768 _ZNSt8_Rb_treeIySt4pairIKySt3mapIyP13VkImageView_TSt4lessIyESaIS0_IS1_S4_EEEESt10_Select1stISA_ES6_SaISA_EE24_M_get_insert_unique_posERS1_ # Func Hash: @@ -360342,15 +362384,15 @@ _ZNSt8_Rb_treeIySt4pairIKySt3mapIyP13VkImageView_TSt4lessIyESaIS0_IS1_S4_EEEESt1 12 # Counter Values: 12 -361 +359 0 -361 +359 0 0 -1763 +1768 0 0 -1604 +1644 0 0 @@ -360550,12 +362592,12 @@ _ZNSt8_Rb_treeIySt4pairIKyjESt10_Select1stIS2_ESt4lessIyESaIS2_EE22_M_emplace_hi # Num Counters: 6 # Counter Values: -23687 +23688 0 0 -19747 +19733 0 -3916 +3931 _ZNSt8_Rb_treeIySt4pairIKyjESt10_Select1stIS2_ESt4lessIyESaIS2_EE24_M_get_insert_unique_posERS1_ # Func Hash: @@ -360577,15 +362619,15 @@ _ZNSt8_Rb_treeIySt4pairIKyjESt10_Select1stIS2_ESt4lessIyESaIS2_EE29_M_get_insert 12 # Counter Values: 24 -8130 +8207 0 -8130 +8207 12 0 -3904 +3919 0 0 -11617 +11526 0 0 @@ -360618,12 +362660,12 @@ _ZNSt8_Rb_treeIySt4pairIKyyESt10_Select1stIS2_ESt4lessIyESaIS2_EE22_M_emplace_hi # Num Counters: 6 # Counter Values: -104939 +104552 0 0 -89164 +89893 0 -12148 +10939 _ZNSt8_Rb_treeIySt4pairIKyyESt10_Select1stIS2_ESt4lessIyESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_ # Func Hash: @@ -360631,12 +362673,12 @@ _ZNSt8_Rb_treeIySt4pairIKyyESt10_Select1stIS2_ESt4lessIyESaIS2_EE22_M_emplace_hi # Num Counters: 6 # Counter Values: -1055985 +1055479 0 0 -756118 +755725 0 -299729 +299607 _ZNSt8_Rb_treeIySt4pairIKyyESt10_Select1stIS2_ESt4lessIyESaIS2_EE22_M_emplace_hint_uniqueIJRySA_EEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_ # Func Hash: @@ -360644,12 +362686,12 @@ _ZNSt8_Rb_treeIySt4pairIKyyESt10_Select1stIS2_ESt4lessIyESaIS2_EE22_M_emplace_hi # Num Counters: 6 # Counter Values: -1011844 +1004616 0 0 -395001 +442248 0 -467041 +413426 _ZNSt8_Rb_treeIySt4pairIKyyESt10_Select1stIS2_ESt4lessIyESaIS2_EE22_M_emplace_hint_uniqueIJiRyEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_ # Func Hash: @@ -360670,12 +362712,12 @@ _ZNSt8_Rb_treeIySt4pairIKyyESt10_Select1stIS2_ESt4lessIyESaIS2_EE22_M_emplace_hi # Num Counters: 6 # Counter Values: -4342 +4354 0 0 -1370 +1422 0 -875 +821 _ZNSt8_Rb_treeIySt4pairIKyyESt10_Select1stIS2_ESt4lessIyESaIS2_EE24_M_get_insert_unique_posERS1_ # Func Hash: @@ -360688,7 +362730,7 @@ _ZNSt8_Rb_treeIySt4pairIKyyESt10_Select1stIS2_ESt4lessIyESaIS2_EE24_M_get_insert 0 0 0 -155743 +154999 _ZNSt8_Rb_treeIySt4pairIKyyESt10_Select1stIS2_ESt4lessIyESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_ # Func Hash: @@ -360696,16 +362738,16 @@ _ZNSt8_Rb_treeIySt4pairIKyyESt10_Select1stIS2_ESt4lessIyESaIS2_EE29_M_get_insert # Num Counters: 12 # Counter Values: -155743 -468729 +154999 +474124 0 -468729 -246983 +474124 +233056 0 -532812 +491739 0 0 -772924 +815162 0 0 @@ -360761,8 +362803,8 @@ _ZNSt8_Rb_treeIySt4pairIKyyESt10_Select1stIS2_ESt4lessIyESaIS2_EE8_M_eraseEPSt13 # Num Counters: 2 # Counter Values: -992784 -1141437 +985335 +1133350 _ZNSt8_Rb_treeIySt4pairIKyyESt10_Select1stIS2_ESt4lessIyESaIS2_EEaSERKS8_ # Func Hash: @@ -360789,8 +362831,8 @@ _ZNSt8_Rb_treeIyySt9_IdentityIyESt4lessIyESaIyEE10_M_insert_IRKyNS5_11_Alloc_nod # Num Counters: 3 # Counter Values: -1218 -1158 +1226 +1166 0 _ZNSt8_Rb_treeIyySt9_IdentityIyESt4lessIyESaIyEE10_M_insert_IyNS5_11_Alloc_nodeEEESt17_Rb_tree_iteratorIyEPSt18_Rb_tree_node_baseSB_OT_RT0_ @@ -360809,14 +362851,14 @@ _ZNSt8_Rb_treeIyySt9_IdentityIyESt4lessIyESaIyEE16_M_insert_uniqueIRKyEESt4pairI # Num Counters: 8 # Counter Values: -16167773 -1218 -1229588 -3718315 -1229420 -5290737 -1050 -1050 +16617606 +1226 +1253378 +3766411 +1253198 +5313039 +1046 +1046 _ZNSt8_Rb_treeIyySt9_IdentityIyESt4lessIyESaIyEE16_M_insert_uniqueIyEESt4pairISt17_Rb_tree_iteratorIyEbEOT_ # Func Hash: @@ -360880,7 +362922,7 @@ _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeINSt7__cxx1112basic_stringIcS # Num Counters: 4 # Counter Values: -20767737 +20797444 0 0 0 @@ -360971,7 +363013,7 @@ _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKNSt7__cxx1112basic_ # Num Counters: 4 # Counter Values: -30709 +30731 0 0 0 @@ -360982,7 +363024,7 @@ _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKNSt7__cxx1112basic_ # Num Counters: 4 # Counter Values: -5399 +5377 0 0 0 @@ -361107,7 +363149,7 @@ _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKNSt7__cxx1112basic_ # Num Counters: 4 # Counter Values: -66458 +66447 0 0 0 @@ -361140,7 +363182,7 @@ _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKP13VkImageView_TN3g # Num Counters: 4 # Counter Values: -121338 +121100 0 0 0 @@ -361151,7 +363193,7 @@ _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKy12GpuClearViewELb0 # Num Counters: 4 # Counter Values: -5171286 +5280075 0 0 0 @@ -361162,7 +363204,7 @@ _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKyN3gcn15TranslateRe # Num Counters: 4 # Counter Values: -3479 +3475 0 0 0 @@ -361203,11 +363245,11 @@ _ZNSt8__detail9_Map_baseIN9rt_extent3KeyESt4pairIKS2_NS1_5Table5SizesEESaIS7_ENS # Num Counters: 5 # Counter Values: -11112915 -11111957 -958 +11242945 +11241979 +966 0 -958 +966 _ZNSt8__detail9_Map_baseIN9rt_extent3KeyESt4pairIKS2_NS1_5Table5SizesEESaIS7_ENS_10_Select1stESt8equal_toIS2_ENS1_7KeyHashENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS4_ # Func Hash: @@ -361215,11 +363257,11 @@ _ZNSt8__detail9_Map_baseIN9rt_extent3KeyESt4pairIKS2_NS1_5Table5SizesEESaIS7_ENS # Num Counters: 5 # Counter Values: -105 +104 0 -105 +104 0 -105 +104 _ZNSt8__detail9_Map_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS6_N2bb13guest_console6Filter4SeenEESaISD_ENS_10_Select1stESt8equal_toIS6_ESt4hashIS6_ENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb1ELb0ELb1EEELb1EEixEOS6_ # Func Hash: @@ -361326,14 +363368,14 @@ _ZNSt8__detail9_Map_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4 # Num Counters: 8 # Counter Values: -139926 -73468 -66458 +139918 +73471 +66447 0 0 0 0 -66458 +66447 _ZNSt8__detail9_Map_baseIP11VkSampler_TSt4pairIKS2_19VkSamplerCreateInfoESaIS6_ENS_10_Select1stESt8equal_toIS2_ESt4hashIS2_ENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS4_ # Func Hash: @@ -361341,11 +363383,11 @@ _ZNSt8__detail9_Map_baseIP11VkSampler_TSt4pairIKS2_19VkSamplerCreateInfoESaIS6_E # Num Counters: 9 # Counter Values: -112 -17 -86 +115 +11 +95 273 -103 +106 0 273 0 @@ -361357,16 +363399,16 @@ _ZNSt8__detail9_Map_baseIP13VkImageView_TSt4pairIKS2_N3gpu10ViewRecordEESaIS7_EN # Num Counters: 10 # Counter Values: -75624 -64 -57027 -121338 -57091 +87635 +73 +62151 +121100 +62224 0 -121338 +121100 0 0 -121338 +121100 _ZNSt8__detail9_Map_baseIP13VkImageView_TSt4pairIKS2_St6vectorIySaIyEEESaIS8_ENS_10_Select1stESt8equal_toIS2_ESt4hashIS2_ENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS4_ # Func Hash: @@ -361374,16 +363416,16 @@ _ZNSt8__detail9_Map_baseIP13VkImageView_TSt4pairIKS2_St6vectorIySaIyEEESaIS8_ENS # Num Counters: 10 # Counter Values: -68317 -50 -17638 -240315 -218399 -200711 -39604 +69188 +60 +18502 +241053 +219967 +201405 +39648 0 0 -39604 +39648 _ZNSt8__detail9_Map_baseIP13VkImageView_TSt4pairIKS2_yESaIS5_ENS_10_Select1stESt8equal_toIS2_ESt4hashIS2_ENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS4_ # Func Hash: @@ -361583,15 +363625,15 @@ _ZNSt8__detail9_Map_baseIjSt4pairIKjjESaIS3_ENS_10_Select1stESt8equal_toIjESt4ha # Num Counters: 9 # Counter Values: -3330182 -52546 -3325220 -31791159 -3378185 +3336431 +52644 +3331258 +31839178 +3383940 0 -31781824 +31819849 0 -31803376 +31828615 _ZNSt8__detail9_Map_baseIjSt4pairIKjyESaIS3_ENS_10_Select1stESt8equal_toIjESt4hashIjENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_ # Func Hash: @@ -361615,15 +363657,15 @@ _ZNSt8__detail9_Map_baseIySt4pairIKy11GxYebisDrawESaIS4_ENS_10_Select1stESt8equa # Num Counters: 9 # Counter Values: -13178 -162 -13178 -7081603 -13340 +14163 +187 +14158 +7213542 +14345 0 -7081603 +7213542 0 -7081603 +7213542 _ZNSt8__detail9_Map_baseIySt4pairIKy12GpuClearViewESaIS4_ENS_10_Select1stESt8equal_toIyESt4hashIyENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_ # Func Hash: @@ -361631,16 +363673,16 @@ _ZNSt8__detail9_Map_baseIySt4pairIKy12GpuClearViewESaIS4_ENS_10_Select1stESt8equ # Num Counters: 10 # Counter Values: -1100444 -34261 -959711 -5171286 -993972 +1273241 +37983 +1098171 +5280075 +1136154 0 -5171286 +5280075 0 0 -5171286 +5280075 _ZNSt8__detail9_Map_baseIySt4pairIKy12GpuImageCopyESaIS4_ENS_10_Select1stESt8equal_toIyESt4hashIyENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_ # Func Hash: @@ -361648,15 +363690,15 @@ _ZNSt8__detail9_Map_baseIySt4pairIKy12GpuImageCopyESaIS4_ENS_10_Select1stESt8equ # Num Counters: 9 # Counter Values: -127566 -9796 -117931 -767758 -127727 +130676 +11434 +121055 +791263 +132489 0 -767758 +791263 0 -767758 +791263 _ZNSt8__detail9_Map_baseIySt4pairIKy12NativeShadowESaIS4_ENS_10_Select1stESt8equal_toIyESt4hashIyENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_ # Func Hash: @@ -361680,15 +363722,15 @@ _ZNSt8__detail9_Map_baseIySt4pairIKy13GpuDrawInputsESaIS4_ENS_10_Select1stESt8eq # Num Counters: 9 # Counter Values: -13178 -162 -13178 -7081603 -13340 +14163 +187 +14158 +7213542 +14345 0 -7081603 +7213542 0 -7081603 +7213542 _ZNSt8__detail9_Map_baseIySt4pairIKyN10yebis_bind4WorkEESaIS5_ENS_10_Select1stESt8equal_toIyESt4hashIyENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_ # Func Hash: @@ -361696,15 +363738,15 @@ _ZNSt8__detail9_Map_baseIySt4pairIKyN10yebis_bind4WorkEESaIS5_ENS_10_Select1stES # Num Counters: 9 # Counter Values: -13178 -162 -13178 -7081603 -13340 +14163 +187 +14158 +7213542 +14345 0 -7081603 +7213542 0 -7081603 +7213542 _ZNSt8__detail9_Map_baseIySt4pairIKyN3gcn15TranslateResultEESaIS5_ENS_10_Select1stESt8equal_toIyESt4hashIyENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_ # Func Hash: @@ -361712,16 +363754,16 @@ _ZNSt8__detail9_Map_baseIySt4pairIKyN3gcn15TranslateResultEESaIS5_ENS_10_Select1 # Num Counters: 10 # Counter Values: -2303 -25 -1677 -3479 -1702 +2307 +26 +1675 +3475 +1701 0 -3479 +3475 0 0 -3479 +3475 _ZNSt8__detail9_Map_baseIySt4pairIKyN3gpu14ViewClearImageEESaIS5_ENS_10_Select1stESt8equal_toIyESt4hashIyENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_ # Func Hash: @@ -361729,16 +363771,16 @@ _ZNSt8__detail9_Map_baseIySt4pairIKyN3gpu14ViewClearImageEESaIS5_ENS_10_Select1s # Num Counters: 10 # Counter Values: -3396 -1311270 -14 -114 -3747248 -3747093 -3746965 -283 +3456 +1434579 +13 +116 +3806109 +3805950 +3805821 +288 0 -283 +288 _ZNSt8__detail9_Map_baseIySt4pairIKyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS9_ENS_10_Select1stESt8equal_toIyESt4hashIyENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_ # Func Hash: @@ -361779,15 +363821,15 @@ _ZNSt8__detail9_Map_baseIySt4pairIKyP12VkPipeline_TESaIS5_ENS_10_Select1stESt8eq # Num Counters: 9 # Counter Values: -41357 -62 -29095 -57234 -29157 +41438 +59 +29271 +57239 +29330 0 -57234 +57239 0 -57234 +57239 _ZNSt8__detail9_Map_baseIySt4pairIKySt13unordered_setIySt4hashIyESt8equal_toIyESaIyEEESaISA_ENS_10_Select1stES7_S5_NS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_ # Func Hash: @@ -361894,15 +363936,15 @@ _ZNSt8__detail9_Map_baseIySt4pairIKyjESaIS3_ENS_10_Select1stESt8equal_toIyESt4ha # Num Counters: 9 # Counter Values: -942060 -42227 -811587 -6040975 -1721221 -867407 -5173568 +996956 +58085 +821132 +6004470 +1723604 +844387 +5160083 0 -5173568 +5160083 _ZNSt8__detail9_Map_baseIySt4pairIKyyESaIS3_ENS_10_Select1stESt8equal_toIyESt4hashIyENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixEOy # Func Hash: @@ -361910,15 +363952,15 @@ _ZNSt8__detail9_Map_baseIySt4pairIKyyESaIS3_ENS_10_Select1stESt8equal_toIyESt4ha # Num Counters: 9 # Counter Values: -9422017 -68754 -4241360 -43405740 -27485470 -23175356 -20230384 +9324795 +66666 +4201095 +43151892 +27300536 +23032775 +20119117 0 -20230384 +20119117 _ZNSt8__detail9_Map_baseIySt4pairIKyyESaIS3_ENS_10_Select1stESt8equal_toIyESt4hashIyENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixERS2_ # Func Hash: @@ -361926,15 +363968,15 @@ _ZNSt8__detail9_Map_baseIySt4pairIKyyESaIS3_ENS_10_Select1stESt8equal_toIyESt4ha # Num Counters: 9 # Counter Values: -887 -30 -674 -1610 -704 +915 +22 +689 +1618 +711 0 -1610 +1618 0 -1610 +1618 _ZNSt8functionIFvRKN4json5ValueEEEC2ERKS5_ # Func Hash: @@ -361997,8 +364039,8 @@ _ZNSt8functionIFvvEEaSEOS1_ # Num Counters: 4 # Counter Values: -6379083 -6379083 +6453230 +6453230 0 0 # Num Value Kinds: @@ -362838,8 +364880,8 @@ _ZSt12construct_atIN3gcn11BindingNameEJS1_EQaant20is_unbounded_array_vIT_ErqXgsn # Num Counters: 2 # Counter Values: -402053 -624473 +401703 +624134 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -362847,11 +364889,11 @@ _ZSt12construct_atIN3gcn11BindingNameEJS1_EQaant20is_unbounded_array_vIT_ErqXgsn # NumValueSites: 1 6 -9:533652 -16:69277 -8:11794 -6:9224 -1:699 +9:533400 +16:69233 +8:11792 +6:9199 +1:709 7:60 _ZSt12construct_atIN3gcn11BundleEntryEJS1_EQaant20is_unbounded_array_vIT_ErqXgsnwcvPvLi0E_S2_pispclsr3stdE7declvalIT0_EEEEEPS2_S5_DpOS4_ @@ -362878,7 +364920,7 @@ _ZSt12construct_atIN3gcn16ReflectedElementEJRKS1_EQaant20is_unbounded_array_vIT_ # Num Counters: 3 # Counter Values: -2323111 +2321857 0 0 @@ -362888,9 +364930,9 @@ _ZSt12construct_atIN3gcn16ReflectedElementEJS1_EQaant20is_unbounded_array_vIT_Er # Num Counters: 3 # Counter Values: -458 -3651606 -9700734 +455 +3648275 +9695024 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -362898,16 +364940,16 @@ _ZSt12construct_atIN3gcn16ReflectedElementEJS1_EQaant20is_unbounded_array_vIT_Er # NumValueSites: 2 7 -9:2965080 -16:398807 -7:149723 -8:94404 -4:43430 -6:1700 +9:2962346 +16:398594 +7:149750 +8:94009 +4:43440 +6:1696 5:72 2 -9:9630840 -16:66568 +9:9625130 +16:66588 _ZSt12construct_atIN3gcn18ReflectedAttributeEJS1_EQaant20is_unbounded_array_vIT_ErqXgsnwcvPvLi0E_S2_pispclsr3stdE7declvalIT0_EEEEEPS2_S5_DpOS4_ # Func Hash: @@ -362916,8 +364958,8 @@ _ZSt12construct_atIN3gcn18ReflectedAttributeEJS1_EQaant20is_unbounded_array_vIT_ 3 # Counter Values: 0 -394923 -943290 +394383 +942068 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -362925,17 +364967,17 @@ _ZSt12construct_atIN3gcn18ReflectedAttributeEJS1_EQaant20is_unbounded_array_vIT_ # NumValueSites: 2 6 -9:307566 -16:86696 -7:273 +9:306980 +16:86721 +7:274 8:204 -6:120 +6:122 3:96 4 -9:752082 -6:100660 -7:55772 -8:34848 +9:751069 +6:100475 +7:55749 +8:34819 _ZSt12construct_atIN3gpu12BundleShaderEJS1_EQaant20is_unbounded_array_vIT_ErqXgsnwcvPvLi0E_S2_pispclsr3stdE7declvalIT0_EEEEEPS2_S5_DpOS4_ # Func Hash: @@ -363021,7 +365063,7 @@ _ZSt12construct_atISt4pairIKP13VkImageView_TN3gpu10ViewRecordEEJRKSt21piecewise_ # Num Counters: 1 # Counter Values: -121338 +121100 _ZSt12construct_atISt4pairIKSt5tupleIJijjEEN3gpu7RtImageEEJRKSt21piecewise_construct_tS1_IJRS3_EES1_IJEEEQaant20is_unbounded_array_vIT_ErqXgsnwcvPvLi0E_SD_pispclsr3stdE7declvalIT0_EEEEEPSD_SG_DpOSF_ # Func Hash: @@ -363038,9 +365080,9 @@ _ZSt12construct_atISt4pairIKy12GpuClearViewEJRKSt21piecewise_construct_tSt5tuple # Num Counters: 3 # Counter Values: -20685144 -15513858 -5171286 +21120300 +15840225 +5280075 _ZSt12construct_atISt4pairIKyN3gcn15TranslateResultEEJRKSt21piecewise_construct_tSt5tupleIJRS1_EES8_IJEEEQaant20is_unbounded_array_vIT_ErqXgsnwcvPvLi0E_SC_pispclsr3stdE7declvalIT0_EEEEEPSC_SF_DpOSE_ # Func Hash: @@ -363048,7 +365090,7 @@ _ZSt12construct_atISt4pairIKyN3gcn15TranslateResultEEJRKSt21piecewise_construct_ # Num Counters: 1 # Counter Values: -3479 +3475 _ZSt12construct_atISt4pairIKyN3gpu15ComputePipelineEEJRKSt21piecewise_construct_tSt5tupleIJRS1_EES8_IJEEEQaant20is_unbounded_array_vIT_ErqXgsnwcvPvLi0E_SC_pispclsr3stdE7declvalIT0_EEEEEPSC_SF_DpOSE_ # Func Hash: @@ -363692,11 +365734,11 @@ _ZSt14__copy_move_a1ILb1EPN3gpu9TexUpdateES1_EN9__gnu_cxx11__enable_ifIXsr27__is # Num Counters: 5 # Counter Values: -1031 -374 -192 +1020 +372 +197 0 -467 +469 _ZSt14__copy_move_a2ILb0EP10ConfigMoveS1_S1_ET2_T0_T1_S2_ # Func Hash: @@ -363713,9 +365755,9 @@ _ZSt15__copy_move_ditILb1EN3gpu9TexUpdateERS1_PS1_St15_Deque_iteratorIS1_S2_S3_E # Num Counters: 3 # Counter Values: -22 -142 -161 +19 +144 +162 _ZSt16__do_str_codecvtINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEwSt7codecvtIwc9_MbstatetES7_MS8_KFNSt12codecvt_base6resultERS7_PKwSD_RSD_PcSF_RSF_EEbPKT0_SL_RT_RKT1_RT2_RyT3_ # Func Hash: @@ -363724,16 +365766,16 @@ _ZSt16__do_str_codecvtINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEwSt7c 11 # Counter Values: 0 -4730 +4882 0 -4730 +4882 0 0 0 -4730 +4882 0 -4730 -4730 +4882 +4882 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -363741,9 +365783,9 @@ _ZSt16__do_str_codecvtINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEwSt7c # NumValueSites: 2 1 -** External Symbol **:4730 +** External Symbol **:4882 1 -_ZNKSt23__codecvt_abstract_baseIwc9_MbstatetE3outERS0_PKwS4_RS4_PcS6_RS6_:4730 +_ZNKSt23__codecvt_abstract_baseIwc9_MbstatetE3outERS0_PKwS4_RS4_PcS6_RS6_:4882 _ZSt16__do_str_codecvtINSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEEcSt7codecvtIwc9_MbstatetES7_MS8_KFNSt12codecvt_base6resultERS7_PKcSD_RSD_PwSF_RSF_EEbPKT0_SL_RT_RKT1_RT2_RyT3_ # Func Hash: @@ -363752,16 +365794,16 @@ _ZSt16__do_str_codecvtINSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEEcSt7c 11 # Counter Values: 0 -36991 +37800 0 -36991 +37800 0 0 0 -36991 +37800 0 -36991 -36991 +37800 +37800 # Num Value Kinds: 1 # ValueKind = IPVK_IndirectCallTarget: @@ -363769,9 +365811,9 @@ _ZSt16__do_str_codecvtINSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEEcSt7c # NumValueSites: 2 1 -** External Symbol **:36991 +** External Symbol **:37800 1 -_ZNKSt23__codecvt_abstract_baseIwc9_MbstatetE2inERS0_PKcS4_RS4_PwS6_RS6_:36991 +_ZNKSt23__codecvt_abstract_baseIwc9_MbstatetE2inERS0_PKcS4_RS4_PwS6_RS6_:37800 _ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIP10ConfigMoveSt6vectorIS2_SaIS2_EEEES7_S3_ET1_T_T0_S8_ # Func Hash: @@ -363826,7 +365868,7 @@ _ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKN10patch_file4SiteESt6ve # Num Counters: 3 # Counter Values: -5090 +5054 396 0 @@ -363895,8 +365937,8 @@ _ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKN3gcn12ImageBindingESt6v # Num Counters: 5 # Counter Values: -423496 -71036 +423472 +71054 0 0 0 @@ -363907,7 +365949,7 @@ _ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKN3gcn12ResourcePathESt6v # Num Counters: 5 # Counter Values: -922 +918 46595 0 0 @@ -363919,8 +365961,8 @@ _ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKN3gcn13BufferBindingESt6 # Num Counters: 5 # Counter Values: -389004 -96053 +389026 +96055 0 0 0 @@ -363931,8 +365973,8 @@ _ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKN3gcn14SamplerBindingESt # Num Counters: 5 # Counter Values: -200349 -70969 +200388 +70994 0 0 0 @@ -363943,8 +365985,8 @@ _ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKN3gcn15TranslateResult10 # Num Counters: 5 # Counter Values: -224621 -46244 +224629 +46239 0 0 0 @@ -363955,8 +365997,8 @@ _ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKN3gcn18ReflectedAttribut # Num Counters: 5 # Counter Values: -457992 -80487 +457679 +80412 0 0 0 @@ -363997,8 +366039,8 @@ _ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_strin # Num Counters: 5 # Counter Values: -12848 -55960 +12850 +55885 0 0 0 @@ -364020,8 +366062,8 @@ _ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPN3spv6Module5InstrESt6vec # Num Counters: 5 # Counter Values: -6684 -144 +19564 +158 0 0 0 @@ -364032,8 +366074,8 @@ _ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_string # Num Counters: 5 # Counter Values: -0 -0 +14 +2 0 0 0 @@ -364058,7 +366100,7 @@ _ZSt16__do_uninit_copyIPKN10patch_file4SiteES3_PS1_ET1_T_T0_S5_ # Num Counters: 3 # Counter Values: -2184 +2148 24 0 @@ -364068,8 +366110,8 @@ _ZSt16__do_uninit_copyIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ # Num Counters: 5 # Counter Values: -220002 -44011 +219907 +43994 0 0 0 @@ -364261,7 +366303,7 @@ _ZSt16__do_uninit_copyISt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt 5 # Counter Values: 0 -40 +45 0 0 0 @@ -364298,12 +366340,12 @@ _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPNSt10filesystem7__cxx114p 0 0 0 -82 +83 0 0 0 -191 -191 +190 +190 0 0 @@ -364352,14 +366394,14 @@ _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIyyESt6vectorIS3_S # Num Counters: 8 # Counter Values: -17472 -8846 -2847 -448 -10984 -2320 -964 -964 +17721 +8778 +2909 +457 +11102 +2315 +973 +973 _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEESt4lessIvEEvT_S9_T0_ # Func Hash: @@ -364367,15 +366409,15 @@ _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEESt4le # Num Counters: 9 # Counter Values: -116744 -43342 +116387 +43601 0 0 -9728 -3538 -3538 -3537 -3537 +9696 +3554 +3554 +3552 +3552 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -364383,12 +366425,12 @@ _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEESt4le # NumValueSites: 1 6 -16:1721 -33:1482 -17:1131 -65:806 -32:783 -64:268 +16:1715 +33:1446 +17:1094 +65:804 +32:779 +64:306 _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEESt4lessIvEEvT_S9_T0_ # Func Hash: @@ -364419,15 +366461,15 @@ _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEESt4le # Num Counters: 9 # Counter Values: -149485 -207064 +149464 +207122 0 0 -41706 -255390 -255389 -27157 -27159 +41876 +255689 +255689 +27253 +27252 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -364435,12 +366477,12 @@ _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEESt4le # NumValueSites: 1 6 -8:7466 -9:4312 -17:1308 -16:912 -33:410 -32:147 +8:7447 +9:4335 +17:1292 +16:963 +33:424 +32:163 _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPySt6vectorIySaIyEEEESt4lessIvEEvT_S9_T0_ # Func Hash: @@ -364545,12 +366587,12 @@ _ZSt16__insertion_sortIPdSt4lessIvEEvT_S3_T0_ 9 # Counter Values: 0 +4 +5 0 0 0 -0 -0 -0 +1 0 0 # Num Value Kinds: @@ -364591,14 +366633,14 @@ _ZSt16__insertion_sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPSt4p # Num Counters: 8 # Counter Values: -20 -36 +18 +42 0 0 -66 -25 -58 -58 +67 +27 +57 +57 _ZSt16__insertion_sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPSt4pairIyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt6vectorISA_SaISA_EEEEESt4lessIvEEvT_SJ_T0_ # Func Hash: @@ -364672,13 +366714,13 @@ _ZSt16__insertion_sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPSt4p 8 # Counter Values: 51 -732 +740 0 -83 -1495 -602 -1346 -1346 +82 +1507 +612 +1359 +1359 _ZSt16__insertion_sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPSt4pairIyyESt6vectorIS4_SaIS4_EEEEESt4lessIvEEvT_SD_T0_ # Func Hash: @@ -364686,14 +366728,14 @@ _ZSt16__insertion_sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPSt4p # Num Counters: 8 # Counter Values: -13663 -7533 -2693 -815 -6396 -2158 -1574 -1574 +17248 +6118 +2813 +817 +6086 +2384 +1544 +1544 _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPNSt10filesystem7__cxx114pathESt6vectorIS4_SaIS4_EEEExSt4lessIvEEvT_SC_T0_T1_ # Func Hash: @@ -364703,7 +366745,7 @@ _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPNSt10filesystem7__cxx114p # Counter Values: 0 0 -191 +190 0 _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEExSt4lessIvEEvT_SF_T0_T1_ @@ -364733,8 +366775,8 @@ _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPSt4pairIyyESt6vectorIS3_S # Num Counters: 3 # Counter Values: -1337 -2302 +1350 +2323 0 _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEExSt4lessIvEEvT_S9_T0_T1_ @@ -364743,12 +366785,12 @@ _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEExSt4l # Num Counters: 7 # Counter Values: -2481345 -2997352 -1811351 +2497836 +3019533 +1827653 0 -111585 -115123 +112958 +116512 0 _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEExSt4lessIvEEvT_S9_T0_T1_ @@ -364771,12 +366813,12 @@ _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEExSt4l # Num Counters: 7 # Counter Values: -591588 -682205 -476889 +611359 +675855 +482617 0 -36547 -291939 +36800 +292494 0 _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPySt6vectorIySaIyEEEExSt4lessIvEEvT_S9_T0_T1_ @@ -364804,7 +366846,7 @@ _ZSt16__introsort_loopIPdxSt4lessIvEEvT_S3_T0_T1_ 0 0 0 -0 +1 0 _ZSt16__introsort_loopIPixZN4gxvk9CopyWatchILi64ELj16ELj16384EE7publishEvEUliiE_EvT_S5_T0_T1_ @@ -364828,7 +366870,7 @@ _ZSt16__introsort_loopISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPSt4p 3 # Counter Values: 0 -58 +57 0 _ZSt16__introsort_loopISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPSt4pairIyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt6vectorISA_SaISA_EEEEExSt4lessIvEEvT_SJ_T0_T1_ @@ -364879,7 +366921,7 @@ _ZSt16__introsort_loopISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPSt4p 3 # Counter Values: 0 -1346 +1359 0 _ZSt16__introsort_loopISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPSt4pairIyyESt6vectorIS4_SaIS4_EEEEExSt4lessIvEEvT_SD_T0_T1_ @@ -364888,8 +366930,8 @@ _ZSt16__introsort_loopISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPSt4p # Num Counters: 3 # Counter Values: -36 -1610 +37 +1581 0 _ZSt16__introsort_loopISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPtSt6vectorItSaItEEEEExSt4lessIvEEvT_SB_T0_T1_ @@ -365367,6 +367409,21 @@ _ZSt18__do_uninit_fill_nIPSt6vectorIjSaIjEEyS2_ET_S4_T0_RKT1_ 0 0 +_ZSt19__relocate_object_aI16PluginOptionDescS0_SaIS0_EEvPT_PT0_RT1_ +# Func Hash: +647472253667012047 +# Num Counters: +8 +# Counter Values: +0 +0 +0 +0 +0 +0 +0 +0 + _ZSt21__atomic_wait_addressIyRZSt23__atomic_wait_address_vIyZNKSt13__atomic_baseIyE4waitEySt12memory_orderEUlvE_EvPKT_S5_T0_EUlRKyE_S4_EvS7_OS8_OT1_b # Func Hash: 290495010112530994 @@ -365494,12 +367551,12 @@ _ZSt21__unguarded_partitionIN9__gnu_cxx17__normal_iteratorIPSt4pairIyyESt6vector # Num Counters: 6 # Counter Values: -9042 -8790 -8 -417 -5564 -1339 +9140 +8852 +10 +416 +5566 +1350 _ZSt21__unguarded_partitionISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPSt4pairIdiESt6vectorIS4_SaIS4_EEEEESt4lessIvEET_SD_SD_SD_T0_ # Func Hash: @@ -365587,12 +367644,12 @@ _ZSt21__unguarded_partitionISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorI # Num Counters: 6 # Counter Values: -144 -299 -28 -40 -159 -36 +206 +240 +47 +44 +169 +37 _ZSt22__chunk_insertion_sortIN9__gnu_cxx17__normal_iteratorIPySt6vectorIySaIyEEEExZN10heap_place5orderIN12heap_compact5BlockEEEvRKS3_IT_SaISB_EERS5_ibEUlyyE_EvSB_SB_T0_T1_ # Func Hash: @@ -365620,7 +367677,7 @@ _ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPNSt10filesystem7__c # Counter Values: 0 0 -191 +190 _ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEESt4lessIvEEvT_SF_T0_ # Func Hash: @@ -365650,11 +367707,11 @@ _ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIyyESt6vecto # Num Counters: 5 # Counter Values: -10737 -1141 -6078 -734 -230 +10567 +1119 +6085 +738 +235 _ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEESt4lessIvEEvT_S9_T0_ # Func Hash: @@ -365662,10 +367719,10 @@ _ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEE # Num Counters: 4 # Counter Values: -2524629 -1071038 -3538 -0 +2559729 +1082312 +3553 +1 _ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEESt4lessIvEEvT_S9_T0_ # Func Hash: @@ -365684,10 +367741,10 @@ _ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEE # Num Counters: 4 # Counter Values: -697048 -352008 -1958 -253436 +705942 +355798 +1966 +253726 _ZSt22__final_insertion_sortIN9__gnu_cxx17__normal_iteratorIPySt6vectorIySaIyEEEESt4lessIvEEvT_S9_T0_ # Func Hash: @@ -365721,7 +367778,7 @@ _ZSt22__final_insertion_sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iterator 0 0 0 -58 +57 _ZSt22__final_insertion_sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPSt4pairIyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt6vectorISA_SaISA_EEEEESt4lessIvEEvT_SJ_T0_ # Func Hash: @@ -365775,7 +367832,7 @@ _ZSt22__final_insertion_sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iterator 0 0 0 -1346 +1359 _ZSt22__final_insertion_sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPSt4pairIyyESt6vectorIS4_SaIS4_EEEEESt4lessIvEEvT_SD_T0_ # Func Hash: @@ -365783,11 +367840,11 @@ _ZSt22__final_insertion_sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iterator # Num Counters: 5 # Counter Values: -817 -175 -182 +740 +157 +192 24 -1550 +1520 _ZSt22__final_insertion_sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPtSt6vectorItSaItEEEEESt4lessIvEEvT_SB_T0_ # Func Hash: @@ -365974,16 +368031,16 @@ _ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPSt4pairIyyESt6vecto # Num Counters: 11 # Counter Values: -56 +58 0 -132 +136 4 -417 +416 0 0 -327 +331 0 -463 +467 0 _ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEESt4lessIvEEvT_S9_S9_S9_T0_ @@ -365992,12 +368049,12 @@ _ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEE # Num Counters: 6 # Counter Values: -22261 -24358 -15438 -14537 -15621 -19370 +22412 +24424 +15835 +14681 +15770 +19836 _ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEESt4lessIvEEvT_S9_S9_S9_T0_ # Func Hash: @@ -366018,12 +368075,12 @@ _ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEE # Num Counters: 6 # Counter Values: -6371 -7549 -5159 -4788 -5287 -7393 +6402 +7455 +5177 +4889 +5249 +7628 _ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPySt6vectorIySaIyEEEESt4lessIvEEvT_S9_S9_S9_T0_ # Func Hash: @@ -366183,17 +368240,17 @@ _ZSt22__move_median_to_firstISt16reverse_iteratorIN9__gnu_cxx17__normal_iterator # Num Counters: 11 # Counter Values: -1 -1 +6 +2 +6 +2 +0 +2 +10 +10 +2 5 -1 -1 -4 -7 -12 -3 -7 -4 +6 _ZSt22__move_median_to_firstISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPtSt6vectorItSaItEEEEESt4lessIvEEvT_SB_SB_SB_T0_ # Func Hash: @@ -366256,10 +368313,10 @@ _ZSt23__copy_move_backward_a1ILb1EPN3gpu9TexUpdateES1_EN9__gnu_cxx11__enable_ifI # Num Counters: 4 # Counter Values: -375 -156 -59 -110 +357 +153 +55 +106 _ZSt23__copy_move_backward_a2ILb1EP10ConfigMoveS1_ET1_T0_S3_S2_ # Func Hash: @@ -366357,7 +368414,7 @@ _ZSt24__copy_move_backward_ditILb1EN3gpu9TexUpdateERS1_PS1_St15_Deque_iteratorIS 3 # Counter Values: 23 -43 +41 1 _ZSt24__merge_sort_with_bufferIN9__gnu_cxx17__normal_iteratorIPN12heap_compact4ItemESt6vectorIS3_SaIS3_EEEES4_ZNS2_9try_placeES5_INS2_5BlockESaIS9_EEijS7_bbbRyEUlRKS3_SE_E_EvT_SG_T0_T1_ @@ -366407,8 +368464,8 @@ _ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIPNSt10filesystem7 0 0 0 -82 -82 +83 +83 0 0 0 @@ -366669,8 +368726,8 @@ _ZSt4swapI13MemOwnerTotalQaaaantsr15__is_tuple_likeIT_EE5value23is_move_construc 3 # Counter Values: 0 -82 -601 +85 +621 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -366678,7 +368735,7 @@ _ZSt4swapI13MemOwnerTotalQaaaantsr15__is_tuple_likeIT_EE5value23is_move_construc # NumValueSites: 1 1 -9:82 +9:85 _ZSt4swapIN10patch_file8ManifestEQaaaantsr15__is_tuple_likeIT_EE5value23is_move_constructible_vIS2_E20is_move_assignable_vIS2_EEvRS2_S3_ # Func Hash: @@ -366778,7 +368835,7 @@ _ZSt9call_onceIRFvvEJEEvRSt9once_flagOT_DpOT0_ # Num Counters: 4 # Counter Values: -57374 +57362 0 0 0 @@ -366789,16 +368846,16 @@ _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_ # Num Counters: 10 # Counter Values: -14613 -27300 -77770 -67854 -14613 +13738 +26452 +78856 +69817 +13738 0 0 0 -77770 -14613 +78854 +13738 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -366807,13 +368864,13 @@ _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_ 2 0 7 -9:59559 -16:4374 -8:1962 -7:1864 -6:60 +9:60895 +16:4746 +8:2158 +7:1869 +6:73 +5:60 4:12 -5:12 _ZStplRKSt15_Deque_iteratorIN3gpu9TexUpdateERS1_PS1_Ex # Func Hash: @@ -366821,8 +368878,8 @@ _ZStplRKSt15_Deque_iteratorIN3gpu9TexUpdateERS1_PS1_Ex # Num Counters: 3 # Counter Values: -1515 -448 +1525 +456 0 _ZStssIJyjjjiEJyjjjiEQaaeqsZT_sZT0_fraarqTDTclL_ZNSt8__detail11__synth3wayEEclsr3stdE7declvalIRT_EEclsr3stdE7declvalIRT0_EEEEEENSt26common_comparison_categoryIJDpS5_EE4typeERKSt5tupleIJDpS1_EERKSA_IJDpS3_EE @@ -366863,12 +368920,12 @@ _ZStssINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_ENSt26common # Num Counters: 6 # Counter Values: -2744 -2744 -2744 -2744 -2744 -2744 +2624 +2624 +2624 +2624 +2624 +2624 # Num Value Kinds: 1 # ValueKind = IPVK_MemOPSize: @@ -366876,9 +368933,9 @@ _ZStssINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_ENSt26common # NumValueSites: 2 1 -9:2744 +9:2624 1 -8:2744 +8:2624 _ZStssINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiS5_iENSt26common_comparison_categoryIJDTclL_ZNSt8__detail11__synth3wayEEclsr3stdE7declvalIRT_EEclsr3stdE7declvalIRT1_EEEEDTclL_ZNS7_11__synth3wayEEclsr3stdE7declvalIRT0_EEclsr3stdE7declvalIRT2_EEEEEE4typeERKSt4pairIS8_SD_ERKSK_ISA_SF_E # Func Hash: @@ -366941,7 +368998,7 @@ _ZTH15t_native_shadow # Num Counters: 2 # Counter Values: -12649866 +12683529 12 _ZTHN3gpu12t_elide_undoE @@ -366950,9 +369007,9 @@ _ZTHN3gpu12t_elide_undoE # Num Counters: 3 # Counter Values: -37 -2224891087 -37 +40 +2214046095 +40 _ZTW10t_write_op # Func Hash: @@ -367384,11 +369441,11 @@ _ZZNSt9once_flag18_Prepare_executionC1IZSt9call_onceIRFvvEJEEvRS_OT_DpOT0_EUlvE_ # NumValueSites: 1 5 -@SRC@/src/engine/paramdef.cpp;_ZN12_GLOBAL__N_14loadEv:12 -@SRC@/src/host/gxvk_lists_pool.cpp;_ZN10gxvk_lists12_GLOBAL__N_15startEv:12 -@SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110init_ctypeEv:12 @SRC@/src/host/shader_bundles.cpp;_ZN3gpu12_GLOBAL__N_112read_bundlesEv:12 +@SRC@/src/host/gxvk_lists_pool.cpp;_ZN10gxvk_lists12_GLOBAL__N_15startEv:12 +@SRC@/src/engine/paramdef.cpp;_ZN12_GLOBAL__N_14loadEv:12 _ZN3gpu23obs_capture_policy_onceEv:12 +@SRC@/src/hle/libc.cpp;_ZN12_GLOBAL__N_110init_ctypeEv:12 _ZZSt11__tuple_cmpISt15strong_orderingSt5tupleIJiyyiijjjjjEES2_St16integer_sequenceIyJLy0ELy1ELy2ELy3ELy4ELy5ELy6ELy7ELy8ELy9EEEET_RKT0_RKT1_T2_ENKUlTpTnyS3_IyJXspT_EEEE_clIJLy0ELy1ELy2ELy3ELy4ELy5ELy6ELy7ELy8ELy9EEEEDaSD_ # Func Hash: @@ -367733,9 +369790,9 @@ bb_plugin_image bb_plugin_image # Func Hash: -658155946414878277 +589708847639298382 # Num Counters: -77 +86 # Counter Values: 0 0 @@ -367814,12 +369871,24 @@ bb_plugin_image 0 0 0 +0 +0 +0 +0 +0 +0 +0 +0 +0 # Num Value Kinds: 2 # ValueKind = IPVK_IndirectCallTarget: 0 # NumValueSites: -11 +14 +0 +0 +0 0 0 0 @@ -368788,74 +370857,74 @@ gx_res_after # Num Counters: 286 # Counter Values: -706412 -308 -365 -365 -365 -1068 -365 +706146 +315 +359 +359 +359 +1098 +359 0 -1496 +1497 0 -365 +359 0 -14099803 -1496 -185991320 -680618 +14014879 +1497 +184375970 +1243116 0 -1496 -409 -100884 +1497 +404 +100839 0 2262 0 0 -31 -221 -100884 +27 +233 +100851 0 2262 0 -1496 -409 -433960 +1497 +404 +433772 192 -44 +45 11433 0 0 -11227795 -100904 +11136223 +100865 12 0 0 -298120 +298078 0 -100916 -100916 -365 +100879 +100879 +359 0 0 -2397 -1496 +2407 +1497 12 -100904 -298120 -14128490 -14128490 -14128122 +100862 +298078 +14026129 +14026129 +14025788 192 0 -44 -25 +45 +21 11433 0 -12236288 -11225131 +12137125 +11134027 0 -11227880 +11136422 0 0 0 @@ -368863,18 +370932,18 @@ gx_res_after 0 12 0 -14128490 -100892 +14026129 +100855 0 -14127691 +14025411 192 -44 +45 0 0 -131 -1496 +135 +1497 12 -100903 +100867 0 0 0 @@ -368882,62 +370951,62 @@ gx_res_after 0 0 11433 -11227046 +11133693 0 0 0 0 192 -119 -100892 +123 +100855 0 -44 +45 0 -108298 -8114 -290005 -116411 -1891106 -11227696 +108252 +8116 +289960 +116364 +1887454 +11136248 0 -2900433 -11227019 +2889535 +11133851 0 0 0 -44 -44 -12237384 -8114 +45 +45 +12138675 +8116 0 0 -2899998 -2899746 +2889110 +2888850 0 -108489 +108441 0 0 -2797555 -11227389 -1009291 -2797579 +2789073 +11136030 +1002049 +2789108 0 0 0 0 0 0 -44 +45 0 0 0 0 0 -108489 +108438 0 0 -591 -248 +597 +255 0 0 0 @@ -368946,8 +371015,8 @@ gx_res_after 24 0 0 -439 -1810 +430 +1809 0 0 0 @@ -368955,8 +371024,8 @@ gx_res_after 0 0 12 -427 -1123 +418 +1124 0 0 0 @@ -369018,44 +371087,44 @@ gx_res_after 0 0 0 -14128490 -14128490 +14026129 +14026129 0 0 0 -1891106 -1891106 -687 -2898032 -687 -2401 -12237384 -185991320 -185991320 +1887454 +1887454 +685 +2887129 +685 +2406 +12138675 +184375970 +184375970 0 0 0 -14128053 -11227751 -2797493 -11227502 +14025728 +11136286 +2789020 +11136139 0 0 -11225042 -11226915 -11226915 -11227074 -11227074 +11134048 +11134959 +11133202 +11133764 +11133764 0 11433 11433 11433 0 0 -44 +45 0 0 -365 +359 2262 2262 0 @@ -369070,9 +371139,9 @@ gx_res_after 0 0 0 -298120 -108296 -116412 +298078 +108252 +116370 12 # Num Value Kinds: 1 @@ -369155,8 +371224,8 @@ hle_fs_guest # Num Counters: 2 # Counter Values: -319478043 -320954002 +318060191 +319574508 hle_fs_host # Func Hash: @@ -369164,7 +371233,7 @@ hle_fs_host # Num Counters: 1 # Counter Values: -1040313164 +1047324514 hle_guest_return # Func Hash: @@ -369186,15 +371255,15 @@ hle_host_stack_enter # Num Counters: 9 # Counter Values: -25570092 -698074073 +25917070 +704302829 1053 1053 0 0 0 0 -26560119 +27230707 hle_host_stack_leave # Func Hash: @@ -369202,10 +371271,10 @@ hle_host_stack_leave # Num Counters: 4 # Counter Values: -723790877 -725516184 -725138027 -699475898 +730027609 +731606211 +731680232 +705763150 hle_unknown_log # Func Hash: @@ -369317,14 +371386,14 @@ hle_va_swscanf_body main # Func Hash: -355178121063707982 +580936863769016239 # Num Counters: -528 +503 # Counter Values: 0 0 12 -35655 +35833 0 0 0 @@ -369334,7 +371403,7 @@ main 0 0 36 -2744 +2886 0 0 0 @@ -369361,9 +371430,9 @@ main 0 0 0 -35667 -35667 -35655 +35845 +35845 +35833 0 12 12 @@ -369388,7 +371457,7 @@ main 0 0 0 -35667 +35845 0 0 0 @@ -369492,8 +371561,6 @@ main 12 12 0 -0 -0 12 0 0 @@ -369525,7 +371592,6 @@ main 0 0 0 -0 12 12 0 @@ -369540,14 +371606,9 @@ main 0 0 0 -0 -12 -0 -0 12 0 0 -0 12 0 0 @@ -369558,8 +371619,6 @@ main 12 12 0 -12 -0 0 0 0 @@ -369586,10 +371645,6 @@ main 0 0 0 -0 -0 -12 -12 12 12 0 @@ -369608,13 +371663,10 @@ main 0 0 0 -0 12 0 0 0 -12 -12 0 0 0 @@ -369629,14 +371681,13 @@ main 0 0 0 -12 0 0 0 0 0 0 -12 +20 0 0 0 @@ -369649,8 +371700,8 @@ main 12 0 0 -12 -12 +20 +20 0 0 0 @@ -369715,7 +371766,6 @@ main 0 0 0 -0 12 0 0 @@ -369733,8 +371783,6 @@ main 0 0 0 -0 -0 12 0 0 @@ -369753,9 +371801,6 @@ main 0 0 0 -0 -0 -0 12 12 12 @@ -369777,7 +371822,6 @@ main 0 0 0 -0 12 0 0 From f770e6b460f4720efeff90360de957ce5c325eb5 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 20:25:48 -0800 Subject: [PATCH 022/100] plugins: a plugin on by default never opens the setup window by itself - only one the player turned on, whose settings they have not seen Photo mode is the first official plugin on by default with settings, so every player's first start after the update opened the setup window on its Plugins tab instead of the game. The window now opens only for a plugin the player turned on ([plugins] = true), as main.cpp's comment always said; photo mode's settings wait on the Plugins tab and in game for whoever looks. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 2 +- src/host/plugin_ui.cpp | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index 5e60cd77..14b11673 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -798,7 +798,7 @@ setup window can download the latest signed plugins from the newest release. | `quake` | Off until turned on. First person with Quake 3's movement and view: strafe jumping, bunny hopping (hold jump to keep hopping), crouching, the walls only characters meet (the invisible ones along ledges) as solid as the rest, creatures as solid as Quake 3's players, and a choice of physics - Quake 3 (VQ3, the default), CPMA, Quake 1 + CPMA, QuakeWorld and DeFRaG's. Five guns made of Bloodborne's (Cannon, Church Cannon, Piercing Rifle, Blunderbuss, Gatling Gun), always +10, firing from the view with each gun's own flash and sound: rockets and grenades at Quake 3's speeds (the grenade bouncing until its fuse), the Blunderbuss's and the Gatling Gun's own bullets, and a plasma of A Call Beyond's star or Blacksky Eye's shard; their blasts throw the player (rocket and grenade jumps, plasma climbing), and the gun that is up is drawn at the lower right with Quake 3's bob and kick. Field of view, mouse sensitivity, gravity and knockback are settings. While photo mode holds the world, Quake holds too: the player stays where they were and the view as it was. | | `lohit` | Off until turned on. The map's lo-hit collision drawn in place of the map's own geometry (the game's own WorldHitMan debug draw, with GROUP MASK > Map off): every part loaded (Whole map, the default), or the part you stand on and the parts connected to it, one step out; Hi-hit shows the detailed collision characters and objects use instead. Each mesh is built once into a vertex buffer of its own and drawn with two draws a frame, where the game's debug draw rebuilt every triangle each frame and copied it twice (the triangles' edges the game drew over the faces, a second draw costing the GPU more than the faces, are left out). Its depth (plugin API 17) is drawn ahead of the scene's objects too, so the game's occlusion culling skips what is behind its walls, as the map's own geometry would. It is drawn inside the scene ahead of its effects so fire, sparks, blood and mist show over it, by default in the launcher's deep violet (walls) and dark blue (floors); the Colours sliders set both (0-255, as they come out on the screen) for the lo-hit and the hi-hit. Pair it with Performance mode (the setup window's main page) for the post-effects off. | | `ps1` | Off until turned on. Bloodborne PS1: the 3D drawn as the first PlayStation drew it, the HUD and the menus left sharp at the window's size: its vertices snapped to a grid of the screen as it moves (Vertex snap: 240p, the PS1's own screen, by default; 480p, 360p, 120p or off), its textures unfiltered (no bilinear, trilinear or anisotropic filtering), its colour targets 8 bits a channel (8-bit colour, as the rgba8f patch makes them; the colour grading then steps between its table's entries too, where it is smooth without it), and the 3D at its own Resolution - Native (the Resolution setting, at most the window's), 480p, 360p or 240p, each as wide as the window's shape gives - brought up to the window pixel for pixel, with no smoothing. Upscaling and the anti-aliasing stand aside while it is on. Old-hardware sound (off by default) makes everything the game plays sound like an old console's sound chip: PS1 (22050 Hz, 12 bits, muffled above 10 kHz), Crunchy (11025 Hz, 8 bits, no low-pass going in, so it aliases) or Custom (a rate and bits of its own). Each option changes in the game (F9). | -| `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, made from Nox's bbphoto: hold L3 for half a second, or press P, for a free camera over the world held still (Frozen; Cross or N lets it run two more updates), the hunter playing on (Static) or the world running (Live - enemies can still attack the hunter, and the first hit holds the world again), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field, chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. | +| `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, made from Nox's bbphoto: hold L3 for half a second, or press P, for a free camera over the world held still (Frozen; Cross or N lets it run two more updates), the hunter playing on (Static) or the world running (Live - enemies can still attack the hunter, and the first hit holds the world again), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field, chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. Being on by default, it never opens the setup window by itself: its settings wait on the Plugins tab and in game. | | `debug_menu` | Restores the developers' debug menu (`` ` `` opens it), in English or the developers' Japanese, and makes the debug font it draws with from the public-domain X11 fonts k14 and 7x14, so nothing has to be downloaded. Cheating against other players with it gets an account banned; trying it out online with friends is fine. | The gameplay plugins - all five - announce themselves in the session's diff --git a/src/host/plugin_ui.cpp b/src/host/plugin_ui.cpp index cbded956..c7b4b931 100644 --- a/src/host/plugin_ui.cpp +++ b/src/host/plugin_ui.cpp @@ -346,7 +346,11 @@ bool plugin_ui_wants_attention() { if (config_value("plugins.show_settings") == "true") return true; const std::vector seen = seen_list(); for (const PluginEntry& p : plugins_scan()) { - if (!p.enabled || p.options.empty()) continue; + // Only a plugin the player turned on: one on by default (photo mode) + // never opens the window - its settings wait on the Plugins tab and in + // game for whoever looks. + const std::string sw = config_value(("plugins." + p.name).c_str()); + if (!p.enabled || p.options.empty() || (sw != "true" && sw != "1")) continue; if (std::find(seen.begin(), seen.end(), seen_key(p)) == seen.end()) return true; } return false; From e10e995c7a2cda1015662e31bbc835378cc947cf Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 20:25:49 -0800 Subject: [PATCH 023/100] plugins: Nox-'s bbphoto is not loaded while photo mode is on, so the two never both answer L3 and P Photo mode is bbphoto rebuilt on the plugin API, and players who installed bbphoto keep it in their plugins folder. While photo_mode is on (its file there and not photo_mode = false), the loader passes bbphoto by - by its file's name before loading it, and by the name it gives itself before starting a renamed copy - with a line in the log saying so. [plugins] photo_mode = false loads bbphoto again. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 2 +- src/host/plugins.cpp | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/plugins.md b/docs/plugins.md index 14b11673..d5ab5994 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -798,7 +798,7 @@ setup window can download the latest signed plugins from the newest release. | `quake` | Off until turned on. First person with Quake 3's movement and view: strafe jumping, bunny hopping (hold jump to keep hopping), crouching, the walls only characters meet (the invisible ones along ledges) as solid as the rest, creatures as solid as Quake 3's players, and a choice of physics - Quake 3 (VQ3, the default), CPMA, Quake 1 + CPMA, QuakeWorld and DeFRaG's. Five guns made of Bloodborne's (Cannon, Church Cannon, Piercing Rifle, Blunderbuss, Gatling Gun), always +10, firing from the view with each gun's own flash and sound: rockets and grenades at Quake 3's speeds (the grenade bouncing until its fuse), the Blunderbuss's and the Gatling Gun's own bullets, and a plasma of A Call Beyond's star or Blacksky Eye's shard; their blasts throw the player (rocket and grenade jumps, plasma climbing), and the gun that is up is drawn at the lower right with Quake 3's bob and kick. Field of view, mouse sensitivity, gravity and knockback are settings. While photo mode holds the world, Quake holds too: the player stays where they were and the view as it was. | | `lohit` | Off until turned on. The map's lo-hit collision drawn in place of the map's own geometry (the game's own WorldHitMan debug draw, with GROUP MASK > Map off): every part loaded (Whole map, the default), or the part you stand on and the parts connected to it, one step out; Hi-hit shows the detailed collision characters and objects use instead. Each mesh is built once into a vertex buffer of its own and drawn with two draws a frame, where the game's debug draw rebuilt every triangle each frame and copied it twice (the triangles' edges the game drew over the faces, a second draw costing the GPU more than the faces, are left out). Its depth (plugin API 17) is drawn ahead of the scene's objects too, so the game's occlusion culling skips what is behind its walls, as the map's own geometry would. It is drawn inside the scene ahead of its effects so fire, sparks, blood and mist show over it, by default in the launcher's deep violet (walls) and dark blue (floors); the Colours sliders set both (0-255, as they come out on the screen) for the lo-hit and the hi-hit. Pair it with Performance mode (the setup window's main page) for the post-effects off. | | `ps1` | Off until turned on. Bloodborne PS1: the 3D drawn as the first PlayStation drew it, the HUD and the menus left sharp at the window's size: its vertices snapped to a grid of the screen as it moves (Vertex snap: 240p, the PS1's own screen, by default; 480p, 360p, 120p or off), its textures unfiltered (no bilinear, trilinear or anisotropic filtering), its colour targets 8 bits a channel (8-bit colour, as the rgba8f patch makes them; the colour grading then steps between its table's entries too, where it is smooth without it), and the 3D at its own Resolution - Native (the Resolution setting, at most the window's), 480p, 360p or 240p, each as wide as the window's shape gives - brought up to the window pixel for pixel, with no smoothing. Upscaling and the anti-aliasing stand aside while it is on. Old-hardware sound (off by default) makes everything the game plays sound like an old console's sound chip: PS1 (22050 Hz, 12 bits, muffled above 10 kHz), Crunchy (11025 Hz, 8 bits, no low-pass going in, so it aliases) or Custom (a rate and bits of its own). Each option changes in the game (F9). | -| `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, made from Nox's bbphoto: hold L3 for half a second, or press P, for a free camera over the world held still (Frozen; Cross or N lets it run two more updates), the hunter playing on (Static) or the world running (Live - enemies can still attack the hunter, and the first hit holds the world again), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field, chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. Being on by default, it never opens the setup window by itself: its settings wait on the Plugins tab and in game. | +| `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, made from Nox's bbphoto: hold L3 for half a second, or press P, for a free camera over the world held still (Frozen; Cross or N lets it run two more updates), the hunter playing on (Static) or the world running (Live - enemies can still attack the hunter, and the first hit holds the world again), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field, chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. Being on by default, it never opens the setup window by itself: its settings wait on the Plugins tab and in game. While it is on, Nox's bbphoto is not loaded, so the two never both answer L3 and P; `photo_mode = false` loads bbphoto again. | | `debug_menu` | Restores the developers' debug menu (`` ` `` opens it), in English or the developers' Japanese, and makes the debug font it draws with from the public-domain X11 fonts k14 and 7x14, so nothing has to be downloaded. Cheating against other players with it gets an account banned; trying it out online with friends is fine. | The gameplay plugins - all five - announce themselves in the session's diff --git a/src/host/plugins.cpp b/src/host/plugins.cpp index 8dd30d6c..2f5ffb7c 100644 --- a/src/host/plugins.cpp +++ b/src/host/plugins.cpp @@ -1895,7 +1895,22 @@ void plugins_load() { // that does not verify was changed after signing and is not loaded; // plugins.signed_only = true loads official plugins alone. const bool signed_only = config_value("plugins.signed_only") == "true"; + // Photo mode is Nox-'s bbphoto rebuilt on the plugin API: while it is on, + // bbphoto is not loaded - nor started, for a renamed copy found by its + // name - so the two never both answer L3 and P. [plugins] photo_mode = + // false loads bbphoto again. + const auto stem = [](const std::string& n) { return n.substr(0, n.rfind('.')); }; + bool photo_mode_on = false; + if (config_switch("photo_mode") != 0) { + for (const auto& [name, path] : files) photo_mode_on = photo_mode_on || stem(name) == "photo_mode"; + } + const auto replaced = [&](const std::string& plugin) { + if (!photo_mode_on || plugin != "bbphoto") return false; + host_log("plugin: bbphoto: not loaded - photo mode replaces it ([plugins] photo_mode = false loads bbphoto instead)"); + return true; + }; for (const auto& [name, path] : files) { + if (replaced(stem(name))) continue; bool official = false; if (const std::string sig = read_file(path + ".sig"); !sig.empty()) { if (!updater::signature_ok(read_file(path), sig, updater::release_key())) { @@ -1927,6 +1942,10 @@ void plugins_load() { continue; } if (p.info && p.info->name && p.info->name[0]) p.name = p.info->name; + if (replaced(p.name)) { + close_lib(h); + continue; + } const std::uint32_t flags = p.info ? p.info->flags : 0; const int sw = config_switch(p.name); const bool off = sw == 0 || (sw < 0 && (flags & BB_PLUGIN_OPT_IN)); From 90deb37478c32dced5d90e04e10591a6eea94b0f Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 21:06:07 -0800 Subject: [PATCH 024/100] online: the connection test sends again for six seconds, and counts and logs what this PC refused to send A player's PC can hold or stop bbhost.exe's datagrams where the browser's get through: a security program that asks about bbhost.exe holds its first packets meanwhile, and a firewall or antivirus can refuse them outright. - The plain requests go again while unanswered at 0, 0.3, 0.8, 1.6, 2.8 and 4.2 s (to 1.6 s before), within an exchange of 6 s (3 s before). The port check's go at 0, 0.5 and 1.2 s as before, and at 2.8 and 4.2 s only while not even its usual answer has come: a router that drops its second answer still ends it at 2.2 s after three requests, so the server's port-check answers (20 a minute per address) go as far as they did. With everything in it ends at once as before; with nothing back it takes the 6 s. - A send the system refuses is counted and goes again at its next time; the first refusal's error is kept, in words on Windows too ("access denied, Windows sockets error 10013"), with whether it was a permission error. When every send is refused and none is left to try, the exchange ends there, and a signed-in test does not ask the server: nothing reached it, and another test from the same address in the last two minutes, the website's, would answer for it. - The log line says how many datagrams went out and how many were refused, with the first refusal's words: "...; UDP port 9307; sent 17, refused 0; not saved (not signed in)". Still no addresses. On Windows an outbound block at the layer the firewall's rules use drops bbhost's datagrams while sendto reports success (WFP block filters on a test PC), so such a block reads as no answer, not as refused sends; Linux's nftables and iptables refuse them (EPERM). tests/nat_check_test.cpp: the new schedule's counts and times; the first 2.5 s held (direct, and the port check open - or closed a second after its request got through); every send refused (the limited broadcast address without SO_BROADCAST: 17 refused, the error kept, over at 4.2 s); a lost first answer filled in at once by the port check's; the log line. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 7 +-- docs/online.md | 8 ++- src/net/nat_check.h | 35 ++++++++++---- src/net/nat_job.cpp | 6 +-- src/net/nat_job.h | 5 +- src/net/nat_probe.cpp | 63 +++++++++++++++++++----- tests/nat_check_test.cpp | 102 ++++++++++++++++++++++++++++++++++----- 7 files changed, 182 insertions(+), 44 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 95ae11be..27823254 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -910,13 +910,14 @@ if(UNIX) add_test(NAME sign_in_check_test COMMAND sign_in_check_test) # The setup window's connection test (net/nat_check.h): the exchange from a # port against a test server of its own on loopback - a router that keeps - # one port, one that changes it, none answering, the port check open, closed - # and absent - and the server's answers read. + # one port, one that changes it, none answering, the first seconds held, + # every send refused, the port check open, closed and absent - and the + # server's answers read (~25 s of waits). add_executable(nat_check_test tests/nat_check_test.cpp src/net/nat_probe.cpp src/net/stun.cpp src/replay/json.cpp) target_include_directories(nat_check_test PRIVATE src) target_link_libraries(nat_check_test PRIVATE Threads::Threads) add_test(NAME nat_check_test COMMAND nat_check_test) - set_tests_properties(nat_check_test PROPERTIES TIMEOUT 60) + set_tests_properties(nat_check_test PROPERTIES TIMEOUT 120) add_executable(uncapped_limit_test tests/uncapped_limit_test.cpp) target_include_directories(uncapped_limit_test PRIVATE src) add_test(NAME uncapped_limit_test COMMAND uncapped_limit_test) diff --git a/docs/online.md b/docs/online.md index 10f71407..58a07a29 100644 --- a/docs/online.md +++ b/docs/online.md @@ -59,7 +59,9 @@ The setup window's Game page has a Connection card. **Test connection** checks whether other players can reach this PC directly, or whether its co-op and PvP go through the server's relay. It runs from the game's own P2P port, so it needs the game closed (Play waits for it), and it takes a few -seconds. +seconds - up to about six when nothing comes back, sending again meanwhile +so that a security program holding the first packets while it asks about +bbhost.exe does not spoil the result. - It sends STUN requests from the P2P port to the server's two test ports (3479 and 3480 at the STUN server's host; `online.nat_test_ports` for a @@ -86,7 +88,9 @@ seconds. - The card says what the result means, the port the test ran from, and when your account's last test ran (also one taken on the website). F10's Game page repeats the verdict when the setup window opened before the game. The - log has one line per test (`connection test: ...`), with no addresses. + log has one line per test (`connection test: ...`): the result, how many + requests went out and how many the system refused (with its first error), + and no addresses. ## Beyond the console diff --git a/src/net/nat_check.h b/src/net/nat_check.h index 2f2ae4f0..b863726b 100644 --- a/src/net/nat_check.h +++ b/src/net/nat_check.h @@ -65,22 +65,30 @@ struct ProbeResult { std::uint16_t offered_port = 0; // the port its second answer leaves from bool reached = false; // the second answer reached the P2P port std::uint16_t reached_from = 0; // the port it came from - int sent = 0; // datagrams sent, retries included + int sent = 0; // datagrams the system took to send, retries included + int refused = 0; // datagrams it refused (the send failed) + int send_error_code = 0; // the first refusal's error (errno, WSAGetLastError) + std::string send_error; // ... in the system's words + bool send_denied = false; // ... a permission error: a firewall's or a security program's refusal }; struct ProbeParams { std::uint32_t server = 0; // the test server's IPv4 address, network byte order std::vector ports; // its test ports, host order: two or more std::uint16_t local_port = 0; // the P2P port to send from - int deadline_ms = 3000; // the whole exchange + int deadline_ms = 6000; // the whole exchange std::function cancelled; // asked every few tens of milliseconds }; // The exchange, from a socket bound to `local_port` alone (never shared: a -// game that has the port makes it PortInUse). Requests to every test port -// and the port check's, each sent again while unanswered (at 0, 0.3, 0.8 and -// 1.6 s; the port check's at 0, 0.4, 1.0 and 1.7 s until its second answer -// comes), until everything is in or the deadline. net/nat_probe.cpp. +// game that has the port makes it PortInUse). Requests to every test port, +// each sent again while unanswered (at 0, 0.3, 0.8, 1.6, 2.8 and 4.2 s), and +// the port check's, again while its second answer has not come (at 0, 0.5 +// and 1.2 s, and at 2.8 and 4.2 s while not even its usual answer has), until +// everything is in or the deadline: a security program that holds the first +// datagrams while it asks about bbhost.exe does not make the test read "no +// answer". When the system refuses every send and none is left to try, it +// ends there. net/nat_probe.cpp. ProbeResult probe(const ProbeParams& p); // What the answers say, without the server's word. @@ -326,10 +334,15 @@ inline std::string public_ports(const ProbeResult& r) { return s + (same_addr ? "" : ", from different public addresses"); } +// Every datagram the test tried to send was refused by this PC: nothing went +// out, so the server is not asked. +inline bool nothing_sent(const ProbeResult& r) { return r.sent == 0 && r.refused > 0; } + // Why a test's result was not kept for the account ("" when it was). inline std::string unsaved_reason(const Outcome& o) { if (o.saved()) return {}; if (!o.signed_in) return "not signed in"; + if (nothing_sent(o.probe)) return "nothing was sent"; switch (o.save.state) { case SaveReply::State::Limited: return "the server takes 10 tests an hour; try again later"; case SaveReply::State::Refused: return "the sign-in has expired"; @@ -341,8 +354,9 @@ inline std::string unsaved_reason(const Outcome& o) { return {}; } -// The test's one log line: the verdict, the port check, the port, whether it -// was kept - and no addresses. +// The test's one log line: the verdict, the port check, the port, what was +// sent and refused (the first refusal's words), whether it was kept - and no +// addresses. inline std::string log_line(const Outcome& o) { const int port = o.probe.local_port; if (!o.resolved) return "connection test: the test server's name did not resolve; nothing sent"; @@ -367,7 +381,10 @@ inline std::string log_line(const Outcome& o) { case Inbound::Unavailable: s += "not checked (no port check on this server)"; break; case Inbound::NotTested: s += "not checked"; break; } - s += "; UDP port " + std::to_string(port) + "; "; + s += "; UDP port " + std::to_string(port) + "; sent " + std::to_string(o.probe.sent) + ", refused " + + std::to_string(o.probe.refused); + if (o.probe.refused > 0) s += " (" + o.probe.send_error + ")"; + s += "; "; if (o.saved()) { s += "saved to the account"; if (o.save.verdict != o.local) s += std::string(" - the server says ") + verdict_word(o.save.verdict); diff --git a/src/net/nat_job.cpp b/src/net/nat_job.cpp index 18090c82..65bea98e 100644 --- a/src/net/nat_job.cpp +++ b/src/net/nat_job.cpp @@ -115,10 +115,10 @@ void Job::run(JobParams p) { o.local = verdict_of(o.probe); o.inbound = inbound_of(o.probe); } - // Signed in, and the answers say something: the server's own verdict, - // kept for the account (and the relay's marks) as the website's is. + // Signed in, and something went out: the server's own verdict, kept for + // the account (and the relay's marks) as the website's is. o.signed_in = !p.token.empty() && !p.save_url.empty(); - if (o.resolved && o.probe.error == ProbeResult::Error::None && o.signed_in && !cancel_.load()) { + if (o.resolved && o.probe.error == ProbeResult::Error::None && o.probe.sent > 0 && o.signed_in && !cancel_.load()) { { std::lock_guard lk(mu_); view_.step = "Asking the server what it saw..."; diff --git a/src/net/nat_job.h b/src/net/nat_job.h index 0b06e260..c6ae9dd1 100644 --- a/src/net/nat_job.h +++ b/src/net/nat_job.h @@ -2,8 +2,9 @@ // it does): on a thread of its own, from the game's P2P port, while the game // is not running - the setup window's Connection card starts it, and only // there. One at a time; nothing waits for it. It never takes longer than the -// exchange's 3 s and the server's answer's 8 s, and closing the window ends -// it. +// exchange's 6 s and the server's answer's 8 s, and closing the window ends +// it. When this PC refused every datagram, the server is not asked: nothing +// reached it. #pragma once #include "net/nat_check.h" diff --git a/src/net/nat_probe.cpp b/src/net/nat_probe.cpp index b5321127..09c5eb92 100644 --- a/src/net/nat_probe.cpp +++ b/src/net/nat_probe.cpp @@ -34,8 +34,19 @@ constexpr Sock kNoSock = INVALID_SOCKET; #endif int last_error() { return WSAGetLastError(); } bool in_use(int e) { return e == WSAEADDRINUSE || e == WSAEACCES; } +bool denied(int e) { return e == WSAEACCES; } void close_sock(Sock s) { closesocket(s); } -std::string error_text(int e) { return "Windows sockets error " + std::to_string(e); } +// The few errors a player may meet here, in words, with the number. +std::string error_text(int e) { + const char* words = e == WSAEACCES ? "access denied" + : e == WSAEADDRINUSE ? "address in use" + : e == WSAENETDOWN ? "the network is down" + : e == WSAENETUNREACH ? "the network is unreachable" + : e == WSAEHOSTUNREACH ? "the host is unreachable" + : e == WSAENOBUFS ? "no buffer space" + : nullptr; + return (words ? std::string(words) + ", " : std::string()) + "Windows sockets error " + std::to_string(e); +} // Up to `ms` for a datagram. bool readable(Sock s, int ms) { fd_set set; @@ -50,6 +61,8 @@ using AddrLen = socklen_t; constexpr Sock kNoSock = -1; int last_error() { return errno; } bool in_use(int e) { return e == EADDRINUSE || e == EACCES; } +// nftables or iptables dropping the datagram: EPERM; a refused destination: EACCES. +bool denied(int e) { return e == EPERM || e == EACCES; } void close_sock(Sock s) { ::close(s); } std::string error_text(int e) { return std::strerror(e); } bool readable(Sock s, int ms) { @@ -60,11 +73,17 @@ bool readable(Sock s, int ms) { } #endif -// When each request goes out (ms from the start), while it is unanswered. -constexpr int kPlainAt[] = {0, 300, 800, 1600}; +// When each request goes out (ms from the start), while it is unanswered: +// quickly at first, then on to 4.2 s, so a security program that holds the +// first datagrams while it asks about bbhost.exe does not make the test read +// "no answer". +constexpr int kPlainAt[] = {0, 300, 800, 1600, 2800, 4200}; // The port check's: again while its second answer has not come, which gets a -// second after the last. -constexpr int kChangeAt[] = {0, 500, 1200}; +// second after the last - the first three in any case, the last two only +// while not even its usual answer has come (held as the others), so a router +// that drops the second answer still ends the check at 2.2 s. +constexpr int kChangeAt[] = {0, 500, 1200, 2800, 4200}; +constexpr int kChangeFirst = 3; constexpr int kSecondAnswerWait = 1000; struct Request { @@ -73,6 +92,7 @@ struct Request { std::size_t len = 0; std::uint16_t to = 0; // the test port, host order int sends = 0; + int last_at = 0; // when it last went out (ms from the start) bool answered = false; }; @@ -133,15 +153,26 @@ ProbeResult probe(const ProbeParams& p) { change.len = stun::build_change_request(change.data, change.txid, stun::kChangePort); change.to = p.ports[0]; - auto send = [&](Request& q) { + // A refused send is counted, its first error kept, and the request goes + // again at its next time like an unanswered one. + auto send = [&](Request& q, int now) { sockaddr_in to{}; to.sin_family = AF_INET; to.sin_addr.s_addr = p.server; to.sin_port = htons(q.to); if (::sendto(s, reinterpret_cast(q.data), static_cast(q.len), 0, reinterpret_cast(&to), - sizeof(to)) >= 0) + sizeof(to)) >= 0) { ++r.sent; + } else { + const int e = last_error(); + if (r.refused++ == 0) { + r.send_error_code = e; + r.send_error = error_text(e); + r.send_denied = denied(e); + } + } ++q.sends; + q.last_at = now; }; // An address this socket has sent to: an answer from there is one the // router expects. @@ -159,18 +190,24 @@ ProbeResult probe(const ProbeParams& p) { break; } const int now = static_cast(std::chrono::duration_cast(clock::now() - t0).count()); - bool plain_done = true; + constexpr int kPlainN = static_cast(std::size(kPlainAt)), kChangeN = static_cast(std::size(kChangeAt)); + bool plain_done = true, plain_more = false; for (Request& q : plain) { - if (!q.answered && q.sends < static_cast(std::size(kPlainAt)) && now >= kPlainAt[q.sends]) send(q); + if (!q.answered && q.sends < kPlainN && now >= kPlainAt[q.sends]) send(q, now); plain_done = plain_done && q.answered; + plain_more = plain_more || (!q.answered && q.sends < kPlainN); } // The port check is over once its second answer came, once a server // without it has answered, or a second after its last request. - const bool change_done = r.reached || (r.change_answered && !r.change_offered) || - (change.sends == static_cast(std::size(kChangeAt)) && - now >= kChangeAt[std::size(kChangeAt) - 1] + kSecondAnswerWait); - if (!change_done && change.sends < static_cast(std::size(kChangeAt)) && now >= kChangeAt[change.sends]) send(change); + const bool change_over = r.reached || (r.change_answered && !r.change_offered); + auto change_more = [&] { + return !change_over && change.sends < kChangeN && (change.sends < kChangeFirst || !r.change_answered); + }; + if (change_more() && now >= kChangeAt[change.sends]) send(change, now); + const bool change_done = change_over || (!change_more() && now >= change.last_at + kSecondAnswerWait); if ((plain_done && change_done) || now >= p.deadline_ms) break; + // Every send refused and none left to try: nothing can come back. + if (r.sent == 0 && !plain_more && !change_more()) break; if (!readable(s, 40)) continue; std::uint8_t buf[1500]; sockaddr_in from{}; diff --git a/tests/nat_check_test.cpp b/tests/nat_check_test.cpp index b94faac4..8a447e78 100644 --- a/tests/nat_check_test.cpp +++ b/tests/nat_check_test.cpp @@ -5,14 +5,19 @@ // - the same public port at both test ports (a router that keeps one port): direct; // - another port, or another public address, at the second (one that maps // every destination anew): relay; -// - nothing (UDP blocked): blocked; one port alone: inconclusive; +// - nothing (UDP blocked): no answer, at the deadline; one port alone: +// inconclusive; // - the port check: OTHER-ADDRESS and the second answer from a third port // (open), OTHER-ADDRESS alone (closed: the router dropped the second // answer), neither (a server without it: not available); +// - the first 2.5 s held, as a security program asking about bbhost.exe +// holds them: the later sends get through, the port check's too; +// - every send refused by this PC: counted with the first error, over once +// nothing is left to try; // - a lost first answer, the port held by another socket, a cancel. // Then what the server's /auth/nat_test answers mean, the ports setting, and -// the words the card and the log use (the owner's three headlines; no -// address in the log line). +// the words the card and the log use (the owner's three headlines; what was +// sent and refused, and no address, in the log line). #include "net/nat_check.h" #include "net/stun.h" @@ -23,6 +28,7 @@ #include #include +#include #include #include #include @@ -94,10 +100,12 @@ struct Server { Check check = Check::Open; int drop_first_plain_a = 0; // the first test port's plain answers to drop bool xor_only = false; // XOR-MAPPED-ADDRESS alone, as RFC 5389 servers answer + int hold_ms = 0; // nothing answered until then (a security program holding the first datagrams) int fd[3] = {-1, -1, -1}; // A, B, R std::uint16_t port[3] = {}; std::atomic stop{false}; std::atomic requests{0}, change_requests{0}, second_answers{0}; + std::chrono::steady_clock::time_point started; std::thread thread; void begin() { @@ -105,6 +113,7 @@ struct Server { fd[i] = udp_bound(0); port[i] = port_of(fd[i]); } + started = std::chrono::steady_clock::now(); thread = std::thread([this] { serve(); }); } ~Server() { @@ -169,6 +178,7 @@ struct Server { } const bool change = flags & net::stun::kChangePort; if (change) ++change_requests; + if (std::chrono::steady_clock::now() - started < std::chrono::milliseconds(hold_ms)) continue; if (mapping == Mapping::Silent || (mapping == Mapping::FirstOnly && i == 1)) continue; if (i == 0 && !change && plain_a++ < drop_first_plain_a) continue; std::uint32_t ip = ntohl(from.sin_addr.s_addr); @@ -188,7 +198,7 @@ struct Server { } }; -ProbeResult run(Server& s, std::uint16_t local, int deadline_ms = 3000, std::function cancelled = {}) { +ProbeResult run(Server& s, std::uint16_t local, int deadline_ms = 6000, std::function cancelled = {}) { net::nat::ProbeParams p; p.server = htonl(INADDR_LOOPBACK); p.ports = {s.port[0], s.port[1]}; @@ -221,6 +231,7 @@ void exchange_cases() { CHECK(net::nat::inbound_of(r) == Inbound::Open); CHECK(took < 1000); // everything in: no waiting out the deadline CHECK(s.change_requests == 1 && s.second_answers == 1); + CHECK(r.sent == 3 && r.refused == 0 && r.send_error.empty()); CHECK(net::nat::public_ports(r) == "public port " + std::to_string(local) + " at both test ports, the game's own"); } { // a new port per destination; the router drops the second answer @@ -251,7 +262,7 @@ void exchange_cases() { CHECK(net::nat::verdict_of(r) == Verdict::Relay); CHECK(net::nat::public_ports(r).find("from different public addresses") != std::string::npos); } - { // nothing answers: blocked, at the deadline + { // nothing answers: no answer, at the deadline Server s; s.mapping = Server::Mapping::Silent; s.begin(); @@ -261,10 +272,56 @@ void exchange_cases() { CHECK(r.error == ProbeResult::Error::None); CHECK(net::nat::verdict_of(r) == Verdict::Blocked); CHECK(net::nat::inbound_of(r) == Inbound::NotTested); - CHECK(took >= 2900 && took < 3500); - CHECK(s.requests == 4 + 4 + 3); // each request four times, the port check's three + CHECK(took >= 5900 && took < 6600); + CHECK(s.requests == 6 + 6 + 5); // each request six times, the port check's five + CHECK(r.sent == 17 && r.refused == 0); CHECK(net::nat::public_ports(r).empty()); } + { // the first 2.5 s held (a security program asking about bbhost.exe): the sends at 2.8 s get through, the + // port check's with them + Server s; + s.hold_ms = 2500; + s.begin(); + const std::uint16_t local = free_port(); + const auto t0 = std::chrono::steady_clock::now(); + const ProbeResult r = run(s, local); + const double took = ms_since(t0); + CHECK(net::nat::verdict_of(r) == Verdict::Direct); + CHECK(r.at[0].port == local && r.at[1].port == local); + CHECK(net::nat::inbound_of(r) == Inbound::Open); + CHECK(took > 2700 && took < 3600); // over once the held-up answers are in + CHECK(s.change_requests == 4); + } + { // held, and the router drops the second answer: closed, a second after the port check's request got through + Server s; + s.hold_ms = 2500; + s.check = Server::Check::Closed; + s.begin(); + const auto t0 = std::chrono::steady_clock::now(); + const ProbeResult r = run(s, free_port()); + const double took = ms_since(t0); + CHECK(net::nat::verdict_of(r) == Verdict::Direct); + CHECK(net::nat::inbound_of(r) == Inbound::Closed); + CHECK(took > 3700 && took < 4600); + CHECK(s.change_requests == 4); // its fifth only while not even the usual answer has come + } + { // this PC refuses every send (here the limited broadcast address, without SO_BROADCAST): counted, the + // first error kept, over once nothing is left to try + net::nat::ProbeParams p; + p.server = htonl(INADDR_BROADCAST); + p.ports = {3479, 3480}; + p.local_port = free_port(); + const auto t0 = std::chrono::steady_clock::now(); + const ProbeResult r = net::nat::probe(p); + const double took = ms_since(t0); + CHECK(r.error == ProbeResult::Error::None); + CHECK(r.sent == 0 && r.refused == 6 + 6 + 5); + CHECK(r.send_error_code != 0 && r.send_error == std::strerror(r.send_error_code)); + CHECK(r.send_denied == (r.send_error_code == EACCES || r.send_error_code == EPERM)); + CHECK(net::nat::nothing_sent(r)); + CHECK(net::nat::verdict_of(r) == Verdict::Blocked); + CHECK(took > 4100 && took < 5000); // the last refused at 4.2 s: no wait for the deadline + } { // one test port answers Server s; s.mapping = Server::Mapping::FirstOnly; @@ -284,14 +341,16 @@ void exchange_cases() { CHECK(ms_since(t0) < 1000); // no wait for an answer that never comes CHECK(s.change_requests == 1); } - { // the first test port's plain answers lost: its retries, and the port check's usual answer, fill it in + { // every plain answer of the first test port lost: the port check's usual answer, from there, fills it in Server s; - s.drop_first_plain_a = 4; + s.drop_first_plain_a = 6; s.begin(); const std::uint16_t local = free_port(); + const auto t0 = std::chrono::steady_clock::now(); const ProbeResult r = run(s, local); CHECK(r.at[0].got && r.at[0].port == local); CHECK(net::nat::verdict_of(r) == Verdict::Direct); + CHECK(ms_since(t0) < 1500); // at once, not at a retry } { // the port held by another socket: nothing sent Server s; @@ -457,16 +516,18 @@ void words_cases() { CHECK(net::nat::ago(1000, 1000 + 3 * 3600) == "3 hours ago"); CHECK(net::nat::ago(1000, 1000 + 2 * 86400) == "2 days ago"); - // The log line: the verdict, the port check, the port, whether kept - no address. + // The log line: the verdict, the port check, the port, what was sent and refused, whether kept - no address. const std::regex dotted(R"(\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b)"); net::nat::Outcome o; o.probe = made({{true, htonl(0xCB007107u), 9307}, {true, htonl(0xCB007107u), 9307}}, true, true, true); + o.probe.sent = 3; o.local = net::nat::verdict_of(o.probe); o.inbound = net::nat::inbound_of(o.probe); o.signed_in = true; o.save = net::nat::read_save_reply(200, R"({"ResKind":0,"Verdict":"direct","TestedAt":5})", ""); std::string line = net::nat::log_line(o); - CHECK(line == "connection test: direct (public port 9307 at both test ports, the game's own); incoming open; UDP port 9307; saved to the account"); + CHECK(line == "connection test: direct (public port 9307 at both test ports, the game's own); incoming open; UDP port 9307; sent 3, " + "refused 0; saved to the account"); CHECK(!std::regex_search(line, dotted)); o.save = net::nat::read_save_reply(200, R"({"ResKind":0,"Verdict":"relay","TestedAt":5})", ""); CHECK(net::nat::log_line(o).find("saved to the account - the server says relay") != std::string::npos); @@ -478,9 +539,26 @@ void words_cases() { o.save = net::nat::read_save_reply(429, R"({"ResKind":1,"Message":"too many tests; try again later"})", ""); CHECK(net::nat::log_line(o).find("10 tests an hour") != std::string::npos); o.probe = made({{}, {}}); + o.probe.sent = 17; o.local = net::nat::verdict_of(o.probe); o.inbound = net::nat::inbound_of(o.probe); - CHECK(net::nat::log_line(o).rfind("connection test: blocked (no answer from the test ports); incoming not checked", 0) == 0); + CHECK(net::nat::log_line(o).rfind("connection test: blocked (no answer from the test ports); incoming not checked; UDP port 9307; " + "sent 17, refused 0; not saved (the server takes 10 tests", + 0) == 0); + // every send refused: the count and the first refusal's words; the server not asked + o.probe.sent = 0; + o.probe.refused = 17; + o.probe.send_error_code = EPERM; + o.probe.send_error = "Operation not permitted"; + o.save = SaveReply{}; + line = net::nat::log_line(o); + CHECK(line == "connection test: blocked (no answer from the test ports); incoming not checked; UDP port 9307; sent 0, refused 17 " + "(Operation not permitted); not saved (nothing was sent)"); + CHECK(!std::regex_search(line, dotted)); + o.probe.sent = 12; + o.probe.refused = 5; + CHECK(net::nat::log_line(o).find("; sent 12, refused 5 (Operation not permitted); not saved (the server did not answer") != + std::string::npos); o.probe.error = ProbeResult::Error::PortInUse; o.probe.error_text = "Address already in use"; CHECK(net::nat::log_line(o) == "connection test: UDP port 9307 is in use by another program (Address already in use); nothing sent"); From 3ab84d1968256bad5ea93d75f6b69f0034cd4f85 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 21:06:19 -0800 Subject: [PATCH 025/100] setup: the Connection card tells no answer from blocked - what came back to bbhost and what the server saw Players saw "UDP is blocked on this network" in the setup window while the website's account-page test passed. The two tests differ: the website's is the browser's own datagrams, and the server counts what reaches it, so nothing has to come back to the browser; the setup window's runs from bbhost.exe on the game's P2P port and reads the answers. Without them the card said "Nothing reached the server's test ports ... from this network" even when not signed in, where the server was never asked; and signed in, a kept "direct" with no answer back showed "Direct connections: yes" and a note blaming a VPN or proxy. The card now reads a finished test as one of these (net/nat_check.h reading_of and card_of; the launcher only draws them): - no answer, not kept: "No answer reached bbhost" - what it sent did not get out, or the answers were stopped on the way back, by a firewall or antivirus on this PC or by the network; signing in and testing again tells which; - kept "blocked", no answer: "Nothing from bbhost reached the server" - if the website's test passes, the network is fine and a firewall, antivirus or VPN on this PC is blocking bbhost.exe: allow it and test again, online play needs it; if it fails too, the network blocks UDP; - kept "direct" or "relay", no answer: "The server hears bbhost, but its answers don't reach it", a warning - most likely a firewall or antivirus stopping what comes back to bbhost.exe; - every send refused: "This PC did not let bbhost send", the system's error, and allow bbhost.exe (the network named first when the error was not a permission one); - kept "blocked" though the test ports answered: "The server did not see this test from your address" (a VPN or proxy for web traffic) rather than "blocked"; - answers back: the verdicts and notes as before, and a lost answer named as such instead of the VPN note. F10's line repeats the card's headline and meaning. The account's last test, when it says blocked, adds that the website passing while bbhost fails points at this PC. docs/online.md has the readings. Measured on a Windows 11 PC against a test listener of the server's own code, with WFP block filters on that bbhost.exe at the layers the firewall's rules use: an inbound block (what Cancel on the firewall's prompt makes) lets the answers to what bbhost sent in and stops only the port check's unasked one ("Incoming: closed"); an outbound UDP block, or answers dropped on the way back, gave the old card's "UDP is blocked on this network" while the browser's and PowerShell's requests on the same path were answered. This build on that PC, signed out: no filter and the inbound block read as before (direct; incoming open, or closed after the port check's three requests); the outbound block and the dropped answers both read "No answer reached bbhost", the log saying "sent 17, refused 0" - the listener had all 17 with the answers dropped. In a router namespace on Linux with the server's own code, signed in: answers dropped on the way back, "The server hears bbhost, but its answers don't reach it", where the build before showed "Direct connections: yes"; UDP dropped both ways, "Nothing from bbhost reached the server"; nftables refusing the sends, "This PC did not let bbhost send (Operation not permitted)" with no test kept. tests/nat_check_test.cpp: every reading and its words, tone, incoming line, detail and note - and that no answer never says the network blocks UDP or that direct connections work. 53 hand mutants of the two commits' logic (the schedule, the refusals, the readings, the words) each fail it. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 4 +- docs/online.md | 19 ++++- src/host/launcher.cpp | 58 ++++--------- src/host/options.cpp | 4 +- src/net/nat_check.h | 180 ++++++++++++++++++++++++++++++++++++++- src/net/nat_job.cpp | 3 +- src/net/nat_job.h | 3 + tests/nat_check_test.cpp | 162 ++++++++++++++++++++++++++++++++++- 8 files changed, 378 insertions(+), 55 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 27823254..d9bbdafb 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -911,8 +911,8 @@ if(UNIX) # The setup window's connection test (net/nat_check.h): the exchange from a # port against a test server of its own on loopback - a router that keeps # one port, one that changes it, none answering, the first seconds held, - # every send refused, the port check open, closed and absent - and the - # server's answers read (~25 s of waits). + # every send refused, the port check open, closed and absent - the server's + # answers read, and the card's words for each reading (~25 s of waits). add_executable(nat_check_test tests/nat_check_test.cpp src/net/nat_probe.cpp src/net/stun.cpp src/replay/json.cpp) target_include_directories(nat_check_test PRIVATE src) target_link_libraries(nat_check_test PRIVATE Threads::Threads) diff --git a/docs/online.md b/docs/online.md index 58a07a29..91ceff3f 100644 --- a/docs/online.md +++ b/docs/online.md @@ -71,8 +71,23 @@ bbhost.exe does not spoil the result. - **You'll use the relay: your router changes ports per destination** - a different port (or address) at each, as symmetric and many carrier-grade NATs do: a direct connection fails, and the relay carries the session. - - **UDP is blocked on this network** - no answer at all: online play will - not work from this network (a firewall, a VPN, a school or work network). + - **No answer reached bbhost** - nothing came back. On its own the PC + cannot tell whether its requests got out or the answers were stopped on + the way back; signed in, the server tells which: + - **Nothing from bbhost reached the server** - its test ports saw none of + them. If the website's test passes, the network is fine and a firewall, + antivirus or VPN on this PC is blocking bbhost.exe: allow it and test + again, as online play needs it. If the website's test fails too, the + network blocks UDP (school and work networks can). + - **The server hears bbhost, but its answers don't reach it** - the server + saw the requests, and its answers were stopped on the way back, most + likely by a firewall or antivirus on this PC: allow bbhost.exe there and + test again. + - **This PC did not let bbhost send** - the system refused every request + (the card gives its error): allow bbhost.exe in the firewall or antivirus. + - The website's test is the browser's own packets, and the server counts + what reaches it, so it can pass while something on the PC stops + bbhost.exe's - the packets the game itself sends. - **Incoming**, the port check: one more request asks the server to answer from a third port, which the game never sent anything to. When that answer arrives, the router and this PC's firewall let in a packet nobody asked for diff --git a/src/host/launcher.cpp b/src/host/launcher.cpp index db34dfbb..09c4bc71 100644 --- a/src/host/launcher.cpp +++ b/src/host/launcher.cpp @@ -786,7 +786,7 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo if (nat_record) net::nat::remember(net::nat::Remembered{true, net::nat::verdict_from_word(nat_check.nat_test.verdict), net::nat::inbound_from_word(nat_check.nat_test.inbound), - nat_check.nat_test.tested_at, true}); + nat_check.nat_test.tested_at, true, {}, {}}); const bool can_play = app0_ok && eboot.ok && !compiling && !game && !nat_view.running; bool play = false; const SignIn si = sign_in_state(); @@ -1361,57 +1361,29 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo std::string incoming, detail, note; ImU32 col = ui::kText; ui::Icon icon = ui::Icon::Online; + auto mark = [&](nat::Tone t) { + col = t == nat::Tone::Good ? ui::kGood : t == nat::Tone::Relay ? ui::kIce : t == nat::Tone::Bad ? ui::kBad : ui::kWarn; + icon = t == nat::Tone::Good ? ui::Icon::Check : t == nat::Tone::Relay ? ui::Icon::Info : ui::Icon::Warning; + }; auto look = [&](nat::Verdict v) { head = nat::headline(v); meaning = nat::meaning(v); - col = v == nat::Verdict::Direct ? ui::kGood : v == nat::Verdict::Relay ? ui::kIce : ui::kWarn; - icon = v == nat::Verdict::Direct ? ui::Icon::Check : v == nat::Verdict::Relay ? ui::Icon::Info : ui::Icon::Warning; - if (v == nat::Verdict::Blocked) col = ui::kBad; + mark(nat::tone_of(v)); }; if (nat_view.running) { head = "Testing the connection..."; meaning = std::string(nat_view.step) + " From UDP port " + std::to_string(p2p) + "; a few seconds."; icon = ui::Icon::Refresh; } else if (nat_ours) { - const nat::Outcome& o = nat_view.outcome; - const std::string port = std::to_string(o.probe.local_port); - if (!o.resolved) { - head = "The test server could not be found"; - meaning = "Its name did not resolve: check the server chosen above and this PC's network."; - col = ui::kWarn; - icon = ui::Icon::Warning; - } else if (o.probe.error == nat::ProbeResult::Error::PortInUse) { - head = "UDP port " + port + " is in use: close the game to test"; - meaning = "Another program has the game's P2P port - most likely bbhost itself, running the game. The " - "test sends from that port, so it runs while the game is closed."; - col = ui::kWarn; - icon = ui::Icon::Warning; - } else if (o.probe.error != nat::ProbeResult::Error::None) { - head = "The test could not use UDP port " + port; - meaning = o.probe.error_text.empty() ? std::string("The test was stopped.") : o.probe.error_text + "."; - col = ui::kWarn; - icon = ui::Icon::Warning; - } else { - look(o.shown()); - if (o.local != nat::Verdict::Blocked) incoming = nat::inbound_line(o.inbound, o.probe.local_port, o.shown()); - std::string ports = nat::public_ports(o.probe); - detail = "Tested from UDP port " + port + " (the game's P2P port)" + (ports.empty() ? "" : ": the server saw " + ports) + - ". " + capitalised(nat::ago(o.at, now_unix)) + "; "; - if (o.saved()) { - detail += "saved to your account for this network (test again on another one)."; - if (o.save.verdict != o.local) - note = std::string("This PC's own reading was \"") + nat::verdict_word(o.local) + - "\": the server compares what reached it from the address this request came from, and a VPN or " - "proxy for web traffic can make the two differ."; - } else if (!o.signed_in) { - detail += "this PC's own reading, not saved to your account."; - note = o.local == nat::Verdict::Relay - ? "Sign in (above) and test again: the server then knows to relay you, and other hunters can reach you." - : "Sign in (above) and test again to keep it for your account; the server goes by the kept result."; - } else { - detail += "not saved to your account: " + nat::unsaved_reason(o) + "."; - } - } + // What came back to bbhost and what the server saw, in + // words (net/nat_check.h card_of). + const nat::Card c = nat::card_of(nat_view.outcome, now_unix); + head = c.head; + meaning = c.meaning; + incoming = c.incoming; + detail = c.detail; + note = c.note; + mark(c.tone); } else if (record) { const nat::Verdict v = nat::verdict_from_word(ac.nat_test.verdict); look(v); diff --git a/src/host/options.cpp b/src/host/options.cpp index a932d836..93944f8d 100755 --- a/src/host/options.cpp +++ b/src/host/options.cpp @@ -2414,11 +2414,11 @@ void account_page() { if (const net::nat::Remembered c = net::nat::remembered(); c.known) { const double now = static_cast(std::time(nullptr)); ImGui::TextUnformatted(("Connection test (" + net::nat::ago(c.at, now) + (c.saved ? "" : ", not saved") + - "): " + net::nat::headline(c.verdict)) + "): " + (c.head.empty() ? std::string(net::nat::headline(c.verdict)) : c.head)) .c_str()); if (ImGui::IsItemHovered(ImGuiHoveredFlags_ForTooltip)) ui::tooltip("Connection test", - std::string(net::nat::meaning(c.verdict)) + + (c.meaning.empty() ? std::string(net::nat::meaning(c.verdict)) : c.meaning) + (c.inbound != net::nat::Inbound::NotTested ? " " + net::nat::inbound_line(c.inbound, config().p2p_port > 0 ? config().p2p_port : 9307, c.verdict) : std::string()), diff --git a/src/net/nat_check.h b/src/net/nat_check.h index b863726b..b1e159b4 100644 --- a/src/net/nat_check.h +++ b/src/net/nat_check.h @@ -11,13 +11,23 @@ // relay a different port (or address) at each: the router maps every // destination anew (a symmetric or carrier-grade NAT), so a direct // connection fails and the server's relay carries the session; -// blocked no answer from either: UDP to the server does not get through. +// blocked no answer from either: nothing came back to bbhost. // Signed in, POST /auth/nat_test {Token, Inbound, Port} then has the server // classify what it saw from this address, keep the result for the account // and, in its "marked" relay mode, relay this address when it says relay - // exactly as the website's test does. The request goes over IPv4, as the // test's datagrams do: the server matches the two by address. // +// No answer is not the same as blocked. This PC alone cannot tell whether its +// requests got out and the answers were stopped on the way back, or nothing +// got out; the server can (reading_of). The website's test is the browser's +// datagrams, and only what reaches the server counts there, so it can pass +// while a firewall or antivirus on this PC stops bbhost.exe's - which is what +// the game sends from, so the card says so. An inbound block at the layer +// Windows' firewall rules use stops only datagrams nobody asked for (the port +// check's second answer) - answers to what bbhost sent still get in - and an +// outbound one drops bbhost's datagrams while its sends report success. +// // The port check: a third request, to the first test port, carries RFC // 5780's CHANGE-REQUEST (change port). The server answers it as usual with // OTHER-ADDRESS naming its port check's port, and once more from that port, @@ -260,8 +270,9 @@ inline const char* meaning(Verdict v) { return "Other hunters cannot reach this PC directly, so co-op and PvP need the server's relay: it works, with a " "little more delay."; case Verdict::Blocked: - return "Nothing reached the server's test ports, so online play will not work from this network. A firewall, " - "a VPN or a school or work network can block UDP."; + return "Nothing reached the server's test ports. If the website's test passes while bbhost's does not, a firewall, " + "antivirus or VPN on this PC is blocking bbhost.exe: allow it and test again. If both fail, this network " + "blocks UDP (school and work networks can), and online play will not work from it."; case Verdict::Inconclusive: return "One test port answered and the other did not - a lost packet, most likely. Run the test again."; case Verdict::None: break; @@ -354,6 +365,169 @@ inline std::string unsaved_reason(const Outcome& o) { return {}; } +// --- What a finished test says (the setup window's Connection card) --------- + +// The card's reading of a finished test: the verdict it shows, with what came +// back to bbhost and what the server saw. +enum class Reading { + NotResolved, // the test server's name did not resolve: nothing sent + PortInUse, // another program has the P2P port: nothing sent + NoSocket, // no socket on the P2P port (error_text) + Cancelled, // stopped before it ended + SendRefused, // this PC refused every datagram bbhost tried to send + Direct, // the server's verdict once kept, else this PC's - answers came back + Relay, + Inconclusive, // one test port answered (not kept) + NoAnswer, // not kept, and no answer came back: out or back, this PC cannot tell + ServerBlocked, // kept: nothing from bbhost reached the server, and nothing came back + AnswersStopped, // kept direct or relay - the server heard this address - yet no answer reached bbhost + AddressDiffers, // kept blocked, yet the test ports answered bbhost: the request came from another address +}; + +inline Reading reading_of(const Outcome& o) { + if (!o.resolved) return Reading::NotResolved; + switch (o.probe.error) { + case ProbeResult::Error::PortInUse: return Reading::PortInUse; + case ProbeResult::Error::Socket: + case ProbeResult::Error::Bind: return Reading::NoSocket; + case ProbeResult::Error::Cancelled: return Reading::Cancelled; + case ProbeResult::Error::None: break; + } + if (nothing_sent(o.probe)) return Reading::SendRefused; + const bool answers = o.local == Verdict::Direct || o.local == Verdict::Relay || o.local == Verdict::Inconclusive; + if (o.saved()) { + if (o.save.verdict == Verdict::Blocked) return answers ? Reading::AddressDiffers : Reading::ServerBlocked; + if (!answers) return Reading::AnswersStopped; + return o.save.verdict == Verdict::Relay ? Reading::Relay : Reading::Direct; + } + if (!answers) return Reading::NoAnswer; + return o.local == Verdict::Direct ? Reading::Direct : o.local == Verdict::Relay ? Reading::Relay : Reading::Inconclusive; +} + +// How the card marks a reading: good (a check), the relay (information), a +// warning, or bad. +enum class Tone { Good, Relay, Warn, Bad }; +inline Tone tone_of(Verdict v) { + return v == Verdict::Direct ? Tone::Good : v == Verdict::Relay ? Tone::Relay : v == Verdict::Blocked ? Tone::Bad : Tone::Warn; +} + +struct Card { + Reading reading = Reading::NoAnswer; + Tone tone = Tone::Warn; + std::string head; // the headline + std::string meaning; // what it means, and what to do about it + std::string incoming; // the port check's line ("" none) + std::string detail; // where it ran from, when, and whether it was kept ("" none) + std::string note; // a remark in the warning colour ("" none) +}; + +// The card for a finished test (`now` in Unix seconds: "just now"). +inline Card card_of(const Outcome& o, double now) { + Card c; + c.reading = reading_of(o); + const std::string port = std::to_string(o.probe.local_port); + switch (c.reading) { + case Reading::NotResolved: + c.head = "The test server could not be found"; + c.meaning = "Its name did not resolve: check the server chosen above and this PC's network."; + return c; + case Reading::PortInUse: + c.head = "UDP port " + port + " is in use: close the game to test"; + c.meaning = "Another program has the game's P2P port - most likely bbhost itself, running the game. The test sends " + "from that port, so it runs while the game is closed."; + return c; + case Reading::NoSocket: + case Reading::Cancelled: + c.head = "The test could not use UDP port " + port; + c.meaning = o.probe.error_text.empty() ? std::string("The test was stopped.") : o.probe.error_text + "."; + return c; + case Reading::SendRefused: + c.tone = Tone::Bad; + c.head = "This PC did not let bbhost send"; + c.meaning = "This PC refused every test packet bbhost tried to send from UDP port " + port + " (" + o.probe.send_error + + "). " + + (o.probe.send_denied + ? std::string("A firewall or antivirus on this PC is blocking bbhost.exe: allow bbhost.exe in it and test " + "again - online play needs it.") + : std::string("Check this PC's network connection; if it works, a firewall or antivirus may be blocking " + "bbhost.exe: allow bbhost.exe in it and test again.")); + break; + case Reading::Direct: + case Reading::Relay: + case Reading::Inconclusive: { + const Verdict v = c.reading == Reading::Direct ? Verdict::Direct + : c.reading == Reading::Relay ? Verdict::Relay + : Verdict::Inconclusive; + c.tone = tone_of(v); + c.head = headline(v); + c.meaning = meaning(v); + break; + } + case Reading::NoAnswer: + c.tone = Tone::Bad; + c.head = "No answer reached bbhost"; + c.meaning = "bbhost sent its test packets from UDP port " + port + + ", but no answer came back: either they did not get out, or the answers were stopped on the way back - by " + "a firewall or antivirus on this PC, or by this network. " + + (o.signed_in ? std::string("The server could not tell which this time: test again.") + : std::string("Sign in (above) and test again: the server then tells which.")); + break; + case Reading::ServerBlocked: + c.tone = Tone::Bad; + c.head = "Nothing from bbhost reached the server"; + c.meaning = "The server's test ports saw none of bbhost's packets. If the website's connection test passes, your " + "network is fine and a firewall, antivirus or VPN on this PC is blocking bbhost.exe: allow it and test " + "again - online play needs it. If the website's test fails too, this network blocks UDP (school and " + "work networks can)."; + break; + case Reading::AnswersStopped: + c.tone = Tone::Warn; + c.head = "The server hears bbhost, but its answers don't reach it"; + c.meaning = std::string("The server heard from this network and reads it as ") + verdict_word(o.save.verdict) + + ", but none of its answers came back to bbhost. A firewall or antivirus on this PC is most likely " + "stopping what comes back to bbhost.exe: allow bbhost.exe in it and test again - online play needs " + "those packets."; + break; + case Reading::AddressDiffers: + c.tone = Tone::Warn; + c.head = "The server did not see this test from your address"; + c.meaning = "The test ports answered bbhost, so UDP gets through, but the server saw none of its packets come from " + "the address your request came from, and kept \"blocked\" for your account. A VPN or proxy for web " + "traffic sends the two different ways: turn it off and test again."; + break; + } + const bool answers = o.local == Verdict::Direct || o.local == Verdict::Relay || o.local == Verdict::Inconclusive; + if (answers) c.incoming = inbound_line(o.inbound, o.probe.local_port, o.shown()); + const std::string ports = public_ports(o.probe); + std::string when = ago(o.at, now); + if (!when.empty() && when[0] >= 'a' && when[0] <= 'z') when[0] = static_cast(when[0] - 'a' + 'A'); + c.detail = "Tested from UDP port " + port + " (the game's P2P port)" + (ports.empty() ? "" : ": the server saw " + ports) + + ". " + when + "; "; + if (o.saved()) c.detail += "saved to your account for this network (test again on another one)."; + else if (!o.signed_in) c.detail += "this PC's own reading, not saved to your account."; + else c.detail += "not saved to your account: " + unsaved_reason(o) + "."; + if (o.saved() && answers && o.save.verdict != Verdict::Blocked) { + if (o.local == Verdict::Inconclusive) + c.note = "One of the server's answers did not come back to bbhost - a lost packet, most likely; the server saw " + "both requests."; + else if (o.local != o.save.verdict) + c.note = std::string("This PC's own reading was \"") + verdict_word(o.local) + + "\": the server compares what reached it from the address this request came from, and a VPN or proxy " + "for web traffic can make the two differ."; + } else if (!o.signed_in && answers) { + c.note = o.local == Verdict::Relay + ? "Sign in (above) and test again: the server then knows to relay you, and other hunters can reach you." + : "Sign in (above) and test again to keep it for your account; the server goes by the kept result."; + } + if (o.probe.refused > 0 && o.probe.sent > 0) { + const std::string some = "This PC refused " + std::to_string(o.probe.refused) + " of the " + + std::to_string(o.probe.refused + o.probe.sent) + " packets bbhost tried to send (" + + o.probe.send_error + "): if a firewall or antivirus asked about bbhost.exe, allow it and test again."; + c.note = c.note.empty() ? some : c.note + " " + some; + } + return c; +} + // The test's one log line: the verdict, the port check, the port, what was // sent and refused (the first refusal's words), whether it was kept - and no // addresses. diff --git a/src/net/nat_job.cpp b/src/net/nat_job.cpp index 65bea98e..8a6c0278 100644 --- a/src/net/nat_job.cpp +++ b/src/net/nat_job.cpp @@ -138,7 +138,8 @@ void Job::run(JobParams p) { o.at = unix_now(); host_log("%s", log_line(o).c_str()); if (o.probe.error == ProbeResult::Error::None && o.resolved && o.shown() != Verdict::None) { - remember(Remembered{true, o.shown(), o.inbound, o.at, o.saved()}); + const Card c = card_of(o, o.at); + remember(Remembered{true, o.shown(), o.inbound, o.at, o.saved(), c.head, c.meaning}); } std::lock_guard lk(mu_); view_.outcome = std::move(o); diff --git a/src/net/nat_job.h b/src/net/nat_job.h index c6ae9dd1..15c2aea1 100644 --- a/src/net/nat_job.h +++ b/src/net/nat_job.h @@ -61,6 +61,9 @@ struct Remembered { Inbound inbound = Inbound::NotTested; double at = 0; // Unix seconds bool saved = false; // kept for the account + // The card's headline and meaning for a test run here ("" for the + // account's last test: headline() and meaning() of its verdict). + std::string head = {}, meaning = {}; }; void remember(const Remembered& r); Remembered remembered(); diff --git a/tests/nat_check_test.cpp b/tests/nat_check_test.cpp index 8a447e78..9d260c27 100644 --- a/tests/nat_check_test.cpp +++ b/tests/nat_check_test.cpp @@ -16,8 +16,9 @@ // nothing is left to try; // - a lost first answer, the port held by another socket, a cancel. // Then what the server's /auth/nat_test answers mean, the ports setting, and -// the words the card and the log use (the owner's three headlines; what was -// sent and refused, and no address, in the log line). +// the words the card and the log use: the owner's three headlines, each +// reading of a finished test (no answer kept or not, the server's blocked, +// its answers stopped, every send refused...), no address in the log line. #include "net/nat_check.h" #include "net/stun.h" @@ -566,6 +567,162 @@ void words_cases() { CHECK(net::nat::log_line(o).find("did not resolve") != std::string::npos); } +// A finished test as the job leaves it: what came back read, signed in or +// not, and the server's answer to /auth/nat_test (none when not asked). +net::nat::Outcome finished(ProbeResult p, bool signed_in, const char* reply = nullptr) { + net::nat::Outcome o; + o.probe = std::move(p); + o.local = net::nat::verdict_of(o.probe); + o.inbound = net::nat::inbound_of(o.probe); + o.signed_in = signed_in; + if (reply) o.save = net::nat::read_save_reply(200, reply, ""); + o.at = 1000; + return o; +} + +bool has(const std::string& text, const char* part) { return text.find(part) != std::string::npos; } + +void reading_cases() { + using net::nat::Answer; + using net::nat::Card; + using net::nat::Reading; + using net::nat::Tone; + const Answer a{true, 0x0100000a, 9307}, b{true, 0x0100000a, 40002}, none{}; + const char* kDirect = R"({"ResKind":0,"Verdict":"direct","TestedAt":5})"; + const char* kRelay = R"({"ResKind":0,"Verdict":"relay","TestedAt":5})"; + const char* kBlocked = R"({"ResKind":0,"Verdict":"blocked","TestedAt":5})"; + ProbeResult back = made({a, a}, true, true, false); // both answers, the port check closed + back.sent = 3; + ProbeResult silent = made({none, none}); // sent, nothing came back + silent.sent = 17; + ProbeResult refused = made({none, none}); // nothing went out + refused.refused = 17; + refused.send_error_code = EPERM; + refused.send_error = "Operation not permitted"; + refused.send_denied = true; + ProbeResult one = made({a, none}); + one.sent = 7; + ProbeResult changes = made({a, b}); + changes.sent = 3; + + // Not signed in, nothing back: this PC cannot tell out from back - no word of the server, nor of "this network" + // being blocked; signing in tells which. + net::nat::Outcome o = finished(silent, false); + CHECK(net::nat::reading_of(o) == Reading::NoAnswer); + Card c = net::nat::card_of(o, 1030); + CHECK(c.tone == Tone::Bad && c.head == "No answer reached bbhost"); + CHECK(has(c.meaning, "either they did not get out, or the answers were stopped on the way back")); + CHECK(has(c.meaning, "Sign in (above) and test again: the server then tells which.")); + CHECK(!has(c.meaning, "reached the server") && !has(c.head, "blocked") && !has(c.meaning, "blocked")); + CHECK(c.incoming.empty() && c.note.empty()); + CHECK(c.detail == "Tested from UDP port 9307 (the game's P2P port). Just now; this PC's own reading, not saved to your account."); + // signed in, the server's answer lost: still no answer, test again + o = finished(silent, true); + o.save = net::nat::read_save_reply(0, "", "Couldn't connect to server"); + CHECK(net::nat::reading_of(o) == Reading::NoAnswer); + c = net::nat::card_of(o, 1030); + CHECK(has(c.meaning, "The server could not tell which this time: test again.") && !has(c.meaning, "Sign in")); + CHECK(has(c.detail, "not saved to your account: the server did not answer (Couldn't connect to server).")); + + // Kept, the server saw nothing from bbhost: if the website's test passes, something on this PC blocks bbhost.exe. + o = finished(silent, true, kBlocked); + CHECK(net::nat::reading_of(o) == Reading::ServerBlocked); + c = net::nat::card_of(o, 1030); + CHECK(c.tone == Tone::Bad && c.head == "Nothing from bbhost reached the server"); + CHECK(has(c.meaning, "If the website's connection test passes, your network is fine and a firewall, antivirus or VPN on this " + "PC is blocking bbhost.exe: allow it and test again - online play needs it.")); + CHECK(has(c.meaning, "If the website's test fails too, this network blocks UDP")); + CHECK(has(c.detail, "saved to your account for this network")); + + // Kept direct or relay, yet nothing came back: a warning that the answers are stopped - never "Direct connections: + // yes", no VPN or proxy blamed. + o = finished(silent, true, kDirect); + CHECK(net::nat::reading_of(o) == Reading::AnswersStopped); + c = net::nat::card_of(o, 1030); + CHECK(c.tone == Tone::Warn && c.head == "The server hears bbhost, but its answers don't reach it"); + CHECK(has(c.meaning, "reads it as direct") && has(c.meaning, "stopping what comes back to bbhost.exe")); + CHECK(!has(c.head, "Direct connections") && !has(c.meaning, "Direct connections")); + CHECK(c.note.empty() && c.incoming.empty()); + o = finished(silent, true, kRelay); + CHECK(net::nat::reading_of(o) == Reading::AnswersStopped && has(net::nat::card_of(o, 1030).meaning, "reads it as relay")); + + // Every send refused: this PC did not let bbhost send - its words and what to allow; nothing kept. + o = finished(refused, true); + CHECK(net::nat::reading_of(o) == Reading::SendRefused); + c = net::nat::card_of(o, 1030); + CHECK(c.tone == Tone::Bad && c.head == "This PC did not let bbhost send"); + CHECK(has(c.meaning, "refused every test packet bbhost tried to send from UDP port 9307 (Operation not permitted)")); + CHECK(has(c.meaning, "A firewall or antivirus on this PC is blocking bbhost.exe: allow bbhost.exe in it and test again")); + CHECK(has(c.detail, "not saved to your account: nothing was sent.") && c.note.empty() && c.incoming.empty()); + o.signed_in = false; + CHECK(net::nat::reading_of(o) == Reading::SendRefused); + // refused for another reason (no route): the network first, the firewall only maybe + o.probe.send_denied = false; + o.probe.send_error_code = ENETUNREACH; + o.probe.send_error = "Network is unreachable"; + c = net::nat::card_of(o, 1030); + CHECK(net::nat::reading_of(o) == Reading::SendRefused && has(c.meaning, "(Network is unreachable). Check this PC's network connection")); + CHECK(!has(c.meaning, "is blocking bbhost.exe")); + // some refused, the rest answered: the result stands, the refusals told + ProbeResult partly = back; + partly.refused = 2; + partly.send_error = "Operation not permitted"; + o = finished(partly, false); + CHECK(net::nat::reading_of(o) == Reading::Direct); + CHECK(has(net::nat::card_of(o, 1030).note, "This PC refused 2 of the 5 packets bbhost tried to send (Operation not permitted)")); + + // Kept blocked, yet the test ports answered bbhost: the request came from another address (a VPN or proxy). + o = finished(back, true, kBlocked); + CHECK(net::nat::reading_of(o) == Reading::AddressDiffers); + c = net::nat::card_of(o, 1030); + CHECK(c.tone == Tone::Warn && c.head == "The server did not see this test from your address"); + CHECK(has(c.meaning, "so UDP gets through") && has(c.meaning, "A VPN or proxy for web traffic")); + CHECK(!c.incoming.empty()); + + // The answers back: the server's verdict once kept, else this PC's. + o = finished(back, true, kDirect); + CHECK(net::nat::reading_of(o) == Reading::Direct); + c = net::nat::card_of(o, 1030); + CHECK(c.tone == Tone::Good && c.head == net::nat::headline(Verdict::Direct) && c.note.empty()); + CHECK(has(c.incoming, "Incoming: closed") && has(c.detail, ": the server saw public port 9307 at both test ports, the game's own")); + CHECK(has(c.detail, "Just now; saved to your account for this network")); + o = finished(back, true, kRelay); // the server's word and the reading it differs from + CHECK(net::nat::reading_of(o) == Reading::Relay); + c = net::nat::card_of(o, 1030); + CHECK(c.tone == Tone::Relay && c.head == net::nat::headline(Verdict::Relay)); + CHECK(c.note.rfind("This PC's own reading was \"direct\"", 0) == 0); + o = finished(one, true, kDirect); // one answer lost on the way back + CHECK(net::nat::reading_of(o) == Reading::Direct && has(net::nat::card_of(o, 1030).note, "did not come back to bbhost")); + o = finished(one, false); + CHECK(net::nat::reading_of(o) == Reading::Inconclusive); + CHECK(net::nat::card_of(o, 1030).tone == Tone::Warn); + o = finished(changes, false); + CHECK(net::nat::reading_of(o) == Reading::Relay && has(net::nat::card_of(o, 1030).note, "the server then knows to relay you")); + o = finished(back, false); + CHECK(net::nat::reading_of(o) == Reading::Direct && has(net::nat::card_of(o, 1030).note, "to keep it for your account")); + CHECK(net::nat::card_of(o, 1000 + 300).detail.find("5 minutes ago;") != std::string::npos); + + // Nothing sent for other reasons: the name, the port, the socket, a cancel. + o = finished(silent, false); + o.resolved = false; + CHECK(net::nat::reading_of(o) == Reading::NotResolved && net::nat::card_of(o, 1030).detail.empty()); + o.resolved = true; + o.probe.error = ProbeResult::Error::PortInUse; + CHECK(net::nat::reading_of(o) == Reading::PortInUse && net::nat::card_of(o, 1030).head == "UDP port 9307 is in use: close the game to test"); + o.probe.error = ProbeResult::Error::Bind; + o.probe.error_text = "Cannot assign requested address"; + CHECK(net::nat::reading_of(o) == Reading::NoSocket && net::nat::card_of(o, 1030).meaning == "Cannot assign requested address."); + o.probe.error = ProbeResult::Error::Cancelled; + o.probe.error_text.clear(); + CHECK(net::nat::reading_of(o) == Reading::Cancelled && net::nat::card_of(o, 1030).meaning == "The test was stopped."); + for (Verdict v : {Verdict::Direct, Verdict::Relay, Verdict::Blocked, Verdict::Inconclusive}) { + const Tone t = net::nat::tone_of(v); + CHECK(t == (v == Verdict::Direct ? Tone::Good : v == Verdict::Relay ? Tone::Relay : v == Verdict::Blocked ? Tone::Bad : Tone::Warn)); + } + // the account's last test said blocked: the website passing while bbhost fails points at this PC + CHECK(has(net::nat::meaning(Verdict::Blocked), "If the website's test passes while bbhost's does not")); +} + } // namespace int main() { @@ -574,6 +731,7 @@ int main() { save_reply_cases(); ports_cases(); words_cases(); + reading_cases(); exchange_cases(); if (g_fail) { std::printf("nat_check_test: %d failures\n", g_fail); From c793c8251752a41c29f8da35175254a5e8206a47 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 22:27:48 -0800 Subject: [PATCH 026/100] docs: photo mode credits Nox- by name and links bbphoto, the plugin it is rebuilt from - in the README's acknowledgements, the plugins table and the plugin's source Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- README.md | 6 ++++-- docs/plugins.md | 2 +- plugins/photo_mode/photo_mode.cpp | 7 ++++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9a345459..bf07d7fe 100755 --- a/README.md +++ b/README.md @@ -212,8 +212,10 @@ game's code or data. company logos); the shadPS4 patch list's patches - Kyo's graphics, physics and gameplay patches and his The Old Hunters patch, johnnycoax's Auto-Refill, Imedved's camera auto-rotation and Lance McDonald's region unlock (shipped as - patch files); and Kyo's 60 FPS++ timing list and yogesh1239's high-FPS fixes - (built into the frame-rate code). + patch files); Kyo's 60 FPS++ timing list and yogesh1239's high-FPS fixes + (built into the frame-rate code); and Nox-'s + [bbphoto](https://github.com/Noxde/bbhost-photo-mode-plugin), which the photo + mode plugin is rebuilt from. - [shadPS4](https://github.com/shadps4-emu/shadPS4), a reference for the PS4's system behaviour and a working run to compare against. - SDL3, Vulkan, FFmpeg, SPIRV-Tools, the DirectX Shader Compiler (DXC), diff --git a/docs/plugins.md b/docs/plugins.md index d5ab5994..7d0d5ec6 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -798,7 +798,7 @@ setup window can download the latest signed plugins from the newest release. | `quake` | Off until turned on. First person with Quake 3's movement and view: strafe jumping, bunny hopping (hold jump to keep hopping), crouching, the walls only characters meet (the invisible ones along ledges) as solid as the rest, creatures as solid as Quake 3's players, and a choice of physics - Quake 3 (VQ3, the default), CPMA, Quake 1 + CPMA, QuakeWorld and DeFRaG's. Five guns made of Bloodborne's (Cannon, Church Cannon, Piercing Rifle, Blunderbuss, Gatling Gun), always +10, firing from the view with each gun's own flash and sound: rockets and grenades at Quake 3's speeds (the grenade bouncing until its fuse), the Blunderbuss's and the Gatling Gun's own bullets, and a plasma of A Call Beyond's star or Blacksky Eye's shard; their blasts throw the player (rocket and grenade jumps, plasma climbing), and the gun that is up is drawn at the lower right with Quake 3's bob and kick. Field of view, mouse sensitivity, gravity and knockback are settings. While photo mode holds the world, Quake holds too: the player stays where they were and the view as it was. | | `lohit` | Off until turned on. The map's lo-hit collision drawn in place of the map's own geometry (the game's own WorldHitMan debug draw, with GROUP MASK > Map off): every part loaded (Whole map, the default), or the part you stand on and the parts connected to it, one step out; Hi-hit shows the detailed collision characters and objects use instead. Each mesh is built once into a vertex buffer of its own and drawn with two draws a frame, where the game's debug draw rebuilt every triangle each frame and copied it twice (the triangles' edges the game drew over the faces, a second draw costing the GPU more than the faces, are left out). Its depth (plugin API 17) is drawn ahead of the scene's objects too, so the game's occlusion culling skips what is behind its walls, as the map's own geometry would. It is drawn inside the scene ahead of its effects so fire, sparks, blood and mist show over it, by default in the launcher's deep violet (walls) and dark blue (floors); the Colours sliders set both (0-255, as they come out on the screen) for the lo-hit and the hi-hit. Pair it with Performance mode (the setup window's main page) for the post-effects off. | | `ps1` | Off until turned on. Bloodborne PS1: the 3D drawn as the first PlayStation drew it, the HUD and the menus left sharp at the window's size: its vertices snapped to a grid of the screen as it moves (Vertex snap: 240p, the PS1's own screen, by default; 480p, 360p, 120p or off), its textures unfiltered (no bilinear, trilinear or anisotropic filtering), its colour targets 8 bits a channel (8-bit colour, as the rgba8f patch makes them; the colour grading then steps between its table's entries too, where it is smooth without it), and the 3D at its own Resolution - Native (the Resolution setting, at most the window's), 480p, 360p or 240p, each as wide as the window's shape gives - brought up to the window pixel for pixel, with no smoothing. Upscaling and the anti-aliasing stand aside while it is on. Old-hardware sound (off by default) makes everything the game plays sound like an old console's sound chip: PS1 (22050 Hz, 12 bits, muffled above 10 kHz), Crunchy (11025 Hz, 8 bits, no low-pass going in, so it aliases) or Custom (a rate and bits of its own). Each option changes in the game (F9). | -| `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, made from Nox's bbphoto: hold L3 for half a second, or press P, for a free camera over the world held still (Frozen; Cross or N lets it run two more updates), the hunter playing on (Static) or the world running (Live - enemies can still attack the hunter, and the first hit holds the world again), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field, chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. Being on by default, it never opens the setup window by itself: its settings wait on the Plugins tab and in game. While it is on, Nox's bbphoto is not loaded, so the two never both answer L3 and P; `photo_mode = false` loads bbphoto again. | +| `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, rebuilt from Nox-'s [bbphoto](https://github.com/Noxde/bbhost-photo-mode-plugin): hold L3 for half a second, or press P, for a free camera over the world held still (Frozen; Cross or N lets it run two more updates), the hunter playing on (Static) or the world running (Live - enemies can still attack the hunter, and the first hit holds the world again), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field, chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. Being on by default, it never opens the setup window by itself: its settings wait on the Plugins tab and in game. While it is on, bbphoto is not loaded, so the two never both answer L3 and P; `photo_mode = false` loads bbphoto again. | | `debug_menu` | Restores the developers' debug menu (`` ` `` opens it), in English or the developers' Japanese, and makes the debug font it draws with from the public-domain X11 fonts k14 and 7x14, so nothing has to be downloaded. Cheating against other players with it gets an account banned; trying it out online with friends is fine. | The gameplay plugins - all five - announce themselves in the session's diff --git a/plugins/photo_mode/photo_mode.cpp b/plugins/photo_mode/photo_mode.cpp index 74471125..f03251ce 100644 --- a/plugins/photo_mode/photo_mode.cpp +++ b/plugins/photo_mode/photo_mode.cpp @@ -1,6 +1,7 @@ -// Photo mode: a free camera over the world, for pictures. Based on Nox's -// bbphoto, rebuilt on bbhost's plugin API: nothing in it writes the game's code -// or reads an address of its own. +// Photo mode: a free camera over the world, for pictures. Based on Nox-'s +// bbphoto (https://github.com/Noxde/bbhost-photo-mode-plugin), rebuilt on +// bbhost's plugin API: nothing in it writes the game's code or reads an +// address of its own. // // Hold L3 for half a second, or press P, to start it; the same again (or // Escape) ends it. L3 is the button that presses the game's L3 - the left From ea81c02eb0be88daa55efd7e1146858dc007231e Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 02:47:03 -0800 Subject: [PATCH 027/100] gxvk-lists: a GPU-bound rest is judged by the frame - one that ran 8% slower than the frame that began it is an experiment's clear answer, and the pool works on Where the pool's work makes the frame the GPU's, resting it made the command processor the wall again, and the rest never learned it. On an RTX 4070 with two Xeon Gold 6230, uncapped, the Hunter's Dream ran 204-208 fps working (the GPU 91-95% busy) and ~170 resting (the command processor 100% busy, the game held back by it 70% of the time), Cainhurst's courtyard 166-170 and 106-113: the GPU-bound rest began after two windows, ended after six once the GPU had room, and began again two windows later - ten times in every 20 s, so the places' probes never came due - in v0.2.34's runs and v0.2.35's alike. A rest the GPU began with no cap holding the frame (the limiter waiting under 8%) now keeps the frame rate of the GPU-bound windows that began it. Ended - the GPU under 80% busy over six windows - with the frame 8% slower than that, it is taken as an experiment's clear answer: the pool works, and no GPU-bound rest and no probe come for 40 s, then 160, then 240 (a loading screen starts the place over). A rest that ran as fast - the frame the GPU's either way, as an APU's is - wakes as before and may rest again at once, a rest that stays GPU-bound goes on as before, and at a cap (the limiter waiting 8% or more) nothing changes. The duty's report counts the rests so judged. RTX 4070 under Linux, against c793c825, alternating runs (two each), uncapped: the Hunter's Dream 179.4 -> 208.5 fps (+16.3%, p99 8.05 -> 5.94 ms), Cainhurst's courtyard 125.3 -> 162.4 (+29.6%, p99 10.22 -> 7.47), its roof 158.8 -> 181.3 (+14.2%), each beyond the runs' spread, for 77-174 points more CPU there (the pool working); Central Yharnam, the Nightmare of Mensis, the Fishing Hamlet and Byrgenwerth's lake within the spread, the probes' rests kept. At a 120 cap the same frame rates and the process's CPU within the spread at all seven places; at 60 the same. RTX 3070 Ti Laptop GPU under Windows (the window closed), uncapped: every place of five stayed the GPU's resting (96-98% busy), the rests went on as before and the frame rates matched (-1.0..-0.2%); at 60 both rested at the cap throughout. A Steam Deck (its kit, 60 fps; the pool is off there) ran Old Yharnam, the Nightmare of Mensis and Central Yharnam as c793c825's kit did, alternating, without a fault. The Windows build keeps its profile but for the duty's own once-a-frame function. The rule's test drives the Dream's sequence, a rest that runs as fast, a rest at a cap and a loading screen. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/rendering.md | 14 ++++++++- src/host/gxvk_lists_pool.cpp | 17 ++++++++-- src/host/gxvk_rest.h | 55 ++++++++++++++++++++++++++++++--- tests/gxvk_rest_test.cpp | 60 +++++++++++++++++++++++++++++++++++- 4 files changed, 137 insertions(+), 9 deletions(-) diff --git a/docs/rendering.md b/docs/rendering.md index cfdd34e5..148de008 100644 --- a/docs/rendering.md +++ b/docs/rendering.md @@ -992,7 +992,19 @@ waiting 8-15%), where it used to work on for good, it tries a rest - the switch's 1.5 s, then 1-1.5 s counted - and keeps it where the cap holds the frame without it, else it works again and the next trial waits the cap's backoff), while the frame is the GPU's (busy 90% of two windows, until it is -under 80% over six), and wherever resting costs the frame nothing. That last is +under 80% over six), and wherever resting costs the frame nothing. With no cap +holding the frame, a rest the GPU began is judged by the frame when it ends: +resting 8% slower than the GPU-bound windows that began it, the pool's work was +what kept the frame the GPU's, and that is an experiment's clear answer - the +pool works, and no GPU-bound rest and no probe come for 40 s, then 160, then 240 +(a loading screen starts the place over; at a cap nothing changes). On the RTX +4070 below, uncapped, the Hunter's Dream ran 204-208 fps working with the GPU +91-95% busy and ~170 resting (the command processor the wall, the game held +back 70%), and Cainhurst's courtyard 166-170 and 106-113: the GPU's rest began +after two windows, ended after six and began again two later, ten times in +every 20 s, and the places ran 180-184 and 121-124 fps against 216 and 167 with +the pool never resting. A rest that runs as fast - an APU's frame, the GPU's +either way - is the GPU's as before. That last is measured at each place, both ways: 10 s after the pool began to work there, an experiment rests it for 5.5 s and lets it work for 5.5 s more, and compares the frame rate resting with the windows on either side of it; under 0.5% slower diff --git a/src/host/gxvk_lists_pool.cpp b/src/host/gxvk_lists_pool.cpp index c48266e3..ec558741 100644 --- a/src/host/gxvk_lists_pool.cpp +++ b/src/host/gxvk_lists_pool.cpp @@ -173,6 +173,7 @@ struct DutyCounts { // and the rests a loading screen ended. std::atomic by[gxvk_rest::kWhys] = {}; std::atomic probes{0}, asks{0}, held_asks{0}, decided_rest{0}, decided_work{0}, load_wakes{0}, quiet_asks{0}, trials_rested{0}; + std::atomic gpu_costs{0}; // GPU-bound rests that ran clearly slower than the frame that began them (gxvk_rest.h) }; DutyCounts g_pool_duty, g_run_duty; // BBHOST_GXVK_LISTS_REST_LOG=1: every window of the duty's rule logged, with the state it left the pool in. @@ -477,16 +478,17 @@ static_assert(sizeof(Snap) % sizeof(u64) == 0, "a snapshot of counters"); std::string duty_text(const DutyCounts& c, const char* who, bool resting_now) { const auto by = [&c](int k) { return static_cast(c.by[k].load(std::memory_order_relaxed)); }; const auto n = [](const std::atomic& a) { return static_cast(a.load(std::memory_order_relaxed)); }; - char buf[768]; + char buf[832]; std::snprintf(buf, sizeof(buf), "%s rested %llu times (at a frame cap %llu, GPU-bound %llu, an experiment's %llu, decided %llu, " "a trial near the cap %llu of which %llu rested on), " "%.1f s in the ended ones%s; experiments: %llu probes, %llu asks (%llu at a heavier place; %llu not made, the rest " - "holding the game back under 10%%), %llu decided it rests, %llu that it works; %llu rests ended at a loading screen", + "holding the game back under 10%%), %llu decided it rests, %llu that it works; %llu rests ended at a loading screen; " + "%llu GPU-bound rests ran 8%% slower than the frame that began them", who, n(c.rests), by(gxvk_rest::kWhyCap), by(gxvk_rest::kWhyGpu), by(gxvk_rest::kWhyProbe), by(gxvk_rest::kWhyJudged), by(gxvk_rest::kWhyNear), n(c.trials_rested), static_cast(c.rested_ns.load(std::memory_order_relaxed)) / 1e9, resting_now ? "; resting now" : "", n(c.probes), n(c.asks), n(c.held_asks), n(c.quiet_asks), n(c.decided_rest), - n(c.decided_work), n(c.load_wakes)); + n(c.decided_work), n(c.load_wakes), n(c.gpu_costs)); return buf; } @@ -851,6 +853,15 @@ void frame_paced(std::uint64_t wait_ns, float cap_fps, bool loading) { 100.0 * gxvk_rest::detail::median(state.trial_cp, state.trial_n), static_cast(state.backoff_ns / 1'000'000'000ull)); break; + case gxvk_rest::kEvGpuCost: + c.gpu_costs.fetch_add(1, std::memory_order_relaxed); + if (log) + host_log("%s: %s works again after %.1f s - resting ran %.1f fps against %.1f working before it (the command processor " + "busy %.0f%%, the game held back by it %.0f%%, the GPU busy %.0f%%): its work is what kept the frame the GPU's; no " + "GPU-bound rest here and the next probe in %.0f s", + tag, who, rested_s, state.gpu_cost_rest, state.gpu_cost_work, 100.0 * w.cp, 100.0 * w.held, 100.0 * w.gpu, + static_cast(state.interval_ns) / 1e9); + break; case gxvk_rest::kEvLoadWake: c.load_wakes.fetch_add(1, std::memory_order_relaxed); if (log) diff --git a/src/host/gxvk_rest.h b/src/host/gxvk_rest.h index 71eaafc9..425a9a27 100755 --- a/src/host/gxvk_rest.h +++ b/src/host/gxvk_rest.h @@ -118,7 +118,20 @@ // command processor's share ends it only with the GPU under 80% in its // window: on a Steam Deck at Old Yharnam, 88-97% from one window to the // next, the pool rested and woke four times in 20 s uncapped and five at 60 -// with a line at 90%. +// with a line at 90%. With no cap holding the frame (the limiter waiting +// under 8% as it began), the rest is judged by the frame when the GPU has +// room: resting 8% slower than the GPU-bound windows that began it, the +// frame was the GPU's only because the pool worked - resting, the command +// processor in order holds it back - and that is an experiment's clear +// answer: the next experiment four times as far, and no GPU-bound rest +// before it (a loading screen starts the place over). On an RTX 4070 with +// two Xeon Gold 6230, uncapped, the Hunter's Dream ran 204-208 fps working +// (the GPU 91-95% busy) and ~170 resting (the command processor 100%, the +// game held back 70%), Cainhurst's courtyard 166-170 and 106-113: the rest +// began after two windows, ended after six, and began again two windows +// later, ten times in every 20 s, and the places ran 180-184 and 121-124 +// fps against 216 and 167 with the pool never resting. A rest that ran as +// fast (an APU's, the frame the GPU's either way) is the GPU's as before. // - A loading screen: its windows are not the place's and count for nothing; // an experiment under way is dropped. The next place is one no experiment // has judged, so a rest an experiment decided or the GPU began ends with it @@ -177,6 +190,7 @@ enum Event : int { kEvNearTrial, // near the cap: a trial rest began kEvNearRests, // the trial: the cap holds the frame without the pool - a cap's rest goes on kEvNearWorks, // the trial: without the pool the frame does not keep its cap - the pool works again + kEvGpuCost, // a GPU-bound rest ended 8% slower than the frame that began it: the pool works, judged clearly (no cap) }; struct State { @@ -218,6 +232,15 @@ struct State { // Whether the frame rate's experiments decide (the pool's duty). Without them (the run commit's, list_resolve.h) // only a cap holding the frame or a GPU-bound frame rests it, and it works anywhere else, as it did before a duty. bool experiments = true; + // A GPU-bound rest judged by the frame (no cap holding it): the GPU-bound windows' frame rates working, the last + // kQuietWindows; the frame rate working the rest under way began from (0: none to judge it by - one begun at a cap, + // or a rest that became the GPU's); and no GPU-bound rest begins before gpu_allowed_at where no cap holds the frame + // (one that cost the frame puts it at the next experiment's time). For the lines: the last costly rest's frame rates. + double gpu_work[kQuietWindows] = {}; + int gpu_work_n = 0; + double gpu_ref = 0; + std::uint64_t gpu_allowed_at = 0; + double gpu_cost_rest = 0, gpu_cost_work = 0; }; // A window: the limiter's wait, the command processor's busy time, the main @@ -297,6 +320,7 @@ inline Step rest(State& s, Why why, std::uint64_t now) { s.why = why; s.rest_at = now; s.travelled = false; + s.gpu_ref = 0; own_again(s); return kRest; } @@ -398,6 +422,8 @@ inline Step step(State& s, const Window& w, std::uint64_t now) { s.rest_ref = 0; s.interval_ns = kProbeFirstNs; s.next_at = 0; + s.gpu_allowed_at = 0; + s.gpu_work_n = 0; no_experiment(s); if (!s.resting) return kStay; s.travelled = true; @@ -418,15 +444,21 @@ inline Step step(State& s, const Window& w, std::uint64_t now) { if (!s.resting) { s.quiet = capped ? s.quiet + 1 : 0; s.near = at_cap ? s.near + 1 : 0; + if (s.gpu_bound) keep(s.gpu_work, s.gpu_work_n, kQuietWindows, w.fps); + else s.gpu_work_n = 0; if (s.quiet >= kQuietWindows && now >= s.allowed_at) { no_experiment(s); s.event = kEvCapRest; return rest(s, kWhyCap, now); } - if (gpu_bound) { + // GPU-bound: a rest - where no cap holds the frame, not before the time a costly one set (the place's experiments + // run meanwhile); at a cap as ever. + if (gpu_bound && (limited || now >= s.gpu_allowed_at)) { no_experiment(s); s.event = kEvGpuRest; - return rest(s, kWhyGpu, now); + const Step r = rest(s, kWhyGpu, now); + if (!limited) s.gpu_ref = median(s.gpu_work, s.gpu_work_n); + return r; } if (at_cap) { // the cap's rule decides there: no experiment, and its windows are not the place's uncapped ones no_experiment(s); @@ -622,7 +654,22 @@ inline Step step(State& s, const Window& w, std::uint64_t now) { // A GPU-bound rest ends once the GPU has room - under 80% over the last six windows (on a Steam Deck at Old Yharnam, // busy 88-97% from one window to the next, the pool rested and woke four times in 20 s at 90%): the place's // experiments decide from there. - if (s.why == kWhyGpu) return median(s.rest_gpu, s.held_n) < kGpuFree ? cap_wake(s, now) : kStay; + if (s.why == kWhyGpu) { + if (median(s.rest_gpu, s.held_n) >= kGpuFree) return kStay; + // Judged by the frame (a rest begun with no cap holding the frame): resting kClear slower than the GPU-bound + // windows that began it, the pool's work was what kept the frame the GPU's - an experiment's clear answer: the + // pool works, the next experiment four times as far, and no GPU-bound rest before it. Else as ever. + const double ref = s.gpu_ref, rested = median(s.rest_fps, s.held_n); + if (ref > 0 && rested > 0 && rested < ref * (1.0 - kClear)) { + judged(s, now, true); + s.gpu_allowed_at = s.next_at; + s.gpu_cost_rest = rested; + s.gpu_cost_work = ref; + s.event = kEvGpuCost; + return work(s); + } + return cap_wake(s, now); + } // A rest at a cap the frame no longer comes near - under 85% of it over the last six windows (the median): the cap // holds nothing there, and the place's experiments decide from there (uncapped play after the title's menus had met // the 960 cap: v0.2.30 rested through the first places on that rest, as their game was not held back 20%). diff --git a/tests/gxvk_rest_test.cpp b/tests/gxvk_rest_test.cpp index b9e92162..0ae7a7cd 100755 --- a/tests/gxvk_rest_test.cpp +++ b/tests/gxvk_rest_test.cpp @@ -20,7 +20,10 @@ // anew (work, then rest again) after the interval, twice as far each time (20 // s to 240 s), and at once with the game held back 20% and the frame 5% // slower than it found it resting. GPU-bound (90%, two windows): a rest until -// the GPU's median of six windows is under 80%. A loading screen drops an +// the GPU's median of six windows is under 80% - and with no cap holding the +// frame, one that ran 8% slower than the GPU-bound windows that began it ends +// judged: the pool works, and no GPU-bound rest and no probe come for 40 s, then +// 160, then 240. A loading screen drops an // experiment, ends any rest but one at a cap, and starts the place's // experiments again 10 s after it. #include "host/gxvk_rest.h" @@ -731,6 +734,61 @@ int main() { check(step(s, openf(0.6, 90.0, 0.95), t += kWin) == kStay && step(s, openf(0.6, 90.0, 0.95), t += kWin) == kRest, "no rest GPU-bound again", 12); check(step(s, loading_window(), t += kWin) == kWake && !s.resting, "a GPU-bound rest kept across a loading screen", 13); } + // A GPU-bound rest judged by the frame, no cap holding it. The Hunter's Dream on an RTX 4070: 206 fps working, the GPU + // 93% busy; resting, the command processor the wall at ~170 fps, the GPU 75%, the game held back 70%. The rest ends + // after six windows judged - 8% slower: the pool works, and neither a GPU-bound rest nor a probe comes for 40 s (the + // first interval four times over), then 160 s, then 240; a rest that ran as fast (an APU's frame, the GPU's either + // way) wakes as before and may rest again at once; at a cap nothing waits; a loading screen starts the place over. + { + using gxvk_rest::kEvGpuCost; + using gxvk_rest::kProbeFirstNs; + using gxvk_rest::kWhyGpu; + State s; + check(step(s, openf(0.0, 206.0, 0.93), t += kWin) == kStay && step(s, openf(0.0, 206.0, 0.93), t += kWin) == kRest && + s.why == kWhyGpu && s.gpu_ref == 206.0, + "no GPU-bound rest at the Dream", 0); + for (int k = 0; k < 5; ++k) check(step(s, openf(0.70, 170.0, 0.75), t += kWin) == kStay && s.resting, "woken before six windows", k); + check(step(s, openf(0.70, 170.0, 0.75), t += kWin) == kWake && !s.resting && s.event == kEvGpuCost, "a GPU-bound rest 17% slower not judged", 1); + check(s.interval_ns == 4 * kProbeFirstNs && s.next_at == t + s.interval_ns && s.gpu_allowed_at == s.next_at && s.phase == gxvk_rest::kNoPhase, + "the judged rest's waits", 2); + const auto works_until = [&](std::uint64_t until, const char* what) { + for (int k = 0; t + kWin < until && k < 4000; ++k) check(step(s, openf(0.0, 206.0, 0.93), t += kWin) == kStay && !s.resting, what, k); + }; + works_until(s.gpu_allowed_at, "a rest within the first 40 s"); + check(step(s, openf(0.0, 206.0, 0.93), t += kWin) == kRest && s.why == kWhyGpu, "no GPU-bound rest once its time came", 3); + for (int k = 0; k < 6; ++k) step(s, openf(0.70, 170.0, 0.75), t += kWin); + check(!s.resting && s.event == kEvGpuCost && s.interval_ns == 16 * kProbeFirstNs && s.gpu_allowed_at == s.next_at, + "the second judged rest's waits (160 s)", 4); + works_until(s.gpu_allowed_at, "a rest within 160 s"); + check(step(s, openf(0.0, 206.0, 0.93), t += kWin) == kRest, "no GPU-bound rest after 160 s", 5); + for (int k = 0; k < 6; ++k) step(s, openf(0.70, 170.0, 0.75), t += kWin); + check(!s.resting && s.event == kEvGpuCost && s.interval_ns == gxvk_rest::kProbeMostNs, "the third judged rest's waits (240 s)", 6); + // At a cap (the limiter waiting 10%, the GPU 95%) a GPU-bound rest begins at once, whatever the wait set uncapped. + check(s.gpu_allowed_at > t + kWin, "no wait to test the cap against", 7); + check(step(s, win(0.10, 60.0f, 0.9, 0.0, 0.95), t += kWin) == kStay && step(s, win(0.10, 60.0f, 0.9, 0.0, 0.95), t += kWin) == kRest && + s.why == kWhyGpu && s.gpu_ref == 0.0, + "a GPU-bound rest at a cap held back by the uncapped wait", 8); + // A loading screen ends it and starts the place over: GPU-bound again uncapped, it rests at once. + check(step(s, loading_window(), t += kWin) == kWake && s.gpu_allowed_at == 0, "the wait kept across a loading screen", 9); + check(step(s, openf(0.0, 206.0, 0.93), t += kWin) == kStay && step(s, openf(0.0, 206.0, 0.93), t += kWin) == kRest, + "no GPU-bound rest after the loading screen", 10); + // A rest that ran as fast as it began (7.9% slower, 100 fps against 108.6 is not 8%): as before - the GPU's wake, the + // interval as it was, and a rest again at once. + State a; + check(step(a, openf(0.0, 108.6, 0.95), t += kWin) == kStay && step(a, openf(0.0, 108.6, 0.95), t += kWin) == kRest, "no rest (APU)", 11); + for (int k = 0; k < 6; ++k) step(a, openf(0.0, 100.0, 0.7), t += kWin); + check(!a.resting && a.event == gxvk_rest::kEvCapWake && a.interval_ns == kProbeFirstNs && a.gpu_allowed_at == 0, "an APU's rest judged", 12); + check(step(a, openf(0.0, 108.6, 0.95), t += kWin) == kStay && step(a, openf(0.0, 108.6, 0.95), t += kWin) == kRest, "no rest again (APU)", 13); + // A probe's rest that became the GPU's has nothing to be judged by: it wakes as before. + Sim pr; + const Place busy{105.0, 104.0}; + for (int k = 0; k < 200 && !pr.s.resting; ++k) pr.one(busy); + check(pr.s.resting && pr.s.why == gxvk_rest::kWhyProbe, "no probe at the place", 14); + for (int k = 0; k < 4; ++k) step(pr.s, openf(0.0, 104.0, 0.95), pr.t += kWin); + check(pr.s.resting && pr.s.why == kWhyGpu && pr.s.gpu_ref == 0.0, "a probe's rest not the GPU's", 15); + for (int k = 0; k < 6; ++k) step(pr.s, openf(0.0, 80.0, 0.6), pr.t += kWin); + check(!pr.s.resting && pr.s.event == gxvk_rest::kEvCapWake, "a probe's rest turned GPU-bound judged", 16); + } // Uncapped the game held back alone wakes nothing and rests nothing: the frame rate decides (the sewer pit: the command // processor 92% busy with the homes alone, the game held back 1.4%; the laptop: 84% either way). { From 33cf3ef8ed6afafc1995bf404f757cd8f032de3e Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 04:42:22 -0800 Subject: [PATCH 028/100] list-resolve: a run's later draws take its publication and its vertex records' buffer extent from the lookup before, while what that lookup was made of is unchanged The command processor's in-order draws repeat two lookups within a run. With the pool's segments on, each batched draw asks publish_run_targets_locked to publish its run's targets for the pool's draws: names_of builds a zeroed GpuDrawInputs, the names are hashed, the set searched, and the way already holds them (0.10-0.24 ms a flip on an RTX 4070 with two Xeon Gold 6230). And each vertex record whose extent decides something asks gx_buffer_end for the end of the GX buffer it starts in: the registry's lock - the one the game's Maps and the GX threads' constant-buffer checks take - and its map walk (0.10-0.34 ms a flip), mostly in the buffer the lookup before found. The run's targets now carry a version that run_targets moves whenever it refills or drops them. While it stays, the way the last call took keeps its sequence, the erase generation is the one it was published or found at and the publication is no older than kRtPubAge / 2 flips, the call returns at once - the condition under which it returned before, on the same values. The registry moves a shape generation under its lock right after each change of its memory index, its holders, or an entry's memory, size, type or liveness, before anything in the change that could release (an erased node is freed after the move). gx_buffer_end keeps each thread's last answer with the addresses that answer the same and answers from it while the generation, read with acquire, is the one read with it: a thread that has synchronised with a change reads the moved generation and looks up under the lock. BBHOST_RUN_LOOKUPS=0 looks both up every time; =compare looks every memo answer up as before, returns that, and counts and logs the differences. Compared, none of 123 million memo answers differed: on the RTX at the 16 places uncapped and at four held to a 4 GB card's 2,950 MiB (the memo answered 50% of 40.9 million publications and 94% of 60.6 million extents), on an RTX 3070 Ti Laptop GPU under Windows (the homes on; then the run commit on, its workers resolving 73% of the draws) and under lavapipe at 12 places (the homes off and on). A Steam Deck asks neither lookup. ThreadSanitizer under lavapipe, the homes and the run commit on, found nothing in the memos or the generation. RTX 4070 under Linux, against ea81c02e, alternating runs (two each), uncapped: Old Yharnam 161.0 -> 166.1 fps (+3.1%, p99 7.76 -> 7.46 ms), the Nightmare of Mensis 140.3 -> 144.9 (+3.3%), the sewer pit 152.3 -> 156.3 (+2.6%), each beyond the runs' spread, the process's CPU the same; the command processor 0.12-0.26 ms a flip shorter and the main loop 0.17-0.23 ms a frame. Held to 2,950 MiB (no pool: the extent alone) the four places within the spread. At a 120 cap with the pool kept working the frame held its cap in both and the process's CPU was 5-15 points lower at five places (the Hunter's Dream 342 -> 327, beyond the spread); at 60 the same frame rates, frame times and CPU. The static title's frames are the same in both, and the places' frames within the runs' own differences. RTX 3070 Ti Laptop GPU under Windows (the window closed), uncapped: GPU-bound with the pool resting, every place within the spread; at 60 the same. A Steam Deck's kit at 60, alternating: the same frame rates (OY 59.8/59.9, Mensis 55.9/56.3, CY 59.9/59.9) and CPU, no fault. The Windows build keeps draw_impl's profile; gx_buffer_end, publish_run_targets_locked and three of the registry's functions lose theirs. The test drives a model of the registry and of the publication's slots against both lookups as they were, with fourteen mistakes each caught. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 4 + docs/list-resolve.md | 42 ++++ src/engine/gx_resources.cpp | 138 +++++++++-- src/host/list_resolve.cpp | 14 ++ src/host/render.cpp | 115 +++++++-- src/host/run_lookups.h | 154 ++++++++++++ tests/run_lookups_test.cpp | 459 ++++++++++++++++++++++++++++++++++++ 7 files changed, 890 insertions(+), 36 deletions(-) create mode 100644 src/host/run_lookups.h create mode 100644 tests/run_lookups_test.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index d9bbdafb..c08903b8 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1038,6 +1038,10 @@ if(UNIX) add_executable(vertex_clamp_test tests/vertex_clamp_test.cpp) target_include_directories(vertex_clamp_test PRIVATE src) add_test(NAME vertex_clamp_test COMMAND vertex_clamp_test) + # The run's lookups answered from the last one while what it was made of is unchanged, with their mistakes (host/run_lookups.h). + add_executable(run_lookups_test tests/run_lookups_test.cpp) + target_include_directories(run_lookups_test PRIVATE src) + add_test(NAME run_lookups_test COMMAND run_lookups_test) # The render targets' sizes learned by their geometry, and the rule by the address alone failing (host/rt_extent.h). add_executable(rt_extent_test tests/rt_extent_test.cpp) target_include_directories(rt_extent_test PRIVATE src) diff --git a/docs/list-resolve.md b/docs/list-resolve.md index daae9e0f..561376f4 100644 --- a/docs/list-resolve.md +++ b/docs/list-resolve.md @@ -449,6 +449,45 @@ hand-offs - every time another thread takes it while the command processor works costs one wake either way - and the vblank's flip waiter, which takes it some 2,000 times a second, would wait a run each time. +## The run's lookups (`BBHOST_RUN_LOOKUPS`) + +Two lookups the command processor repeats for the in-order draws of a run give +the same answer through the run (`src/host/run_lookups.h`): + +- **The run's publication.** With the pool's segments on, every batched + in-order draw asks `publish_run_targets_locked` to publish its run's targets + for the pool's draws: `names_of` builds a zeroed `GpuDrawInputs` from the + run's lookups, the names are hashed and the set's ways searched - and the way + already holds them. The run's answers (`RunTargets`) carry a version that + `run_targets` moves whenever it refills or drops them. While it stays, the + way the last call took keeps its sequence (only the command processor writes + a way, each write moving it, and one way of a set holds a run's names at + most), the erase generation is the one it was published or found at, and the + publication is no older than `kRtPubAge / 2` flips, the call returns at once: + the condition the full call checks, on the same values. +- **The GX buffer's extent.** Each vertex record whose extent decides something + (the buffer shadow, staging, the race census) asks `gx_buffer_end` for the + end of the GX buffer it starts in: the registry's lock, which every GX Map + takes, and its map walk. The answer is a function of the registry's shape - + its memory index, its holders, and each entry's memory, size, type and + liveness - and is the same over an interval of addresses. Each thread keeps + its last answer with that interval and the shape's generation, which the + registry moves under its lock right after each change of the shape, before + anything in the change that could release a lock or free memory (an erased + node is freed after the move). A thread that has synchronised with a change + reads the moved generation and looks up under the lock. + +`BBHOST_RUN_LOOKUPS=0` looks both up every time; `=compare` looks every memo +answer up as before, returns that, and counts and logs the differences (the +exit report's `run-lookups:` lines). On an RTX 4070 (the 16 places uncapped, +and Old Yharnam, the Nightmare of Mensis, Central Yharnam and Cainhurst's +courtyard held to a 4 GB card's 2,950 MiB) the memo answered 50% of 40.9 +million publications and 94% of 60.6 million extents. Compared there, on an +RTX 3070 Ti Laptop GPU under Windows (the homes on; then the run commit on, +its workers resolving 73% of the draws) and under lavapipe at the 12 places +(the homes off and on), none of 123 million memo answers differed. A Steam +Deck asks neither lookup (no pool, no buffer shadow, no staging). + ## The draw's own context (`BBHOST_DRAW_CONTEXT`) The first step of committing per run: what a draw allocates, taken through an @@ -733,6 +772,9 @@ on the live save), 182.4 and 177.4 off against 182.0 and 184.5, and 200.9 on. tracking (`list_resolve::run_serial`, which the per-run commit will start from). On by default (since 2026-11-11; before, only with the run commit - Windows' default - and the constant buffers' homes); `=0` off. +- `BBHOST_RUN_LOOKUPS=0|compare`: the run's lookups above - the publication and + the GX buffer's extent answered from the lookup before. On by default; `=0` + looks both up every time. - `BBHOST_DRAW_CONTEXT=chunks|compare`: the draw's own context above, with its census and checks. Off by default. - `BBHOST_RUN_COMMIT=fork|on|compare` (`BBHOST_RUN_COMMIT_THREADS`, diff --git a/src/engine/gx_resources.cpp b/src/engine/gx_resources.cpp index 10072df3..15e84984 100644 --- a/src/engine/gx_resources.cpp +++ b/src/engine/gx_resources.cpp @@ -50,6 +50,7 @@ #include "host/gxvk.h" #include "host/gxvk_homes.h" #include "host/rt_extent.h" +#include "host/run_lookups.h" #include "log.h" #if !defined(_WIN32) @@ -257,7 +258,14 @@ std::uint64_t g_slide = 0; std::mutex g_mu; std::unordered_map g_by_holder; // under g_mu std::map g_by_memory; // memory base -> holder, live entries only -std::atomic g_write_seq{1}; +// The registry's shape (host/run_lookups.h): its memory index, its holders, +// and each entry's memory, size, type and liveness - what gx_buffer_end's +// answer is made of. Moved under g_mu after each change of it, before anything +// else in that change (run_lookups' helpers), with release order; read with +// acquire. A line of its own: every vertex record whose extent is asked reads +// it, and the counters beside the maps are written at every Map and lookup. +alignas(64) std::atomic g_shape_gen{1}; +alignas(64) std::atomic g_write_seq{1}; std::atomic g_gen_next{1}; // GxResourceInfo::gen // Counters. @@ -571,8 +579,9 @@ void register_entry(std::uint64_t key, Entry& e) { if (auto old = g_by_holder.find(key); old != g_by_holder.end()) { // The holder's address reused before its destructor was seen. g_replaced_holder.fetch_add(1, std::memory_order_relaxed); - if (auto m = g_by_memory.find(old->second.info.memory); m != g_by_memory.end() && m->second == key) g_by_memory.erase(m); - g_by_holder.erase(old); + if (auto m = g_by_memory.find(old->second.info.memory); m != g_by_memory.end() && m->second == key) + run_lookups::erase_moved(g_by_memory, m, g_shape_gen); + run_lookups::erase_moved(g_by_holder, old, g_shape_gen); } if (e.info.memory && e.info.bytes) { // The census: live resources the new one's memory overlaps other than @@ -613,11 +622,11 @@ void register_entry(std::uint64_t key, Entry& e) { static_cast(old != g_by_holder.end() ? old->second.created_flip : 0), static_cast(m->second)); } if (const auto old = g_by_holder.find(m->second); old != g_by_holder.end() && old->second.info.type == 1) gxvk::buffer_replaced(m->second); - if (old_holder_alive(m->second)) g_by_holder.erase(m->second); + if (old_holder_alive(m->second)) run_lookups::erase_moved(g_by_holder, g_by_holder.find(m->second), g_shape_gen); } - g_by_memory[e.info.memory] = key; + run_lookups::set_moved(g_by_memory, e.info.memory, key, g_shape_gen); } - g_by_holder.emplace(key, e); + run_lookups::emplace_moved(g_by_holder, key, e, g_shape_gen); const std::uint64_t live = g_by_memory.size(); if (live > g_peak_live.load(std::memory_order_relaxed)) g_peak_live.store(live, std::memory_order_relaxed); // A resource made: with data, its creator copied the data in before @@ -747,8 +756,9 @@ void unregister_holder(std::uint64_t holder) { buffer_bytes = it->second.info.bytes; buffer_gen = it->second.info.gen; } - if (auto m = g_by_memory.find(it->second.info.memory); m != g_by_memory.end() && m->second == holder) g_by_memory.erase(m); - g_by_holder.erase(it); + if (auto m = g_by_memory.find(it->second.info.memory); m != g_by_memory.end() && m->second == holder) + run_lookups::erase_moved(g_by_memory, m, g_shape_gen); + run_lookups::erase_moved(g_by_holder, it, g_shape_gen); g_last_copy.erase(holder); } retire_memory(memory, bytes, gen); @@ -796,9 +806,11 @@ void note_map(std::uint64_t holder, std::uint64_t type, std::uint64_t mapped_out moved_from = e.info.memory; moved_bytes = e.info.bytes; } - if (auto m = g_by_memory.find(e.info.memory); m != g_by_memory.end() && m->second == holder) g_by_memory.erase(m); + if (auto m = g_by_memory.find(e.info.memory); m != g_by_memory.end() && m->second == holder) + run_lookups::erase_moved(g_by_memory, m, g_shape_gen); e.info.memory = memory; - g_by_memory[memory] = holder; + run_lookups::shape_moved(g_shape_gen); + run_lookups::set_moved(g_by_memory, memory, holder, g_shape_gen); } if (e.info.type >= 2 && e.info.type <= 4) { texture_memory = e.info.memory; @@ -1120,9 +1132,11 @@ void yebis_written(std::uint64_t object, bool after_map = false, bool tell_cache Entry& e = it->second; if (now && now != e.info.memory) { g_map_moved.fetch_add(1, std::memory_order_relaxed); - if (auto m = g_by_memory.find(e.info.memory); m != g_by_memory.end() && m->second == key) g_by_memory.erase(m); + if (auto m = g_by_memory.find(e.info.memory); m != g_by_memory.end() && m->second == key) + run_lookups::erase_moved(g_by_memory, m, g_shape_gen); e.info.memory = now; - g_by_memory[now] = key; + run_lookups::shape_moved(g_shape_gen); + run_lookups::set_moved(g_by_memory, now, key, g_shape_gen); e.yebis_flip = ~0ull; // (its object read again on the new memory) } memory = e.info.memory; @@ -2001,8 +2015,12 @@ void gx_resources_memory_released(std::uint64_t va, std::size_t len) { if (g_by_memory.empty()) return; for (auto it = g_by_memory.lower_bound(va); it != g_by_memory.end() && it->first < va + len;) { auto h = g_by_holder.find(it->second); - if (h != g_by_holder.end()) h->second.info.alive = false; // the holder may still be destroyed later - it = g_by_memory.erase(it); + if (h != g_by_holder.end()) { + h->second.info.alive = false; // the holder may still be destroyed later + run_lookups::shape_moved(g_shape_gen); + } + const auto here = it++; + run_lookups::erase_moved(g_by_memory, here, g_shape_gen); ++n; } } @@ -2036,15 +2054,81 @@ bool gx_resource_at(std::uint64_t va, std::size_t bytes, GxResourceInfo* out) { return true; } +namespace { +// gx_buffer_end's memo (BBHOST_RUN_LOOKUPS, host/run_lookups.h): this thread's +// last answer, the addresses that answer the same, and the shape's generation +// it was worked out at - under g_mu, the generation read there, where no move +// can come between the lookup and the read (every move is made under g_mu). +// +// A hit answers without the lock. It cannot answer older than a change of the +// registry the calling thread has synchronised with: each change is followed +// at once by a release move of g_shape_gen, before anything in its change that +// could release a lock or free memory (run_lookups' helpers: an erased node +// is freed after the move). Whatever the thread synchronised with the change +// through - g_mu, another lock, an atomic, the submission that brought it the +// draw - was released after the change in the changing thread, so after the +// move: the move happens before the thread's acquire load of the generation, +// which then reads that move's value or a later one (coherence), never the +// generation of a memo made before the change (a memo's generation is read +// under g_mu, and every change after it moves the generation on). Such a +// lookup misses and takes the lock. A change the thread has not synchronised +// with is one its lookup may come before, which is what a hit answers. Each +// thread's memo is its own; BBHOST_RUN_LOOKUPS=compare looks every hit up +// under the lock as well and counts the differences. +thread_local run_lookups::ExtentMemo t_extent_memo; +// Lookups and memo answers on this thread, added to the totals every 256 +// lookups (a shared counter at every lookup would be a line the command +// processor and the run commit's workers pass between them); compare mode's +// checks, differences, and checks a change of the shape came between (the +// memo's shape gone: not comparable), counted as made. +struct ExtentCounts { + std::uint64_t asked = 0, hits = 0; +}; +thread_local ExtentCounts t_extent_counts; +std::atomic g_extent_asked{0}, g_extent_hits{0}, g_extent_checked{0}, g_extent_differed{0}, g_extent_raced{0}; +std::atomic g_extent_logs{0}; +const GxResourceInfo* resource_of_key(std::uint64_t key) { + const auto h = g_by_holder.find(key); + return h == g_by_holder.end() ? nullptr : &h->second.info; +} +} // namespace + std::uint64_t gx_buffer_end(std::uint64_t va) { + const int mode = run_lookups::g_mode; + ExtentCounts& c = t_extent_counts; + if ((++c.asked & 255) == 0) { + g_extent_asked.fetch_add(256, std::memory_order_relaxed); + g_extent_hits.fetch_add(c.hits, std::memory_order_relaxed); + c.hits = 0; + } + run_lookups::ExtentMemo& memo = t_extent_memo; + const bool hit = mode && run_lookups::extent_hit(memo, g_shape_gen.load(std::memory_order_acquire), va); + if (hit) { + ++c.hits; + if (mode == 1) return memo.end; + } std::lock_guard lk(g_mu); - auto it = g_by_memory.upper_bound(va); - if (it == g_by_memory.begin()) return 0; - --it; - const auto h = g_by_holder.find(it->second); - if (h == g_by_holder.end() || !h->second.info.alive || h->second.info.type != 1) return 0; - const GxResourceInfo& r = h->second.info; - return va < r.memory + r.bytes ? r.memory + r.bytes : 0; + run_lookups::ExtentMemo m; + const std::uint64_t end = run_lookups::extent_lookup(g_by_memory, resource_of_key, va, &m); + m.gen = g_shape_gen.load(std::memory_order_relaxed); + if (hit) { // compare: the memo's answer against the lookup's, the shape the same + g_extent_checked.fetch_add(1, std::memory_order_relaxed); + if (m.gen != memo.gen) { + g_extent_raced.fetch_add(1, std::memory_order_relaxed); + } else if (end != memo.end) { + g_extent_differed.fetch_add(1, std::memory_order_relaxed); + if (g_extent_logs.fetch_add(1, std::memory_order_relaxed) < 8) { + host_log("run-lookups: compare: the GX buffer extent at 0x%llx: the memo answered 0x%llx ([0x%llx, 0x%llx) at shape %llu), " + "the lookup 0x%llx ([0x%llx, 0x%llx)) at flip %llu", + static_cast(va), static_cast(memo.end), static_cast(memo.lo), + static_cast(memo.hi), static_cast(memo.gen), static_cast(end), + static_cast(m.lo), static_cast(m.hi), + static_cast(hle_video_flip_count())); + } + } + } + if (mode) memo = m; + return end; } bool gx_buffers_cover(std::uint64_t va, std::uint64_t bytes) { @@ -2185,6 +2269,18 @@ bool gx_resource_newer_overlapping(std::uint64_t va, std::size_t bytes, std::uin } void gx_resources_report() { + { + const unsigned long long asked = g_extent_asked.load(), hits = g_extent_hits.load(); + if (asked || run_lookups::compare()) { + std::string compared; + if (run_lookups::compare()) + compared = "; compare: memo answers checked " + std::to_string(g_extent_checked.load()) + ", differed " + + std::to_string(g_extent_differed.load()) + ", a change of the registry between " + std::to_string(g_extent_raced.load()); + host_log("run-lookups: GX buffer extents (%s): %llu asked (whole 256s a thread), %llu answered by the memo (%.1f%%)%s", + run_lookups::compare() ? "compare" : run_lookups::on() ? "on" : "off", asked, hits, + asked ? 100.0 * static_cast(hits) / static_cast(asked) : 0.0, compared.c_str()); + } + } if (!g_gx_res_after_thunk) return; std::size_t live = 0; { diff --git a/src/host/list_resolve.cpp b/src/host/list_resolve.cpp index a995e176..539cde25 100644 --- a/src/host/list_resolve.cpp +++ b/src/host/list_resolve.cpp @@ -8,6 +8,7 @@ #include "hle/modules.h" #include "host/gpu.h" #include "host/gxvk_lists.h" +#include "host/run_lookups.h" #include "log.h" #include @@ -93,6 +94,19 @@ std::atomic g_batch = [] { return std::atoi(e) ? 1 : 0; }(); +} // namespace list_resolve + +// BBHOST_RUN_LOOKUPS (host/run_lookups.h): 1 on (unset), 0 or off, 2 compare. +const int run_lookups::g_mode = [] { + const char* e = std::getenv("BBHOST_RUN_LOOKUPS"); + if (!e || !*e) return 1; + if (std::strcmp(e, "compare") == 0) return 2; + if (std::strcmp(e, "off") == 0) return 0; + return std::atoi(e) ? 1 : 0; +}(); + +namespace list_resolve { + const int g_draw_ctx = [] { const char* e = std::getenv("BBHOST_DRAW_CONTEXT"); if (!e || !*e) return 0; diff --git a/src/host/render.cpp b/src/host/render.cpp index 07913104..b8cf7990 100644 --- a/src/host/render.cpp +++ b/src/host/render.cpp @@ -32,6 +32,7 @@ #include "host/lvp_split.h" #include "host/masked_blend.h" #include "host/rt_extent.h" +#include "host/run_lookups.h" #include "host/shader_bundles.h" #include "host/vertex_clamp.h" #include "host/shader_overrides.h" @@ -93,6 +94,8 @@ namespace { bool hs_constant_factors(const gcn::Program& p, float out[6]); } // namespace +void publish_memo_report(); // BBHOST_RUN_LOOKUPS: the run's publications (below, beside publish_run_targets_locked) + namespace gpu { // What a draw resolved, as its digest (RunDigest) keeps it: the run commit's // compare mode, and stage 4b.1b's (BBHOST_GXVK_LISTS=splice-compare). @@ -14591,6 +14594,7 @@ std::atomic g_onepass_faced{0}, g_onepass_unfaced{0}; void render_report() { cross_vendor_report(); + ::publish_memo_report(); if (const std::uint64_t n = g_onepass_faced.load() + g_onepass_unfaced.load()) host_log("render: OnePass cube shadows: %llu caster draws given their six faces, %llu without a light block found (of %llu)", static_cast(g_onepass_faced.load()), static_cast(g_onepass_unfaced.load()), @@ -23074,6 +23078,9 @@ void take_target_inputs(const GpuDrawInputs& in, TargetInputs& k) { // The draw before's answers on this command-processor thread. struct RunTargets { bool valid = false; + // Moved by run_targets whenever it refills or drops the answers (not when a + // draw takes them): publish_run_targets_locked's memo holds while it stays. + std::uint64_t version = 0; std::uint64_t serial = 0, acquires = 0, rt_gen = 0, htile_gen = 0; std::uint64_t pending_gen = 0; // g_pending_gen at its lookups (BBHOST_RUN_COMMIT's fork checks it) TargetInputs in{}; @@ -23518,8 +23525,10 @@ void run_targets(const GpuDraw& d, const GpuDrawInputs& in, DrawState& s, std::u } if (why == kBatchMissKind) { m.valid = false; + ++m.version; return; } + ++m.version; m.valid = true; m.serial = serial; m.acquires = mu_taken; @@ -28783,11 +28792,46 @@ void pass_restart_locked(VkRenderingFlags flags); } // namespace +namespace { +// publish_run_targets_locked's memo (BBHOST_RUN_LOOKUPS, host/run_lookups.h): +// the call before on this thread - its run's version, the way that holds the +// run's names, and that way's sequence, erase generation and flip after it. +thread_local run_lookups::PubMemo t_pub_memo; +// Calls and memo answers; compare mode's checks, differences, and checks whose +// two looks at the flip count fell on either side of a flip (the publication's +// age, judged at two moments: not comparable). The command processor's, under +// g.mu. +struct PubMemoCounts { + std::atomic calls{0}, hits{0}, checked{0}, differed{0}, flipped{0}; +}; +PubMemoCounts g_pub_memo; +void pub_memo_bump(std::atomic& a) { a.store(a.load(std::memory_order_relaxed) + 1, std::memory_order_relaxed); } +} // namespace + // The command processor, under g.mu: a run's first draw just looked its // targets up (t_run_targets): published for the pool's draws with the same -// names, unless the slot already holds them. +// names, unless the slot already holds them. The run's later draws ask again +// for the same: while the run's answers (their version), the way's sequence, +// the erase generation and the publication's age say the slot still holds +// them, the memo returns before the names are worked out (run_lookups::pub_hit +// says why that is the call's own answer). void publish_run_targets_locked(const RunTargets& m) { if (!m.valid) return; + const int mode = run_lookups::g_mode; + run_lookups::PubMemo& memo = t_pub_memo; + const std::uint64_t erase_gen = g_rt_erase_gen.load(std::memory_order_acquire); + bool hit = false; + std::uint64_t memo_flip = 0; + if (mode) { + pub_memo_bump(g_pub_memo.calls); + memo_flip = hle_video_flip_count(); + const std::uint64_t seq_now = memo.slot ? static_cast(memo.slot)->seq.load(std::memory_order_relaxed) : 0; + hit = run_lookups::pub_hit(memo, &m, m.version, seq_now, erase_gen, memo_flip, kRtPubAge); + if (hit) { + pub_memo_bump(g_pub_memo.hits); + if (mode == 1) return; + } + } std::uint32_t n[kTargetNames]; names_of(m, n); // The way that holds these names, else the one published longer ago (an empty one first). (The command @@ -28806,20 +28850,61 @@ void publish_run_targets_locked(const RunTargets& m) { } } PubTargets& p = *way; - const std::uint64_t erase_gen = g_rt_erase_gen.load(std::memory_order_acquire); - if (p.seq.load(std::memory_order_relaxed) && p.erase_gen == erase_gen && p.flip + kRtPubAge / 2 >= hle_video_flip_count() && - std::memcmp(p.names, n, sizeof(n)) == 0 && - std::memcmp(p.m.out.looked, m.out.looked, sizeof(m.out.looked)) == 0 && p.m.out.reached == m.out.reached) - return; - const std::uint64_t s = p.seq.load(std::memory_order_relaxed); - p.seq.store(s + 1, std::memory_order_relaxed); - std::atomic_thread_fence(std::memory_order_release); - std::memcpy(p.names, n, sizeof(n)); - p.m = m; - p.erase_gen = erase_gen; - p.flip = hle_video_flip_count(); - p.seq.store(s + 2, std::memory_order_release); - g_pub_writes.fetch_add(1, std::memory_order_relaxed); + // The way holds these names and lookups, published at this erase generation at most kRtPubAge / 2 flips ago. + const auto holds = [&](std::uint64_t flip_now) { + return p.seq.load(std::memory_order_relaxed) && p.erase_gen == erase_gen && p.flip + kRtPubAge / 2 >= flip_now && + std::memcmp(p.names, n, sizeof(n)) == 0 && std::memcmp(p.m.out.looked, m.out.looked, sizeof(m.out.looked)) == 0 && + p.m.out.reached == m.out.reached; + }; + const bool kept = holds(hle_video_flip_count()); + if (hit) { // compare: the memo returned; the call must have + pub_memo_bump(g_pub_memo.checked); + if (!kept && holds(memo_flip)) { + pub_memo_bump(g_pub_memo.flipped); + } else if (!kept) { + pub_memo_bump(g_pub_memo.differed); + static int logs = 0; // under g.mu + if (logs++ < 8) { + host_log("run-lookups: compare: the run's publication at flip %llu: the memo returned, the call publishes - the way %s the " + "memo's (sequence %llu, memo %llu), names %s, lookups %s, erase generation %llu (the way's %llu, memo %llu), the " + "way's flip %llu (memo %llu), the run's version %llu (memo %llu)", + static_cast(memo_flip), &p == memo.slot ? "is" : "is not", + static_cast(p.seq.load(std::memory_order_relaxed)), static_cast(memo.seq), + std::memcmp(p.names, n, sizeof(n)) == 0 ? "the same" : "differ", + std::memcmp(p.m.out.looked, m.out.looked, sizeof(m.out.looked)) == 0 && p.m.out.reached == m.out.reached ? "the same" + : "differ", + static_cast(erase_gen), static_cast(p.erase_gen), + static_cast(memo.erase_gen), static_cast(p.flip), + static_cast(memo.flip), static_cast(m.version), + static_cast(memo.version)); + } + } + } + if (!kept) { + const std::uint64_t s = p.seq.load(std::memory_order_relaxed); + p.seq.store(s + 1, std::memory_order_relaxed); + std::atomic_thread_fence(std::memory_order_release); + std::memcpy(p.names, n, sizeof(n)); + p.m = m; + p.erase_gen = erase_gen; + p.flip = hle_video_flip_count(); + p.seq.store(s + 2, std::memory_order_release); + g_pub_writes.fetch_add(1, std::memory_order_relaxed); + } + if (mode) memo = run_lookups::PubMemo{&m, m.version, &p, p.seq.load(std::memory_order_relaxed), p.erase_gen, p.flip}; +} + +// The exit report's line (render_report). +void publish_memo_report() { + const unsigned long long calls = g_pub_memo.calls.load(), hits = g_pub_memo.hits.load(); + if (!calls && !run_lookups::compare()) return; + std::string compared; + if (run_lookups::compare()) + compared = "; compare: memo answers checked " + std::to_string(g_pub_memo.checked.load()) + ", differed " + + std::to_string(g_pub_memo.differed.load()) + ", a flip between the two looks " + std::to_string(g_pub_memo.flipped.load()); + host_log("run-lookups: run target publications (%s): %llu calls, %llu answered by the memo (%.1f%%)%s", + run_lookups::compare() ? "compare" : "on", calls, hits, calls ? 100.0 * static_cast(hits) / static_cast(calls) : 0.0, + compared.c_str()); } namespace { diff --git a/src/host/run_lookups.h b/src/host/run_lookups.h new file mode 100644 index 00000000..3ff73af0 --- /dev/null +++ b/src/host/run_lookups.h @@ -0,0 +1,154 @@ +// Two lookups the command processor's in-order draws repeat within a run of +// draws, answered from the last one while what that answer was made of is +// unchanged (BBHOST_RUN_LOOKUPS): +// - the run's targets published for the pool's draws (render.cpp +// publish_run_targets_locked): a draw of the run asks again what its run's +// first draw published, and the slot already holds it - names_of, the +// names' hash and the slot's checks every time, for the same answer; +// - the extent of the GX buffer a vertex record starts in +// (engine/gx_resources.cpp gx_buffer_end): the registry's lock, shared with +// every GX Map, and its map walk for each record whose extent is asked, +// 73-92% of them in the buffer the lookup before found. +// BBHOST_RUN_LOOKUPS: 1 on (unset), 0 off (both looked up every time, as +// before), 2 (`compare`) every answer worked out as before and returned, and +// each one the memo would have given checked against it - the differences +// counted and logged (the exit report's run-lookups lines). Pure below; +// tests/run_lookups_test.cpp drives both with their mistakes. +#pragma once + +#include +#include +#include + +#ifdef RUN_LOOKUPS_MUTANTS +extern int g_run_lookups_mutant; +#define RUN_LOOKUPS_MUTANT(n) (g_run_lookups_mutant == (n)) +#else +#define RUN_LOOKUPS_MUTANT(n) false +#endif + +namespace run_lookups { + +// BBHOST_RUN_LOOKUPS (host/list_resolve.cpp reads it at the start). +extern const int g_mode; +inline bool on() { return g_mode != 0; } +inline bool compare() { return g_mode == 2; } + +// ---- The run's publication ------------------------------------------------- +// +// publish_run_targets_locked(m) returns without writing when the way of the +// names' set that holds m's names was published at the erase generation now, +// at most kRtPubAge / 2 flips ago, with m's lookups (looked, reached). After +// any call the slot it took holds m's names and lookups at that generation +// (published then, or found so). So while m is unchanged - its version, which +// run_targets moves whenever it refills or drops the answers - and the slot's +// sequence is the one it had after that call (only the command processor +// writes a slot, every write moving its sequence; one way of a set holds a +// set of names at most, so the search finds this slot again), the call would +// find the same slot holding the same names and lookups: it returns at once +// when the generation is the remembered one and the publication still that +// young - the condition the full call checks, on the same values. +struct PubMemo { + const void* run = nullptr; // the RunTargets it was made for (the thread's own) + std::uint64_t version = 0; // its version then + const void* slot = nullptr; // the way that holds its names + std::uint64_t seq = 0; // that way's sequence after the call + std::uint64_t erase_gen = 0, flip = 0; // the way's erase generation and flip after the call +}; +// Whether the call for `run` (at `version`) returns as the full one would: +// `seq_now` is the remembered way's sequence now. +inline bool pub_hit(const PubMemo& m, const void* run, std::uint64_t version, std::uint64_t seq_now, std::uint64_t erase_gen_now, + std::uint64_t flip_now, std::uint64_t age) { + if (!m.slot || m.run != run) return false; + if (m.version != version && !RUN_LOOKUPS_MUTANT(1)) return false; // the run's answers changed + if (m.seq != seq_now && !RUN_LOOKUPS_MUTANT(2)) return false; // the way written since + if (m.erase_gen != erase_gen_now && !RUN_LOOKUPS_MUTANT(3)) return false; // a target let go since + if (RUN_LOOKUPS_MUTANT(4)) return true; // (the age not checked) + if (RUN_LOOKUPS_MUTANT(5)) return m.flip + age >= flip_now; // (the publication's whole age) + return m.flip + age / 2 >= flip_now; +} + +// ---- The GX buffer's extent ------------------------------------------------ +// +// gx_buffer_end(va) finds the registry's last memory key at or below va, its +// resource, and answers that resource's end when it is a live buffer whose +// memory va lies before the end of, else 0. That answer is a function of the +// registry's shape alone - its memory index, its set of holders, and each +// entry's memory, size, type and liveness - and stays the same for every +// address of an interval around va: the lookup gives it with the answer, and +// it holds while the shape's generation, which the registry moves under its +// lock after each change of the shape, is the one read with it. +struct ExtentMemo { + std::uint64_t gen = 0; // the shape's generation it holds for (0: none; the generation starts at 1) + std::uint64_t lo = 0, hi = 0; // the addresses [lo, hi) that answer `end` + std::uint64_t end = 0; +}; +inline bool extent_hit(const ExtentMemo& m, std::uint64_t gen, std::uint64_t va) { + if (m.gen != gen && !RUN_LOOKUPS_MUTANT(6)) return false; + if (RUN_LOOKUPS_MUTANT(7)) return va < m.hi; + if (RUN_LOOKUPS_MUTANT(8)) return va >= m.lo && va <= m.hi; + return va >= m.lo && va < m.hi; +} +// The lookup over `by_memory` (memory base -> key, ordered) and `find` (key -> +// a pointer to the resource's fields `alive`, `type`, `memory`, `bytes`, or +// null): the answer, and in `*m` the interval that answers the same (its +// generation is the caller's). The interval stops short of the next memory +// key (another entry from there) and, for a buffer's end, of the end (0 past +// it); an address past the last key never has ~0 in it. +template +std::uint64_t extent_lookup(const ByMemory& by_memory, Find&& find, std::uint64_t va, ExtentMemo* m) { + auto it = by_memory.upper_bound(va); + const std::uint64_t next = it == by_memory.end() ? ~0ull : static_cast(it->first); + if (it == by_memory.begin()) { + m->lo = 0; + m->hi = next; + m->end = 0; + return 0; + } + --it; + const std::uint64_t lo = it->first; + const auto* r = find(it->second); + if (!r || !r->alive || r->type != 1) { + m->lo = lo; + m->hi = next; + m->end = 0; + return 0; + } + const std::uint64_t end = r->memory + r->bytes; + if (va < end) { + m->lo = lo; + m->hi = RUN_LOOKUPS_MUTANT(9) ? next : std::min(next, end); + m->end = end; + return end; + } + m->lo = RUN_LOOKUPS_MUTANT(10) ? lo : std::max(lo, end); + m->hi = next; + m->end = 0; + return 0; +} + +// The registry's changes of its shape, each followed at once by the +// generation's move (release) - before anything that could release a lock or +// free memory, so no thread can have synchronised with a change and not with +// its move (an erased node is freed after the move: extract, then the node +// handle's end). Under the registry's lock. +inline void shape_moved(std::atomic& gen) { + if (!RUN_LOOKUPS_MUTANT(11)) gen.fetch_add(1, std::memory_order_release); +} +template +void erase_moved(Map& map, It it, std::atomic& gen) { + auto node = map.extract(it); + if (!RUN_LOOKUPS_MUTANT(12)) shape_moved(gen); +} +template +void set_moved(Map& map, const Key& key, const Value& value, std::atomic& gen) { + map[key] = value; + if (!RUN_LOOKUPS_MUTANT(13)) shape_moved(gen); +} +template +void emplace_moved(Map& map, const Key& key, const Value& value, std::atomic& gen) { + map.emplace(key, value); + if (!RUN_LOOKUPS_MUTANT(14)) shape_moved(gen); +} + +} // namespace run_lookups diff --git a/tests/run_lookups_test.cpp b/tests/run_lookups_test.cpp new file mode 100644 index 00000000..e409accb --- /dev/null +++ b/tests/run_lookups_test.cpp @@ -0,0 +1,459 @@ +// The run's two lookup memos (host/run_lookups.h), without the game. +// +// The GX buffer's extent: a registry of buffers and textures - made, destroyed, +// their memory moved by a Map, released by an unmap, their holders reused - +// changed only through the header's helpers that move the shape's generation, +// with lookups at the edges of every entry (its start, its end, the next one's +// start, the gaps) and in runs of the same buffer, as a draw's records ask. A +// memo's answer must be the answer gx_buffer_end worked out before it (copied +// below as it was), at every lookup. +// +// The run's publication: the slots of a few sets of two ways each (so runs +// share sets), the command processor's run refilled with names and lookups +// from small pools (so a run comes back, with the same lookups or other ones), +// other runs publishing over its way, targets let go (the erase generation) +// and flips going by. Whenever the memo says the call returns, the call as +// publish_run_targets_locked made it before (copied below) must return too. +// +// Then fourteen deliberate mistakes, each of which must be caught. +#define RUN_LOOKUPS_MUTANTS +#include "host/run_lookups.h" + +#include +#include +#include +#include +#include +#include +#include + +int g_run_lookups_mutant = 0; +const int run_lookups::g_mode = 1; + +namespace { + +int g_failed = 0; +void check(bool ok, const char* what) { + if (ok) return; + ++g_failed; + if (!g_run_lookups_mutant && g_failed <= 24) std::printf("FAIL: %s\n", what); +} + +std::uint64_t g_rng = 0x2545f4914f6cdd1dull; +std::uint64_t next() { + g_rng ^= g_rng << 13; + g_rng ^= g_rng >> 7; + g_rng ^= g_rng << 17; + return g_rng; +} +std::uint64_t pick(std::uint64_t n) { return next() % n; } + +// ---- The GX buffer's extent ---- + +struct Info { + bool alive = true; + std::uint8_t type = 1; + std::uint64_t memory = 0; + std::uint32_t bytes = 0; +}; +struct Registry { + std::unordered_map by_holder; + std::map by_memory; + std::atomic gen{1}; +}; + +// gx_buffer_end as it was (engine/gx_resources.cpp), over the model. +std::uint64_t end_before(const Registry& r, std::uint64_t va) { + auto it = r.by_memory.upper_bound(va); + if (it == r.by_memory.begin()) return 0; + --it; + const auto h = r.by_holder.find(it->second); + if (h == r.by_holder.end() || !h->second.alive || h->second.type != 1) return 0; + const Info& i = h->second; + return va < i.memory + i.bytes ? i.memory + i.bytes : 0; +} + +// The registry's changes, as engine/gx_resources.cpp makes them. +void make(Registry& r, std::uint64_t key, std::uint64_t memory, std::uint32_t bytes, std::uint8_t type) { + using namespace run_lookups; + if (auto old = r.by_holder.find(key); old != r.by_holder.end()) { // the holder's address reused before its destructor + if (auto m = r.by_memory.find(old->second.memory); m != r.by_memory.end() && m->second == key) erase_moved(r.by_memory, m, r.gen); + erase_moved(r.by_holder, old, r.gen); + } + if (auto m = r.by_memory.find(memory); m != r.by_memory.end() && m->second != key) { // the memory reused + if (auto h = r.by_holder.find(m->second); h != r.by_holder.end()) erase_moved(r.by_holder, h, r.gen); + } + set_moved(r.by_memory, memory, key, r.gen); + Info i; + i.memory = memory; + i.bytes = bytes; + i.type = type; + emplace_moved(r.by_holder, key, i, r.gen); +} +void destroy(Registry& r, std::uint64_t key) { + using namespace run_lookups; + auto it = r.by_holder.find(key); + if (it == r.by_holder.end()) return; + if (auto m = r.by_memory.find(it->second.memory); m != r.by_memory.end() && m->second == key) erase_moved(r.by_memory, m, r.gen); + erase_moved(r.by_holder, it, r.gen); +} +void move_memory(Registry& r, std::uint64_t key, std::uint64_t memory) { // a Map that renamed the memory + using namespace run_lookups; + auto it = r.by_holder.find(key); + if (it == r.by_holder.end() || it->second.memory == memory) return; + if (auto m = r.by_memory.find(it->second.memory); m != r.by_memory.end() && m->second == key) erase_moved(r.by_memory, m, r.gen); + it->second.memory = memory; + shape_moved(r.gen); + set_moved(r.by_memory, memory, key, r.gen); +} +void release(Registry& r, std::uint64_t va, std::uint64_t len) { // an unmap: dead, out of the index + using namespace run_lookups; + for (auto it = r.by_memory.lower_bound(va); it != r.by_memory.end() && it->first < va + len;) { + if (auto h = r.by_holder.find(it->second); h != r.by_holder.end()) { + h->second.alive = false; + shape_moved(r.gen); + } + const auto here = it++; + erase_moved(r.by_memory, here, r.gen); + } +} + +// A thread's lookup with the memo, as gx_buffer_end makes it. +struct Asker { + run_lookups::ExtentMemo memo; + std::uint64_t hits = 0, asks = 0; + std::uint64_t end(const Registry& r, std::uint64_t va) { + ++asks; + if (run_lookups::extent_hit(memo, r.gen.load(std::memory_order_acquire), va)) { + ++hits; + return memo.end; + } + run_lookups::ExtentMemo m; + const std::uint64_t e = run_lookups::extent_lookup( + r.by_memory, + [&](std::uint64_t key) -> const Info* { + const auto h = r.by_holder.find(key); + return h == r.by_holder.end() ? nullptr : &h->second; + }, + va, &m); + m.gen = r.gen.load(std::memory_order_relaxed); + memo = m; + return e; + } +}; + +// The addresses worth asking about around the registry's entries. +std::vector edges(const Registry& r) { + std::vector v = {0, 1, ~0ull, ~0ull - 1}; + for (const auto& [memory, key] : r.by_memory) { + v.push_back(memory); + if (memory) v.push_back(memory - 1); + v.push_back(memory + 1); + if (const auto h = r.by_holder.find(key); h != r.by_holder.end()) { + const std::uint64_t e = h->second.memory + h->second.bytes; + v.push_back(e - 1); + v.push_back(e); + v.push_back(e + 1); + v.push_back(h->second.memory + h->second.bytes / 2); + } + } + return v; +} + +void extent_cases() { + Registry r; + Asker a, b; // two threads' memos + // Buffers 4 KiB apart with gaps, textures among them, one buffer over another's memory. + std::uint64_t key = 0x1000; + for (int k = 0; k < 24; ++k) make(r, key++, 0x10000 + 0x2000ull * k, 0x1000 + 0x100 * (k % 5), k % 4 == 3 ? 3 : 1); + std::uint64_t asked = 0, hits_in_runs = 0, run_asks = 0; + for (int round = 0; round < 3000; ++round) { + // A draw's records: runs of lookups in one buffer (the memo's case), then the edges. + if (!r.by_memory.empty()) { + auto it = r.by_memory.begin(); + std::advance(it, static_cast(pick(r.by_memory.size()))); + const std::uint64_t base = it->first; + const std::uint64_t h0 = a.hits; + for (int k = 0; k < 6; ++k) { + const std::uint64_t va = base + pick(0x1800); + check(a.end(r, va) == end_before(r, va), "a run's lookup in one buffer answered otherwise than before"); + ++run_asks; + } + hits_in_runs += a.hits - h0; + } + const std::vector e = edges(r); + for (int k = 0; k < 12; ++k) { + const std::uint64_t va = e[pick(e.size())]; + check(a.end(r, va) == end_before(r, va), "a lookup at an entry's edge answered otherwise than before"); + check(b.end(r, va) == end_before(r, va), "the other thread's lookup at an edge answered otherwise than before"); + ++asked; + } + // A change of the shape, then the same addresses again (a memo of the old shape must not answer). + const std::uint64_t va0 = e[pick(e.size())], before = a.end(r, va0); + (void)before; + switch (pick(7)) { + case 0: make(r, key++, 0x10000 + 0x800 * pick(96), 0x400 + 0x200 * static_cast(pick(8)), pick(3) ? 1 : 3); break; + case 1: + if (!r.by_holder.empty()) { + auto it = r.by_holder.begin(); + std::advance(it, static_cast(pick(r.by_holder.size()))); + destroy(r, it->first); + } + break; + case 2: + if (!r.by_holder.empty()) { + auto it = r.by_holder.begin(); + std::advance(it, static_cast(pick(r.by_holder.size()))); + move_memory(r, it->first, 0x10000 + 0x800 * pick(96)); + } + break; + case 3: release(r, 0x10000 + 0x800 * pick(96), 0x800 * (1 + pick(4))); break; + case 4: + if (!r.by_holder.empty()) { // a holder's address reused: the same key made again elsewhere + auto it = r.by_holder.begin(); + std::advance(it, static_cast(pick(r.by_holder.size()))); + make(r, it->first, 0x10000 + 0x800 * pick(96), 0x600, 1); + } + break; + default: break; // nothing changes: the memos keep answering + } + check(a.end(r, va0) == end_before(r, va0), "after a change, a lookup at the address asked before it answered otherwise than before"); + check(b.end(r, va0) == end_before(r, va0), "after a change, the other thread's lookup answered otherwise than before"); + } + // Direct cases: each kind of change, the memo made just before it. + { + Registry q; + Asker t; + make(q, 1, 0x1000, 0x100, 1); + make(q, 2, 0x2000, 0x100, 1); + check(t.end(q, 0x1010) == 0x1100, "a buffer's end"); + check(t.end(q, 0x1020) == 0x1100 && t.hits == 1, "the same buffer again answered by the memo"); + check(t.end(q, 0x1100) == 0, "just past the buffer's end: 0"); + check(t.end(q, 0x1fff) == 0, "in the gap before the next buffer: 0"); + check(t.end(q, 0x1080) == 0x1100, "back inside the buffer after the gap"); + check(t.end(q, 0x0fff) == 0, "below the first buffer: 0"); + check(t.end(q, 0x2000) == 0x2100, "the next buffer's start"); + check(t.end(q, 0x1010) == 0x1100, "the first buffer again"); + destroy(q, 1); + check(t.end(q, 0x1010) == 0, "a destroyed buffer: 0"); + make(q, 3, 0x1000, 0x80, 1); + check(t.end(q, 0x1010) == 0x1080, "a new buffer over the memory: its end"); + move_memory(q, 3, 0x3000); + check(t.end(q, 0x1010) == 0, "a buffer whose memory a Map moved: 0 at the old memory"); + check(t.end(q, 0x3010) == 0x3080, "and its end at the new"); + release(q, 0x3000, 0x1000); + check(t.end(q, 0x3010) == 0, "a buffer whose memory was unmapped: 0"); + make(q, 4, 0x4000, 0x100, 3); + check(t.end(q, 0x4010) == 0, "a texture: 0"); + make(q, 4, 0x4000, 0x100, 1); + check(t.end(q, 0x4010) == 0x4100, "the holder reused for a buffer: its end"); + } + // Each change moves the generation by itself, whatever comes after it in the same change of the registry: the + // thread that synchronised with it has synchronised with its move. + { + Registry q; + std::uint64_t g0 = q.gen.load(); + run_lookups::set_moved(q.by_memory, std::uint64_t{0x1000}, std::uint64_t{7}, q.gen); + check(q.gen.load() > g0, "an index set moves the generation"); + g0 = q.gen.load(); + run_lookups::emplace_moved(q.by_holder, std::uint64_t{7}, Info{}, q.gen); + check(q.gen.load() > g0, "a holder's insert moves the generation"); + g0 = q.gen.load(); + run_lookups::erase_moved(q.by_memory, q.by_memory.begin(), q.gen); + check(q.gen.load() > g0 && q.by_memory.empty(), "an index erase moves the generation"); + g0 = q.gen.load(); + run_lookups::erase_moved(q.by_holder, q.by_holder.begin(), q.gen); + check(q.gen.load() > g0 && q.by_holder.empty(), "a holder's erase moves the generation"); + g0 = q.gen.load(); + run_lookups::shape_moved(q.gen); + check(q.gen.load() > g0, "a field's change moves the generation"); + } + check(hits_in_runs * 2 > run_asks, "the memo answers most of a run's lookups in one buffer"); + check(asked > 0, "lookups made"); +} + +// ---- The run's publication ---- + +constexpr int kNames = 4, kSets = 4, kWays = 2; +constexpr std::uint64_t kAge = 8; // kRtPubAge +struct Run { + bool valid = false; + std::uint32_t names[kNames] = {}; + std::uint32_t looked[3] = {}; + std::uint32_t reached = 0; + std::uint64_t version = 0; +}; +struct Slot { + std::uint64_t seq = 0; + std::uint32_t names[kNames] = {}; + Run m; + std::uint64_t erase_gen = 0, flip = 0; +}; +struct Slots { + Slot s[kSets * kWays]; + std::uint64_t erase_gen = 1, flip = 100, writes = 0; +}; +std::uint32_t set_of(const std::uint32_t* n) { + std::uint32_t h = 2166136261u; + for (int k = 0; k < kNames; ++k) h = (h ^ n[k]) * 16777619u; + return (h % kSets) * kWays; +} +// publish_run_targets_locked as it was (render.cpp), over the model: whether it returns without writing; writing +// when `apply`. The way it took in `*took`. +bool returns_before(Slots& g, const Run& m, bool apply, Slot** took) { + Slot* const set = &g.s[set_of(m.names)]; + Slot* way = nullptr; + for (int k = 0; k < kWays && !way; ++k) { + if (set[k].seq && std::memcmp(set[k].names, m.names, sizeof(m.names)) == 0) way = &set[k]; + } + if (!way) { + way = &set[0]; + for (int k = 1; k < kWays; ++k) { + const bool empty = !set[k].seq; + if (empty || (way->seq && set[k].flip < way->flip)) way = &set[k]; + if (empty) break; + } + } + Slot& p = *way; + *took = way; + if (p.seq && p.erase_gen == g.erase_gen && p.flip + kAge / 2 >= g.flip && std::memcmp(p.names, m.names, sizeof(m.names)) == 0 && + std::memcmp(p.m.looked, m.looked, sizeof(m.looked)) == 0 && p.m.reached == m.reached) + return true; + if (!apply) return false; + p.seq += 2; + std::memcpy(p.names, m.names, sizeof(m.names)); + p.m = m; + p.erase_gen = g.erase_gen; + p.flip = g.flip; + ++g.writes; + return false; +} +// The call with the memo, as publish_run_targets_locked makes it now. +struct Publisher { + run_lookups::PubMemo memo; + std::uint64_t hits = 0, calls = 0; + void publish(Slots& g, const Run& m) { + if (!m.valid) return; + ++calls; + const std::uint64_t seq_now = memo.slot ? static_cast(memo.slot)->seq : 0; + if (run_lookups::pub_hit(memo, &m, m.version, seq_now, g.erase_gen, g.flip, kAge)) { + ++hits; + Slot* took = nullptr; + Slots copy = g; // asked without writing + check(returns_before(copy, m, false, &took), "the memo returned where the call before would have published"); + return; + } + Slot* took = nullptr; + returns_before(g, m, true, &took); + memo = run_lookups::PubMemo{&m, m.version, took, took->seq, took->erase_gen, took->flip}; + } +}; + +void publication_cases() { + Slots g; + Run m, other; + Publisher cp; + std::uint64_t version = 0; + const std::uint32_t name_pool[6][kNames] = {{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 9, 9, 9}, {1, 2, 3, 5}, {7, 7, 1, 2}, {4, 3, 2, 1}}; + const std::uint32_t looked_pool[3][3] = {{11, 12, 0}, {11, 13, 0}, {21, 0, 0}}; + const auto refill = [&](Run& r) { + r.valid = true; + std::memcpy(r.names, name_pool[pick(6)], sizeof(r.names)); + std::memcpy(r.looked, looked_pool[pick(3)], sizeof(r.looked)); + r.reached = static_cast(pick(2) ? 3 : 7); + r.version = ++version; + }; + refill(m); + for (int step = 0; step < 20000; ++step) { + switch (pick(12)) { + case 0: + case 1: refill(m); break; // the run's first draw: its lookups (run_targets) + case 2: m.valid = false; m.version = ++version; break; // a draw that does not share + case 3: { // another run publishing (the command processor's next run, another thread's) + Slot* took = nullptr; + refill(other); + returns_before(g, other, true, &took); + break; + } + case 4: ++g.erase_gen; break; // a target let go + case 5: g.flip += pick(4); break; // flips go by + default: break; // the run's next draw: the same answers (run_targets shared them) + } + if (!m.valid && pick(3) == 0) refill(m); + cp.publish(g, m); + } + check(cp.hits * 4 > cp.calls, "the memo answers a good share of the run's calls"); + // Direct cases: each condition alone sends the call to the full path. + { + Slots q; + Publisher p; + Run r; + r.valid = true; + std::memcpy(r.names, name_pool[0], sizeof(r.names)); + std::memcpy(r.looked, looked_pool[0], sizeof(r.looked)); + r.reached = 3; + r.version = 1; + p.publish(q, r); + check(q.writes == 1 && p.hits == 0, "the first call publishes"); + p.publish(q, r); + check(p.hits == 1 && q.writes == 1, "the same run again: the memo returns"); + std::memcpy(r.looked, looked_pool[1], sizeof(r.looked)); + r.version = 2; + p.publish(q, r); + check(p.hits == 1 && q.writes == 2, "the run's lookups changed (its version moved): published"); + ++q.erase_gen; + p.publish(q, r); + check(p.hits == 1 && q.writes == 3, "a target let go: published"); + q.flip += kAge / 2; + p.publish(q, r); + check(p.hits == 2 && q.writes == 3, "kRtPubAge / 2 flips on: still the memo's"); + q.flip += 1; + p.publish(q, r); + check(p.hits == 2 && q.writes == 4, "a flip more: published"); + Run o = r; // another run whose names share the set, published into the way + static_cast(const_cast(p.memo.slot))->seq += 2; + p.publish(q, r); + check(p.hits == 2 && q.writes == 4, "the way written since (its sequence moved): asked in full"); + (void)o; + } +} + +} // namespace + +int main() { + extent_cases(); + publication_cases(); + int failed = g_failed; + static const char* const kMistakes[14] = { + "the run's version not checked", + "the way's sequence not checked", + "the erase generation not checked", + "the publication's age not checked", + "the publication's whole age allowed (kRtPubAge, not half)", + "the shape's generation not checked", + "the extent's start not checked", + "the extent's end taken in (<=)", + "a buffer's extent not stopped at its end", + "past a buffer's end, the extent started at its start", + "the shape's generation never moved", + "an erase not moving the generation", + "an index set not moving the generation", + "a holder's insert not moving the generation", + }; + for (int m = 1; m <= 14; ++m) { + g_failed = 0; + g_run_lookups_mutant = m; + g_rng = 0x2545f4914f6cdd1dull; + extent_cases(); + publication_cases(); + g_run_lookups_mutant = 0; + if (g_failed == 0) { + std::printf("FAIL: mistake %d (%s) not caught\n", m, kMistakes[m - 1]); + ++failed; + } else { + std::printf("mistake %d (%s) caught: %d checks failed\n", m, kMistakes[m - 1], g_failed); + } + } + std::printf(failed ? "run_lookups_test: %d failed\n" : "run_lookups_test: ok\n", failed); + return failed ? 1 : 0; +} From adc0cce7290371c4ac63ab7436e73d539eeccabf Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 08:05:52 -0800 Subject: [PATCH 029/100] gx: the block reclaim's and the discard rename's catch-ups wait for the GPU outside the renderer's lock When every block of a GX pool still waits on its label, the resource-table reclaim and the discard rename let the GPU catch up on everything recorded with host_gpu_flush: the recording under way submitted, then each submission's fence waited for and its slot retired - all under the renderer's lock, which the command processor waits for meanwhile. With a 4 GB card's memory acted out on an RTX 4070 (BBHOST_TEST_VRAM_MB=2950: the command processor draws everything in order) it waited 2.08 ms a flip for that lock at Old Yharnam. host_gpu_catch_up (host/gpu_catch_up.h) makes the flush's own submit under the lock and notes the submissions it covers, waits for them on the timeline without the lock - their labels landed - and then retires those slots under the lock, where nothing waits any more and what they held is let go as the flush let it go. A wait that runs out (200 ms: the GPU slow or stuck) waits for the same submissions under the lock, with the flush's stuck-GPU handling and without a second submit. On Windows the wait reads the timeline between sleeps: NVIDIA's driver holds its lock through a wait for a value still to be submitted, and the catch-up's own submission is the submit thread's to make. With no timeline, or BBHOST_GX_CATCH_UP=0, it is the flush. BBHOST_TEST_GPU_STALL_CATCH_UP puts the GPU stall job into a catch-up's own submission (BBHOST_TEST_GPU_STALL's job is waited for by the submit that carries it, and its code is inlined into submit_locked, whose Windows profile a change there costs). RTX 4070 under Linux, alternating runs (two each), uncapped. The 4 GB card acted out: Old Yharnam 81.9 -> 99.3 fps (+21%), p99 17.7 -> 13.0 ms, the command processor's wait for the lock 2.08 -> 0.10 ms a flip; the Nightmare of Mensis, Central Yharnam and Cainhurst's courtyard within the runs' spread; the same binary with BBHOST_GX_CATCH_UP=0 ran Old Yharnam as the base did. Its 3,800-4,800 catch-ups a run all waited outside the lock, the longest 41 ms. The default path (the homes and the pool), where catch-ups are few (230-1,300 a run): the 16 gate places within the spread but for single places in single holds that went the other way on a repeat (the sewer pit -5.2% then +5.2%) or followed the binary with the switch off (the Fishing Hamlet +3-4%); at a 120 cap the frame held and the process's CPU moved -1..+5% with 3-14 catch-ups a run; at 60 and at the static title nothing changed. RTX 3070 Ti Laptop GPU under Windows: the old path forced (the homes off, the run commit on) and the default, uncapped, within the spread, its 60 the same; the Radeon 680M there and a Steam Deck at 60 and uncapped the same, their catch-ups rare and all outside the lock. The submissions a flip and the transfer batches a flip (and the transfers in each) are the base's in every arm on every machine. The Khronos validation layer reported the base's two known message ids and nothing new (lavapipe with the catch-ups forced, the RTX with the 4 GB card acted out). With the stall job in a catch-up's submission the wait ran out at 200 ms and the same submission was waited for under the lock until the job was let go, the blocks then freed (lavapipe, the RTX). ThreadSanitizer under lavapipe, the catch-ups forced and the run commit on and off, reported nothing in the catch-up's code or in what it calls. No allocation failed but at the area check's 5120x2160 frame dumps, in both arms. tests/gpu_catch_up_test.cpp drives the catch-up against a model of the queue, its ring and labels and a command processor submitting meanwhile, and catches eleven deliberate mistakes. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 5 + docs/decomp.md | 2 +- src/decomp/gx/block_reclaim.cpp | 13 +- src/decomp/gx/rename_wait.cpp | 10 +- src/host/gpu.cpp | 181 ++++++++++++ src/host/gpu.h | 7 + src/host/gpu_catch_up.h | 134 +++++++++ src/host/gpu_stub.cpp | 1 + src/host/label_landing.cpp | 1 + src/host/label_landing.h | 6 + tests/gpu_catch_up_test.cpp | 469 ++++++++++++++++++++++++++++++++ 11 files changed, 823 insertions(+), 6 deletions(-) create mode 100644 src/host/gpu_catch_up.h create mode 100644 tests/gpu_catch_up_test.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index c08903b8..6123d2b6 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1042,6 +1042,11 @@ if(UNIX) add_executable(run_lookups_test tests/run_lookups_test.cpp) target_include_directories(run_lookups_test PRIVATE src) add_test(NAME run_lookups_test COMMAND run_lookups_test) + # The GX layer's catch-up: the flush's outcome with the GPU's time waited for outside the renderer's lock, with its + # mistakes (host/gpu_catch_up.h). + add_executable(gpu_catch_up_test tests/gpu_catch_up_test.cpp) + target_include_directories(gpu_catch_up_test PRIVATE src) + add_test(NAME gpu_catch_up_test COMMAND gpu_catch_up_test) # The render targets' sizes learned by their geometry, and the rule by the address alone failing (host/rt_extent.h). add_executable(rt_extent_test tests/rt_extent_test.cpp) target_include_directories(rt_extent_test PRIVATE src) diff --git a/docs/decomp.md b/docs/decomp.md index ab88f6ee..158b5877 100644 --- a/docs/decomp.md +++ b/docs/decomp.md @@ -176,7 +176,7 @@ the game's code turning it by the same counts as ours. | Function | Address | What it does | Checked | |---|---|---|---| | flush wait (`sub_15d7030`) | `0x15d7030` | the render thread's wait for the GPU to finish a flush | the same condition, yielding the core instead of spinning on it | -| GX table reclaim (`sub_2aaa860`) | `0x2aaa860` | frees the GX layer's blocks of draw resource tables once the GPU is done with them | the same walk as the game's, plus a wait when a pool runs empty (which used to fail an allocation and black out a frame) | +| GX table reclaim (`sub_2aaa860`) | `0x2aaa860` | frees the GX layer's blocks of draw resource tables once the GPU is done with them | the same walk as the game's, plus a wait when a pool runs empty (which used to fail an allocation and black out a frame); the wait for everything recorded is made outside the renderer's lock, so the command processor records on meanwhile (`BBHOST_GX_CATCH_UP=0`: under it, as a flush) | | GX discard rename (`sub_2ad0d30`) | `0x2ad0d30` | hands a discard Map of a dynamic buffer a renamed copy from GX's upload heap | the game's own function, run again after the GPU catches up when it found no room (which used to fail the Map and light a frame with another frame's constants: the warm-light drop and effect pops under GPU load); `BBHOST_GX_RENAME_WAIT=0` keeps the failure | | pipeline drain (`gx_command_buffer_wait_for_eop`) | `0x2ab09e0` | makes the GPU wait for the work before (a label, an end-of-pipe event and a wait) | written as a barrier token for the command processor instead, which orders its own writes behind it; the same command buffer read and refilled the same way as the game's version, beside it on test buffers (`decomp_gx_drain_token`) | | occlusion query (`gnm_write_occlusion_query`) | `0x1477660` | an occlusion query's begin or end: the block reset, a wait, the counter dumps | written as one query token instead, taken as the renderer's own query; checked in the game by the queries it makes | diff --git a/src/decomp/gx/block_reclaim.cpp b/src/decomp/gx/block_reclaim.cpp index 742e5602..56c9094b 100644 --- a/src/decomp/gx/block_reclaim.cpp +++ b/src/decomp/gx/block_reclaim.cpp @@ -23,6 +23,12 @@ // The catch-up goes a submission at a time first (decomp_gx_gpu_step): the // GPU keeps the rest of what it was handed to run while the walk finds what // came free (BBHOST_GX_RECLAIM_STEP=0: everything recorded at once, as before). +// Everything recorded is waited for outside the renderer's lock +// (host_gpu_catch_up): a flush held the lock through the GPU's time, and the +// command processor waited for the lock meanwhile - at Old Yharnam on an RTX +// 4070 with a 4 GB card's memory acted out, 1.96 ms a flip, 1.66 ms of it +// these flushes' waits for the GPU (BBHOST_GX_CATCH_UP=0: the flush, as +// before). // From anywhere else (the flip's own reclaim) it is the game's walk alone. // The wait is bounded: a few milliseconds where there was a draw with its // textures and constants missing. @@ -81,6 +87,9 @@ const bool g_steps = [] { // The step-at-a-time catch-up's bounds: steps, and time before the flush. constexpr int kMaxSteps = 64; constexpr auto kStepBudget = std::chrono::milliseconds(200); +// How long a catch-up of everything recorded waits outside the renderer's +// lock before it waits under it, as the flush did (host_gpu_catch_up). +constexpr std::uint64_t kCatchUpNs = 200'000'000ull; void* g_game = nullptr; std::atomic g_calls{0}, g_stuck{0}, g_freed_by_step{0}, g_steps_taken{0}, g_freed_by_gpu{0}, g_freed_by_cp{0}, g_still{0}; @@ -147,7 +156,7 @@ GUEST_ABI void reclaim(std::uint64_t pool, std::uint64_t cb, std::uint64_t, std: if (!freed) { // 1. What is recorded: submitted and run, its labels written. stage = 1; - host_gpu_flush(); + host_gpu_catch_up(kCatchUpNs); hle_call_guest(g_game, pool, cb); freed = in_use(pool) < before; } @@ -158,7 +167,7 @@ GUEST_ABI void reclaim(std::uint64_t pool, std::uint64_t cb, std::uint64_t, std: while (hle_gnm_retired_total() < target && std::chrono::steady_clock::now() - t0 < kCpBudget) { host_sleep_us(200); } - host_gpu_flush(); + host_gpu_catch_up(kCatchUpNs); hle_call_guest(g_game, pool, cb); freed = in_use(pool) < before; } diff --git a/src/decomp/gx/rename_wait.cpp b/src/decomp/gx/rename_wait.cpp index 97fbfd40..635f3166 100644 --- a/src/decomp/gx/rename_wait.cpp +++ b/src/decomp/gx/rename_wait.cpp @@ -23,7 +23,8 @@ // walks), lets the GPU run one more of the submissions it was handed - its // labels land, the oldest blocks come free - and runs the rename again, a // submission at a time; then, if that is not enough, it lets the GPU catch up -// on everything recorded, and then the command processor walk what it still +// on everything recorded (outside the renderer's lock: block_reclaim.cpp), +// and then the command processor walk what it still // holds first, running the rename after each. Waiting for everything at once // (a flush) at every one drained the GPU and left it idle: at 3840x2160 // uncapped, where the base lost ~100,000 discard Maps in two places' run, @@ -72,6 +73,9 @@ constexpr auto kCpBudget = std::chrono::milliseconds(100); // The step-at-a-time catch-up's bounds (block_reclaim.cpp's): steps, and time before the flush. constexpr int kMaxSteps = 64; constexpr auto kStepBudget = std::chrono::milliseconds(200); +// How long a catch-up of everything recorded waits outside the renderer's +// lock before it waits under it, as the flush did (block_reclaim.cpp's). +constexpr std::uint64_t kCatchUpNs = 200'000'000ull; const bool g_wait = [] { const char* e = std::getenv("BBHOST_GX_RENAME_WAIT"); @@ -113,7 +117,7 @@ GUEST_ABI std::uint64_t discard_rename(std::uint64_t table, std::uint64_t ctx, s if (r == kNoRoom) { // 1. What is recorded: submitted and run, its labels written; the rename again. stage = 1; - host_gpu_flush(); + host_gpu_catch_up(kCatchUpNs); r = run_game(table, ctx, out, resource); } if (r == kNoRoom) { @@ -121,7 +125,7 @@ GUEST_ABI std::uint64_t discard_rename(std::uint64_t table, std::uint64_t ctx, s stage = 2; const std::uint64_t target = hle_gnm_submitted_total(); while (hle_gnm_retired_total() < target && std::chrono::steady_clock::now() - t0 < kCpBudget) host_sleep_us(200); - host_gpu_flush(); + host_gpu_catch_up(kCatchUpNs); r = run_game(table, ctx, out, resource); } (r == kNoRoom ? g_still : stage == 0 ? g_by_step : stage == 1 ? g_by_gpu : g_by_cp).fetch_add(1, std::memory_order_relaxed); diff --git a/src/host/gpu.cpp b/src/host/gpu.cpp index 91ef53c1..05ea80e8 100644 --- a/src/host/gpu.cpp +++ b/src/host/gpu.cpp @@ -12,6 +12,7 @@ #include "host/tex_update.h" #include "host/foreign_hooks.h" #include "host/draw_capture.h" +#include "host/gpu_catch_up.h" #include "host/gpu_internal.h" #include "host/gxvk.h" #include "host/gxvk_table.h" @@ -13737,6 +13738,173 @@ bool host_gpu_wait_completed(std::uint64_t need, std::uint64_t timeout_ns) { return done; } +namespace { + +// BBHOST_GX_CATCH_UP=0: the GX layer's catch-ups are flushes, as before (the measurement's baseline). +bool catch_up_on() { + static const bool on = [] { + const char* e = std::getenv("BBHOST_GX_CATCH_UP"); + return !(e && e[0] == '0'); + }(); + return on; +} +// The catch-ups by the way they went (gpu_catch_up::Way), their time in all (the call's: the lock taken, the wait, +// the slots retired) and the longest. +std::atomic g_cu_n[4] = {}, g_cu_us[4] = {}, g_cu_longest_us{0}; +constexpr slow_calls::Site kCatchUpValueSite{slow_calls::kSemaphoreValue, "a GX catch-up"}; + +// BBHOST_TEST_GPU_STALL_CATCH_UP=: (tests): the first submission a GX catch-up forces from that flip on +// carries BBHOST_TEST_GPU_STALL's GPU job (shaders/gpu_stall.comp, BBHOST_TEST_GPU_STALL_PIECES pieces of at most +// BBHOST_TEST_GPU_STALL_TURNS turns), let go later - 0: never, it ends once its pieces are done - and no submit +// waits for it: the catch-up's own wait outside the renderer's lock meets the busy GPU and runs out, and the same +// submission is waited for under the lock as a flush waits for it (fence_wait_locked's steps, and past its limit the +// stop). BBHOST_TEST_GPU_STALL's job cannot meet that wait - the submit that carries it waits for it itself, under +// the lock - and its code stays as it is: it is inlined into submit_locked, whose Windows profile a change there costs. +void catch_up_stall_record_locked() { + struct Cfg { + std::uint64_t flip = 0, ms = 0, pieces = 2000, turns = 4096; + bool on = false; + }; + static const Cfg cfg = [] { + Cfg c; + if (const char* e = std::getenv("BBHOST_TEST_GPU_STALL_CATCH_UP"); e && *e) { + char* end = nullptr; + c.flip = std::strtoull(e, &end, 10); + c.ms = end && *end == ':' ? std::strtoull(end + 1, nullptr, 10) : 0; + c.on = true; + } + if (const char* e = std::getenv("BBHOST_TEST_GPU_STALL_PIECES"); e && *e) c.pieces = std::max(1, std::strtoull(e, nullptr, 10)); + if (const char* e = std::getenv("BBHOST_TEST_GPU_STALL_TURNS"); e && *e) c.turns = std::strtoull(e, nullptr, 10); + return c; + }(); + static bool done = false; + if (!cfg.on || done || !g.recording || hle_video_flip_count() < cfg.flip) return; + done = true; + // Kept for the run: the GPU runs the job until it ends. + static VkPipelineLayout layout = VK_NULL_HANDLE; + static VkPipeline pipeline = VK_NULL_HANDLE; + static DevBuffer flag; + VkShaderModuleCreateInfo smi{VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO}; + smi.codeSize = sizeof(k_gpu_stall_spv); + smi.pCode = k_gpu_stall_spv; + VkShaderModule module = VK_NULL_HANDLE; + VkPushConstantRange range{VK_SHADER_STAGE_COMPUTE_BIT, 0, 16}; + VkPipelineLayoutCreateInfo pli{VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO}; + pli.pushConstantRangeCount = 1; + pli.pPushConstantRanges = ⦥ + bool ok = vkCreateShaderModule(g.device, &smi, nullptr, &module) == VK_SUCCESS && + vkCreatePipelineLayout(g.device, &pli, nullptr, &layout) == VK_SUCCESS; + if (ok) { + VkComputePipelineCreateInfo ci{VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO}; + ci.stage = {VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO}; + ci.stage.stage = VK_SHADER_STAGE_COMPUTE_BIT; + ci.stage.module = module; + ci.stage.pName = "main"; + ci.layout = layout; + ok = vkCreateComputePipelines(g.device, VK_NULL_HANDLE, 1, &ci, nullptr, &pipeline) == VK_SUCCESS; + } + if (module) vkDestroyShaderModule(g.device, module, nullptr); + if (!ok || !create_dev_buffer(flag, 64, true) || !flag.map) { + host_log("gpu: test: the GPU job of BBHOST_TEST_GPU_STALL_CATCH_UP could not be made"); + return; + } + volatile std::uint32_t* w = static_cast(flag.map); + for (int i = 0; i < 4; ++i) w[i] = 0; + struct Push { + std::uint64_t flag; + std::uint32_t max_turns, pad; + } push{flag.address, static_cast(std::min(cfg.turns, 0xffffffffu)), 0}; + // Outside a pass and a transfer run, as a dispatch is recorded. + transfer_flush_locked(); + render_end_pass_locked(); + rec().bind_pipeline(VK_PIPELINE_BIND_POINT_COMPUTE, pipeline); + rec().push_constants(layout, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(push), &push); + VkMemoryBarrier mb{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; + mb.srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT; + mb.dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT; + for (std::uint64_t k = 0; k < cfg.pieces; ++k) { + rec().dispatch(1, 1, 1); + if (k + 1 < cfg.pieces) rec().pipeline_barrier(VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, 1, &mb, 0, nullptr, 0, nullptr); + } + char when[48]; + if (cfg.ms) std::snprintf(when, sizeof(when), "%llu ms later", static_cast(cfg.ms)); + else std::snprintf(when, sizeof(when), "never"); + host_log("gpu: test: submission %llu (flip %llu), a GX catch-up's, carries a GPU job of %llu pieces of up to %llu turns that runs " + "until the host lets it go: %s; the catch-up waits for it itself (BBHOST_TEST_GPU_STALL_CATCH_UP)", + static_cast(g.flushes), static_cast(hle_video_flip_count()), + static_cast(cfg.pieces), static_cast(cfg.turns), when); + if (cfg.ms) { + std::thread([ms = cfg.ms, w] { + std::this_thread::sleep_for(std::chrono::milliseconds(ms)); + const std::uint32_t pieces = w[2], turns = w[1]; + w[0] = 1; + std::atomic_thread_fence(std::memory_order_seq_cst); + host_log("gpu: test: the catch-up's GPU job is let go %llu ms after it was recorded, %u pieces and %u turns in", + static_cast(ms), pieces, turns); + }).detach(); + } +} + +// The renderer as gpu_catch_up::run uses it. +struct CatchUpOps { + void lock() { g.mu.lock(); } + void unlock() { g.mu.unlock(); } + bool ok() const { return g.ok; } + bool timeline() const { return g_timeline_on.load(std::memory_order_acquire); } + void flush_locked() { gpu::flush_locked(); } + void submit_locked() { + catch_up_stall_record_locked(); // BBHOST_TEST_GPU_STALL_CATCH_UP + gpu::submit_locked(); + } + std::uint64_t submissions_locked() const { return g.flushes; } + // Without the lock. Inside the driver where that wait is sound (host_gpu_wait_completed, which lands the labels + // after it). Where the driver holds its own lock through such a wait - NVIDIA's on Windows, for a value still + // to be submitted, as this one may be (bb-submit submits it) - every other thread's call would queue behind it, + // the submission's own too: there the value is read, the thread asleep between reads (label_landing::waits_block). + bool wait(std::uint64_t need, std::uint64_t timeout_ns) { + if (label_landing::waits_block() || g_device_lost.load(std::memory_order_relaxed)) return host_gpu_wait_completed(need, timeout_ns); + const bool done = gpu_catch_up::poll_until( + need, timeout_ns, + [] { + if (g_device_lost.load(std::memory_order_relaxed)) return ~0ull; // nothing more will run + std::uint64_t v = 0; + slow_calls::Scope timed(kCatchUpValueSite); + return vkGetSemaphoreCounterValue(g.device, g.timeline, &v) == VK_SUCCESS ? v : ~0ull; + }, + [] { return host_clock_monotonic_ns(); }, + [](int k) { + if (k < 32) std::this_thread::yield(); + else host_sleep_us(50); + }); + if (done && landing_on()) label_landing::land_through(g_device_lost.load(std::memory_order_relaxed) ? ~0ull : need); + return done; + } + void retire_through_locked(std::uint64_t serial) { gpu::retire_through_locked(serial); } +}; + +} // namespace + +void host_gpu_catch_up(std::uint64_t timeout_ns) { + const std::uint64_t t0 = host_clock_monotonic_ns(); + CatchUpOps ops; + const gpu_catch_up::Result r = gpu_catch_up::run(ops, catch_up_on(), timeout_ns); + const std::uint64_t us = (host_clock_monotonic_ns() - t0) / 1000; + const int way = static_cast(r.way); + g_cu_n[way].fetch_add(1, std::memory_order_relaxed); + g_cu_us[way].fetch_add(us, std::memory_order_relaxed); + for (std::uint64_t m = g_cu_longest_us.load(std::memory_order_relaxed); us > m && !g_cu_longest_us.compare_exchange_weak(m, us, std::memory_order_relaxed);) { + } + if (r.way == gpu_catch_up::Way::kWaitedLocked) { + static std::atomic said{0}; + if (said.fetch_add(1, std::memory_order_relaxed) < 8) { + host_log("gpu: a GX catch-up's submission %llu had not run %llu ms after it was handed over: waited for under the renderer's " + "lock, as a flush waits (%llu ms in all)", + static_cast(r.need - 1), static_cast(timeout_ns / 1000000), + static_cast(us / 1000)); + } + } +} + void host_gpu_report() { dispatch_cost_report(); @@ -13942,6 +14110,19 @@ void host_gpu_report() { static_cast(g_arena_retires_ordered.load())); host_log("gpu: %s", landing.c_str()); if (!landing_reused.empty()) host_log("gpu: %s", landing_reused.c_str()); + if (const std::uint64_t n = g_cu_n[0].load() + g_cu_n[1].load() + g_cu_n[2].load() + g_cu_n[3].load()) { + using gpu_catch_up::Way; + const auto at = [](Way w) { return static_cast(w); }; + host_log("gpu: GX catch-ups (the block reclaim's and the discard rename's waits for the GPU): %llu - %llu waited for outside " + "the renderer's lock (%llu ms in all), %llu ran out after their timeout and waited under the lock as a flush does " + "(%llu ms), %llu flushes (%s); the longest %llu ms", + static_cast(n), static_cast(g_cu_n[at(Way::kCaughtUp)].load()), + static_cast(g_cu_us[at(Way::kCaughtUp)].load() / 1000), + static_cast(g_cu_n[at(Way::kWaitedLocked)].load()), + static_cast(g_cu_us[at(Way::kWaitedLocked)].load() / 1000), + static_cast(g_cu_n[at(Way::kFlushed)].load()), + catch_up_on() ? "no timeline" : "BBHOST_GX_CATCH_UP=0", static_cast(g_cu_longest_us.load() / 1000)); + } if (!landing_on()) { host_log("gpu: command-processor writes recorded as fills into memory the game had written again since their submission (a " "command buffer begun again): %llu, %llu of them within what its new round had written; filled by the GPU over " diff --git a/src/host/gpu.h b/src/host/gpu.h index 47caeb9f..6d3111ee 100644 --- a/src/host/gpu.h +++ b/src/host/gpu.h @@ -1047,6 +1047,13 @@ std::uint32_t host_gpu_vendor_id(); // `timeout_ns` passed: true when they have. False at once without a timeline // (the caller polls host_gpu_submissions_completed as before). bool host_gpu_wait_completed(std::uint64_t need, std::uint64_t timeout_ns); +// The GX layer's catch-up (host/gpu_catch_up.h), for the block reclaim and the +// discard rename: what host_gpu_flush gives them - the recording under way +// submitted, every submission through it run, its labels in memory, its slot +// retired - with the GPU's time waited for outside the renderer's lock. A wait +// that runs out (`timeout_ns`) waits for the same submissions under the lock, +// as the flush does. No timeline, or BBHOST_GX_CATCH_UP=0: host_gpu_flush. +void host_gpu_catch_up(std::uint64_t timeout_ns); const char* host_present_step(double& seconds); // window.cpp: what the presenting thread is doing // BBHOST_STALL_TEST: hold the renderer, as a frame dump does // Last few recorded draws, read without the renderer lock: for the watchdog, // which runs precisely when some thread is stuck holding it. diff --git a/src/host/gpu_catch_up.h b/src/host/gpu_catch_up.h new file mode 100644 index 00000000..34cbaf84 --- /dev/null +++ b/src/host/gpu_catch_up.h @@ -0,0 +1,134 @@ +// The GX layer's catch-up (host_gpu_catch_up, gpu.cpp): what host_gpu_flush +// gave the resource-table block reclaim and the discard rename +// (decomp/gx/block_reclaim.cpp, rename_wait.cpp) when every block of a pool +// still waits on its label - the recording under way submitted, every +// submission through it run and its labels in memory, its slot retired - with +// the renderer's lock no longer held through the GPU's time: +// 1. under the lock: the recording under way handed over (the flush's own +// submit, the same call at the same point), and `need`, the submissions +// made with it; +// 2. without the lock: until `need` submissions have run (the timeline) and +// their labels are in memory - the command processor records on +// meanwhile, where it waited for the lock before; +// 3. under the lock: the slots through submission need - 1 retired. Those +// have run, so nothing waits, and what they held (staging, descriptor +// pools, dead images and memory) is let go where the flush let it go. +// A wait that runs out (`timeout_ns`: the GPU slow, or stuck) leaves step 3 to +// wait for those same submissions under the lock, as the flush waited for +// them, with its stuck-GPU handling (fence_wait_locked) - and no second +// submit, so the submissions the GX layer forces stay one a catch-up. With no +// timeline to wait on, or BBHOST_GX_CATCH_UP=0, it is the flush. +// +// The flush held the lock through its wait: on an RTX 4070 with a 4 GB card's +// memory acted out (BBHOST_TEST_VRAM_MB=2950) at Old Yharnam the command +// processor waited 1.96 ms a flip for the lock, 1.66 ms of it the GX threads' +// fence waits inside their flushes. +// +// Pure below, the renderer's calls passed in: tests/gpu_catch_up_test.cpp +// drives it with a model of the queue and its labels, and its mistakes. +#pragma once + +#include + +#ifdef GPU_CATCH_UP_MUTANTS +extern int g_gpu_catch_up_mutant; +#define GPU_CATCH_UP_MUTANT(n) (g_gpu_catch_up_mutant == (n)) +#else +#define GPU_CATCH_UP_MUTANT(n) false +#endif + +namespace gpu_catch_up { + +enum class Way : std::uint8_t { + kNothing, // no GPU (g.ok false): nothing done, as the flush did nothing + kFlushed, // the flush: no timeline, or BBHOST_GX_CATCH_UP=0 + kCaughtUp, // waited for outside the lock, retired without a wait + kWaitedLocked, // the wait ran out: the same submissions waited for under the lock +}; + +struct Result { + Way way = Way::kNothing; + std::uint64_t need = 0; // the submissions waited for (the forced one is need - 1) +}; + +// The renderer, as the catch-up uses it (gpu.cpp's CatchUpOps; the test's model): +// lock(), unlock() the renderer's lock (g.mu) +// ok() a GPU to run work (g.ok), under the lock +// timeline() a timeline semaphore to wait on +// flush_locked() the flush: submit, then wait for and retire everything submitted +// submit_locked() the recording under way handed over (nothing when none) +// submissions_locked() submissions made so far (g.flushes) +// wait(need, timeout_ns) without the lock: true once `need` submissions have run and their labels +// are in memory; false when the timeout came first +// retire_through_locked(serial) the slots through submission `serial` retired, each fence waited for first +template +struct Locked { + Ops& o; + explicit Locked(Ops& ops) : o(ops) { o.lock(); } + ~Locked() { o.unlock(); } + Locked(const Locked&) = delete; + Locked& operator=(const Locked&) = delete; +}; + +template +Result run(Ops& o, bool on, std::uint64_t timeout_ns) { + Result res; + { + Locked l(o); + if (!o.ok()) return res; + if (!on || !o.timeline()) { + o.flush_locked(); + res.way = Way::kFlushed; + return res; + } + if (GPU_CATCH_UP_MUTANT(1)) res.need = o.submissions_locked(); // (taken before the submit: one short) + if (!GPU_CATCH_UP_MUTANT(2)) o.submit_locked(); // (the recording under way left recording) + if (!GPU_CATCH_UP_MUTANT(1)) res.need = o.submissions_locked(); + if (GPU_CATCH_UP_MUTANT(3)) { // (the wait under the lock: the flush's hold again) + const bool ran = o.wait(res.need, timeout_ns); + if (res.need) o.retire_through_locked(res.need - 1); + res.way = ran ? Way::kCaughtUp : Way::kWaitedLocked; + return res; + } + } + res.way = Way::kCaughtUp; + if (!res.need) return res; // nothing ever submitted: nothing to wait for + const std::uint64_t want = GPU_CATCH_UP_MUTANT(4) ? res.need - 1 : res.need; // (one short of the forced one) + const bool ran = o.wait(want, timeout_ns); + if (!ran) res.way = Way::kWaitedLocked; + if (GPU_CATCH_UP_MUTANT(5) && !ran) { // (a timeout taken for the flush: a second submit) + Locked l(o); + if (o.ok()) o.flush_locked(); + return res; + } + if (GPU_CATCH_UP_MUTANT(6) && !ran) return res; // (a timeout taken for done: nothing waited for) + if (GPU_CATCH_UP_MUTANT(7)) { // (retired without the lock) + if (o.ok()) o.retire_through_locked(res.need - 1); + return res; + } + Locked l(o); + if (!o.ok()) return res; // lost meanwhile: nothing more is waited for (fence_wait_locked) + if (GPU_CATCH_UP_MUTANT(8)) o.retire_through_locked(o.submissions_locked() - 1); // (the command processor's since too) + else if (GPU_CATCH_UP_MUTANT(9)) o.retire_through_locked(res.need >= 2 ? res.need - 2 : 0); // (the forced one kept) + else o.retire_through_locked(res.need - 1); + return res; +} + +// The timeline read until it reaches `need` or `timeout_ns` has passed on +// now_ns() - the thread asleep between reads, pause(k) after the k-th - for a +// driver that holds its own lock through a wait inside it (NVIDIA's on +// Windows: every other thread's call queued behind it, the one that submits +// the work waited for too). read() is ~0 once nothing more will run: past any +// need. +template +bool poll_until(std::uint64_t need, std::uint64_t timeout_ns, Read&& read, Now&& now_ns, Pause&& pause) { + const std::uint64_t t0 = now_ns(); + for (int k = 0;; ++k) { + const std::uint64_t v = read(); + if (GPU_CATCH_UP_MUTANT(10) ? v > need : v >= need) return true; // (one more than asked) + if (now_ns() - t0 >= timeout_ns) return GPU_CATCH_UP_MUTANT(11); // (a timeout taken for done) + pause(k); + } +} + +} // namespace gpu_catch_up diff --git a/src/host/gpu_stub.cpp b/src/host/gpu_stub.cpp index 9c1f3557..883421c4 100755 --- a/src/host/gpu_stub.cpp +++ b/src/host/gpu_stub.cpp @@ -105,6 +105,7 @@ std::uint64_t host_gpu_draw_mark() { return 0; } std::uint64_t host_gpu_work_needs() { return 0; } std::uint64_t host_gpu_submissions_completed() { return ~0ull; } bool host_gpu_wait_completed(std::uint64_t, std::uint64_t) { return false; } +void host_gpu_catch_up(std::uint64_t) {} void* host_gpu_timeline() { return nullptr; } void* host_gpu_present_timeline() { return nullptr; } void host_gpu_present_reads_locked(std::uint64_t) {} diff --git a/src/host/label_landing.cpp b/src/host/label_landing.cpp index 4578f6f0..7da6f39f 100644 --- a/src/host/label_landing.cpp +++ b/src/host/label_landing.cpp @@ -314,6 +314,7 @@ void thread_main() { } // namespace bool on() { return g_on; } +bool waits_block() { return g_block; } void set_before_land(void (*f)(std::uint64_t completed)) { g_before_land.store(f, std::memory_order_release); } void start(const Hooks& hooks) { diff --git a/src/host/label_landing.h b/src/host/label_landing.h index 14c60f51..eef4a863 100644 --- a/src/host/label_landing.h +++ b/src/host/label_landing.h @@ -69,6 +69,12 @@ struct Hooks { }; bool on(); // BBHOST_LABEL_LANDING (default 1, 0 on Windows) +// BBHOST_LABEL_WAIT: a wait for the GPU's timeline made inside the driver +// (block, the default but on Windows) or by reading the value and sleeping +// between reads (poll) - the landing thread's, and a GX catch-up's +// (host_gpu_catch_up). NVIDIA's Windows driver holds its own lock through the +// first kind when the value waited for is still to be submitted. +bool waits_block(); void start(const Hooks& hooks); // the landing thread (bb-labels), once // At submit (under the renderer's lock): the writes submission `serial` // carries, in the order they were made. diff --git a/tests/gpu_catch_up_test.cpp b/tests/gpu_catch_up_test.cpp new file mode 100644 index 00000000..378d732c --- /dev/null +++ b/tests/gpu_catch_up_test.cpp @@ -0,0 +1,469 @@ +// The GX layer's catch-up (host/gpu_catch_up.h), without the game: a model of +// the renderer - its lock, the recording under way, a ring of slots retired in +// order, a GPU that runs each submission some time after it went in, labels +// that land once their submission has run - and a command processor that +// records and submits while a catch-up waits without the lock. +// +// After each catch-up it must leave what the flush left: the recording under +// way at the call submitted, every submission through it run, its labels in +// memory and its slot retired - and no label ever lands before its submission +// has run. It forces one submission, as the flush did, never a second. Its wait +// is never made holding the lock, and when it did not run out nothing waits +// under the lock afterwards: no fence there that has not signalled. The command +// processor's submissions made meanwhile are its own to retire. A wait that +// runs out waits for the same submissions under the lock. No timeline, or the +// switch off: the flush. No GPU: nothing. +// +// Then the timeline's poll (Windows): true at the read that reaches the need, +// false once the timeout has passed, ~0 past any need. +// +// Then eleven deliberate mistakes, each of which must be caught. +#define GPU_CATCH_UP_MUTANTS +#include "host/gpu_catch_up.h" + +#include +#include +#include +#include +#include + +int g_gpu_catch_up_mutant = 0; + +namespace { + +int g_failed = 0; +void check(bool ok, const char* what, int at = -1) { + if (ok) return; + ++g_failed; + if (!g_gpu_catch_up_mutant && g_failed <= 24) std::printf("FAIL: %s (case %d)\n", what, at); +} + +using u64 = std::uint64_t; +constexpr u64 kMs = 1'000'000ull; + +// The renderer and its GPU, in virtual time. +struct Model { + // The queue. + bool locked = false; + bool gpu_ok = true; + bool has_timeline = true; + u64 now = 0; // virtual ns + int slots = 4; // the ring + u64 flushes = 0; // submissions made (the next one's serial) + bool recording = false; // a recording under way + std::vector rec_labels; // the blocks the recording's labels free + std::vector done_at; // per submission: when the GPU has run it + std::vector> sub_labels; // per submission: its labels' blocks + std::vector in_flight, retired, landed; + u64 next_cost = 2 * kMs; // GPU time of the next submission + // The blocks: freed once their label has landed. + std::vector block_free; + // What a catch-up did. + int submits = 0, flushes_called = 0, waits = 0, waits_locked = 0, retires_unlocked = 0; + int fence_waits_locked = 0; // fences waited for under the lock that had not signalled (not the CP's own) + bool cp_active = false; // the command processor's own submit (its ring's waits are its own) + int early_landings = 0; // labels landed before their submission had run + int cp_lock_blocked = 0; // the command processor found the lock held during a catch-up's wait + // The command processor's work while a catch-up waits (without the lock). + std::function meanwhile; + bool in_wait = false; + + void lock() { + check(!locked, "the lock taken twice"); + locked = true; + } + void unlock() { + check(locked, "the lock given back unheld"); + locked = false; + } + bool ok() const { return gpu_ok; } + bool timeline() const { return has_timeline; } + bool ran(u64 s) const { return s < done_at.size() && done_at[s] <= now; } + bool free_block(int b) const { return b >= static_cast(block_free.size()) || block_free[b]; } // (never recorded: free) + void land(u64 s) { + if (landed[s]) return; + if (!ran(s)) ++early_landings; + landed[s] = true; + for (int b : sub_labels[s]) block_free[b] = true; + } + // A slot's retirement: its fence waited for (time goes by under the lock), what it held let go, its labels landed. + void retire(u64 s) { + if (!in_flight[s]) return; + if (!ran(s)) { + if (locked && !cp_active) ++fence_waits_locked; + now = std::max(now, done_at[s]); + } + in_flight[s] = false; + retired[s] = true; + for (u64 k = 0; k <= s; ++k) land(k); // fences on one queue complete in order: every earlier one's labels too + } + void submit_locked() { + check(locked, "a submit without the lock"); + if (!cp_active) ++submits; // (the catch-up's: the command processor's own submits are not counted) + if (!recording) return; + const u64 s = flushes++; + const u64 start = std::max(now, s ? done_at[s - 1] : 0); + done_at.push_back(start + next_cost); + sub_labels.push_back(rec_labels); + in_flight.push_back(true); + retired.push_back(false); + landed.push_back(false); + rec_labels.clear(); + recording = false; + // The slot it moves to is retired before it is recorded into (submit_locked's retire_slot_locked). + if (flushes >= static_cast(slots)) retire(flushes - slots); + } + u64 submissions_locked() const { return flushes; } + void retire_through_locked(u64 serial) { + if (!locked) ++retires_unlocked; + if (!flushes) return; + serial = std::min(serial, flushes - 1); + const u64 n = static_cast(slots); + for (u64 s = flushes > n ? flushes - n : 0; s <= serial; ++s) retire(s); + } + void flush_locked() { + ++flushes_called; + submit_locked(); + retire_through_locked(flushes - 1); + } + bool wait(u64 need, u64 timeout_ns) { + ++waits; + if (locked) ++waits_locked; + if (meanwhile && !in_wait) { + in_wait = true; + meanwhile(*this); + in_wait = false; + } + if (!gpu_ok) return true; // nothing more will run + if (need == 0) return true; + if (need - 1 < done_at.size() && done_at[need - 1] <= now + timeout_ns) { + now = std::max(now, done_at[need - 1]); + for (u64 s = 0; s < need; ++s) land(s); + return true; + } + now += timeout_ns; + return false; + } + + // The command processor (or the game) records draws whose labels free `blocks`. + void record(std::initializer_list blocks) { + recording = true; + for (int b : blocks) { + rec_labels.push_back(b); + if (b >= static_cast(block_free.size())) block_free.resize(b + 1, true); + block_free[b] = false; + } + } + // The command processor's own submit, after a job. + void cp_submit() { + if (locked) { + ++cp_lock_blocked; + return; + } + cp_active = true; + lock(); + submit_locked(); + unlock(); + cp_active = false; + } +}; + +struct Expect { + gpu_catch_up::Way way; + bool forced_done = true; // the recording under way at the call submitted, run, its labels in, its slot retired +}; + +// One catch-up from the model's state; the checks every catch-up must pass. +gpu_catch_up::Result catch_up(Model& m, bool on, u64 timeout_ns, const Expect& want, int at) { + const u64 flushes0 = m.flushes; + const bool had_recording = m.recording; + const std::vector rec_blocks = m.rec_labels; + const int submits0 = m.submits, flushes_called0 = m.flushes_called, fw0 = m.fence_waits_locked; + const int waits_locked0 = m.waits_locked, unlocked0 = m.retires_unlocked, early0 = m.early_landings, blocked0 = m.cp_lock_blocked; + // The command processor's submissions made during the wait: [cp_from, cp_to). + u64 cp_from = 0, cp_to = 0; + auto user = m.meanwhile; + if (user) { + m.meanwhile = [&cp_from, &cp_to, user](Model& mm) { + cp_from = mm.flushes; + user(mm); + cp_to = mm.flushes; + }; + } + const gpu_catch_up::Result r = gpu_catch_up::run(m, on, timeout_ns); + m.meanwhile = user; + + check(!m.locked, "the lock left held", at); + check(r.way == want.way, "the way it took", at); + check(m.early_landings == early0, "a label landed before its submission had run (a block freed early)", at); + check(m.waits_locked == waits_locked0, "the wait made holding the renderer's lock", at); + check(m.retires_unlocked == unlocked0, "slots retired without the renderer's lock", at); + check(m.cp_lock_blocked == blocked0, "the command processor found the lock held while the catch-up waited", at); + if (want.way == gpu_catch_up::Way::kNothing) { + check(m.submits == submits0 && m.flushes == flushes0, "no GPU, yet something was submitted", at); + return r; + } + // One forced submission, as the flush forced one - never a second. + check(m.submits - submits0 == 1, "the submissions forced: one a catch-up", at); + if (want.way == gpu_catch_up::Way::kFlushed) check(m.flushes_called - flushes_called0 == 1, "the flush: once", at); + else check(m.flushes_called == flushes_called0, "the flush called on the catch-up's way", at); + if (want.forced_done) { + // The flush's outcome for everything submitted up to and with the forced submission. + const u64 through = had_recording ? flushes0 + 1 : flushes0; + if (want.way != gpu_catch_up::Way::kFlushed) check(r.need == through, "the submissions waited for", at); + for (u64 s = 0; s < through; ++s) { + if (s >= m.flushes) { + check(false, "the forced submission never made", at); + break; + } + check(m.ran(s), "a submission through the forced one not run", at); + check(m.landed[s], "a submission through the forced one with its labels not in memory", at); + check(!m.in_flight[s], "a slot through the forced one not retired (its memory not let go)", at); + } + for (int b : rec_blocks) check(m.free_block(b), "a block of the recording under way not free after the catch-up", at); + } + if (want.way == gpu_catch_up::Way::kCaughtUp) { + check(m.fence_waits_locked == fw0, "a fence that had not signalled waited for under the lock after a wait that did not run out", at); + } + // The command processor's submissions made meanwhile: not the catch-up's to wait for or retire (the CP retires + // them in its own course - its ring wraps, its own flushes). + for (u64 s = cp_from; s < cp_to; ++s) { + if (m.retired[s] && !m.ran(s)) check(false, "a later submission of the command processor retired before it ran", at); + } + return r; +} + +void cases() { + using gpu_catch_up::Way; + constexpr u64 kTimeout = 200 * kMs; + int at = 0; + { + // 1. The plain case: blocks wait on the recording under way; the GPU runs it in 2 ms. + Model m; + m.record({0, 1}); + m.cp_submit(); + m.record({2, 3}); + catch_up(m, true, kTimeout, {Way::kCaughtUp}, ++at); + } + { + // 2. Earlier submissions still running too, several, slow ones: everything through the forced one. + Model m; + m.slots = 8; + for (int i = 0; i < 5; ++i) { + m.next_cost = (5 + i) * kMs; + m.record({i}); + m.cp_submit(); + } + m.record({10, 11}); + catch_up(m, true, kTimeout, {Way::kCaughtUp}, ++at); + } + { + // 3. The command processor records and submits while the catch-up waits; its submissions run long after. + Model m; + m.slots = 16; + m.record({0}); + m.cp_submit(); + m.record({1, 2}); + m.meanwhile = [](Model& mm) { + mm.next_cost = 50 * kMs; + for (int i = 0; i < 3; ++i) { + mm.record({20 + i}); + mm.cp_submit(); + } + mm.record({30}); // and a recording left under way + }; + catch_up(m, true, kTimeout, {Way::kCaughtUp}, ++at); + // Its recording is the command processor's: still recording, its blocks still waiting. + check(m.recording && !m.free_block(30), "the command processor's recording made meanwhile submitted by the catch-up", at); + } + { + // 4. The command processor fills the ring meanwhile: the forced submission's slot retired by the CP's wrap (its + // fence waited for in its own course); the catch-up's retirement finds it gone and waits for nothing more. + Model m; + m.slots = 4; + m.record({0}); + m.meanwhile = [](Model& mm) { + for (int i = 0; i < 6; ++i) { + mm.next_cost = 1 * kMs; + mm.record({40 + i}); + mm.cp_submit(); + } + }; + catch_up(m, true, kTimeout, {Way::kCaughtUp}, ++at); + } + { + // 5. No recording under way: nothing to submit, the submissions in flight waited for. + Model m; + m.record({0}); + m.cp_submit(); + m.record({1}); + m.cp_submit(); + catch_up(m, true, kTimeout, {Way::kCaughtUp}, ++at); + } + { + // 6. Nothing ever submitted, nothing recording: nothing to wait for. + Model m; + const gpu_catch_up::Result r = catch_up(m, true, kTimeout, {Way::kCaughtUp}, ++at); + check(r.need == 0 && m.waits == 0, "nothing submitted, yet a wait", at); + } + { + // 7. The GPU slow (a stuck submission): the wait runs out, the same submissions waited for under the lock - + // one submit, not two, though the command processor recorded meanwhile. + Model m; + m.slots = 16; + m.next_cost = 1500 * kMs; + m.record({0, 1}); + m.meanwhile = [](Model& mm) { mm.record({50}); }; + const gpu_catch_up::Result r = catch_up(m, true, kTimeout, {Way::kWaitedLocked}, ++at); + check(m.fence_waits_locked == 1, "the run-out wait's fence waited for under the lock", at); + check(m.recording && !m.free_block(50), "the command processor's recording submitted by a run-out catch-up", at); + (void)r; + } + { + // 8. A run-out wait with the command processor's slow submissions behind it: only the forced one's waited for. + Model m; + m.slots = 16; + m.next_cost = 400 * kMs; + m.record({0}); + m.meanwhile = [](Model& mm) { + mm.next_cost = 3000 * kMs; + mm.record({60}); + mm.cp_submit(); + }; + catch_up(m, true, kTimeout, {Way::kWaitedLocked}, ++at); + check(m.in_flight.size() > 1 && m.in_flight[1] && !m.ran(1), "the command processor's later submission waited for by a run-out catch-up", at); + } + { + // 9. No timeline: the flush (everything recorded, run and retired, under the lock). + Model m; + m.has_timeline = false; + m.record({0}); + m.cp_submit(); + m.record({1}); + catch_up(m, true, kTimeout, {Way::kFlushed}, ++at); + check(m.waits == 0, "a wait on a timeline that is not there", at); + } + { + // 10. BBHOST_GX_CATCH_UP=0: the flush. + Model m; + m.record({0}); + m.cp_submit(); + m.record({1}); + catch_up(m, false, kTimeout, {Way::kFlushed}, ++at); + check(m.waits == 0, "the switch off, yet a wait without the lock", at); + } + { + // 11. No GPU: nothing done. + Model m; + m.record({0}); + m.gpu_ok = false; + catch_up(m, true, kTimeout, {Way::kNothing}, ++at); + } + { + // 12. The GPU lost while the catch-up waits: nothing retired after (fence_wait_locked waits for nothing more). + Model m; + m.record({0}); + m.meanwhile = [](Model& mm) { mm.gpu_ok = false; }; + const int submits0 = m.submits; + ++at; + gpu_catch_up::run(m, true, kTimeout); + check(!m.locked, "the lock left held after a loss", at); + check(m.submits - submits0 == 1, "a loss: one submit", at); + } + { + // 13. A run of catch-ups as the GX threads make them, each between the command processor's jobs, with the + // GPU's speed changing: each leaves the flush's outcome, the ring wraps through them. + Model m; + m.slots = 6; + u64 cost = 1 * kMs; + for (int i = 0; i < 40; ++i) { + cost = (cost * 7 + 3 * kMs) % (90 * kMs) + kMs; + m.next_cost = cost; + m.record({100 + i}); + if (i % 3 == 0) m.cp_submit(); + m.record({200 + i}); + m.meanwhile = [i](Model& mm) { + if (i % 2) { + mm.record({300 + i}); + mm.cp_submit(); + } + }; + catch_up(m, true, 1000 * kMs, {Way::kCaughtUp}, ++at); // (the chain behind it can be ~270 ms) + m.meanwhile = nullptr; + } + } +} + +// The timeline's poll (Windows): reads of a value that moves on with each read, a clock that moves with each look. +void poll_cases() { + int at = 100; + { + // Reaches the need exactly at the fifth read. + u64 v = 0, t = 0; + int pauses = 0; + const bool ok = gpu_catch_up::poll_until( + 5, 100 * kMs, [&] { return v++; }, [&] { return t += kMs; }, [&](int k) { check(k == pauses++, "the pauses in order", at); }); + check(ok && v == 6 && pauses == 5, "the poll: true at the read that reaches the need", ++at); + } + { + // Never reaches it: false once the timeout has passed, not before. + u64 t = 0; + int reads = 0; + const bool ok = gpu_catch_up::poll_until( + 10, 20 * kMs, [&] { ++reads; return u64{9}; }, [&] { return t += kMs; }, [](int) {}); + check(!ok, "the poll: false once the timeout passed", ++at); + check(reads >= 10, "the poll: gave up before its timeout", at); + } + { + // ~0 (no GPU any more): past any need, at once. + u64 t = 0; + int reads = 0; + const bool ok = gpu_catch_up::poll_until( + ~0ull - 1, kMs, [&] { ++reads; return ~0ull; }, [&] { return t += kMs; }, [](int) {}); + check(ok && reads == 1, "the poll: ~0 past any need", ++at); + } + { + // Already there: no pause. + u64 t = 0; + int pauses = 0; + const bool ok = gpu_catch_up::poll_until( + 3, kMs, [] { return u64{3}; }, [&] { return t += kMs; }, [&](int) { ++pauses; }); + check(ok && pauses == 0, "the poll: already there", ++at); + } +} + +} // namespace + +int main() { + cases(); + poll_cases(); + int failed = g_failed; + static const char* const kMistakes[11] = { + "`need` taken before the submit (one short of the forced submission)", + "the recording under way not submitted", + "the wait made under the renderer's lock (the flush's hold again)", + "the wait one short of the forced submission", + "a run-out wait taken for the flush (a second submit)", + "a run-out wait taken for done (nothing waited for)", + "the slots retired without the renderer's lock", + "the command processor's submissions since retired too", + "the forced submission's slot left unretired", + "the poll asking one more than the need", + "the poll's timeout taken for done", + }; + for (int m = 1; m <= 11; ++m) { + g_failed = 0; + g_gpu_catch_up_mutant = m; + cases(); + poll_cases(); + g_gpu_catch_up_mutant = 0; + if (g_failed == 0) { + std::printf("FAIL: mistake %d (%s) not caught\n", m, kMistakes[m - 1]); + ++failed; + } else { + std::printf("mistake %d (%s) caught: %d checks failed\n", m, kMistakes[m - 1], g_failed); + } + } + std::printf(failed ? "gpu_catch_up_test: %d failed\n" : "gpu_catch_up_test: ok\n", failed); + return failed ? 1 : 0; +} From 84299842a166e067828c13565a4e6e49f46c40f1 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 21:37:33 -0800 Subject: [PATCH 030/100] homes: a home's pending copies are an atomic the pool's draws read The draw pool's threads bind a constant buffer's home by its handle in their list-mode draws (homes_bind_locked) and look at how many copies into the home are still to be put in place: a plain count the command processor raises as it takes a copy-back (homes_copy_in_locked) and lowers as it puts the copies in place (homes_flush_locked) - as does a guest thread's catch-up, which submits under the renderer's lock. Under ThreadSanitizer, on a fast-loading stress on lavapipe (the small-VRAM path, the homes on, lamp travel between a chalice dungeon and the Hunter's Dream every 4 s), a pool thread's read of the count raced both, with nothing ordering them. The pool's read was never the last word: the splice asks again on the command processor (homes_splice_ok) and draws in order a commit whose home has a copy pending, so no draw bound a home a copy was still to land in. It was a data race on a plain integer all the same. The count is now an atomic, written under the renderer's lock alone - by the command processor, or a guest thread's catch-up that holds it - as a load and a store with release order (one writer at a time, no locked instruction), and read with acquire order by everyone; the splice's check is unchanged. Under ThreadSanitizer on lavapipe the pool's binding raced the count 4 times in a 40-minute fast-loading stress on the base and 5 times in a 40-minute uncapped tour of Old Yharnam, the Nightmare of Mensis and the Hunter's Dream with the pool never resting; with the change, 0 in each. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- src/host/gxvk_homes_vk.cpp | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/src/host/gxvk_homes_vk.cpp b/src/host/gxvk_homes_vk.cpp index 932e1530..3dff2500 100644 --- a/src/host/gxvk_homes_vk.cpp +++ b/src/host/gxvk_homes_vk.cpp @@ -72,16 +72,26 @@ struct Home { // also by stage 4b's pool, whose list-mode binding (homes_bind_locked) runs outside g.mu and leaves a home not // filled yet to the command processor's draw in order. std::atomic filled{false}; + // Copies into it still to be put in place: changed under g.mu alone (by the command processor, or a guest thread's + // catch-up holding it), read by stage 4b's pool too, whose list-mode binding falls to the draw in order on one + // pending - and whose splice asks again on the command processor (homes_splice_ok), so a commit made before a copy + // came is drawn in order too. + std::atomic pending{0}; // The command processor's (under g.mu). bool indexed = false; // in the index by address bool end_queued = false; // on its way to being taken back - std::uint32_t pending = 0; // copies into it still to be put in place std::uint32_t pend_at = 0; // ... the newest one's place in the pending list, valid in pend_epoch's batch std::uint64_t pend_epoch = 0; std::uint8_t* mirror = nullptr; // compare: what the home holds at this point of the walk }; inline std::uint32_t state_of(std::uint32_t w) { return w & 0xff; } inline std::uint32_t gen_of(std::uint32_t w) { return (w >> 8) & 0xff; } +// A home's pending copies: written under g.mu only (one writer at a time: a load and a store), anyone's to read. +inline std::uint32_t pending_of(const Home& e) { return e.pending.load(std::memory_order_acquire); } +inline void pending_add(Home& e, int d) { + const std::uint32_t n = e.pending.load(std::memory_order_relaxed); + e.pending.store(d > 0 ? n + 1 : n ? n - 1 : 0, std::memory_order_release); +} constexpr std::uint32_t kChunkBits = 12, kChunks = 1u << (kIndexBits - kChunkBits); std::atomic g_chunks[kChunks] = {}; @@ -266,7 +276,7 @@ void recycle(std::uint32_t index) { delete[] e->mirror; e->mirror = nullptr; e->filled.store(false, std::memory_order_relaxed); // (made again, it is published by its word's release) - e->pending = 0; + e->pending.store(0, std::memory_order_relaxed); e->end_queued = false; e->indexed = false; std::lock_guard lk(g_mu); @@ -346,7 +356,7 @@ bool ready_for_copy(Home& e, std::uint64_t dst, std::uint64_t bytes) { // reads from now on. The home stays the home. void sync_one_locked(Home& e) { if (!e.filled.load(std::memory_order_acquire)) return; // guest memory holds what the home would - if (e.pending) { + if (pending_of(e)) { render_end_pass_locked(); homes_flush_locked(); } @@ -611,7 +621,7 @@ void homes_begin_recording_locked() { Home* e = home_at(index); if (!e) continue; // (A copy still pending into it goes into place first: its range is free only after the work that reads it.) - if (e->pending) { + if (pending_of(*e)) { render_end_pass_locked(); homes_flush_locked(); } @@ -636,7 +646,7 @@ bool homes_holding_locked(std::uint64_t va, std::uint64_t bytes, Located* out, V if (!e || va < e->memory || va + bytes > e->memory + e->bytes) return false; if (!bind_on()) return false; // compare: today's path is bound if (!e->filled.load(std::memory_order_acquire) && (run_part_stop(kRunStopRefresh) || !fill_locked(*e))) return false; - if (e->pending) bump(g_addr_pending); // (a copy into it pending: the callers that bind ask the copies first - counted) + if (pending_of(*e)) bump(g_addr_pending); // (a copy into it pending: the callers that bind ask the copies first - counted) if (out) *out = {e->buffer, e->offset + (va - e->memory), class_bytes(e->cls) - (va - e->memory)}; if (address) *address = e->address + (va - e->memory); g_bound_addr.fetch_add(1, std::memory_order_relaxed); @@ -719,13 +729,13 @@ int homes_bind_locked(std::uint32_t handle, std::uint64_t base, std::uint64_t by if (t_run_draw && t_run_draw->list) { // Stage 4b.1b's list mode: bound by handle, with no copy pending into // it at its splice either (homes_splice_ok); one pending now is in order. - if (e->pending) { + if (pending_of(*e)) { run_part_stop(kRunStopOrder); bump(g_fall[kFallPart]); return kHomeFall + static_cast(kFallPart); } t_run_draw->list->note_home(handle); - } else if (e->pending) { + } else if (pending_of(*e)) { // A copy into it pending in this pass: the draw reads what the copy writes, from its source. if (pending_lookup(base, bytes, &out) == kCopyVersionInside) { bump(g_bound_pending); @@ -751,7 +761,7 @@ bool homes_splice_ok(std::uint32_t handle) { const std::uint32_t w = e->word.load(std::memory_order_acquire); const std::uint32_t st = state_of(w); return gen_of(w) == gxvk_homes::handle_gen(handle) && (st == kLive || st == kEnded) && e->filled.load(std::memory_order_acquire) && - !e->pending; + !pending_of(*e); } int homes_copy_in_locked(std::uint64_t dst, std::uint64_t bytes, VkBuffer src, VkDeviceSize src_off, const void* src_map) { @@ -777,7 +787,7 @@ int homes_copy_in_locked(std::uint64_t dst, std::uint64_t bytes, VkBuffer src, V // A newer copy over the same bytes takes the older one's place, as its batch would leave only it (a copy-back writes // its buffer whole: a constant buffer copied back twice between two passes is one copy). A draw that bound the older // one's source keeps it. - if (e->pending && e->pend_epoch == g_pend_epoch && e->pend_at < g_pending.size()) { + if (pending_of(*e) && e->pend_epoch == g_pend_epoch && e->pend_at < g_pending.size()) { Pending& p = g_pending[e->pend_at]; if (p.index == index && p.dst == dst && p.bytes == bytes) { p.src = src; @@ -801,7 +811,7 @@ int homes_copy_in_locked(std::uint64_t dst, std::uint64_t bytes, VkBuffer src, V } g_pend_lo = std::min(g_pend_lo, dst); g_pend_hi = std::max(g_pend_hi, dst + bytes); - ++e->pending; + pending_add(*e, 1); return kHomeCopyTaken; } @@ -870,7 +880,7 @@ void homes_flush_locked() { if (!overlap) { // One pending copy a home (the usual batch): no two share bytes, so they run in any order. for (const Pending& p : pending) { - if (Home* e = home_at(p.index); e && e->pending) --e->pending; + if (Home* e = home_at(p.index); e && pending_of(*e)) pending_add(*e, -1); const VkBufferCopy region{p.src_off, p.to_off, p.bytes}; DrawCmds* c = DrawCmds::open(); if (!c || !c->copy_buffer(p.src, p.to, region)) rec().copy_buffer(p.src, p.to, 1, ®ion); @@ -887,7 +897,7 @@ void homes_flush_locked() { covered.clear(); for (auto it = pending.rbegin(); it != pending.rend(); ++it) { const Pending& p = *it; - if (Home* e = home_at(p.index); e && e->pending) --e->pending; + if (Home* e = home_at(p.index); e && pending_of(*e)) pending_add(*e, -1); const std::uint64_t end = p.dst + p.bytes; auto copy_piece = [&](std::uint64_t lo, std::uint64_t hi) { const VkBufferCopy region{p.src_off + (lo - p.dst), p.to_off + (lo - p.dst), hi - lo}; @@ -954,7 +964,7 @@ void homes_compare_locked(std::uint32_t handle, std::uint64_t base, std::uint64_ host_log("gxvk homes compare: the home of 0x%llx (%u bytes) would bind other bytes than today's path at 0x%llx + %llu: first at " "+%zu (home %02x, today %02x)%s", static_cast(e->memory), e->bytes, static_cast(base), static_cast(bytes), at, a[at], b[at], - e->pending ? ", a copy into it pending" : ""); + pending_of(*e) ? ", a copy into it pending" : ""); } } From df7ae79eef2a562b49b79b4e23c86bf7a1f287e0 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 21:37:34 -0800 Subject: [PATCH 031/100] homes: the pool's threads read the index's published page lists, never its map The command processor finds a constant buffer's home by address in an index of the live homes - a std::map with a page filter in front - which it changes in place as it drains GX's events (homes made, ended, their memory unmapped or given to another resource), under the renderer's lock; the texture-ahead thread drains them too, holding that lock. The draw pool's threads ask the same index from their list-mode draws without the lock: the twin check of a cloth draw's index range (homes_meet_locked), a binding by address (homes_holding_locked), a range across a home's edge. Under ThreadSanitizer, on a fast-loading stress on lavapipe (the small-VRAM path, the homes on, lamp travel between a chalice dungeon and the Hunter's Dream every 4 s), a pool thread read the filter's bounds as the texture-ahead thread or the command processor inserted a home, and read the drain's event count as a drain wrote it. A std::map read while another thread inserts or erases can follow a node being rebalanced or freed: a crash, or an answer from neither the old index nor the new - a home that has ended, or another entry's range, bound by address. (No pool thread ever drained: each of its calls returned at drain_locked's run_part() test - but that test came second, after the read of the count.) The index now also keeps, for readers without the lock, the homes touching each 4 KiB page as an immutable list published by an atomic pointer (HomeIndex::read_meets): an insert or an erase publishes a new list for each page it touches and retires the old one, which is freed once no reader can hold it - each reader's slot holds the epoch it entered at, and a list retired at an epoch is freed when no slot holds that epoch or an older one. A run of changes (the events one drain takes, the ends one edge makes) is bracketed by a sequence count, so a reader sees the index as a run left it, never part of one; a run under way is waited out for up to 4,096 pauses (47 us on a Xeon Gold 6230 - the pool thread's time, where drawing in order spends the command processor's), after which the reader is unsure and its draw is drawn in order, as is one asking about 64 pages or more. The command processor's own lookups read the map as before. The pool's paths change nothing and read only the published lists. A binding by address takes a live home whose entry still holds the range, is filled and has no copy pending - its word read again after - and stops the draw otherwise. A home met across its edge, or one whose bytes a walk needs in guest memory, stops a run part's or a pool thread's draw: its copy back and its end are the command processor's, in order (before, the draw went on and read the guest's bytes, the home's not copied back). drain_locked asks for a part's draw first. Under ThreadSanitizer on lavapipe the base's index was raced 3 times in a 40-minute fast-loading stress and 17 times in a 40-minute uncapped tour of Old Yharnam, the Nightmare of Mensis and the Hunter's Dream with the pool never resting (a pool thread's filter read against a drain's insert, the drain's count); with the change, 0 in each (the stress's run: 25 loads, the pool committing 72% of its draws). tests/gxvk_homes_test.cpp checks the published lists against a plain list of the live homes through 60,000 random inserts, erases and replacements, keeps what a held reader may still hold until it leaves, and runs a writer thread changing the index in batches beside three readers: every home that stays found, nothing where nothing ever was, one of the two homes a batch swaps and never neither, only homes the writer put where they are, every retired list freed after. Seven hand mutants of the new code (no reclamation guard, no epoch announced, readers ignoring the batch count or a batch under way, the home at va missed, an erase or a replacement leaving its lists) fail it; it passes under ThreadSanitizer and AddressSanitizer. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 1 + docs/rendering.md | 6 +- src/host/gxvk_homes_index.h | 283 ++++++++++++++++++++++++++++++++++++ src/host/gxvk_homes_vk.cpp | 70 ++++++++- tests/gxvk_homes_test.cpp | 172 +++++++++++++++++++++- 5 files changed, 522 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6123d2b6..b9ec9c89 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1006,6 +1006,7 @@ if(UNIX) # Stage 4b.3c: the index of live homes by address and its page filter, against a plain list (host/gxvk_homes_index.h). add_executable(gxvk_homes_test tests/gxvk_homes_test.cpp) target_include_directories(gxvk_homes_test PRIVATE src include) + target_link_libraries(gxvk_homes_test PRIVATE Threads::Threads) add_test(NAME gxvk_homes_test COMMAND gxvk_homes_test) add_executable(gxvk_rest_test tests/gxvk_rest_test.cpp) target_include_directories(gxvk_rest_test PRIVATE src include) diff --git a/docs/rendering.md b/docs/rendering.md index 148de008..0db5aa1a 100644 --- a/docs/rendering.md +++ b/docs/rendering.md @@ -1273,7 +1273,11 @@ memory at its first use, unless that use is a copy-back over all of it. What reads a home without a handle - a dispatch, a copy, a device address - finds it by address; a CPU copy of its stale guest bytes is refused; a page-table walk that reads it gets it copied back to its memory first, and -it stays the home. A home ends with its buffer, and a buffer made past the +it stays the home. The command processor's index of the homes by address +changes in place, so the draw pool's threads read a copy published for them +instead - the homes touching each 4 KiB page as an immutable list swapped by +pointer, freed once no reader can hold it, a run of changes seen whole or not +at all - and change nothing. A home ends with its buffer, and a buffer made past the pool's budget (128 MiB, `BBHOST_GXVK_HOMES_BUDGET_MB`) takes today's path for its life. Off on an integrated GPU, and with small video memory under 5,000 MiB free at the start unless a budget is given (on a 4 GB card the pool's ~80 diff --git a/src/host/gxvk_homes_index.h b/src/host/gxvk_homes_index.h index 3f8dc630..aff924db 100644 --- a/src/host/gxvk_homes_index.h +++ b/src/host/gxvk_homes_index.h @@ -9,12 +9,38 @@ // the page) of the indexed homes touching it, so a miss reads a counter a page // and never the map. A collision only sends a lookup to the map; a count that // saturates stays saturated (the map answers that page from then on). +// +// The map and the filter change in place, so only the thread that changes them +// reads them: the command processor, under the renderer's lock (and a thread +// holding that lock, or a run part's draw while the command processor holds it +// at the fork). The pool's threads (stage 4b.1b's list-mode draws, +// host/gxvk_lists.h) look homes up beside it without that lock, and read +// another view the index keeps for them (read_meets): the homes touching each +// 4 KiB page as an immutable list, published by an atomic pointer. An insert +// or an erase publishes a new list for each page it touches and retires the +// one it replaces, which is freed once no reader can hold it: each reader's +// slot holds the epoch it entered at (0 outside), and a list retired at an +// epoch is freed when no slot holds that epoch or an older one. The writer +// brackets a run of changes (Batch: the events the command processor drains +// at once) with a sequence count, odd while it runs, so a reader's answer is +// the index as one run left it - never the middle of one - or "unsure" (a run +// under way through all its spins, runs between its looks through all its +// tries, a range of 64 pages or more, no slot left), which the pool's draw +// takes as a reason to be drawn in order. Until +// 2026-11-13 the pool's threads read the map and the filter themselves while +// the command processor and the texture-ahead thread inserted into them: under +// ThreadSanitizer, through a fast-loading stress, a pool thread's lookup read +// the filter's bounds as an insert wrote them, and a std::map read while +// another thread rebalances or frees its nodes can follow a freed node. #pragma once #include +#include #include +#include #include #include +#include namespace gxvk_homes { @@ -26,16 +52,58 @@ class HomeIndex { std::uint32_t bytes = 0; }; + HomeIndex() = default; + HomeIndex(const HomeIndex&) = delete; + HomeIndex& operator=(const HomeIndex&) = delete; + ~HomeIndex() { + for (std::atomic& t : top_) { + Leaf* const leaf = t.load(std::memory_order_relaxed); + if (!leaf) continue; + for (std::atomic& p : leaf->page) std::free(const_cast(p.load(std::memory_order_relaxed))); + delete leaf; + } + for (const Retired& r : retired_) std::free(const_cast(r.list)); + } + + // ---- The writer's (the command processor's, under the renderer's lock) ---- + + // A run of inserts and erases a reader sees whole or not at all (nested: + // the outermost one counts). Its end frees the retired lists no reader can + // hold any more. + class Batch { + public: + explicit Batch(HomeIndex& ix) : ix_(ix) { + if (ix_.depth_++ == 0) { + ix_.seq_.store(ix_.seq_.load(std::memory_order_relaxed) + 1, std::memory_order_relaxed); // odd: under way + std::atomic_thread_fence(std::memory_order_release); + } + } + ~Batch() { + if (--ix_.depth_ == 0) { + ix_.seq_.store(ix_.seq_.load(std::memory_order_relaxed) + 1, std::memory_order_release); + ix_.reclaim(); + } + } + Batch(const Batch&) = delete; + Batch& operator=(const Batch&) = delete; + + private: + HomeIndex& ix_; + }; + // Home `index` holds [memory, memory + bytes): whatever the index held at // that memory before is the caller's to have ended first. void insert(std::uint32_t index, std::uint64_t memory, std::uint32_t bytes) { + const Batch batch(*this); if (!filter_) filter_.reset(new std::uint16_t[kSlots]()); auto [it, fresh] = map_.emplace(memory, Value{index, bytes}); if (!fresh) { count(it->first, it->second.bytes, -1); + pages_remove(it->second.index, it->first, it->second.bytes); it->second = Value{index, bytes}; } count(memory, bytes, 1); + pages_add(index, memory, bytes); lo_ = std::min(lo_, memory); hi_ = std::max(hi_, memory + bytes); ++version_; @@ -44,7 +112,9 @@ class HomeIndex { bool erase(std::uint32_t index, std::uint64_t memory) { const auto it = map_.find(memory); if (it == map_.end() || it->second.index != index) return false; + const Batch batch(*this); count(memory, it->second.bytes, -1); + pages_remove(index, memory, it->second.bytes); map_.erase(it); ++version_; return true; @@ -92,6 +162,87 @@ class HomeIndex { std::size_t size() const { return map_.size(); } // Moves at every insert and erase: an answer kept beside it is good while it stands. std::uint64_t version() const { return version_; } + // The retired lists no reader can hold any more, freed (a batch's end does it; the writer may call it any time + // outside a batch). + void reclaim() { + if (retired_.empty() || depth_) return; + // Readers entering from here on read the lists that replaced these. + epoch_.fetch_add(1, std::memory_order_seq_cst); + std::uint64_t oldest = ~0ull; + for (const Slot& s : slots_) { + const std::uint64_t at = s.at.load(std::memory_order_seq_cst); + if (at && at < oldest) oldest = at; + } + std::size_t keep = 0; + for (const Retired& r : retired_) { + if (r.epoch < oldest) std::free(const_cast(r.list)); + else retired_[keep++] = r; + } + retired_.resize(keep); + } + // Lists retired and not freed yet (tests). + std::size_t retired() const { return retired_.size(); } + + // ---- A reader beside the writer (a pool thread, without the writer's lock) ---- + + enum Read : int { kReadNone, kReadMeets, kReadUnsure }; + // As meets(), from the published lists: the index as a run of changes left + // it, or kReadUnsure (a run under way through kReadSpins pauses - some + // tens of microseconds of the pool thread's time, where drawing it in order + // costs the command processor's - runs between its looks kReadTries + // times, a range of kReadMostPages pages or more or past the pages' reach, + // no reader's slot left). + Read read_meets(std::uint64_t va, std::uint64_t bytes, Hit* out) const { + if (!bytes) return kReadNone; + if (va + bytes < va || va + bytes > kTopVa) return kReadUnsure; + const std::uint64_t first = va >> kPageBits, last = (va + bytes - 1) >> kPageBits; + if (last - first >= kReadMostPages) return kReadUnsure; + const int s = reader_slot(); + if (s < 0) return kReadUnsure; + for (int tries = 0, spins = 0; tries < kReadTries;) { + const std::uint64_t s0 = seq_.load(std::memory_order_acquire); + if (s0 & 1) { + if (++spins > kReadSpins) break; +#if defined(__x86_64__) + __builtin_ia32_pause(); +#endif + continue; + } + enter(s); + Hit h; + const bool hit = pages_meet(va, bytes, first, last, h); + leave(s); + std::atomic_thread_fence(std::memory_order_acquire); + if (seq_.load(std::memory_order_relaxed) != s0) { // a run of changes came between: again + ++tries; + continue; + } + if (hit && out) *out = h; + return hit ? kReadMeets : kReadNone; + } + return kReadUnsure; + } + + // A reader's section held open (tests: what the writer retires meanwhile stays until it leaves). + class Hold { + public: + explicit Hold(const HomeIndex& ix) : ix_(ix), s_(ix.reader_slot()) { + if (s_ >= 0) ix_.enter(s_); + } + ~Hold() { + if (s_ >= 0) ix_.leave(s_); + } + Hold(const Hold&) = delete; + Hold& operator=(const Hold&) = delete; + + private: + const HomeIndex& ix_; + int s_; + }; + + static constexpr int kReaders = 16; // reader threads (the pool has at most four) + static constexpr int kReadTries = 8, kReadSpins = 4096; + static constexpr std::uint64_t kReadMostPages = 64; private: static constexpr std::uint32_t kBits = 20, kSlots = 1u << kBits; @@ -106,10 +257,142 @@ class HomeIndex { c = static_cast(d > 0 ? c + 1 : (c ? c - 1 : 0)); } } + + // The published lists: a page's homes by memory, immutable once published. + struct Entry { + std::uint64_t memory; + std::uint32_t bytes, index; + }; + struct List { + std::uint32_t n; + Entry e[1]; // n of them + }; + // Pages by address: a top of 1 GiB leaves over a 40-bit space (the guest's; nothing past it is published, and a + // reader is unsure there). + static constexpr unsigned kPageBits = 12, kLeafBits = 18, kTopBits = 10; + static constexpr std::uint64_t kTopVa = 1ull << (kPageBits + kLeafBits + kTopBits); + struct Leaf { + std::atomic page[1u << kLeafBits] = {}; + }; + struct Retired { + const List* list; + std::uint64_t epoch; // retired at + }; + struct alignas(64) Slot { + std::atomic at{0}; // the epoch its reader entered at, 0 outside + }; + + static List* make_list(std::uint32_t n) { + List* l = static_cast(std::malloc(sizeof(List) + (n - 1) * sizeof(Entry))); + if (!l) std::abort(); + l->n = n; + return l; + } + // The writer's: a page's slot, its leaf made if need be. + std::atomic& page_slot(std::uint64_t page) { + std::atomic& t = top_[page >> kLeafBits]; + Leaf* leaf = t.load(std::memory_order_relaxed); + if (!leaf) { + leaf = new Leaf(); + t.store(leaf, std::memory_order_release); + } + return leaf->page[page & ((1u << kLeafBits) - 1)]; + } + void retire(const List* l) { retired_.push_back({l, epoch_.load(std::memory_order_relaxed)}); } + void pages_add(std::uint32_t index, std::uint64_t memory, std::uint32_t bytes) { + const std::uint64_t end = memory + std::max(bytes, 1); + if (end < memory || end > kTopVa) return; + for (std::uint64_t p = memory >> kPageBits; p <= (end - 1) >> kPageBits; ++p) { + std::atomic& at = page_slot(p); + const List* const old = at.load(std::memory_order_relaxed); + const std::uint32_t n = old ? old->n : 0; + List* const l = make_list(n + 1); + std::uint32_t k = 0, j = 0; + while (k < n && old->e[k].memory < memory) l->e[j++] = old->e[k++]; + l->e[j++] = Entry{memory, bytes, index}; + while (k < n) l->e[j++] = old->e[k++]; + at.store(l, std::memory_order_seq_cst); + if (old) retire(old); + } + } + void pages_remove(std::uint32_t index, std::uint64_t memory, std::uint32_t bytes) { + const std::uint64_t end = memory + std::max(bytes, 1); + if (end < memory || end > kTopVa) return; + for (std::uint64_t p = memory >> kPageBits; p <= (end - 1) >> kPageBits; ++p) { + std::atomic& at = page_slot(p); + const List* const old = at.load(std::memory_order_relaxed); + if (!old) continue; + std::uint32_t k = 0; + while (k < old->n && !(old->e[k].memory == memory && old->e[k].index == index)) ++k; + if (k == old->n) continue; + List* l = nullptr; + if (old->n > 1) { + l = make_list(old->n - 1); + for (std::uint32_t i = 0, j = 0; i < old->n; ++i) { + if (i != k) l->e[j++] = old->e[i]; + } + } + at.store(l, std::memory_order_seq_cst); + retire(old); + } + } + // A reader's: a page's list (null: no home touches it). + const List* page_list(std::uint64_t page) const { + const Leaf* const leaf = top_[page >> kLeafBits].load(std::memory_order_acquire); + return leaf ? leaf->page[page & ((1u << kLeafBits) - 1)].load(std::memory_order_seq_cst) : nullptr; + } + // meets() over the lists. The home holding va touches va's page: the last there starting at or below va (homes + // do not overlap). Else the first starting inside the range: page by page, a page's first home starting past va + // starts in that page (one starting in an earlier page of the range is on that page's list too). + bool pages_meet(std::uint64_t va, std::uint64_t bytes, std::uint64_t first, std::uint64_t last, Hit& out) const { + if (const List* l = page_list(first)) { + const Entry* below = nullptr; + for (std::uint32_t k = 0; k < l->n && l->e[k].memory <= va; ++k) below = &l->e[k]; + if (below && va < below->memory + below->bytes) { + out = Hit{below->index, below->memory, below->bytes}; + return true; + } + } + for (std::uint64_t p = first; p <= last; ++p) { + const List* l = page_list(p); + if (!l) continue; + for (std::uint32_t k = 0; k < l->n; ++k) { + if (l->e[k].memory <= va) continue; + if (l->e[k].memory >= va + bytes) return false; + out = Hit{l->e[k].index, l->e[k].memory, l->e[k].bytes}; + return true; + } + } + return false; + } + // A reader's section: the epoch it enters at, announced before it reads a list (the writer frees nothing retired + // at that epoch or after while it stays), and its leaving. + void enter(int s) const { slots_[s].at.store(epoch_.load(std::memory_order_seq_cst), std::memory_order_seq_cst); } + void leave(int s) const { slots_[s].at.store(0, std::memory_order_release); } + // This thread's reader slot (-1: none left). + int reader_slot() const { + thread_local const HomeIndex* t_owner = nullptr; + thread_local int t_slot = -1; + if (t_owner != this) { + t_owner = this; + const int s = next_slot_.fetch_add(1, std::memory_order_relaxed); + t_slot = s < kReaders ? s : -1; + } + return t_slot; + } + std::map map_; std::unique_ptr filter_; std::uint64_t lo_ = ~0ull, hi_ = 0; // every indexed home lies inside std::uint64_t version_ = 0; + // The published side. + std::atomic top_[1u << kTopBits] = {}; + std::atomic seq_{0}; // odd while a run of changes is under way + std::atomic epoch_{1}; // moves at each reclaim + int depth_ = 0; // the writer's batches open + std::vector retired_; + mutable Slot slots_[kReaders]; + mutable std::atomic next_slot_{0}; }; } // namespace gxvk_homes diff --git a/src/host/gxvk_homes_vk.cpp b/src/host/gxvk_homes_vk.cpp index 3dff2500..d30743fe 100644 --- a/src/host/gxvk_homes_vk.cpp +++ b/src/host/gxvk_homes_vk.cpp @@ -92,6 +92,10 @@ inline void pending_add(Home& e, int d) { const std::uint32_t n = e.pending.load(std::memory_order_relaxed); e.pending.store(d > 0 ? n + 1 : n ? n - 1 : 0, std::memory_order_release); } +// A pool thread's list-mode draw (stage 4b.1b's lists_commit), beside the command processor without the renderer's +// lock: it reads the index's published lists (HomeIndex::read_meets) and changes nothing here. (A run part's draw - +// BBHOST_RUN_COMMIT - runs while the command processor holds the lock at its fork: it reads the index itself.) +inline bool pool_draw() { return list_resolve::parts() && t_run_draw && t_run_draw->list; } constexpr std::uint32_t kChunkBits = 12, kChunks = 1u << (kIndexBits - kChunkBits); std::atomic g_chunks[kChunks] = {}; @@ -216,15 +220,19 @@ Home* index_meets(std::uint64_t va, std::uint64_t bytes, std::uint32_t* out_inde void end_locked(std::uint32_t index, Home& e, int why); void drain_locked() { - // (A run part's draw - BBHOST_RUN_COMMIT - reads the index as the fork left it: homes_settled_locked refused the - // fork while events were waiting.) - if (g_ev_n.load(std::memory_order_acquire) == g_ev_seen || run_part()) return; + // Under g.mu only - the command processor, or a thread holding its lock (the texture-ahead thread's lookups): a + // pool thread's list-mode draw changes nothing here (it reads the index's published lists), and a run part's draw + // - BBHOST_RUN_COMMIT - reads the index as the fork left it (homes_settled_locked refused the fork while events were + // waiting). Asked first, so neither reads g_ev_seen, which the command processor writes. + if (run_part() || g_ev_n.load(std::memory_order_acquire) == g_ev_seen) return; std::vector events; { std::lock_guard lk(g_mu); events.swap(g_events); g_ev_seen = g_ev_n.load(std::memory_order_relaxed); } + // The pool's threads see the index as these events leave it, or as it was (HomeIndex::Batch). + const HomeIndex::Batch batch(g_ix); // The live homes meeting [va, +bytes) ended for `why` (their buffers' memory is another's now). const auto end_over = [](std::uint64_t va, std::uint64_t bytes, int why) { std::uint32_t oi = 0; @@ -635,10 +643,40 @@ void homes_begin_recording_locked() { recycle(d.index); g_ranges_freed.fetch_add(1, std::memory_order_relaxed); } + g_ix.reclaim(); // (the published lists the pool's threads have left since the last run of changes) } +namespace { +// A pool thread's list-mode draw asking for the home holding a range (homes_holding_locked), from the index's published +// lists: a live home, filled, with no copy into it pending, as its entry stands - anything else, or an index it is not +// sure of, stops the draw (drawn in order, where the fill, the copies and the end are the command processor's). +bool pool_holding(std::uint64_t va, std::uint64_t bytes, Located* out, VkDeviceAddress* address) { + const auto stop = [](int why) { + run_part_stop(why); + return false; + }; + HomeIndex::Hit h; + const int r = g_ix.read_meets(va, bytes, &h); + if (r == HomeIndex::kReadUnsure) return stop(kRunStopOrder); + if (r == HomeIndex::kReadNone || va < h.memory || va + bytes > h.memory + h.bytes || !bind_on()) return false; + Home* const e = home_at(h.index); + const std::uint32_t w = e ? e->word.load(std::memory_order_acquire) : 0; + if (!e || state_of(w) != kLive || e->memory != h.memory || e->bytes != h.bytes) return stop(kRunStopOrder); + if (!e->filled.load(std::memory_order_acquire)) return stop(kRunStopRefresh); + if (pending_of(*e)) return stop(kRunStopOrder); + const Located loc{e->buffer, e->offset + (va - e->memory), class_bytes(e->cls) - (va - e->memory)}; + const VkDeviceAddress at = e->address + (va - e->memory); + if (e->word.load(std::memory_order_acquire) != w) return stop(kRunStopOrder); // (ended, or taken back and made again, meanwhile) + if (out) *out = loc; + if (address) *address = at; + g_bound_addr.fetch_add(1, std::memory_order_relaxed); + return true; +} +} // namespace + bool homes_holding_locked(std::uint64_t va, std::uint64_t bytes, Located* out, VkDeviceAddress* address) { if (!gxvk_homes::made_on() || !bytes) return false; + if (pool_draw()) return pool_holding(va, bytes, out, address); drain_locked(); if (!g_ix.may_meet(va, bytes)) return false; std::uint32_t index = 0; @@ -655,19 +693,34 @@ bool homes_holding_locked(std::uint64_t va, std::uint64_t bytes, Located* out, V bool homes_meet_locked(std::uint64_t va, std::uint64_t bytes) { if (!g_bind.load(std::memory_order_relaxed) || !bytes) return false; + if (pool_draw()) { // (from the published lists; one it is not sure of meets a home, and stops the draw) + const int r = g_ix.read_meets(va, bytes, nullptr); + if (r == HomeIndex::kReadUnsure) run_part_stop(kRunStopOrder); + return r != HomeIndex::kReadNone; + } drain_locked(); return ix_meets(va, bytes, nullptr); } bool homes_straddle_locked(std::uint64_t va, std::uint64_t bytes) { if (!g_bind.load(std::memory_order_relaxed) || !bytes) return false; - drain_locked(); HomeIndex::Hit h; + if (pool_draw()) { // (as homes_meet_locked) + const int r = g_ix.read_meets(va, bytes, &h); + if (r == HomeIndex::kReadUnsure) run_part_stop(kRunStopOrder); + return r == HomeIndex::kReadUnsure || (r == HomeIndex::kReadMeets && (va < h.memory || va + bytes > h.memory + h.bytes)); + } + drain_locked(); return ix_meets(va, bytes, &h) && (va < h.memory || va + bytes > h.memory + h.bytes); } void homes_sync_locked(std::uint64_t va, std::uint64_t bytes, int why) { if (!g_bind.load(std::memory_order_relaxed) || !bytes) return; + // (Its copies are recorded in order: a run part's or a pool thread's draw stops at them.) + if (run_part()) { + run_part_stop(kRunStopOrder); + return; + } drain_locked(); if (!g_ix.may_meet(va, bytes)) return; std::uint64_t at = va; @@ -681,9 +734,16 @@ void homes_sync_locked(std::uint64_t va, std::uint64_t bytes, int why) { } void homes_end_meeting_locked(std::uint64_t va, std::uint64_t bytes) { - if (!g_bind.load(std::memory_order_relaxed) || !bytes || run_part()) return; + if (!g_bind.load(std::memory_order_relaxed) || !bytes) return; + // A home met across its edge is copied back and ended in order: a run part's or a pool thread's draw stops there + // (until 2026-11-13 it went on and read the guest's bytes as they stood, the home's not copied back). + if (run_part()) { + run_part_stop(kRunStopOrder); + return; + } drain_locked(); if (!g_ix.may_meet(va, bytes)) return; + const HomeIndex::Batch batch(g_ix); std::uint32_t index = 0; for (int n = 0; n < 4096; ++n) { Home* e = index_meets(va, bytes, &index); diff --git a/tests/gxvk_homes_test.cpp b/tests/gxvk_homes_test.cpp index 6a7d3646..a6a655d0 100644 --- a/tests/gxvk_homes_test.cpp +++ b/tests/gxvk_homes_test.cpp @@ -5,6 +5,12 @@ // answer the command processor asks of it (meets, holding, straddles, and the // filter's "no") checked against a plain list of the live ranges. The filter // may say "maybe" where nothing is; it may never say "no" where a home is. +// The pool's threads' view of it (read_meets, the published lists) gives the +// same answers, single-threaded; beside a writer thread changing it in batches, +// readers find every home that stays, nothing where nothing ever was, one of +// the two homes a batch swaps (never neither: a batch's middle), and only homes +// the writer put where they are (no freed list read back); every list retired +// is freed once the readers are done (concurrent_test). // The handle's packing is checked too (host/gxvk_homes.h), and the default's // rule (default_off: on only with a card with room or 5,000 MiB of small video // memory free and a frame rate above 60 - at any frame rate where the run @@ -15,9 +21,12 @@ #include "host/gxvk_homes_index.h" #include "host/list_resolve.h" +#include +#include #include #include #include +#include #include namespace { @@ -28,7 +37,7 @@ struct Live { std::uint32_t bytes; }; -int g_failures = 0; +std::atomic g_failures{0}; // (the concurrent test's threads check too) void check(bool ok, const char* what, std::uint64_t va, std::uint64_t bytes) { if (ok) return; if (++g_failures <= 12) std::printf("FAIL: %s at 0x%llx + %llu\n", what, static_cast(va), static_cast(bytes)); @@ -49,6 +58,128 @@ void model(const std::vector& live, std::uint64_t va, std::uint64_t bytes, *straddles = *meets && !*holding; } +// The index a home gets in concurrent_test: from its memory and size, so a reader tells a real entry from bytes that +// are not one. +std::uint32_t index_of(std::uint64_t memory, std::uint32_t bytes) { + return static_cast(((memory >> 4) * 2654435761ull) ^ (bytes * 40503u)) & gxvk_homes::kIndexMask; +} + +void concurrent_test() { + using gxvk_homes::HomeIndex; + HomeIndex ix; + const std::uint64_t base = 0x300000000ull; + // Homes that stay: 64 of 4 KiB, 64 KiB apart. + constexpr int kStable = 64; + const auto stable_at = [&](int k) { return base + static_cast(k) * 0x10000; }; + for (int k = 0; k < kStable; ++k) ix.insert(index_of(stable_at(k), 4096), stable_at(k), 4096); + // Pairs the writer swaps in one batch: A at the slot, 40 KiB (ten pages); B 256 bytes on, 40 KiB less 512. Both hold + // the probe, a page and a half in. + constexpr int kPairs = 32; + const auto pair_at = [&](int k) { return base + 0x1000000 + static_cast(k) * 0x10000; }; + const auto a_of = [&](int k) { return Live{index_of(pair_at(k), 40960), pair_at(k), 40960}; }; + const auto b_of = [&](int k) { return Live{index_of(pair_at(k) + 256, 40448), pair_at(k) + 256, 40448}; }; + std::vector pair_b(kPairs, 0); + for (int k = 0; k < kPairs; ++k) ix.insert(a_of(k).index, a_of(k).memory, a_of(k).bytes); + // Homes made and ended at random in 16 MiB; 16 MiB nobody touches. + const std::uint64_t churn = base + 0x2000000, empty = base + 0x3000000; + std::atomic stop{false}; + std::atomic batches{0}; + std::thread writer([&] { + std::mt19937_64 r(99); + std::vector live; + while (!stop.load(std::memory_order_relaxed)) { + { + const HomeIndex::Batch b(ix); + for (int n = 0; n < 4; ++n) { + const int k = static_cast(r() % kPairs); + const Live from = pair_b[k] ? b_of(k) : a_of(k), to = pair_b[k] ? a_of(k) : b_of(k); + if (!ix.erase(from.index, from.memory)) check(false, "the writer's erase of a pair's home", from.memory, from.bytes); + ix.insert(to.index, to.memory, to.bytes); + pair_b[k] ^= 1; + } + if (live.size() < 200 || r() % 2) { + const std::uint32_t bytes = static_cast(16 * (1 + r() % 1024)); + const std::uint64_t memory = churn + 16 * (r() % (0x1000000 / 16 - 1024)); + bool over = false; + for (const Live& l : live) over |= l.memory < memory + bytes && memory < l.memory + l.bytes; + if (!over) { + ix.insert(index_of(memory, bytes), memory, bytes); + live.push_back({index_of(memory, bytes), memory, bytes}); + } + } else { + const std::size_t k = r() % live.size(); + ix.erase(live[k].index, live[k].memory); + live[k] = live.back(); + live.pop_back(); + } + } + batches.fetch_add(1, std::memory_order_relaxed); + // (The command processor drains its events between draws; three batches in four come right after another.) + if (r() % 4 == 0) std::this_thread::sleep_for(std::chrono::microseconds(20)); + } + }); + std::atomic asked{0}, unsure{0}; + const auto reader = [&](int seed) { + std::mt19937_64 r(seed); + std::uint64_t n = 0, u = 0; + while (!stop.load(std::memory_order_relaxed)) { + HomeIndex::Hit h; + const int what = static_cast(r() % 4); + if (what == 0) { + const int k = static_cast(r() % kStable); + const std::uint64_t va = stable_at(k) + 16 * (r() % 255); + const int a = ix.read_meets(va, 16, &h); + if (a == HomeIndex::kReadUnsure) ++u; + else check(a == HomeIndex::kReadMeets && h.memory == stable_at(k) && h.bytes == 4096 && h.index == index_of(h.memory, h.bytes), + "a home that stays, found", va, 16); + } else if (what == 1) { + const int k = static_cast(r() % kPairs); + const std::uint64_t va = pair_at(k) + 6144; + const int a = ix.read_meets(va, 4, &h); + if (a == HomeIndex::kReadUnsure) ++u; + else check(a == HomeIndex::kReadMeets && ((h.memory == a_of(k).memory && h.bytes == a_of(k).bytes) || + (h.memory == b_of(k).memory && h.bytes == b_of(k).bytes)) && + h.index == index_of(h.memory, h.bytes), + "one of a swapped pair, never neither", va, 4); + } else if (what == 2) { + const std::uint64_t va = empty + 16 * (r() % (0x1000000 / 16 - 4096)); + const int a = ix.read_meets(va, 16 * (1 + r() % 1024), &h); + if (a == HomeIndex::kReadUnsure) ++u; + else check(a == HomeIndex::kReadNone, "nothing where nothing ever was", va, 16); + } else { + const std::uint64_t va = churn + 16 * (r() % (0x1000000 / 16 - 4096)), bytes = 16 * (1 + r() % 1024); + const int a = ix.read_meets(va, bytes, &h); + if (a == HomeIndex::kReadUnsure) ++u; + else if (a == HomeIndex::kReadMeets) + check(h.index == index_of(h.memory, h.bytes) && h.memory < va + bytes && va < h.memory + h.bytes, + "a hit is a home the writer put there, meeting the range", va, bytes); + } + ++n; + } + asked.fetch_add(n); + unsure.fetch_add(u); + }; + std::vector readers; + for (int t = 0; t < 3; ++t) readers.emplace_back(reader, 1000 + t); + std::this_thread::sleep_for(std::chrono::milliseconds(1500)); + stop.store(true); + writer.join(); + for (std::thread& t : readers) t.join(); + // Done: the lists every reader has left freed, and each pair's home the one the writer left. + ix.reclaim(); + check(ix.retired() == 0, "every retired list freed once the readers are done", ix.retired(), 0); + for (int k = 0; k < kPairs; ++k) { + HomeIndex::Hit h; + const Live want = pair_b[k] ? b_of(k) : a_of(k); + check(ix.read_meets(pair_at(k) + 6144, 4, &h) == HomeIndex::kReadMeets && h.memory == want.memory && h.bytes == want.bytes, + "the pair's home the writer left", pair_at(k), 0); + } + // (Unsure: a batch under way through every try - a reader that is always unsure checks nothing.) + check(asked.load() > 1000 && unsure.load() * 2 < asked.load(), "readers mostly sure beside the writer", unsure.load(), asked.load()); + std::printf("gxvk_homes_test: concurrent: %llu batches, %llu reads, %llu unsure\n", static_cast(batches.load()), + static_cast(asked.load()), static_cast(unsure.load())); +} + } // namespace int main() { @@ -175,6 +306,12 @@ int main() { if (overlaps(memory, bytes)) continue; ix.insert(next_index, memory, bytes); live.push_back({next_index++, memory, bytes}); + } else if (op == 4 && rng() % 4 == 0) { + // A new home at a live one's memory (no larger: nothing else is met) replaces it. + const std::size_t k = rng() % live.size(); + const std::uint32_t bytes = 16 * (1 + static_cast(rng() % (live[k].bytes / 16))); + ix.insert(next_index, live[k].memory, bytes); + live[k] = {next_index++, live[k].memory, bytes}; } else if (op < 6) { const std::size_t k = rng() % live.size(); check(ix.erase(live[k].index, live[k].memory), "erase of a live home", live[k].memory, live[k].bytes); @@ -198,6 +335,19 @@ int main() { model(live, va, bytes, &m, &h, &s, &first); HomeIndex::Hit hit; const bool im = ix.meets(va, bytes, &hit); + // The pool's view: the same home, or unsure only for a range of 64 pages or more. + { + HomeIndex::Hit rh; + const int r = ix.read_meets(va, bytes, &rh); + const bool long_range = ((va + bytes - 1) >> 12) - (va >> 12) >= HomeIndex::kReadMostPages; + if (r == HomeIndex::kReadUnsure) { + check(long_range, "the published lists unsure of a short range", va, bytes); + } else { + check(!long_range && (r == HomeIndex::kReadMeets) == m, "the published lists' meets", va, bytes); + if (r == HomeIndex::kReadMeets && im) + check(rh.index == hit.index && rh.memory == hit.memory && rh.bytes == hit.bytes, "the published lists' home", va, bytes); + } + } ++queries; if (ix.may_meet(va, bytes)) ++maybes; check(im == m, "meets", va, bytes); @@ -218,9 +368,23 @@ int main() { for (const Live& l : live) check(ix.erase(l.index, l.memory), "final erase", l.memory, l.bytes); for (int q = 0; q < 2000; ++q) { const std::uint64_t va = heaps[q % 2] + 16 * (rng() % (256 * 4096 / 16)); - check(!ix.meets(va, 64, nullptr) && !ix.may_meet(va, 64), "empty index", va, 64); + check(!ix.meets(va, 64, nullptr) && !ix.may_meet(va, 64) && ix.read_meets(va, 64, nullptr) == HomeIndex::kReadNone, "empty index", va, 64); + } + ix.reclaim(); + check(ix.retired() == 0, "no reader: every retired list freed", ix.retired(), 0); + // A reader inside its section: what the writer retires meanwhile stays until it leaves (and only that long). + { + HomeIndex::Hold* hold = new HomeIndex::Hold(ix); + ix.insert(next_index, heaps[0], 64); + check(ix.erase(next_index, heaps[0]), "erase beside a held reader", heaps[0], 64); + ix.reclaim(); + check(ix.retired() > 0, "a list retired while a reader is inside kept", ix.retired(), 0); + delete hold; + ix.reclaim(); + check(ix.retired() == 0, "freed once the reader left", ix.retired(), 0); } + concurrent_test(); std::printf("gxvk_homes_test: %llu queries, the filter said maybe to %llu; %d failures\n", static_cast(queries), - static_cast(maybes), g_failures); - return g_failures ? 1 : 0; + static_cast(maybes), g_failures.load()); + return g_failures.load() ? 1 : 0; } From 50ec59485fd230100924c62a30a3a04d9574381e Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 21:37:34 -0800 Subject: [PATCH 032/100] render: GX's tables ring waits for the GPU at a lap, and the pool places its tables in segments of its own GX's tables ring is 128 MiB of host memory the GPU page table reaches, where a draw or a dispatch places the tables its user data points at - the vertex table, the resource tables, the context and extended blocks - which the GPU reads when it runs the work. It went round by size alone ("tables come to a few MiB a frame at most"), and the draw pool's threads took 64 KiB chunks of it from the same cursor and kept each until it was full: across recordings, flips and rests. A pool thread that rested at a frame cap kept its chunk half used for as long as the rest lasted, and when it worked again - a loading screen, a heavier scene - placed its next draws' tables there, whatever the cursor had handed out there since. A lap of the ring takes two or three minutes of the world at 60 (13 to 21 KiB a flip) and about one of a fast loading screen (4.8 KiB a flip, 470 flips a second), so a pool that rests longer than a lap meets it: its tables go over tables the cursor handed to later draws and dispatches, and the cursor hands its tables to later work again, and where the two are within a few frames' placements of each other the GPU reads the wrong ones. A table read wrong gives a shader another draw's buffer or texture descriptors: a wrong address, or a loop bound read from the wrong memory - a loading screen runs a particle simulation whose loop count comes from a buffer its table names, the kind of shader that has hung the GPU before. On an RTX 4070, with a test build's pool made to work only in loading screens and 210 s of the world at 60 between fast loads, 4,704 of the pool's 78,204 placements in 20 minutes (8 loading screens) went into chunks whose bytes the cursor had handed out again since; none was within 1 MiB of the cursor, where what they went over could still have been waiting for the GPU - rare, then, but every loading screen after a longer rest was another chance. ThreadSanitizer's reports on the ring were another meeting of the two, which did no harm: the command processor's copy of a constant buffer GX placed in the ring runs on to the end of its last 64-byte line (the copies' ring is write-combined memory), past the block into the bytes the cursor had handed a pool thread next, where it wrote its vertex table; a draw binds the block's bytes alone. Now (host/gx_tables_ring.h): - the command processor's placements - its draws in order, its dispatches, a run part's chunks, Scaleform's tables - go round the ring's first 112 MiB (all of it with the pool off) with the constant-buffer copies' ring's serial guard: each 4 MiB segment keeps the lap the cursor last entered it in and the newest recording that placed there, and a placement entering it in a new lap waits for that recording to have run; a run part's draw, which cannot wait, stops at a wrap or a wait and is committed in order; - the pool's list-mode draws place their tables in the ring's last 16 MiB, in 1 MiB segments a pool thread owns while it places there - nothing else writes there however long it keeps one - noted with their lap in the commit. A segment its owner left is taken again only once no commit placed in it can still be spliced (kListMaxAge + 2 flips) and the recordings its commits were spliced into have run. A draw's splice and a segment's check the laps, stamp each segment with the recording they land in, then check the laps again: a take claims a lap before it reads the stamp, so one of the two sees the other. Under ThreadSanitizer on lavapipe the ring's reports (1 in a 40-minute fast-loading stress on the base, 4 in a 40-minute uncapped tour of Old Yharnam, the Nightmare of Mensis and the Hunter's Dream with the pool never resting) are 0 in each with the change. The guard waited for the GPU 0 times in every run: uncapped on the RTX 4070 (5 laps of its part in a 3-minute tour), on a laptop's RTX 3070 Ti (8 laps in 5 minutes), at 60 with fast loads (7 laps in 10 minutes); the arena never ran out of segments (up to 253 taken in a run). On lavapipe with the pool never resting, the splice's compare found 203,103 committed draws and the segments' 185,071 members the same as their draws in order, and validation (BBHOST_VK_VALIDATE=1) gave no error, only its two usual warnings about a fragment shader output no attachment takes; the run commit's compare found its parts' 34,047 draws the same as in order, and the draw contexts' check none of 11,558 chunks leaving the command processor's part. With this change and the two before it, frame rates are unchanged within the runs' spread: uncapped on the RTX 4070 Old Yharnam -1.5%, the Nightmare of Mensis -0.8%, the Hunter's Dream +2.1%, on the laptop -0.9%, +0.3%, +0.5%; at a 120 cap the process's CPU 1.6-4.9% lower; at 60 the same, on a Steam Deck too. tests/gx_tables_ring_test.cpp runs the guard and the arena against recordings the GPU runs late: nothing handed out again before the recording that holds it has run, a run part never waits or wraps, a segment its owner keeps never taken, none taken before its commits are too old to splice and their recordings have run, a splice after a take always told. Nine hand mutants of the two (the guard never waiting, a segment keeping its lap's first recording, a run part wrapping or waiting, an owned segment taken, a segment taken before its splice's recording ran or while young, a splice not asking the lap again, a take keeping the lap) fail it. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 5 + docs/rendering.md | 8 + src/host/gpu_internal.h | 16 +- src/host/gx_tables_ring.h | 180 ++++++++++++++++++++ src/host/render.cpp | 109 +++++++++++-- tests/gx_tables_ring_test.cpp | 299 ++++++++++++++++++++++++++++++++++ 6 files changed, 600 insertions(+), 17 deletions(-) create mode 100644 src/host/gx_tables_ring.h create mode 100644 tests/gx_tables_ring_test.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index b9ec9c89..b94809b7 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1008,6 +1008,11 @@ if(UNIX) target_include_directories(gxvk_homes_test PRIVATE src include) target_link_libraries(gxvk_homes_test PRIVATE Threads::Threads) add_test(NAME gxvk_homes_test COMMAND gxvk_homes_test) + # GX's tables ring: the command processor's serial guard and the pool's arena (host/gx_tables_ring.h). + add_executable(gx_tables_ring_test tests/gx_tables_ring_test.cpp) + target_include_directories(gx_tables_ring_test PRIVATE src include) + target_link_libraries(gx_tables_ring_test PRIVATE Threads::Threads) + add_test(NAME gx_tables_ring_test COMMAND gx_tables_ring_test) add_executable(gxvk_rest_test tests/gxvk_rest_test.cpp) target_include_directories(gxvk_rest_test PRIVATE src include) add_test(NAME gxvk_rest_test COMMAND gxvk_rest_test) diff --git a/docs/rendering.md b/docs/rendering.md index 0db5aa1a..35b0922f 100644 --- a/docs/rendering.md +++ b/docs/rendering.md @@ -889,6 +889,14 @@ pool's constant-buffer copies take the last 16 MiB of the command processor's ring, which keeps the rest while the pool runs, so on a card with a small window of video memory the CPU writes both stay in video memory (in host memory the GPU read them across the bus: +11% GPU time on an RTX 4070). +Their tables - the vertex and resource tables a draw's user data points at - +take the last 16 MiB of GX's tables ring in the same way, in 1 MiB segments a +pool thread owns while it places there, each taken again only once no commit +placed in it can still be spliced and the recordings its commits went into +have run; the command processor's part of that ring waits, at a lap, for the +recording that last placed in a segment to have run. (Until 2026-11-13 a pool +thread kept a chunk of the shared ring until it was full - across a rest at a +frame cap too - and could write over tables the ring had handed out since.) Unset, the switch follows the constant buffers' homes: segments where the homes bind by handle, off elsewhere (small video memory, an integrated GPU) with the reason in the log; the pool needs 8 hardware threads or more. diff --git a/src/host/gpu_internal.h b/src/host/gpu_internal.h index 66ff129a..2bb1c884 100644 --- a/src/host/gpu_internal.h +++ b/src/host/gpu_internal.h @@ -1477,6 +1477,9 @@ struct ListNotes { std::uint32_t nsegs = 0; std::uint32_t seg[4] = {}; // the list arena's segments its constant-buffer copies went into std::uint64_t seg_lap[4] = {}; + std::uint32_t ngx = 0; + std::uint32_t gx_seg[2] = {}; // the GX tables ring's pool-arena segments its tables went into (host/gx_tables_ring.h) + std::uint64_t gx_lap[2] = {}; std::uint64_t packet_index = 0; // its token slot's list packet (recorder_list_packet) std::uint64_t call_flip = 0; // its GX call's flip (the list arena's copies are shared within one) std::uint64_t set_key[2] = {}; @@ -1501,9 +1504,20 @@ struct ListNotes { view_target = 0; set_key[0] = set_key[1] = 0; set[0] = set[1] = VK_NULL_HANDLE; - nhomes = nsegs = 0; + nhomes = nsegs = ngx = 0; full = false; } + void note_gx(std::uint32_t s, std::uint64_t lap) { + for (std::uint32_t k = 0; k < ngx; ++k) { + if (gx_seg[k] == s && gx_lap[k] == lap) return; + } + if (ngx < 2) { + gx_seg[ngx] = s; + gx_lap[ngx++] = lap; + } else { + full = true; + } + } void note_home(std::uint32_t handle) { for (std::uint32_t k = 0; k < nhomes; ++k) { if (home[k] == handle) return; diff --git a/src/host/gx_tables_ring.h b/src/host/gx_tables_ring.h new file mode 100644 index 00000000..2a508fa1 --- /dev/null +++ b/src/host/gx_tables_ring.h @@ -0,0 +1,180 @@ +// GX's tables ring (render.cpp gx_ring_place): 128 MiB of host memory the GPU +// page table reaches, where a draw or a dispatch places the tables its user +// data points at - the fetch shader's vertex table, the resource tables, the +// context and extended blocks - which the GPU reads when it runs the work. +// The part of it that needs no GPU (tests/gx_tables_ring_test.cpp). +// +// The command processor's placements - its draws in order, its dispatches, a +// run part's chunks (BBHOST_RUN_COMMIT), Scaleform's tables - go round the +// ring from a cursor, and every one is read by the recording open as it is +// placed. Guard keeps, for each 4 MiB segment of its part, the lap the +// cursor last entered it in and the newest recording that placed there: a +// placement entering a segment in a new lap waits for that recording to have +// run (a run part's draw, which cannot wait, stops and is committed in order), +// as the constant-buffer copies' ring has it. A lap takes about a minute of +// fast loading screens (470 flips a second, 4.8 KiB a flip) and two or three +// of the world at 60 (13 to 21 KiB a flip), so the wait comes only with a GPU +// that far behind. +// +// Stage 4b.1b's pool commits draws ahead of the command processor, before the +// recording that will read their tables is known - the splice puts them into +// whichever is open at the draw's token, up to kListMaxAge flips later. They +// place their tables in Arena: the ring's last 16 MiB, in 1 MiB segments a pool +// thread owns while it places in one, so nothing else writes there however +// long it keeps it (the pool rests at a frame cap for minutes and starts +// working again at the next loading screen). A segment its owner left is taken +// again only once every commit placed in it is too old to splice and every +// recording one was spliced into has run: the splice stamps the segment with +// its recording and checks the segment's lap is still the commit's - a take +// claims the lap before it reads the stamp, the splice stamps before it reads +// the lap, so one of the two sees the other. Until 2026-11-13 the pool took its +// tables from the command processor's cursor in 64 KiB chunks it kept until +// they were full, and the ring wrapped by size alone: a pool thread that rested +// with a chunk half used across a lap of the ring wrote its next draws' tables +// over bytes the cursor had handed out since - other draws' and dispatches' +// tables, which the GPU may not have read yet. (ThreadSanitizer's reports on +// the ring were a meeting of the two that did no harm: the command +// processor's copy of a constant buffer GX placed here runs on to the end of +// its last 64-byte line, past the block into the bytes the cursor had handed +// a pool thread next - bytes no draw binds.) +#pragma once + +#include +#include +#include + +namespace gx_ring { + +constexpr std::uint64_t kRingBytes = 128ull << 20; + +// The command processor's part of the ring (under the ring's lock). +struct Guard { + static constexpr std::uint64_t kSegment = 4ull << 20; + static constexpr std::uint32_t kSegments = static_cast(kRingBytes / kSegment); + static constexpr std::uint64_t kNone = ~0ull; + std::uint64_t end = kRingBytes; // where its part ends (the pool's arena after it) + std::uint64_t cursor = 0, lap = 1; + std::uint64_t seg_lap[kSegments] = {}, seg_serial[kSegments] = {}; + std::uint64_t laps = 0, waits = 0; + // `bytes` aligned to `align` (a power of two) for recording `open` (the + // one being made): their offset in the ring. A segment they enter in a new + // lap whose last recording has not run - `ran(serial)` - is waited for, + // `wait(serial)`; a run part's draw (`part`) gets kNone instead wherever a + // wrap or a wait would come, and nothing moves. kNone too for more than + // the part holds. + template + std::uint64_t take(std::uint64_t bytes, std::uint64_t align, std::uint64_t open, bool part, Ran&& ran, Wait&& wait) { + if (!bytes || bytes > end) return kNone; + std::uint64_t at = (cursor + align - 1) & ~(align - 1); + bool wrap = false; + if (at + bytes > end) { + if (part) return kNone; + at = 0; + wrap = true; + } + const std::uint64_t now = lap + (wrap ? 1 : 0); + const std::uint32_t s0 = static_cast(at / kSegment), s1 = static_cast((at + bytes - 1) / kSegment); + for (std::uint32_t s = s0; s <= s1; ++s) { + // (A segment the open recording placed in, a lap before - more than a lap's tables in one recording - + // cannot be waited for; never met.) + if (seg_lap[s] && seg_lap[s] != now && seg_serial[s] < open && !ran(seg_serial[s])) { + if (part) return kNone; + ++waits; + wait(seg_serial[s]); + } + } + if (wrap) { + lap = now; + ++laps; + } + for (std::uint32_t s = s0; s <= s1; ++s) { + seg_lap[s] = lap; + seg_serial[s] = open; + } + cursor = at + bytes; + return at; + } +}; + +// The pool's part: kBytes at the ring's end, in kSegments segments. +struct Arena { + static constexpr std::uint64_t kBytes = 16ull << 20, kSegment = 1ull << 20; + static constexpr std::uint32_t kSegments = static_cast(kBytes / kSegment); + static constexpr std::uint64_t kNone = ~0ull; + // A pool thread's own: the segment it owns, the lap it took it at, where its next placement goes, the flip it last + // stamped as the segment's. + struct Cursor { + std::uint32_t seg = ~0u; + std::uint64_t lap = 0, next = 0, flip = 0; + }; + std::mutex mu; // the takes + bool owned[kSegments] = {}; + std::atomic last_flip[kSegments] = {}; // its owner's last placement's flip (0: never placed in) + std::atomic max_serial[kSegments] = {}; // the newest recording a commit placed in it was spliced into + std::atomic lap[kSegments] = {}; // moved by each take (and each look at it that found it busy) + std::uint32_t next = 0; + std::atomic takes{0}, full{0}; + + // `bytes` aligned to `align` (a power of two, at most 256) for a draw this + // thread commits at flip `flip`: their offset in the arena, `c` saying in + // which segment and lap. A new segment when its own is full: one no thread + // owns, whose last placement is more than `max_age` + 2 flips old (no + // commit of it may still be spliced) and whose last splice's recording has + // run - `completed` recordings have. kNone when there is none (the draw + // is then drawn in order) or the tables are longer than a segment. + std::uint64_t place(Cursor& c, std::uint64_t bytes, std::uint64_t align, std::uint64_t flip, std::uint64_t completed, std::uint64_t max_age) { + if (!bytes || bytes > kSegment) return kNone; + std::uint64_t at = (c.next + align - 1) & ~(align - 1); + if (c.seg == ~0u || at + bytes > kSegment) { + std::lock_guard lk(mu); + std::uint32_t found = ~0u; + std::uint64_t found_lap = 0; + for (std::uint32_t k = 0; k < kSegments && found == ~0u; ++k) { + const std::uint32_t s = (next + k) % kSegments; + if (owned[s]) continue; + const std::uint64_t last = last_flip[s].load(std::memory_order_relaxed); + if (last && last + max_age + 2 >= flip) continue; + // Its lap claimed before its stamp is read (the splice stamps, then reads the lap): a commit spliced + // into a recording not run yet keeps it, or its splice sees the lap moved and draws it in order. + const std::uint64_t l = lap[s].fetch_add(1, std::memory_order_seq_cst) + 1; + if (max_serial[s].load(std::memory_order_seq_cst) >= completed + (last ? 0 : 1)) continue; + found = s; + found_lap = l; + } + if (found == ~0u) { + full.fetch_add(1, std::memory_order_relaxed); + return kNone; + } + if (c.seg != ~0u) owned[c.seg] = false; // (its last flip stays: it ages from there) + owned[found] = true; + next = (found + 1) % kSegments; + last_flip[found].store(flip, std::memory_order_relaxed); + max_serial[found].store(0, std::memory_order_relaxed); + c.seg = found; + c.lap = found_lap; + c.next = 0; + c.flip = flip; + at = 0; + takes.fetch_add(1, std::memory_order_relaxed); + } else if (c.flip != flip) { + c.flip = flip; + last_flip[c.seg].store(flip, std::memory_order_relaxed); + } + c.next = at + bytes; + return static_cast(c.seg) * kSegment + at; + } + // Whether segment `seg` is still at lap `l` (a splice's first look). + bool lap_is(std::uint32_t seg, std::uint64_t l) const { return seg < kSegments && lap[seg].load(std::memory_order_acquire) == l; } + // A commit that placed in segment `seg` at lap `l`, spliced into recording + // `open`: the segment stamped with it, then true when it is still that lap + // (false: taken again since - drawn in order). + bool splice(std::uint32_t seg, std::uint64_t l, std::uint64_t open) { + if (seg >= kSegments) return false; + std::atomic& ms = max_serial[seg]; + std::uint64_t cur = ms.load(std::memory_order_seq_cst); + while (cur < open && !ms.compare_exchange_weak(cur, open, std::memory_order_seq_cst)) {} + return lap[seg].load(std::memory_order_seq_cst) == l; + } +}; + +} // namespace gx_ring diff --git a/src/host/render.cpp b/src/host/render.cpp index b8cf7990..0bf59af7 100644 --- a/src/host/render.cpp +++ b/src/host/render.cpp @@ -48,6 +48,7 @@ #include "host/gxvk_lists_internal.h" #include "host/list_cb_memo.h" #include "host/gxvk_table.h" +#include "host/gx_tables_ring.h" #include "host/draw_capture.h" #include "host/shaders/particleargs.spv.h" #include "host/shaders/gbuffer_flat_frag.spv.h" @@ -745,13 +746,19 @@ const bool g_vs_invariant = [] { // Rendering from GX: the tables a draw's user data points at // (the fetch shader's vertex table, resource tables, extended blocks) live in // a host-owned ring the GPU page table reaches, instead of the command -// stream's memory. +// stream's memory (host/gx_tables_ring.h): the command processor's part, round +// which its placements go under the ring's lock with its serial guard, and +// stage 4b.1b's pool's arena at its end (g_list_gx). struct GxRing { std::mutex mu; - std::uint64_t base = 0, size = 0, cursor = 0; + std::uint64_t base = 0, size = 0; bool failed = false; + gx_ring::Guard guard; // (under mu) }; GxRing g_gx_ring; +gx_ring::Arena g_list_gx; +std::atomic g_list_gx_base{0}; // the arena's address, once the ring is made with the pool committing draws +thread_local gx_ring::Arena::Cursor t_list_gx; // Whether [base, +bytes) lies in the ring: a table a draw's user data placed there (gx_ring_place), whose bytes that // draw's commit wrote. (The base is set once, under the ring's lock, before any placement is handed out.) bool gx_ring_holds(std::uint64_t base, std::uint64_t bytes) { @@ -14824,9 +14831,19 @@ void render_report() { } } if (g_vertex_tables.load() || g_gx_user_stages.load() || g_gx_user_fallbacks.load()) { - host_log("render: GX vertex tables from the call %llu; stage user data built %llu, left to the command stream %llu (ring at 0x%llx)", + std::uint64_t laps = 0, waits = 0, base = 0; + { + std::lock_guard lk(g_gx_ring.mu); + laps = g_gx_ring.guard.laps; + waits = g_gx_ring.guard.waits; + base = g_gx_ring.base; + } + host_log("render: GX vertex tables from the call %llu; stage user data built %llu, left to the command stream %llu (ring at 0x%llx: " + "%llu laps, %llu waits for the GPU at a segment's reuse; the pool's arena: %llu segments taken, none free %llu)", static_cast(g_vertex_tables.load()), static_cast(g_gx_user_stages.load()), - static_cast(g_gx_user_fallbacks.load()), static_cast(g_gx_ring.base)); + static_cast(g_gx_user_fallbacks.load()), static_cast(base), + static_cast(laps), static_cast(waits), + static_cast(g_list_gx.takes.load()), static_cast(g_list_gx.full.load())); } if (g_render_cost_enabled) { const auto per = [](int k) { @@ -18531,39 +18548,53 @@ void compare_gx_fetch(std::uint64_t user_fetch, const GxDrawObjects& o) { } // Reserves bytes in the ring (8-byte aligned), copies them there and returns -// their address; 0 when no ring could be mapped. Tables come to a few MiB a -// frame at most, so the 128 MiB ring does not reuse a copy before the queued -// work reading it has run. +// their address; 0 when no ring could be mapped, or for a run part's or a +// pool thread's draw that stopped instead (the guard, host/gx_tables_ring.h). // BBHOST_DRAW_CONTEXT: a draw context's placements come from a chunk of the // ring it owns, taken as a placement of the chunk's size would be. constexpr std::uint64_t kGxCtxChunk = 64u << 10; +std::uint64_t gx_list_place(const std::uint8_t* data, std::uint64_t bytes, std::uint64_t align); std::uint64_t gx_ring_place(const std::uint8_t* data, std::uint64_t bytes, std::uint64_t align = 8) { + if (list_draw()) return gx_list_place(data, bytes, align); GxRing& ring = g_gx_ring; std::uint64_t va = 0; DrawCtx* const ctx = draw_ctx(); if (ctx) { if (!bytes) return 0; - ctx->take_recording(list_draw() ? 1 : g.flushes); // (a pool thread's chunk is its own: no recording to follow) + ctx->take_recording(g.flushes); va = (ctx->gx_next + align - 1) & ~(align - 1); } if (!ctx || !ctx->gx_end || va + bytes > ctx->gx_end) { const std::uint64_t take = ctx ? std::max(kGxCtxChunk, bytes + align) : bytes; std::lock_guard lk(ring.mu); if (!ring.base && !ring.failed) { - ring.size = 128ull << 20; + ring.size = gx_ring::kRingBytes; ring.base = hle_kernel_map_host(ring.size); ring.failed = ring.base == 0; if (ring.failed) host_log("render: no host mapping for GX tables; they stay on the command stream"); - } - if (!ring.base || !bytes || take > ring.size) return 0; - ring.cursor = (ring.cursor + align - 1) & ~(align - 1); - if (ring.cursor + take > ring.size) ring.cursor = 0; - va = ring.base + ring.cursor; - ring.cursor += take; + // Stage 4b.1b's pool places its draws' tables in the ring's last 16 MiB (its arena), the command processor + // in the rest. + if (ring.base && gxvk_lists::splice()) { + ring.guard.end = ring.size - gx_ring::Arena::kBytes; + g_list_gx_base.store(ring.base + ring.guard.end, std::memory_order_release); + } + } + if (!ring.base || !bytes) return 0; + // A segment entered in a new lap: the recording that last placed there has run, or is waited for (a run + // part's draw stops instead). + const bool part = run_part(); + const std::uint64_t at = ring.guard.take( + take, align, g.flushes, part, [](std::uint64_t serial) { return g.completed_submits > serial; }, + [](std::uint64_t serial) { wait_submission_locked(serial); }); + if (at == gx_ring::Guard::kNone) { + if (part) run_part_stop(kRunStopRing); + return 0; + } + va = ring.base + at; if (ctx) { ctx->gx_end = va + take; list_resolve::count(list_resolve::kCtxGxChunks); - if (list_resolve::draw_ctx_compare()) list_resolve::check_chunk(0, g.flushes, va, va + take, ring.base, ring.base + ring.size); + if (list_resolve::draw_ctx_compare()) list_resolve::check_chunk(0, g.flushes, va, va + take, ring.base, ring.base + ring.guard.end); } } if (ctx) { @@ -18574,6 +18605,31 @@ std::uint64_t gx_ring_place(const std::uint8_t* data, std::uint64_t bytes, std:: return va; } +// Stage 4b.1b: a pool thread's list-mode draw places its tables in the pool's +// arena of the ring (host/gx_tables_ring.h Arena), in the segment the thread +// owns, the segment and its lap noted for the splice; 0 and the draw stopped +// when the ring is not made yet (the command processor's draws make it) or no +// segment is free. +std::uint64_t gx_list_place(const std::uint8_t* data, std::uint64_t bytes, std::uint64_t align) { + const std::uint64_t base = g_list_gx_base.load(std::memory_order_acquire); + ListNotes* const notes = t_run_draw ? t_run_draw->list : nullptr; + if (!base || !bytes || !notes || align > 256) { + run_part_stop(kRunStopRing); + return 0; + } + gx_ring::Arena::Cursor& c = t_list_gx; + const std::uint64_t at = g_list_gx.place(c, bytes, align, hle_video_flip_count(), g_completed_submits_seen.load(std::memory_order_acquire), + kListMaxAge); + if (at == gx_ring::Arena::kNone) { + run_part_stop(kRunStopRing); + return 0; + } + notes->note_gx(c.seg, c.lap); // (more segments than its notes hold: not committed) + const std::uint64_t va = base + at; + std::memcpy(reinterpret_cast(static_cast(va)), data, static_cast(bytes)); + return va; +} + // The renderer's placements (under g.mu): a ring mapped since the last page // table rebuild enters the tables before anything in it is bound. std::uint64_t ring_place(const std::uint8_t* data, std::uint64_t bytes, std::uint64_t align = 8) { @@ -29339,6 +29395,9 @@ bool host_gpu_splice(std::uint64_t id) { for (std::uint32_t k = 0; k < n.nsegs; ++k) { if (g_list_arena.lap[n.seg[k]].load(std::memory_order_acquire) != n.seg_lap[k]) return fall(kSwArena); } + for (std::uint32_t k = 0; k < n.ngx; ++k) { + if (!g_list_gx.lap_is(n.gx_seg[k], n.gx_lap[k])) return fall(kSwArena); // (its tables' segment taken again) + } if (!occlusion_draw_plain()) return fall(kSwOcclusion); if (g.queued + 2 >= kMaxQueued * kStageSlots) return fall(kSwOther); // (a mid-frame submit: in order) if (gxvk_lists::splice_compare()) { // drawn in order, and compared with this commit after (host_gpu_splice_compare) @@ -29350,6 +29409,11 @@ bool host_gpu_splice(std::uint64_t id) { if (std::uint64_t want = cw_now; !c.word.compare_exchange_strong(want, lc_word(id, kLcTaken), std::memory_order_acq_rel)) return fall(kSwSegment); if (!occlusion_draw_entry()) return fall(kSwOcclusion); // (issued: plain, so no predicate skips it) begin_recording_locked(); + // Its tables' segments in the GX ring's pool arena stamped with this recording, then their laps asked again: a take + // claims a lap before it reads the stamp (host/gx_tables_ring.h). + for (std::uint32_t k = 0; k < n.ngx; ++k) { + if (!g_list_gx.splice(n.gx_seg[k], n.gx_lap[k], g.flushes)) return fall(kSwArena); + } // (Stage 4b.2 without maintenance7: a pass begun for segments holds no inline draw - begun again for it.) if ((g_pass.flags & VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT) && !(g_pass.flags & VK_RENDERING_CONTENTS_INLINE_BIT_KHR)) pass_restart_locked(0); @@ -29737,6 +29801,7 @@ struct Segment { std::vector sets; std::vector homes; std::vector> cb_segs, pr_segs; // the list arena's and the params region's segments, laps + std::vector> gx_segs; // the GX ring's pool arena's (host/gx_tables_ring.h) struct Pipe { GfxPipeline* p; std::uint32_t draws, gx; @@ -30075,6 +30140,7 @@ void build_segment(const gxvk_lists::detail::ListRec& r, const std::uint64_t* wo sg.sets.clear(); sg.homes.clear(); sg.cb_segs.clear(); + sg.gx_segs.clear(); sg.pipes.clear(); sg.vs_other.clear(); const ListCommit& head = all[r.id[m0] & (kListCommits - 1)]; @@ -30111,6 +30177,11 @@ void build_segment(const gxvk_lists::detail::ListRec& r, const std::uint64_t* wo for (const auto& [s2, l2] : sg.cb_segs) noted |= s2 == ln.seg[i] && l2 == ln.seg_lap[i]; if (!noted) sg.cb_segs.emplace_back(ln.seg[i], ln.seg_lap[i]); } + for (std::uint32_t i = 0; i < ln.ngx; ++i) { + bool noted = false; + for (const auto& [s2, l2] : sg.gx_segs) noted |= s2 == ln.gx_seg[i] && l2 == ln.gx_lap[i]; + if (!noted) sg.gx_segs.emplace_back(ln.gx_seg[i], ln.gx_lap[i]); + } if (GfxPipeline* const p = static_cast(c.drew)) { std::uint32_t pat = static_cast(sg.pipes.size()); if (seen.find_or_put((5ull << 60) ^ reinterpret_cast(p), pat)) { @@ -30408,6 +30479,9 @@ bool host_gpu_splice_segment(std::uint64_t id, std::uint64_t word) { for (const auto& [s2, lap] : sg.pr_segs) { if (g_list_params.lap[s2].load(std::memory_order_acquire) != lap) return fall(kSfArena); } + for (const auto& [s2, lap] : sg.gx_segs) { + if (!g_list_gx.lap_is(s2, lap)) return fall(kSfArena); + } if (!occlusion_draw_plain()) return fall(kSfOcclusion); if (gxvk_lists::segments_compare()) { // drawn in order, each member compared with its commit (host_gpu_splice_compare) std::memcpy(t_seg_would, sg.ids, sizeof(std::uint64_t) * sg.count); @@ -30416,6 +30490,9 @@ bool host_gpu_splice_segment(std::uint64_t id, std::uint64_t word) { return fall(kSfCompare); } begin_recording_locked(); + for (const auto& [s2, lap] : sg.gx_segs) { // (stamped, then asked again: as host_gpu_splice) + if (!g_list_gx.splice(s2, lap, g.flushes)) return fall(kSfArena); + } if (g_seg_inline) { // Replayed by the recorder into the command buffer itself, chained (a pass begun for secondaries ends first). if ((g_pass.flags & VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT) && !(g_pass.flags & VK_RENDERING_CONTENTS_INLINE_BIT_KHR)) diff --git a/tests/gx_tables_ring_test.cpp b/tests/gx_tables_ring_test.cpp new file mode 100644 index 00000000..ab394068 --- /dev/null +++ b/tests/gx_tables_ring_test.cpp @@ -0,0 +1,299 @@ +// GX's tables ring (host/gx_tables_ring.h) without the game or a GPU. +// +// The command processor's guard: placements of every size for recordings that +// run late - a GPU a whole lap or more behind, recordings the size of the ring +// - and run parts that cannot wait. No placement is handed bytes an earlier +// placement of a recording that has not run holds; a part gets none where the +// command processor would wrap or wait, and nothing moves for it. +// +// The pool's arena: pool threads place tables and tag their bytes, a command +// processor thread splices their commits into recordings (late ones refused, +// as kListMaxAge has it; some splices held up between their first look and +// the stamp, as a descheduled command processor would be) and a GPU thread +// runs the recordings in order, checking every spliced commit's tag is still +// in its bytes when its recording runs - no take handed them out before. +#include "host/gx_tables_ring.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace { + +std::atomic g_failures{0}; +void check(bool ok, const char* what, unsigned long long a, unsigned long long b) { + if (ok) return; + if (++g_failures <= 12) std::printf("FAIL: %s (%llu, %llu)\n", what, a, b); +} + +void guard_test() { + using gx_ring::Guard; + std::mt19937_64 rng(77); + struct Placed { + std::uint64_t at, bytes, serial; + }; + for (int pass = 0; pass < 2; ++pass) { + Guard g; + if (pass == 1) g.end = gx_ring::kRingBytes - (16ull << 20); // (the pool's arena carved off) + std::uint64_t open = 0, completed = 0, waits = 0, parts_stopped = 0, placed = 0; + std::deque live; // placements of recordings not run yet, in order + std::multimap by_at; // the same by where they are + constexpr std::uint64_t kLongest = 16ull << 20; + const auto ran = [&](std::uint64_t s) { return completed > s; }; + bool in_part = false; + const auto wait = [&](std::uint64_t s) { + check(!in_part, "a run part's take never waits", s, open); + check(s < open, "a wait for a recording not submitted yet", s, open); + completed = std::max(completed, s + 1); + ++waits; + }; + for (int step = 0; step < 240000; ++step) { + const int phase = (step / 20000) % 4; // small tables; chunks; recordings of tens of MiB; a GPU far behind + const std::uint64_t bytes = phase == 2 && rng() % 8 == 0 ? (1 + rng() % 16) << 20 + : phase == 1 ? 64 << 10 + : 16 * (1 + rng() % 1024); + const std::uint64_t align = std::uint64_t{8} << (rng() % 6); + const bool part = rng() % 5 == 0; + Guard before = g; + in_part = part; + std::uint64_t at = g.take(bytes, align, open, part, ran, wait); + in_part = false; + if (part && at != Guard::kNone) check(g.lap == before.lap && g.waits == before.waits, "a run part's take never wraps", step, g.lap); + if (part && at == Guard::kNone) { + ++parts_stopped; + check(std::memcmp(&before, &g, sizeof(g)) == 0, "a part's refusal moved nothing", step, 0); + // ...and the command processor would have wrapped or waited there. + Guard copy = before; + std::uint64_t w = 0; + copy.take(bytes, align, open, false, ran, [&](std::uint64_t) { ++w; }); + check(w > 0 || copy.lap != before.lap || bytes > before.end, "a part refused only at a wrap or a wait", step, bytes); + at = g.take(bytes, align, open, false, ran, wait); // (committed in order: the command processor's own take) + } + check(at != Guard::kNone && at + bytes <= g.end, "a placement inside the part", at, bytes); + if (at == Guard::kNone) continue; + ++placed; + for (auto it = by_at.lower_bound(at + bytes); it != by_at.begin();) { + --it; + const Placed& p = it->second; + if (p.at + kLongest <= at) break; + if (p.serial < completed || p.serial == open) continue; // (run, or the same recording's: never overlapping) + check(!(p.at < at + bytes && at < p.at + p.bytes), "bytes a recording not run yet holds handed out again", at, p.serial); + } + live.push_back({at, bytes, open}); + by_at.emplace(at, live.back()); + // A recording a few placements long, submitted; the GPU runs them late - in the last phase not at all + // until a placement waits for one. + if (rng() % (phase == 2 ? 4 : 64) == 0) ++open; + if (phase != 3 && open > 3 && rng() % 8 == 0) completed = std::max(completed, open - 1 - rng() % 3); + while (!live.empty() && live.front().serial < completed) { + const auto [lo, hi] = by_at.equal_range(live.front().at); + for (auto it = lo; it != hi; ++it) { + if (it->second.serial == live.front().serial && it->second.bytes == live.front().bytes) { + by_at.erase(it); + break; + } + } + live.pop_front(); + } + } + check(waits > 0 && parts_stopped > 0 && g.laps > 20, "the test met waits, part refusals and laps", waits, g.laps); + std::printf("gx_tables_ring_test: guard (end %llu MiB): %llu placements, %llu laps, %llu waits, %llu part refusals\n", + static_cast(g.end >> 20), static_cast(placed), + static_cast(g.laps), static_cast(waits), + static_cast(parts_stopped)); + } +} + +void arena_test() { + using gx_ring::Arena; + constexpr std::uint64_t kMaxAge = 4; + Arena a; + // The arena's bytes, a tag a word (atomics: the threads' writes and the checks race by design when a guard fails). + std::vector> mem(Arena::kBytes / 4); + std::atomic flip{1}, completed{0}; + std::atomic stop{false}; + struct Commit { + std::uint32_t seg; + std::uint64_t lap, at, bytes, flip; + std::uint32_t tag; + }; + std::mutex qmu; + std::deque queue; + std::atomic next_tag{1}; + std::atomic placed{0}, refused{0}; + const auto pool = [&](int seed) { + std::mt19937_64 r(seed); + Arena::Cursor c; + while (!stop.load(std::memory_order_relaxed)) { + const std::uint64_t bytes = 4 * (1 + r() % 4096); + const std::uint64_t at = a.place(c, bytes, 16, flip.load(), completed.load(), kMaxAge); + if (at == Arena::kNone) { + refused.fetch_add(1, std::memory_order_relaxed); + std::this_thread::yield(); + continue; + } + const std::uint32_t tag = next_tag.fetch_add(1); + for (std::uint64_t w = at / 4; w < (at + bytes) / 4; ++w) mem[w].store(tag, std::memory_order_relaxed); + // Its segment is its own while it places there: nobody took it (its lap would have moved). + check(a.lap_is(c.seg, c.lap), "an owned segment's lap kept while its owner places there", c.seg, c.lap); + placed.fetch_add(1, std::memory_order_relaxed); + // (The third thread's commits are never spliced - refused at their splices - so its segment's stamp stays + // old: only its owning it keeps it from a take while it rests.) + if (seed % 3 != 2) { + std::lock_guard lk(qmu); + queue.push_back({c.seg, c.lap, at, bytes, flip.load(), tag}); + if (queue.size() > 4096) queue.pop_front(); // (never spliced: dropped) + } + // Resting now and then, its segment kept (the pool at a frame cap) - long enough for it to look old. + if (r() % 256 == 0) std::this_thread::sleep_for(std::chrono::milliseconds(1)); + } + }; + const auto intact = [&](const Commit& m) { + for (std::uint64_t w = m.at / 4; w < (m.at + m.bytes) / 4; ++w) { + if (mem[w].load(std::memory_order_relaxed) != m.tag) return false; + } + return true; + }; + // The recordings: the open one's serial, each one's spliced commits; the GPU runs them in order, late. + std::mutex rmu; + std::uint64_t open = 0; + std::deque> recordings(1); + std::atomic spliced{0}, old{0}, moved{0}, checked{0}; + std::thread cp([&] { + std::mt19937_64 r(5); + while (!stop.load(std::memory_order_relaxed)) { + Commit m; + { + std::unique_lock lk(qmu); + if (queue.empty()) { + lk.unlock(); + std::this_thread::yield(); + continue; + } + m = queue.front(); + queue.pop_front(); + } + if (m.flip + kMaxAge < flip.load()) { // (too old to splice: drawn in order) + old.fetch_add(1, std::memory_order_relaxed); + continue; + } + if (!a.lap_is(m.seg, m.lap)) { + moved.fetch_add(1, std::memory_order_relaxed); + continue; + } + if (r() % 8 == 0) std::this_thread::sleep_for(std::chrono::microseconds(150)); // (held up between its looks) + std::lock_guard lk(rmu); + if (!a.splice(m.seg, m.lap, open)) { + moved.fetch_add(1, std::memory_order_relaxed); + continue; + } + check(intact(m), "a spliced commit's tables intact at its splice", m.seg, m.tag); + recordings.back().push_back(m); + spliced.fetch_add(1, std::memory_order_relaxed); + if (recordings.back().size() >= 16) { // submitted: a new recording opens + ++open; + recordings.emplace_back(); + } + } + }); + std::thread gpu([&] { + while (!stop.load(std::memory_order_relaxed)) { + std::this_thread::sleep_for(std::chrono::microseconds(300)); // (late) + std::lock_guard lk(rmu); + if (recordings.size() < 3) continue; + for (const Commit& m : recordings.front()) { + check(intact(m), "a spliced commit's tables intact when its recording runs", m.seg, m.tag); + checked.fetch_add(1, std::memory_order_relaxed); + } + recordings.pop_front(); + completed.fetch_add(1); + } + }); + std::thread flipper([&] { + while (!stop.load(std::memory_order_relaxed)) { + std::this_thread::sleep_for(std::chrono::microseconds(50)); + flip.fetch_add(1); + } + }); + std::vector pools; + for (int t = 0; t < 3; ++t) pools.emplace_back(pool, 300 + t); // (seeds 300, 301, 302: the last one's never spliced) + std::this_thread::sleep_for(std::chrono::milliseconds(2000)); + stop.store(true); + for (std::thread& t : pools) t.join(); + cp.join(); + gpu.join(); + flipper.join(); + check(spliced.load() > 1000 && checked.load() > 1000 && a.takes.load() > 16, "the arena test spliced, ran and took segments again", + spliced.load(), a.takes.load()); + std::printf("gx_tables_ring_test: arena: %llu placed (%llu refused: no segment free), %llu segments taken, %llu spliced (%llu too old, " + "%llu taken again first), %llu checked as their recordings ran\n", + static_cast(placed.load()), static_cast(refused.load()), + static_cast(a.takes.load()), static_cast(spliced.load()), + static_cast(old.load()), static_cast(moved.load()), + static_cast(checked.load())); +} + +// The arena's rules one at a time: an owned segment is no other thread's; a segment let go is taken again only once old +// enough and once its last splice's recording has run; a take moves the lap, and a splice after it says so. +void arena_rules_test() { + using gx_ring::Arena; + Arena a; + Arena::Cursor c0, c1; + std::uint64_t at0 = a.place(c0, 1024, 16, 10, 0, 4), at1 = a.place(c1, 1024, 16, 10, 0, 4); + check(at0 != Arena::kNone && at1 != Arena::kNone && c0.seg != c1.seg, "two threads, two segments", c0.seg, c1.seg); + // Thread 0 fills its segment and moves on; its old segment is not taken while young or while its splice's + // recording has not run. + const std::uint32_t first = c0.seg; + const std::uint64_t lap0 = c0.lap; + check(a.splice(first, lap0, 7), "a splice at the commit's lap", first, lap0); + a.place(c0, Arena::kSegment, 16, 11, 0, 4); // (a full segment's worth: a new one) + check(c0.seg != first, "a full segment left for a new one", c0.seg, first); + for (std::uint32_t k = 0; k < Arena::kSegments * 2; ++k) { + Arena::Cursor t; + const std::uint64_t at = a.place(t, Arena::kSegment, 16, 13, 100, 4); // (young: flip 13 is within 4 + 2 of 11) + check(at == Arena::kNone || t.seg != first, "a young segment not taken", t.seg, first); + } + Arena b; + Arena::Cursor d0; + b.place(d0, 64, 16, 10, 0, 4); + const std::uint32_t s0 = d0.seg; + check(b.splice(s0, d0.lap, 5), "stamped with recording 5", s0, 5); + b.place(d0, Arena::kSegment, 16, 10, 0, 4); // (let go) + bool taken = false; + for (int k = 0; k < 64 && !taken; ++k) { + Arena::Cursor t; + if (b.place(t, Arena::kSegment, 16, 100, 5, 4) != Arena::kNone) taken |= t.seg == s0; // (recording 5 not run: completed 5) + } + check(!taken, "not taken before its splice's recording has run", s0, 5); + Arena e; + Arena::Cursor f0; + e.place(f0, 64, 16, 10, 0, 4); + const std::uint32_t s1 = f0.seg; + const std::uint64_t l1 = f0.lap; + e.place(f0, Arena::kSegment, 16, 10, 0, 4); // (let go, never spliced) + for (int k = 0; k < 64; ++k) { + Arena::Cursor t; + e.place(t, Arena::kSegment, 16, 100, 1, 4); + } + check(!e.lap_is(s1, l1) && !e.splice(s1, l1, 3), "a splice after a take says the lap moved", s1, l1); + check(e.place(f0, Arena::kSegment + 1, 16, 100, 1, 4) == Arena::kNone, "longer than a segment: none", 0, 0); +} + +} // namespace + +int main() { + guard_test(); + arena_rules_test(); + arena_test(); + std::printf("gx_tables_ring_test: %d failures\n", g_failures.load()); + return g_failures.load() ? 1 : 0; +} From 992f5bd52ddaf72a3bae82a5c6637c012d36aab2 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 01:30:24 -0800 Subject: [PATCH 033/100] main: the self-tests write their log The command stream's and the options file's self-tests run before the configuration is read, and the log holds its lines until the configuration decides whether it is written. The self-tests leave with std::_Exit, so what they said - what differed, the stream's cost table, the validation layer's messages that docs/rendering.md has the stream self-test run with - went with them, and only the exit code was left. Each now turns the log on before it runs. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- src/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 76a6351c..cb7de57e 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -1218,6 +1218,11 @@ int main(int argc, char** argv) { } } if (rounds) { + // Its lines written: what differed, the cost table, the validation + // layer's messages. The log's decision otherwise waits for the + // configuration, which a self-test never reads, and the lines held + // until then went with its exit. + decide_log(true); const int rc = host_gpu_stream_selftest(rounds); std::fflush(nullptr); std::_Exit(rc); // the recorder and submission threads run on: no static destructors under them @@ -1228,6 +1233,7 @@ int main(int argc, char** argv) { // the exit code says. for (int i = 1; i + 1 < argc; ++i) { if (std::strcmp(argv[i], "--options-selftest") == 0) { + decide_log(true); // its lines written (the stream self-test's note) const int rc = host_options_selftest(argv[i + 1]); std::fflush(nullptr); std::_Exit(rc); From cae1f8fba864e266a99ba176c0b75238b6230a55 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Thu, 12 Nov 2026 06:26:56 -0800 Subject: [PATCH 034/100] gpu: a device loss names the op the GPU stopped in, not only the draw before it The progress markers a start after a lost device runs with are two words written before each draw and dispatch: the top of the pipe (the GPU reached it) and the bottom (everything before it had finished). They name the draw the GPU had started, but not whether it finished, nor what was recorded after it - the end of its pass and the barrier with it, copies, fills, clears, queries, the depth copy's compute pass, the next pass's begin - where the GPU can as well have stopped before it reached the next draw's marker. A loss on an RTX 2060 SUPER under Windows put the marker on the light composite (8747a367+32e47788), a draw with no loop, no branch and no read its buffers do not hold; the report could not say more than the window. - Every op the recorder replays between draws - barriers, pass ends and begins, copies, fills, clears, queries, buffer updates, binds and pushes, descriptor updates, the host's own dispatches, list packets - is noted in a ring of 4096 the report reads back by number: its kind, its buffers or images, sizes or stages, the draw or dispatch before it. Not inside a pass begun for secondary command buffers alone. - Before the ops where the GPU's front end stops or the pass changes - barriers, pass ends and begins, the host's own dispatches, secondaries executed, the presenter's command buffer at its start and end - a top-of-pipe marker with the op's number: the last such op the front end reached. The front end runs on past the other ops until one of these, so that is where its word is left at a loss. - The loss report names that op, lists the ops after the draw or dispatch the GPU had started up to it and the ones after it that had no word, and says whether one of them before it is a barrier whose source stages take in that draw's: past such a barrier the draw had finished and the GPU stopped in the ops after it; stopped at it, the draw may not have. That rests on barriers holding the front end until the work before them has finished, as NVIDIA's and AMD's GPUs do; the specification does not promise it. - What the default gives up is where the front end was held between two such ops (by a full queue ahead of it); BBHOST_GPU_MARKER_OPS=all writes the word before every op for that. Neither writes a bottom-of-pipe word per op or one after each draw: those made the ops wait for one another and for the draw before them. On an RTX 3070 Ti Laptop GPU under Windows, Central Yharnam uncapped against the two words a draw alone, that ran 10.7% slower, a word before every op 4.2% (on NVIDIA's GPUs a word between two copies holds them apart), the default 1.5%; on a Steam Deck the words cost nothing measurable. The three starts after a loss run with the markers on, often on a modest card. - The exit line reads the words once the queue has gone idle, named as the report names them (a submission's own mark by its number, not a dash): with nothing in flight the last started is the last finished before, a check of the markers themselves on every start that runs with them. - BBHOST_GPU_CHECKPOINTS=amd-dry records all of it on a device without buffer markers (lavapipe), the writes left out; BBHOST_MARKER_TRACE=[:n] logs the ops marked after the first n draws of a pipeline and, where the markers are written, every 300 flips the loss report's reading of the words as they stand - the report checked without a loss. - docs/rendering.md lists the three switches; docs/running.md says what the log of a second hang now names. - tests/gpu_markers_test.cpp: the ring of notes across its wrap and the counter's, and the reading of the op word against the draw started. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 4 + docs/rendering.md | 3 + docs/running.md | 4 +- src/host/gpu.cpp | 129 ++++++++++++-- src/host/gpu.h | 4 + src/host/gpu_internal.h | 24 +++ src/host/gpu_markers.h | 130 ++++++++++++++ src/host/gpu_stub.cpp | 1 + src/host/recorder.cpp | 355 +++++++++++++++++++++++++++++++++++-- src/host/render.cpp | 5 + src/host/window.cpp | 2 + tests/gpu_markers_test.cpp | 125 +++++++++++++ 12 files changed, 763 insertions(+), 23 deletions(-) create mode 100644 src/host/gpu_markers.h create mode 100644 tests/gpu_markers_test.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index b94809b7..c5d2c706 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1023,6 +1023,10 @@ if(UNIX) add_executable(list_cb_memo_test tests/list_cb_memo_test.cpp) target_include_directories(list_cb_memo_test PRIVATE src include) add_test(NAME list_cb_memo_test COMMAND list_cb_memo_test) + # The markers between the draws a device-loss report reads (host/gpu_markers.h). + add_executable(gpu_markers_test tests/gpu_markers_test.cpp) + target_include_directories(gpu_markers_test PRIVATE src include) + add_test(NAME gpu_markers_test COMMAND gpu_markers_test) # The draw pool's threads by default, counted from the process's affinity (host/gxvk_lists.h pool_threads_for). add_executable(pool_threads_test tests/pool_threads_test.cpp src/core/portable.cpp) target_include_directories(pool_threads_test PRIVATE src include) diff --git a/docs/rendering.md b/docs/rendering.md index 35b0922f..1d729f05 100644 --- a/docs/rendering.md +++ b/docs/rendering.md @@ -1316,5 +1316,8 @@ another thread before the capture read it. | `BBHOST_VK_VALIDATE=1` | runs with the Vulkan validation layer | | `BBHOST_VA_TRACE=1` | logs every guest-memory import made, put in place, retired and freed, every window whose page-table entries move, every device buffer made through `create_dev_buffer` with its owner and every staging or scratch chunk freed (`va:` lines, the wall clock in seconds and microseconds, to match `journalctl -k -o short-unix`); a device fault report then looks its addresses up in them. `=2` adds the driver's own binds and unbinds where it reports them (VK_EXT_device_address_binding_report) | | `BBHOST_GPU_PROFILE=1` | per-pass GPU timings | +| `BBHOST_GPU_CHECKPOINTS=amd` | the GPU's progress markers (VK_AMD_buffer_marker, which NVIDIA's drivers have too) on every start: two words before each draw and dispatch, and the front end's word before the ops between them where it stops or the pass changes - barriers, pass ends and begins - with every op noted. A lost device then names the draw or dispatch the GPU had started, the op its front end had reached, the ops between the two, and whether a barrier among them says the draw had finished (barriers hold the front end on NVIDIA's and AMD's GPUs; the specification does not promise it). The three starts after a loss run with them by themselves; `=0` keeps them off; `=amd-dry` records them on a device without the extension (lavapipe) | +| `BBHOST_GPU_MARKER_OPS=all` | with the markers on, the front end's word before every op between draws: where the front end was held between two barriers shows too, at a cost on NVIDIA's GPUs, where a word between two copies holds them apart | +| `BBHOST_MARKER_TRACE=[:n]` | with the markers on, the ops noted after the first n (4) draws of the pipelines whose name starts with the prefix, and every 300 flips what a lost device would say from the words as they stand | | `BBHOST_UPSCALE_CHECK=4` + `tools/upscale_check.py` | the upscalers' reprojection check, with an upscaler on and `BBHOST_UPSCALE_JITTER=0`: in place of the upscaler's picture, green where the motion explains how the scene changed since the last frame, red where it does not, blue where a surface came from off the screen; every 30 frames the log has red's share of what changed, over the picture and in sixteen bands of its width, and the tool sums it over the windows where the picture moved | | `bbhost --stream-selftest[=N]` | checks the command stream headless against a CPU model, N rounds (16 by default), and exits with 0 when it matched; run it with `BBHOST_VK_VALIDATE=1` too | diff --git a/docs/running.md b/docs/running.md index 8ba4f5ef..fdfac222 100644 --- a/docs/running.md +++ b/docs/running.md @@ -252,8 +252,8 @@ without it: its title screen would otherwise be a flat green picture. **The graphics card stops responding.** When the GPU hangs and the system resets it, nothing can be drawn again in that session; bbhost stops the sound, says so in a box and exits. The next three starts run with the GPU's progress -markers enabled, so the log of a second hang names the draw that hung - send -that log. Overlays that hook Vulkan are a common cause: OBS's game capture is +markers enabled, so the log of a second hang names the draw that hung and how +far past it the GPU had got - send that log. Overlays that hook Vulkan are a common cause: OBS's game capture is kept out automatically on AMD cards (`[video] obs_capture` changes that), and OBS's Window Capture records bbhost without any hook. diff --git a/src/host/gpu.cpp b/src/host/gpu.cpp index 05ea80e8..206287a9 100644 --- a/src/host/gpu.cpp +++ b/src/host/gpu.cpp @@ -14,6 +14,7 @@ #include "host/draw_capture.h" #include "host/gpu_catch_up.h" #include "host/gpu_internal.h" +#include "host/gpu_markers.h" #include "host/gxvk.h" #include "host/gxvk_table.h" #include "host/import_mode.h" @@ -3728,6 +3729,9 @@ void start_memory_reserve(); // below, beside the image heap void vram_reserve_init(); // the same bool g_use_buffer_marker = false; // VK_AMD_buffer_marker checkpoints (gpu_checkpoint) +bool g_dry_buffer_marker = false; // BBHOST_GPU_CHECKPOINTS=amd-dry on a device without them: recorded, not written +// The dry run's marker write: nothing. +VKAPI_ATTR void VKAPI_CALL dry_buffer_marker(VkCommandBuffer, VkPipelineStageFlagBits, VkBuffer, VkDeviceSize, std::uint32_t) {} // Every device that can run the host, scored: a discrete GPU before an // integrated one (a laptop lists its on-board GPU first, and the first @@ -4183,6 +4187,13 @@ bool init_locked() { // the recorder thread, so the command processor recorded every one. // BBHOST_GPU_CHECKPOINTS=amd turns them on. bool want_amd = c.buffer_marker && e && std::strcmp(e, "amd") == 0; + // BBHOST_GPU_CHECKPOINTS=amd-dry (a check of the markers' recording on a + // device without the extension - lavapipe; with BBHOST_MARKER_TRACE): + // every marker recorded as it would be, the GPU's writes left out. + if (e && std::strcmp(e, "amd-dry") == 0) { + want_amd = true; + g_dry_buffer_marker = !c.buffer_marker; + } // Unset, and the last run lost the device (its note beside the // pipeline cache): these starts run with whichever this driver has - // buffer markers first where there are any (NVIDIA's drivers have @@ -4466,7 +4477,7 @@ bool init_locked() { if (g.has_memory_budget) dext.push_back("VK_EXT_memory_budget"); if (g.pipeline_stats) dext.push_back("VK_KHR_pipeline_executable_properties"); if (g.has_checkpoints && !g_use_buffer_marker) dext.push_back("VK_NV_device_diagnostic_checkpoints"); - if (g_use_buffer_marker) dext.push_back("VK_AMD_buffer_marker"); + if (g_use_buffer_marker && !g_dry_buffer_marker) dext.push_back("VK_AMD_buffer_marker"); if (g.has_gpl) { dext.push_back("VK_KHR_pipeline_library"); dext.push_back("VK_EXT_graphics_pipeline_library"); @@ -4905,13 +4916,18 @@ bool init_locked() { shadow_budget_locked(); } if (g.device && g_use_buffer_marker) { - g.cmd_buffer_marker = reinterpret_cast(vkGetDeviceProcAddr(g.device, "vkCmdWriteBufferMarkerAMD")); + g.cmd_buffer_marker = g_dry_buffer_marker ? &dry_buffer_marker + : reinterpret_cast( + vkGetDeviceProcAddr(g.device, "vkCmdWriteBufferMarkerAMD")); if (!g.cmd_buffer_marker || !create_dev_buffer(g.marker_buf, 256, true)) { g.cmd_buffer_marker = nullptr; g.has_checkpoints = false; } else { std::memset(g.marker_buf.map, 0, 256); - host_log("gpu: AMD buffer markers on each draw and dispatch (BBHOST_GPU_CHECKPOINTS=amd; a device loss names the work)"); + host_log("gpu: AMD buffer markers on each draw and dispatch, and the front end's word before the ops between them where " + "it stops or the pass changes (BBHOST_GPU_CHECKPOINTS=amd; a device loss names the work; BBHOST_GPU_MARKER_OPS=all: " + "before every op)%s", + g_dry_buffer_marker ? " - recorded only, the device has no buffer markers (BBHOST_GPU_CHECKPOINTS=amd-dry)" : ""); } } if (g.device && g.has_checkpoints && !g_use_buffer_marker) { @@ -6915,9 +6931,23 @@ std::uint32_t gpu_marker_value(unsigned kind, std::uint64_t index) { } void gpu_write_markers(VkCommandBuffer cmd, std::uint32_t value) { - g.cmd_buffer_marker(cmd, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, g.marker_buf.buffer, 0, value); - g.cmd_buffer_marker(cmd, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, g.marker_buf.buffer, 4, value); + g.cmd_buffer_marker(cmd, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, g.marker_buf.buffer, gpu_markers::kStarted, value); + g.cmd_buffer_marker(cmd, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, g.marker_buf.buffer, gpu_markers::kFinishedBefore, value); +} + +void gpu_write_op_marker(VkCommandBuffer cmd, std::uint32_t seq) { + g.cmd_buffer_marker(cmd, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, g.marker_buf.buffer, gpu_markers::kOpReached, seq); +} + +} // namespace gpu +// The presenter's command buffer (window.cpp): an op's marker at its start and at its end, noted as another thread's +// (host/gpu_markers.h). The presenter records it under the renderer's lock. +void host_gpu_present_markers(void* cmd, bool end) { + using namespace gpu; + if (!g.cmd_buffer_marker || !cmd) return; + gpu_write_op_marker(static_cast(cmd), recorder_note_op(static_cast(stream::Op::kForeignSubmit), end ? 1 : 0)); } +namespace gpu { void gpu_checkpoint(unsigned kind, std::uint64_t index) { if (g.cmd_buffer_marker) { @@ -6952,6 +6982,59 @@ std::string submission_mark(std::uint64_t which) { const char* g_dispatch_names[256] = {}; void note_dispatch_name(std::uint64_t index, const char* name) { g_dispatch_names[index % 256] = name; } +// A marker value as words: "draw N", "dispatch N", a submission's mark. +std::string marker_text(std::uint32_t v) { + const unsigned kind = v >> 30; + const std::uint64_t which = v & 0x3fffffff; + if (kind == kGpuMarkSubmission) return submission_mark(which); + return std::string(kind == 1 ? "draw " : kind == 2 ? "dispatch " : "(none) ") + std::to_string(which); +} + +// The word the recorder writes before each op between the draws (host/gpu_markers.h): the last op the GPU's front end +// had reached, and what it says of the draw or dispatch the GPU had started - the ops after it up to that one, and +// whether a barrier among them, which the front end does not pass before the work before it has finished, says the +// draw had finished. That rests on barriers holding the front end: NVIDIA's and AMD's GPUs do; the specification +// does not promise it. +void report_between_draws(std::uint32_t started) { + std::uint32_t reached = 0; + std::memcpy(&reached, static_cast(g.marker_buf.map) + gpu_markers::kOpReached, 4); + if (!reached) return; + const std::string s = recorder_op_note_text(reached); + host_log("gpu: AMD marker: of the ops between draws, the GPU's front end had reached op %u%s%s", reached, s.empty() ? "" : ": ", + s.c_str()); + const unsigned kind = started >> 30; + if (kind != 1 && kind != 2) return; + std::vector lines; + const gpu_markers::Reach r = recorder_reach_after(started, reached, lines, 24); + const std::string what = marker_text(started); + if (r.other) { + host_log("gpu: AMD marker: that is the presenter's command buffer, whose place among the stream's ops its number does not " + "give: nothing said of %s from it", + what.c_str()); + return; + } + if (!r.ops) { + host_log("gpu: AMD marker: no op after %s: the front end had not got past it - the GPU stopped in it, or before the next " + "marker", + what.c_str()); + return; + } + host_log("gpu: AMD marker: the ops after %s the front end had reached (%u%s):", what.c_str(), r.ops, + r.known ? "" : "; the ring has moved past the first of them"); + for (const std::string& l : lines) host_log("gpu: AMD marker: %s", l.c_str()); + if (r.ops > lines.size()) host_log("gpu: AMD marker: (and %zu more)", static_cast(r.ops - lines.size())); + if (r.holds) { + host_log("gpu: AMD marker: past op %u, a barrier that holds the front end until the work before it has finished: %s had " + "finished, and the GPU stopped in the ops after that barrier up to op %u, or before the next marker (barriers hold " + "the front end on NVIDIA's and AMD's GPUs; the specification does not promise it)", + r.holds, what.c_str(), reached); + } else { + host_log("gpu: AMD marker: no barrier that holds the front end before op %u: %s may not have finished - the GPU stopped in " + "it or in the ops above", + reached, what.c_str()); + } +} + // Where the GPU actually got to, when VK_NV_device_diagnostic_checkpoints is // there: the recorded draw list is recording order, this is execution order. void report_checkpoints() { @@ -6977,6 +7060,7 @@ void report_checkpoints() { }; say("finished everything before", finished); say("started", started); + report_between_draws(started); return; } auto get_data = reinterpret_cast(vkGetDeviceProcAddr(g.device, "vkGetQueueCheckpointDataNV")); @@ -12474,6 +12558,21 @@ void host_gpu_resources_report() { if (nl == std::string::npos) break; at = nl + 1; } + // BBHOST_MARKER_TRACE with the markers written (a check of the loss report without a loss): the words as they + // stand while the GPU runs on, read as a device loss now would read them (host/gpu_markers.h). + static const bool snapshot = [] { + const char* e = std::getenv("BBHOST_MARKER_TRACE"); + return e && *e; + }(); + if (snapshot && g.cmd_buffer_marker && g.marker_buf.map && !g_dry_buffer_marker) { + std::uint32_t started = 0, finished = 0; + std::memcpy(&started, static_cast(g.marker_buf.map) + gpu_markers::kStarted, 4); + std::memcpy(&finished, static_cast(g.marker_buf.map) + gpu_markers::kFinishedBefore, 4); + host_log("gpu: marker snapshot (as a device loss now would read the words; the GPU runs on): last started %s, everything " + "finished before %s", + gpu::marker_text(started).c_str(), gpu::marker_text(finished).c_str()); + gpu::report_between_draws(started); + } } std::string host_gpu_image_heap_report() { @@ -14157,12 +14256,22 @@ void host_gpu_report() { static_cast(g_counter_fills.load())); } if (g.cmd_buffer_marker && g.marker_buf.map) { - std::uint32_t started = 0, finished = 0; + // The words once the GPU has run all it was given (a lost device answers at once): with nothing in flight + // they agree - the last started is the last finished before (the last submission's end, as a rule) - and the + // last op the front end reached is the last noted with a word, but for ops recorded and never submitted before + // the exit (the command processor runs ahead of the GPU uncapped) - so a start's exit line checks the markers + // themselves. + { + QueueGuard queue; + vkQueueWaitIdle(g.queue); + } + std::uint32_t started = 0, finished = 0, reached = 0; std::memcpy(&started, g.marker_buf.map, 4); - std::memcpy(&finished, static_cast(g.marker_buf.map) + 4, 4); - host_log("gpu: AMD markers at exit: last started %s %u, everything finished before %s %u", - (started >> 30) == 1 ? "draw" : (started >> 30) == 2 ? "dispatch" : "-", started & 0x3fffffff, - (finished >> 30) == 1 ? "draw" : (finished >> 30) == 2 ? "dispatch" : "-", finished & 0x3fffffff); + std::memcpy(&finished, static_cast(g.marker_buf.map) + gpu_markers::kFinishedBefore, 4); + std::memcpy(&reached, static_cast(g.marker_buf.map) + gpu_markers::kOpReached, 4); + host_log("gpu: AMD markers at exit: last started %s, everything finished before %s; ops between draws: the last the front end " + "reached %u (the last noted with a word %u)", + marker_text(started).c_str(), marker_text(finished).c_str(), reached, recorder_last_op_note()); } host_log("gpu: dispatches=%llu draws=%llu draw-failures=%llu flushes=%llu failures=%llu pipelines=%llu/%llu dummy-images=%llu gpu-time=%llu ms", static_cast(g.dispatches.load()), static_cast(g.draws.load()), diff --git a/src/host/gpu.h b/src/host/gpu.h index 6d3111ee..32256fa6 100644 --- a/src/host/gpu.h +++ b/src/host/gpu.h @@ -964,6 +964,10 @@ GpuBusy host_gpu_busy(); void host_gpu_busy_present_begin(void* cmd); void host_gpu_busy_present_end(void* cmd); void host_gpu_busy_present_done(); +// The same command buffer's front-end word, at its start (`end` false) and at +// its end, while the device-loss markers are on (host/gpu_markers.h): the +// stream submits it in its order, so a loss can name it among the ops. +void host_gpu_present_markers(void* cmd, bool end); // The 300-flip report's line: busy over the window since the last call. std::string host_gpu_busy_report(); // The presenter's, before its blit: submits the renderer's recording only when diff --git a/src/host/gpu_internal.h b/src/host/gpu_internal.h index 2bb1c884..7af7c6be 100644 --- a/src/host/gpu_internal.h +++ b/src/host/gpu_internal.h @@ -68,6 +68,10 @@ bool bb_memory_test_limited(std::uint64_t* limit, std::uint64_t* used); #include "host/heap_compact.h" // the compaction's blocks and items (global namespace) +namespace gpu_markers { +struct Reach; // host/gpu_markers.h +} // namespace gpu_markers + namespace gpu { // BBHOST_RUN_COMMIT (render.cpp run_commit): a run worker's counters, kept @@ -2713,8 +2717,28 @@ void gpu_checkpoint_cmd(VkCommandBuffer cmd, unsigned kind, std::uint64_t index) // writes (the top of the pipe, then the bottom) into g.marker_buf. std::uint32_t gpu_marker_value(unsigned kind, std::uint64_t index); void gpu_write_markers(VkCommandBuffer cmd, std::uint32_t value); +// The word between the draws (host/gpu_markers.h): the top-of-pipe marker +// before an op the recorder replays between draws - one where the front end +// stops or the pass changes, or any with BBHOST_GPU_MARKER_OPS=all - with its +// sequence number. The recorder's replay writes it while the markers are on. +void gpu_write_op_marker(VkCommandBuffer cmd, std::uint32_t seq); +// The recorder's note of op `seq` (host/gpu_markers.h), as one line: its +// kind, its words and the draw or dispatch replayed before it; "" when the +// ring has moved past it. +std::string recorder_op_note_text(std::uint32_t seq); +// The last op number given to an op with the front end's word, 0 before any. +std::uint32_t recorder_last_op_note(); +// What the GPU's front end had reached after the draw or dispatch `started` +// (its marker value), the op word being `reached` (host/gpu_markers.h +// reach_after), with the ops from the first after it to `reached` as lines +// (at most `max`). +gpu_markers::Reach recorder_reach_after(std::uint32_t started, std::uint32_t reached, std::vector& lines, std::size_t max); +// A note of an op another thread recorded (the presenter's command buffer), its number for the markers. +std::uint32_t recorder_note_op(std::uint16_t kind, std::uint64_t a, std::uint64_t b = 0, std::uint64_t c = 0); // Logs one recorded draw by index, if it is still in the ring. void describe_draw_record(std::uint64_t index); +// Its pipeline's name, or null once the ring has moved past it. +const char* draw_record_name(std::uint64_t index); // A device fault's address against the tessellation LDS ring (render.cpp): // inside it (which region) or how far past or before it, and the recent // tessellated draw whose LDS holds it or ends just before it. "" before the diff --git a/src/host/gpu_markers.h b/src/host/gpu_markers.h new file mode 100644 index 00000000..2f2bde08 --- /dev/null +++ b/src/host/gpu_markers.h @@ -0,0 +1,130 @@ +// The GPU's progress markers between the draws, for a device-loss report +// (VK_AMD_buffer_marker: on a start after a lost device, or with +// BBHOST_GPU_CHECKPOINTS=amd; gpu.cpp gpu_write_markers). +// +// Each draw and dispatch has two marker writes before it: the top of the pipe +// (the GPU reached it) and the bottom (everything before it had finished). On +// a loss they name the draw the GPU had started, and say that everything +// before it had finished - but not whether that draw itself finished, nor +// what came after it: the GPU can stop anywhere up to the next draw's marker, +// in the draw or in the ops recorded between the two (the end of its pass and +// the barrier with it, copies, fills, clears, queries, the next pass's +// begin). An RTX 2060 SUPER under Windows lost the device with the marker on +// the light composite (8747a367+32e47788), a draw with no loop, no branch and +// no read its buffers do not hold: the window is what the report has to name. +// +// So the recorder also notes, in its replay, each op between draws - its +// kind, a few words (buffers, images, sizes, stages) and the draw or dispatch +// replayed before it - in a ring the report reads back by number, and writes +// a top-of-pipe marker with the op's number (kOpReached: the last op the GPU's +// front end reached) before the ops where the front end stops or the pass +// changes: barriers, pass ends and begins, the host's own dispatches, +// secondaries executed, the presenter's command buffer (recorder.cpp +// word_on). The front end runs on past the other ops until one of these, so +// that is where its word is left at a loss, and the report lists the ops +// after it that had none. What that gives up is where the front end was held +// between two such ops (by a full queue ahead of it): BBHOST_GPU_MARKER_OPS=all +// writes the word before every op for that. Top of the pipe only, and no word +// on every op by default: a bottom-of-pipe word per op and one after each +// draw made the ops wait for one another and for the draw before them, and on +// NVIDIA's GPUs a word between two copies or fills held them apart too (an RTX +// 3070 Ti Laptop GPU, Central Yharnam uncapped, against the two words a draw +// alone: 10.7% slower with those, 4.2% with a word before every op, 1.5% as +// it is) - and the three starts after a loss run with the markers on. +// +// What the report infers from the op word rests on barriers holding the +// front end: the GPU does not go past a pipeline barrier until the work its +// source stages name has finished, so an op reached past such a barrier after +// the draw says the draw had finished (and the GPU stopped in the ops after +// that barrier), and an op word that stops at that barrier says it had not. +// NVIDIA's and AMD's GPUs hold the front end so; the specification does not +// promise it. +#pragma once + +#include + +namespace gpu_markers { + +// The marker buffer's words (byte offsets into Gpu::marker_buf). +constexpr std::uint32_t kStarted = 0; // top of the pipe before a draw or dispatch: its marker value +constexpr std::uint32_t kFinishedBefore = 4; // bottom of the pipe there: everything before it had finished +constexpr std::uint32_t kOpReached = 8; // top of the pipe before an op between draws: its sequence number + +// An op the recorder replayed between draws: its kind (gpu::stream::Op), the +// draw or dispatch marker value replayed before it, and up to three words. +struct Note { + std::uint32_t seq = 0; // its sequence number; 0: none + std::uint16_t kind = 0; + std::uint32_t after = 0; + std::uint64_t a = 0, b = 0, c = 0; +}; + +// The last N notes by sequence number. One writer at a time (the recorder's +// thread, the presenter's under the same lock); the report reads it after the +// device is lost, when the writers have stopped. +template struct Ring { + static_assert(N && (N & (N - 1)) == 0, "a power of two"); + Note notes[N]; + std::uint32_t last = 0; + std::uint32_t note(std::uint16_t kind, std::uint32_t after, std::uint64_t a, std::uint64_t b, std::uint64_t c) { + if (++last == 0) last = 1; // never 0, which the marker buffer holds before any op + Note& n = notes[last & (N - 1)]; + n.seq = last; + n.kind = kind; + n.after = after; + n.a = a; + n.b = b; + n.c = c; + return last; + } + // The note of `seq`, or null when it is 0 or the ring has moved past it. + const Note* find(std::uint32_t seq) const { + if (!seq) return nullptr; + const Note& n = notes[seq & (N - 1)]; + return n.seq == seq ? &n : nullptr; + } +}; + +// An op's note against the draw or dispatch before it: a plain op; a barrier +// whose source stages hold the front end until that draw or dispatch has +// finished; or another thread's (the presenter's command buffer, numbered +// from the same ring but not between these draws in the stream). +enum OpClass : int { kPlain, kHolds, kOtherThread }; + +// What the GPU's front end had reached after the draw or dispatch it had +// started (`started`: its marker value), the op word being `reached`: the ops +// noted after that draw up to and with `reached` (`ops`, the first of them +// `first`), and the last of them before `reached` that holds the front end +// (`holds`, 0: none) - past it, the draw had finished. `ops` 0: the front end +// had reached no op after the draw. `known` false: the ring had moved past +// some of them. `other`: the word is another thread's note, whose place among +// the stream's ops the numbers do not give - nothing is inferred from it. +struct Reach { + std::uint32_t ops = 0, first = 0, holds = 0; + bool known = true, other = false; +}; +template +Reach reach_after(const Ring& ring, std::uint32_t started, std::uint32_t reached, Classify classify) { + Reach r; + if (const Note* n = ring.find(reached); n && classify(*n) == kOtherThread) { + r.other = true; + return r; + } + std::uint32_t steps = 0; + for (std::uint32_t seq = reached; seq; --seq, ++steps) { // (0: before the first op) + const Note* n = steps < N ? ring.find(seq) : nullptr; + if (!n) { + r.known = false; + break; + } + const int c = classify(*n); + if (c == kOtherThread) continue; + if (n->after != started) break; // recorded before the draw + ++r.ops; + r.first = seq; + if (seq != reached && c == kHolds && !r.holds) r.holds = seq; + } + return r; +} + +} // namespace gpu_markers diff --git a/src/host/gpu_stub.cpp b/src/host/gpu_stub.cpp index 883421c4..c17825d7 100755 --- a/src/host/gpu_stub.cpp +++ b/src/host/gpu_stub.cpp @@ -20,6 +20,7 @@ void host_gpu_wait_submitted(std::uint64_t) {} GpuBusy host_gpu_busy() { return {}; } void host_gpu_busy_present_begin(void*) {} void host_gpu_busy_present_end(void*) {} +void host_gpu_present_markers(void*, bool) {} void host_gpu_busy_present_done() {} std::string host_gpu_busy_report() { return {}; } void host_gpu_queue_lock_only() {} diff --git a/src/host/recorder.cpp b/src/host/recorder.cpp index 6d5018c9..a7a01dad 100644 --- a/src/host/recorder.cpp +++ b/src/host/recorder.cpp @@ -45,6 +45,7 @@ // to bb-submit (R4). #include "host/gpu_internal.h" +#include "host/gpu_markers.h" #include "host/gxvk_lists.h" #include "host/list_resolve.h" #include "host/recorder_rest.h" @@ -60,6 +61,7 @@ #include #include #include +#include #include #include #include @@ -413,6 +415,109 @@ const int g_recorder_spin = [] { // (RecordedState): the pipeline, and with it unchanged its library and dynamic // state, the sets with their offsets, the indices and the vertex buffers. std::atomic g_list_binds_skipped{0}, g_list_chained{0}; +// The ops between the draws, for a device-loss report (host/gpu_markers.h): +// while the markers are on, each op the replay records between two draws gets +// a note and the top-of-pipe marker with its number. Not inside a pass begun +// for secondary command buffers alone, where the primary records nothing but +// their execution. +gpu_markers::Ring<4096> g_op_notes; // under g_op_notes_mu +std::mutex g_op_notes_mu; +thread_local std::uint32_t t_after = 0; // the last draw or dispatch marker replayed on this thread +thread_local std::uint32_t t_dispatch_marker = 0; // a dispatch's marker, waiting for its dispatch (the notes' "after") +thread_local bool t_secondary_pass = false; // in a pass of secondary command buffers alone +// BBHOST_MARKER_TRACE=[:] (a check of the marks, with the +// markers on): after the first n (4) draws of pipelines whose name starts with +// the prefix ("*": any draw), the ops the replay marks up to the next draw or +// dispatch, logged; and the first notes another thread makes (the presenter's). +struct MarkerTrace { + std::string prefix; + std::atomic left{0}; +}; +MarkerTrace& marker_trace() { + static MarkerTrace t; + static const bool read = [] { + if (const char* e = std::getenv("BBHOST_MARKER_TRACE"); e && *e) { + const std::string v = e; + const std::size_t colon = v.find(':'); + t.prefix = v.substr(0, colon); + t.left.store(colon == std::string::npos ? 4 : std::max(0, std::atoi(v.c_str() + colon + 1)), std::memory_order_relaxed); + } + return true; + }(); + (void)read; + return t; +} +thread_local bool t_tracing = false; +std::string recorder_op_note_text_locked(const gpu_markers::Note& n); +void trace_mark(std::uint32_t value) { // a draw or dispatch with its marker, replayed + MarkerTrace& t = marker_trace(); + if (t.prefix.empty()) return; + const std::uint64_t index = value & 0x3fffffffu; + const char* name = (value >> 30) == 1 ? draw_record_name(index) : nullptr; + if (t_tracing) { + host_log("marker trace: then %s %llu %s", (value >> 30) == 1 ? "draw" : "dispatch", static_cast(index), + name ? name : ""); + t_tracing = false; + } + if (name && (t.prefix == "*" || std::strncmp(name, t.prefix.c_str(), t.prefix.size()) == 0) && + t.left.fetch_sub(1, std::memory_order_relaxed) > 0) { + host_log("marker trace: draw %llu %s - replayed; the ops marked before the next draw or dispatch:", + static_cast(index), name); + t_tracing = true; + } +} +// Which ops between draws get the front end's word (host/gpu_markers.h): those where the front end stops or the pass +// changes - barriers, pass ends and begins, the host's own dispatches, secondaries executed, the presenter's command +// buffer. Every op is noted all the same. The front end runs on past the others until such an op, so the word it +// leaves at a loss is one of these as a rule, and the loss report lists the ops after it that had none. What that +// gives up: where the front end itself was held between two of them (a full queue ahead of it), which a word on every +// op would show. BBHOST_GPU_MARKER_OPS=all writes it before every op, for that, at a cost: on NVIDIA's GPUs a word +// between two copies or fills held them apart (an RTX 3070 Ti Laptop GPU uncapped: 4.2% slower than the two words a +// draw alone, against 1.5% for these). +bool word_on(Op kind) { + static const bool every_op = [] { + const char* e = std::getenv("BBHOST_GPU_MARKER_OPS"); + return e && std::strcmp(e, "all") == 0; + }(); + if (every_op) return true; + switch (kind) { + case Op::kBarrier: + case Op::kPassBarrier: + case Op::kTransferBarrier: + case Op::kCopyOrderBarrier: + case Op::kEndRendering: + case Op::kBeginRendering: + case Op::kDispatch: + case Op::kDispatchIndirect: + case Op::kExecuteCommands: + case Op::kForeignSubmit: return true; + default: return false; + } +} +void op_marker(VkCommandBuffer cmd, Op kind, std::uint64_t a = 0, std::uint64_t b = 0, std::uint64_t c = 0) { + if (!g.cmd_buffer_marker || t_secondary_pass) return; + std::uint32_t seq; + std::string traced; + { + std::lock_guard lk(g_op_notes_mu); + seq = g_op_notes.note(static_cast(kind), t_after, a, b, c); + if (t_tracing) traced = recorder_op_note_text_locked(*g_op_notes.find(seq)); + } + if (t_tracing) host_log("marker trace: op %u: %s", seq, traced.c_str()); + // (The host's own dispatches - the depth copy's - are logged the first times wherever they fall.) + static std::atomic host_dispatches{0}; + if (!t_tracing && (kind == Op::kDispatch || kind == Op::kDispatchIndirect) && !marker_trace().prefix.empty() && + host_dispatches.fetch_add(1, std::memory_order_relaxed) < 4) { + std::lock_guard lk(g_op_notes_mu); + host_log("marker trace: op %u: %s", seq, recorder_op_note_text_locked(*g_op_notes.find(seq)).c_str()); + } + if (word_on(kind)) gpu_write_op_marker(cmd, seq); +} +bool secondary_only(VkRenderingFlags flags) { + return (flags & VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT) && !(flags & VK_RENDERING_CONTENTS_INLINE_BIT_KHR); +} +std::uint64_t extent_word(const VkRect2D& r) { return static_cast(r.extent.width) << 32 | r.extent.height; } + // Stage 4b.2: a segment's list packets replayed into a pool thread's secondary // command buffer - `dyn` and `prev_dyn` the dynamic offsets of this packet and // the one before, its params blocks' places in the pool's region (the packets @@ -434,23 +539,46 @@ void replay_packet(DrawPacket& p, VkCommandBuffer cmd, const DrawPacket* prev, c } vkUpdateDescriptorSets(g.device, static_cast(p.writes.size()), p.writes.data(), 0, nullptr); } - if (p.end_pass) record_end_rendering(cmd, p.end_pass_barrier); - if (p.pass_barrier) record_pass_barrier(cmd); - if (p.xfer_begin) record_transfer_barrier(cmd, true); + if (p.end_pass) { + const bool secondary = t_secondary_pass; + t_secondary_pass = false; // (its end is the primary's again) + if (!secondary) op_marker(cmd, Op::kEndRendering, p.end_pass_barrier); + record_end_rendering(cmd, p.end_pass_barrier); + } + if (p.pass_barrier) { + op_marker(cmd, Op::kPassBarrier); + record_pass_barrier(cmd); + } + if (p.xfer_begin) { + op_marker(cmd, Op::kTransferBarrier, 1); + record_transfer_barrier(cmd, true); + } for (std::uint32_t k = 0; k < p.ncopies; ++k) { - if (p.copy_orders >> k & 1) record_copy_order_barrier(cmd); + if (p.copy_orders >> k & 1) { + op_marker(cmd, Op::kCopyOrderBarrier); + record_copy_order_barrier(cmd); + } + op_marker(cmd, Op::kCopyBuffer, reinterpret_cast(p.copy_src[k]), reinterpret_cast(p.copy_dst[k]), + p.copies[k].size); vkCmdCopyBuffer(cmd, p.copy_src[k], p.copy_dst[k], 1, &p.copies[k]); } - if (p.xfer_end) record_transfer_barrier(cmd, false); + if (p.xfer_end) { + op_marker(cmd, Op::kTransferBarrier, 0); + record_transfer_barrier(cmd, false); + } for (std::uint32_t k = 0; k < p.nregions; ++k) { const DrawPacket::RegionCopy& r = p.regions[k]; + op_marker(cmd, Op::kCopyImage, reinterpret_cast(r.src), reinterpret_cast(r.dst), + static_cast(r.width) << 32 | r.height); record_region_copy(cmd, r.src, r.dst, r.width, r.height, r.dst_initialised); } if (p.begin_pass) { p.rendering.pColorAttachments = p.colors; p.rendering.pDepthAttachment = p.has_depth ? &p.depth_att : nullptr; p.rendering.pStencilAttachment = p.has_stencil ? &p.stencil_att : nullptr; + op_marker(cmd, Op::kBeginRendering, p.rendering.colorAttachmentCount, p.has_depth, extent_word(p.rendering.renderArea)); vkCmdBeginRendering(cmd, &p.rendering); + t_secondary_pass = secondary_only(p.rendering.flags); } // (A packet with a pass change, copies or a transfer is never chained: its own work comes between.) const bool same_pl = prev && p.pipeline && prev->pipeline == p.pipeline && prev->raster_discard == p.raster_discard && !p.end_pass && @@ -519,6 +647,10 @@ void replay_packet(DrawPacket& p, VkCommandBuffer cmd, const DrawPacket* prev, c } if (p.marker) gpu_write_markers(cmd, p.marker_value); if (p.draw) record_draw_call(cmd, p.call); + if (p.marker && p.draw && g.cmd_buffer_marker) { // (host/gpu_markers.h: the ops after it are noted as after it) + t_after = p.marker_value; + trace_mark(p.marker_value); + } } // ---- reading records ---- @@ -600,6 +732,7 @@ void replay_block(const Block& b) { } case Op::kListDraw: { const auto* r = reinterpret_cast(p); + op_marker(cmd, Op::kListDraw, r->index, r->id); const DrawPacket* const prev = r->chained && t_list_prev ? t_list_prev : nullptr; replay_packet(g_list_packets[r->index], cmd, prev); g_list_replayed[r->index].store(r->id, std::memory_order_release); @@ -609,11 +742,13 @@ void replay_block(const Block& b) { } case Op::kExecuteCommands: { const auto* r = reinterpret_cast(p); + op_marker(cmd, Op::kExecuteCommands, reinterpret_cast(r->cmd)); // (none in a pass of secondaries alone) vkCmdExecuteCommands(cmd, 1, &r->cmd); break; } case Op::kListRun: { const auto* r = reinterpret_cast(p); + op_marker(cmd, Op::kListRun, r->n); const std::uint8_t* q = p + round8(sizeof(*r)); const auto* d = tail(q, r->n); const DrawPacket* prev = nullptr; @@ -633,14 +768,33 @@ void replay_block(const Block& b) { const auto* mem = tail(q, r->nmem); const auto* buf = tail(q, r->nbuf); const auto* img = tail(q, r->nimg); + op_marker(cmd, Op::kBarrier, r->src, r->dst, static_cast(r->nmem) << 32 | r->nbuf << 16 | r->nimg); vkCmdPipelineBarrier(cmd, r->src, r->dst, r->dep, r->nmem, r->nmem ? mem : nullptr, r->nbuf, r->nbuf ? buf : nullptr, r->nimg, r->nimg ? img : nullptr); break; } - case Op::kTransferBarrier: record_transfer_barrier(cmd, reinterpret_cast(p)->value != 0); break; - case Op::kCopyOrderBarrier: record_copy_order_barrier(cmd); break; - case Op::kPassBarrier: record_pass_barrier(cmd); break; - case Op::kEndRendering: record_end_rendering(cmd, reinterpret_cast(p)->value != 0); break; + case Op::kTransferBarrier: { + const bool begin = reinterpret_cast(p)->value != 0; + op_marker(cmd, Op::kTransferBarrier, begin); + record_transfer_barrier(cmd, begin); + break; + } + case Op::kCopyOrderBarrier: + op_marker(cmd, Op::kCopyOrderBarrier); + record_copy_order_barrier(cmd); + break; + case Op::kPassBarrier: + op_marker(cmd, Op::kPassBarrier); + record_pass_barrier(cmd); + break; + case Op::kEndRendering: { + const bool barrier = reinterpret_cast(p)->value != 0; + const bool secondary = t_secondary_pass; + t_secondary_pass = false; // (its end is the primary's again) + if (!secondary) op_marker(cmd, Op::kEndRendering, barrier); + record_end_rendering(cmd, barrier); + break; + } case Op::kBeginRendering: { const auto* r = reinterpret_cast(p); const std::uint8_t* q = p + round8(sizeof(*r)); @@ -655,65 +809,81 @@ void replay_block(const Block& b) { ri.pColorAttachments = r->ncolor ? att : nullptr; ri.pDepthAttachment = r->has_depth ? att + r->ncolor : nullptr; ri.pStencilAttachment = r->has_stencil ? att + r->ncolor + r->has_depth : nullptr; + op_marker(cmd, Op::kBeginRendering, r->ncolor, r->has_depth, extent_word(r->area)); vkCmdBeginRendering(cmd, &ri); + t_secondary_pass = secondary_only(r->flags); break; } case Op::kFill: { const auto* r = reinterpret_cast(p); + op_marker(cmd, Op::kFill, reinterpret_cast(r->buffer), r->offset, r->size); vkCmdFillBuffer(cmd, r->buffer, r->offset, r->size, r->data); break; } case Op::kCopyBuffer: { const auto* r = reinterpret_cast(p); const std::uint8_t* q = p + round8(sizeof(*r)); - vkCmdCopyBuffer(cmd, r->src, r->dst, r->n, tail(q, r->n)); + const VkBufferCopy* regions = tail(q, r->n); + op_marker(cmd, Op::kCopyBuffer, reinterpret_cast(r->src), reinterpret_cast(r->dst), + r->n ? regions[0].size : 0); + vkCmdCopyBuffer(cmd, r->src, r->dst, r->n, regions); break; } case Op::kCopyBufferToImage: { const auto* r = reinterpret_cast(p); const std::uint8_t* q = p + round8(sizeof(*r)); + op_marker(cmd, Op::kCopyBufferToImage, reinterpret_cast(r->buffer), reinterpret_cast(r->image), r->n); vkCmdCopyBufferToImage(cmd, r->buffer, r->image, r->layout, r->n, tail(q, r->n)); break; } case Op::kCopyImageToBuffer: { const auto* r = reinterpret_cast(p); const std::uint8_t* q = p + round8(sizeof(*r)); + op_marker(cmd, Op::kCopyImageToBuffer, reinterpret_cast(r->image), reinterpret_cast(r->buffer), r->n); vkCmdCopyImageToBuffer(cmd, r->image, r->layout, r->buffer, r->n, tail(q, r->n)); break; } case Op::kClearColor: { const auto* r = reinterpret_cast(p); const std::uint8_t* q = p + round8(sizeof(*r)); + op_marker(cmd, Op::kClearColor, reinterpret_cast(r->image), r->n); vkCmdClearColorImage(cmd, r->image, r->layout, &r->color, r->n, tail(q, r->n)); break; } case Op::kResetQueries: { const auto* r = reinterpret_cast(p); + op_marker(cmd, Op::kResetQueries, reinterpret_cast(r->pool), r->first, r->count); vkCmdResetQueryPool(cmd, r->pool, r->first, r->count); break; } case Op::kBeginQuery: { const auto* r = reinterpret_cast(p); + op_marker(cmd, Op::kBeginQuery, reinterpret_cast(r->pool), r->first); vkCmdBeginQuery(cmd, r->pool, r->first, r->flags); break; } case Op::kEndQuery: { const auto* r = reinterpret_cast(p); + op_marker(cmd, Op::kEndQuery, reinterpret_cast(r->pool), r->first); vkCmdEndQuery(cmd, r->pool, r->first); break; } case Op::kCopyQueryResults: { const auto* r = reinterpret_cast(p); + op_marker(cmd, Op::kCopyQueryResults, reinterpret_cast(r->pool), r->first, + reinterpret_cast(r->dst)); vkCmdCopyQueryPoolResults(cmd, r->pool, r->first, r->count, r->dst, r->offset, r->stride, r->flags); break; } case Op::kTimestamp: { const auto* r = reinterpret_cast(p); + op_marker(cmd, Op::kTimestamp, reinterpret_cast(r->pool), r->query); vkCmdWriteTimestamp(cmd, r->stage, r->pool, r->query); break; } case Op::kBindPipeline: { const auto* r = reinterpret_cast(p); + op_marker(cmd, Op::kBindPipeline, reinterpret_cast(r->pipeline), r->bind_point); vkCmdBindPipeline(cmd, r->bind_point, r->pipeline); break; } @@ -722,11 +892,13 @@ void replay_block(const Block& b) { const std::uint8_t* q = p + round8(sizeof(*r)); const auto* sets = tail(q, r->n); const auto* dyn = tail(q, r->ndynamic); + op_marker(cmd, Op::kBindSets, r->n ? reinterpret_cast(sets[0]) : 0, r->bind_point, static_cast(r->first) << 32 | r->n); vkCmdBindDescriptorSets(cmd, r->bind_point, r->layout, r->first, r->n, sets, r->ndynamic, r->ndynamic ? dyn : nullptr); break; } case Op::kPushConstants: { const auto* r = reinterpret_cast(p); + op_marker(cmd, Op::kPushConstants, r->stages, r->offset, r->size); vkCmdPushConstants(cmd, r->layout, r->stages, r->offset, r->size, p + round8(sizeof(*r))); break; } @@ -750,33 +922,51 @@ void replay_block(const Block& b) { if (fb[k] >= 0) w[k].pBufferInfo = bufs + fb[k]; if (fi[k] >= 0) w[k].pImageInfo = imgs + fi[k]; } + op_marker(cmd, Op::kUpdateSets, r->n, r->nbuffers, r->nimages); // (on the host, at its place in the stream) vkUpdateDescriptorSets(g.device, r->n, w, 0, nullptr); break; } case Op::kDispatch: { const auto* r = reinterpret_cast(p); + // A dispatch of the host's own (the depth copy's pass) has no marker of its own: its op's. + if (!t_dispatch_marker) op_marker(cmd, Op::kDispatch, r->x, r->y, r->z); vkCmdDispatch(cmd, r->x, r->y, r->z); + if (t_dispatch_marker && g.cmd_buffer_marker) { // (host/gpu_markers.h: the ops after it are noted as after it) + t_after = t_dispatch_marker; + trace_mark(t_dispatch_marker); + } + t_dispatch_marker = 0; break; } case Op::kClearDepth: { const auto* r = reinterpret_cast(p); const std::uint8_t* q = p + round8(sizeof(*r)); + op_marker(cmd, Op::kClearDepth, reinterpret_cast(r->image), r->n); vkCmdClearDepthStencilImage(cmd, r->image, r->layout, &r->value, r->n, tail(q, r->n)); break; } case Op::kMarker: { - gpu_write_markers(cmd, reinterpret_cast(p)->value); + const std::uint32_t value = reinterpret_cast(p)->value; + gpu_write_markers(cmd, value); + if ((value >> 30) == 2) t_dispatch_marker = value; // a dispatch's: the ops after its dispatch are noted as after it break; } case Op::kCopyImage: { const auto* r = reinterpret_cast(p); const std::uint8_t* q = p + round8(sizeof(*r)); + op_marker(cmd, Op::kCopyImage, reinterpret_cast(r->src), reinterpret_cast(r->dst), r->n); vkCmdCopyImage(cmd, r->src, r->src_layout, r->dst, r->dst_layout, r->n, tail(q, r->n)); break; } case Op::kDispatchIndirect: { const auto* r = reinterpret_cast(p); + if (!t_dispatch_marker) op_marker(cmd, Op::kDispatchIndirect, reinterpret_cast(r->buffer), r->offset); vkCmdDispatchIndirect(cmd, r->buffer, r->offset); + if (t_dispatch_marker && g.cmd_buffer_marker) { // (host/gpu_markers.h: the ops after it are noted as after it) + t_after = t_dispatch_marker; + trace_mark(t_dispatch_marker); + } + t_dispatch_marker = 0; break; } case Op::kPushBuffers: { @@ -784,11 +974,13 @@ void replay_block(const Block& b) { const std::uint8_t* q = p + round8(sizeof(*r)); const auto* bindings = tail(q, r->n); const auto* infos = tail(q, r->n); + op_marker(cmd, Op::kPushBuffers, r->n ? reinterpret_cast(infos[0].buffer) : 0, r->set, r->n); push_buffer_writes(cmd, r->bind_point, r->layout, r->set, r->n, bindings, infos); break; } case Op::kUpdateBuffer: { const auto* r = reinterpret_cast(p); + op_marker(cmd, Op::kUpdateBuffer, reinterpret_cast(r->buffer), r->offset, r->size); vkCmdUpdateBuffer(cmd, r->buffer, r->offset, r->size, p + round8(sizeof(*r))); break; } @@ -1196,6 +1388,147 @@ void recorder_splice_list_run(const std::uint64_t* indices, const std::uint64_t* publish_block(false); } +namespace { +// A note of the ring (host/gpu_markers.h) as one line: its kind, its words, the draw or dispatch before it. +std::string recorder_op_note_text_locked(const gpu_markers::Note& n) { + using ull = unsigned long long; + const auto a = static_cast(n.a), b = static_cast(n.b), c = static_cast(n.c); + char w[200] = ""; + switch (static_cast(n.kind)) { + case Op::kFill: std::snprintf(w, sizeof(w), "buffer 0x%llx at %llu, %llu bytes", a, b, c); break; + case Op::kCopyBuffer: std::snprintf(w, sizeof(w), "buffer 0x%llx to buffer 0x%llx, %llu bytes", a, b, c); break; + case Op::kCopyBufferToImage: std::snprintf(w, sizeof(w), "buffer 0x%llx to image 0x%llx, %llu regions", a, b, c); break; + case Op::kCopyImageToBuffer: std::snprintf(w, sizeof(w), "image 0x%llx to buffer 0x%llx, %llu regions", a, b, c); break; + case Op::kCopyImage: + if (c >> 32) std::snprintf(w, sizeof(w), "image 0x%llx to image 0x%llx, a %llux%llu region", a, b, c >> 32, c & 0xffffffffu); + else std::snprintf(w, sizeof(w), "image 0x%llx to image 0x%llx, %llu regions", a, b, c); + break; + case Op::kClearColor: + case Op::kClearDepth: std::snprintf(w, sizeof(w), "image 0x%llx, %llu ranges", a, b); break; + case Op::kBarrier: + std::snprintf(w, sizeof(w), "stages 0x%llx to 0x%llx; %llu memory, %llu buffer, %llu image barriers", a, b, c >> 32, (c >> 16) & 0xffff, + c & 0xffff); + break; + case Op::kTransferBarrier: std::snprintf(w, sizeof(w), "%s", a ? "into the transfer stage" : "out of the transfer stage"); break; + case Op::kEndRendering: std::snprintf(w, sizeof(w), "%s", a ? "with its barrier" : "its barrier left for later"); break; + case Op::kBeginRendering: std::snprintf(w, sizeof(w), "%llu colour attachments%s, %llux%llu", a, b ? " and depth" : "", c >> 32, c & 0xffffffffu); break; + case Op::kResetQueries: std::snprintf(w, sizeof(w), "pool 0x%llx, queries %llu..+%llu", a, b, c); break; + case Op::kBeginQuery: + case Op::kEndQuery: + case Op::kTimestamp: std::snprintf(w, sizeof(w), "pool 0x%llx, query %llu", a, b); break; + case Op::kCopyQueryResults: std::snprintf(w, sizeof(w), "pool 0x%llx from query %llu into buffer 0x%llx", a, b, c); break; + case Op::kUpdateBuffer: std::snprintf(w, sizeof(w), "buffer 0x%llx at %llu, %llu bytes", a, b, c); break; + case Op::kListDraw: std::snprintf(w, sizeof(w), "list packet %llu (token %llu)", a, b); break; + case Op::kListRun: std::snprintf(w, sizeof(w), "%llu list packets", a); break; + case Op::kExecuteCommands: std::snprintf(w, sizeof(w), "secondary 0x%llx", a); break; + case Op::kBindPipeline: std::snprintf(w, sizeof(w), "pipeline 0x%llx (%s)", a, b == VK_PIPELINE_BIND_POINT_COMPUTE ? "compute" : "graphics"); break; + case Op::kBindSets: + std::snprintf(w, sizeof(w), "set 0x%llx and %llu more from %llu (%s)", a, (c & 0xffffffffu) ? (c & 0xffffffffu) - 1 : 0, c >> 32, + b == VK_PIPELINE_BIND_POINT_COMPUTE ? "compute" : "graphics"); + break; + case Op::kPushConstants: std::snprintf(w, sizeof(w), "stages 0x%llx, %llu bytes at %llu", a, c, b); break; + case Op::kUpdateSets: std::snprintf(w, sizeof(w), "%llu writes (%llu buffers, %llu images), on the host", a, b, c); break; + case Op::kDispatch: std::snprintf(w, sizeof(w), "the host's own, %llux%llux%llu groups", a, b, c); break; + case Op::kDispatchIndirect: std::snprintf(w, sizeof(w), "the host's own, arguments in buffer 0x%llx at %llu", a, b); break; + case Op::kPushBuffers: std::snprintf(w, sizeof(w), "buffer 0x%llx and %llu more into set %llu", a, c ? c - 1 : 0, b); break; + case Op::kForeignSubmit: std::snprintf(w, sizeof(w), "the presenter's command buffer, its %s", a ? "end" : "start"); break; + default: break; + } + const unsigned kind = n.after >> 30; + char after[64] = ""; + if (kind == 1 || kind == 2) std::snprintf(after, sizeof(after), "; after %s %u", kind == 1 ? "draw" : "dispatch", n.after & 0x3fffffffu); + return std::string(stream::op_name(static_cast(n.kind))) + (w[0] ? " - " : "") + w + after; +} + +} // namespace + +// A note of an op recorded in a command buffer of another thread's (the presenter's, which the stream submits in its +// order: kForeignSubmit), numbered from the same ring (host/gpu_markers.h). +std::uint32_t recorder_note_op(std::uint16_t kind, std::uint64_t a, std::uint64_t b, std::uint64_t c) { + std::uint32_t seq; + std::string traced; + static std::atomic traces{0}; + const bool trace = !marker_trace().prefix.empty() && traces.fetch_add(1, std::memory_order_relaxed) < 4; + { + std::lock_guard lk(g_op_notes_mu); + seq = g_op_notes.note(kind, 0, a, b, c); + if (trace) traced = recorder_op_note_text_locked(*g_op_notes.find(seq)); + } + if (trace) host_log("marker trace: op %u (another thread's): %s", seq, traced.c_str()); + return seq; +} + +// The recorder's note of op `seq` (host/gpu_markers.h) as one line. +std::string recorder_op_note_text(std::uint32_t seq) { + std::lock_guard lk(g_op_notes_mu); + const gpu_markers::Note* f = g_op_notes.find(seq); + return f ? recorder_op_note_text_locked(*f) : std::string(); +} + +// The last op number given to an op with the front end's word (host/gpu_markers.h, word_on), 0 before any. +std::uint32_t recorder_last_op_note() { + std::lock_guard lk(g_op_notes_mu); + std::uint32_t seq = g_op_notes.last; + for (std::uint32_t steps = 0; seq && steps < 4096; --seq, ++steps) { + const gpu_markers::Note* n = g_op_notes.find(seq); + if (!n) break; + if (word_on(static_cast(n->kind))) return seq; + } + return 0; +} + +// What the front end had reached after the draw or dispatch `started` (its +// marker value), the op word being `reached` (host/gpu_markers.h reach_after), +// and the ops from the first after it to `reached`, a line each, into `lines` +// (at most `max`). A barrier holds the front end for the draw when its source +// stages take in a draw's last ones (the pass end's and the pass barrier's +// all-graphics, the transfer barrier's all-commands), for a dispatch when they +// take in the compute stage. +gpu_markers::Reach recorder_reach_after(std::uint32_t started, std::uint32_t reached, std::vector& lines, std::size_t max) { + const unsigned kind = started >> 30; + const auto classify = [kind](const gpu_markers::Note& n) -> int { + constexpr std::uint64_t kDrawEnds = VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT | + VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT | VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT | + VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT | VK_PIPELINE_STAGE_ALL_COMMANDS_BIT; + constexpr std::uint64_t kDispatchEnds = + VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT | VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT | VK_PIPELINE_STAGE_ALL_COMMANDS_BIT; + switch (static_cast(n.kind)) { + case Op::kForeignSubmit: return gpu_markers::kOtherThread; + case Op::kTransferBarrier: return n.a ? gpu_markers::kHolds : gpu_markers::kPlain; // into the transfer stage: from all commands + case Op::kPassBarrier: return kind == 1 ? gpu_markers::kHolds : gpu_markers::kPlain; // from all graphics stages + case Op::kEndRendering: return n.a && kind == 1 ? gpu_markers::kHolds : gpu_markers::kPlain; // with its pass barrier + case Op::kBarrier: return (n.a & (kind == 2 ? kDispatchEnds : kDrawEnds)) ? gpu_markers::kHolds : gpu_markers::kPlain; + default: return gpu_markers::kPlain; + } + }; + std::lock_guard lk(g_op_notes_mu); + const gpu_markers::Reach r = gpu_markers::reach_after(g_op_notes, started, reached, classify); + if (r.ops) { + for (std::uint32_t seq = r.first; seq && lines.size() < max; ++seq) { + const gpu_markers::Note* n = g_op_notes.find(seq); + const int c = n ? classify(*n) : gpu_markers::kOtherThread; + if (c != gpu_markers::kOtherThread) { + char head[64]; + std::snprintf(head, sizeof(head), "op %u%s: ", seq, c == gpu_markers::kHolds ? " (a barrier that holds the front end)" : ""); + lines.push_back(head + recorder_op_note_text_locked(*n)); + } + if (seq == reached) break; + } + // The ops after it with no word of their own (word_on): the front end may have passed them. + for (std::uint32_t seq = reached + 1; seq && lines.size() < max; ++seq) { + const gpu_markers::Note* n = g_op_notes.find(seq); + if (!n) break; + const int c = classify(*n); + if (c == gpu_markers::kOtherThread) continue; + if (n->after != started || word_on(static_cast(n->kind))) break; + char head[80]; + std::snprintf(head, sizeof(head), "op %u (no word of its own: it may have been reached): ", seq); + lines.push_back(head + recorder_op_note_text_locked(*n)); + } + } + return r; +} + void recorder_drain() { if (g_mode != kModeThread || !g_blocks) return; const std::uint64_t published = g_published.load(std::memory_order_relaxed); // only the g.mu holder publishes diff --git a/src/host/render.cpp b/src/host/render.cpp index 0bf59af7..6c456a7b 100644 --- a/src/host/render.cpp +++ b/src/host/render.cpp @@ -30722,6 +30722,11 @@ void describe_draw_record(std::uint64_t index) { static_cast(r.tex[0]), static_cast(r.tex[1]), static_cast(r.tex[2]), static_cast(r.tex[3]), r.indexed ? " idx" : ""); } +// The pipeline name of recorded draw `index`, or null once the ring has moved past it (BBHOST_MARKER_TRACE). +const char* draw_record_name(std::uint64_t index) { + if (index >= g_draw_rec_next || (g_draw_rec_next - index) > kDrawRecs) return nullptr; + return g_draw_recs[index % kDrawRecs].name; +} } // namespace gpu void host_gpu_hang_report() { diff --git a/src/host/window.cpp b/src/host/window.cpp index 72485c83..9a136eb3 100755 --- a/src/host/window.cpp +++ b/src/host/window.cpp @@ -1256,6 +1256,7 @@ bool vk_present() { bi.flags = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT; vkBeginCommandBuffer(g_vk.cmd, &bi); host_gpu_busy_present_begin(g_vk.cmd); // the busy meter's first timestamp (host/gpu_busy.cpp) + host_gpu_present_markers(g_vk.cmd, false); // the device-loss markers, while they are on (host/gpu_markers.h) // The picture's rectangle (fit_picture); what it does not cover is black. VkRect2D area{{0, 0}, g_vk.extent}; if (display_w && display_h) { @@ -1426,6 +1427,7 @@ bool vk_present() { as_colour ? VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT : VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, 0, 0, nullptr, 0, nullptr, 1, &to_present); } + host_gpu_present_markers(g_vk.cmd, true); host_gpu_busy_present_end(g_vk.cmd); // counted as on its way from here: it is always submitted below vkEndCommandBuffer(g_vk.cmd); const auto t_recorded = std::chrono::steady_clock::now(); diff --git a/tests/gpu_markers_test.cpp b/tests/gpu_markers_test.cpp new file mode 100644 index 00000000..37ef5762 --- /dev/null +++ b/tests/gpu_markers_test.cpp @@ -0,0 +1,125 @@ +// The markers between the draws (host/gpu_markers.h), without a GPU: the ring +// of op notes hands back the note of a number it still holds and nothing for +// one it has moved past (or 0, which the marker buffer holds before any op), +// across its wrap and the counter's; and the op word read against the draw +// the GPU had started as the report reads it - the ops the front end reached +// after that draw, and the barrier among them past which the draw had +// finished; other threads' notes in between left out, and nothing claimed +// when the ring has moved past them. +#include "host/gpu_markers.h" + +#include +#include + +namespace { + +int g_failures = 0; +void check(bool ok, const char* what, unsigned long long at = 0) { + if (ok) return; + if (++g_failures <= 24) std::printf("FAIL: %s (%llu)\n", what, at); +} + +std::uint32_t mark(unsigned kind, std::uint32_t index) { return (kind & 3u) << 30 | (index & 0x3fffffffu); } + +// The kinds of this test's notes (the real ones are gpu::stream::Op values). +enum Kind : std::uint16_t { kCopy = 1, kEndPassWithBarrier, kTransferIn, kTransferOut, kBeginPass, kPresent }; +int classify(const gpu_markers::Note& n) { + switch (n.kind) { + case kEndPassWithBarrier: + case kTransferIn: return gpu_markers::kHolds; + case kPresent: return gpu_markers::kOtherThread; + default: return gpu_markers::kPlain; + } +} + +} // namespace + +int main() { + using namespace gpu_markers; + + // The slots: distinct words of the 256-byte marker buffer, the old two where they were. + check(kStarted == 0 && kFinishedBefore == 4, "the draw markers' words stay at 0 and 4"); + check(kOpReached % 4 == 0 && kOpReached >= 8 && kOpReached + 4 <= 256, "the op word is a dword of its own inside it"); + + // The ring: numbers from 1, each note found while the ring holds it. + static Ring<16> ring; + check(ring.find(0) == nullptr, "0 is no op"); + check(ring.find(1) == nullptr, "nothing noted yet"); + std::uint32_t first = 0, last = 0; + for (std::uint32_t k = 0; k < 40; ++k) { + const std::uint32_t seq = ring.note(static_cast(k % 7), mark(1, 1000 + k), k, k * 2, k * 3); + if (!first) first = seq; + check(seq == last + 1, "numbers count up", seq); + last = seq; + const Note* n = ring.find(seq); + check(n && n->kind == k % 7 && n->after == mark(1, 1000 + k) && n->a == k && n->b == k * 2 && n->c == k * 3, "its own note", seq); + } + check(first == 1, "the first number is 1"); + for (std::uint32_t seq = last - 15; seq <= last; ++seq) check(ring.find(seq) != nullptr, "the last 16 are held", seq); + for (std::uint32_t seq = 1; seq + 16 <= last; ++seq) check(ring.find(seq) == nullptr, "older ones are gone", seq); + check(ring.find(last + 1) == nullptr, "a number not given yet"); + + // The counter's wrap: never 0, and the notes after it found. + static Ring<16> wrap; + wrap.last = 0xfffffffeu; + const std::uint32_t a = wrap.note(1, 0, 1, 0, 0), b = wrap.note(2, 0, 2, 0, 0), c = wrap.note(3, 0, 3, 0, 0); + check(a == 0xffffffffu && b == 1 && c == 2, "the counter skips 0 as it wraps", b); + check(wrap.find(a) && wrap.find(a)->a == 1 && wrap.find(b) && wrap.find(b)->a == 2 && wrap.find(c) && wrap.find(c)->a == 3, + "the notes across the wrap"); + + // The op word against the draw started: draw 4's ops, then the composite (draw 5) and the window after it - its pass + // end with the barrier, the presenter's note between (another thread's), the transfer barrier in, four copies, the + // transfer barrier out and the next pass's begin, all before draw 6. + static Ring<64> w; + const std::uint32_t d4 = mark(1, 4), d5 = mark(1, 5), d6 = mark(1, 6); + const std::uint32_t before = w.note(kCopy, d4, 0, 0, 0); + const std::uint32_t end_pass = w.note(kEndPassWithBarrier, d5, 1, 0, 0); + const std::uint32_t present = w.note(kPresent, 0, 0, 0, 0); + const std::uint32_t in = w.note(kTransferIn, d5, 1, 0, 0); + std::uint32_t copies[4]; + for (std::uint32_t& k : copies) k = w.note(kCopy, d5, 0, 0, 0); + const std::uint32_t out = w.note(kTransferOut, d5, 0, 0, 0); + const std::uint32_t begin = w.note(kBeginPass, d5, 0, 0, 0); + + // The front end stopped at the pass end's barrier: no barrier past - the composite may not have finished. + Reach r = reach_after(w, d5, end_pass, classify); + check(r.known && r.ops == 1 && r.first == end_pass && r.holds == 0, "stopped at the barrier after the draw: nothing past it"); + // Past the pass end's barrier, into the transfer barrier: the composite had finished (the presenter's note skipped). + r = reach_after(w, d5, in, classify); + check(r.known && r.ops == 2 && r.first == end_pass && r.holds == end_pass, "past the pass end: the draw had finished"); + // Into the copies and on to the barrier out: the last barrier past is the transfer barrier in. + r = reach_after(w, d5, out, classify); + check(r.known && r.ops == 7 && r.first == end_pass && r.holds == in, "the copies reached: past the transfer barrier in"); + r = reach_after(w, d5, begin, classify); + check(r.known && r.ops == 8 && r.holds == in, "the next pass's begin reached"); + // An op word from before the draw: the front end reached no op after it. + r = reach_after(w, d5, before, classify); + check(r.known && r.ops == 0 && r.holds == 0, "an op before the draw: none after it"); + // The word against another draw: the ops after draw 5 are not draw 6's. + r = reach_after(w, d6, begin, classify); + check(r.known && r.ops == 0, "draw 6 started: the ops after draw 5 are not after it"); + // The presenter's own note as the word: its place among the stream's ops is not known - nothing inferred. + r = reach_after(w, d5, present, classify); + check(r.other && r.ops == 0 && r.holds == 0, "the presenter's note: said as such, nothing inferred"); + r = reach_after(w, d5, in, classify); + check(!r.other, "a stream op is not another thread's"); + (void)copies; + + // The ring moved past the window's start: said, not guessed. + static Ring<4> small; + small.note(kCopy, d4, 0, 0, 0); + small.note(kEndPassWithBarrier, d5, 1, 0, 0); + for (int k = 0; k < 4; ++k) small.note(kCopy, d5, 0, 0, 0); + r = reach_after(small, d5, small.last, classify); + check(!r.known && r.ops == 4 && r.holds == 0, "the ring has moved past the pass end"); + // Nothing reached yet. + r = reach_after(w, d5, 0, classify); + check(r.known && r.ops == 0, "no op word yet"); + + if (g_failures) { + std::printf("gpu_markers_test: %d failures\n", g_failures); + return 1; + } + std::printf("gpu_markers_test: ok\n"); + return 0; +} From f908cb7856450c48fca0cf2b0d70114d2a3c7225 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 21:48:40 -0800 Subject: [PATCH 035/100] render: the draw pool goes on committing with the GPU's progress markers on With AMD's buffer markers on, the list-mode commit refused every draw for its configuration (list_config_ok_locked), so a marked start drew everything in order on the command processor: it ran another path than the one whose losses the markers are meant to name. A fast-loading stress with the markers on reported "the pool committed 0 of 128 draws ... configuration 122", while a player's unmarked loss in a loading screen had the pool committing 60% of the draws in the seconds before it. A list-mode draw has no marker of its own - it has no number in the recent-draw ring and is committed beside the command processor - and needs none: its splice is an op the recorder notes between the marked draws, and the loss report lists it among the ops after the draw the GPU had started. NVIDIA's checkpoints, recorded in place, still keep the pool off. On an RTX 4070 under Linux, the pool kept from resting (BBHOST_GXVK_LISTS_REST=0) and the markers written in loading screens, ten lamp travels between a Chalice Dungeon and the Hunter's Dream: the pool committed 78.3% of 469,376 draws in the loading screens and 86.0% of 1.8 million in the world, refused none for its configuration, and the exit line read the last window's end as the words should; the same under the Khronos validation layer (76.7% in the loading screens), with only the two warnings every run has. On an RTX 3070 Ti Laptop GPU under Windows, the same switch, the markers on and off: 80-84% of the loading screens' draws committed either way. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- src/host/render.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/host/render.cpp b/src/host/render.cpp index 6c456a7b..e2a682dd 100644 --- a/src/host/render.cpp +++ b/src/host/render.cpp @@ -27677,8 +27677,10 @@ static bool draw_impl(const GpuDraw& d) { } draw_stamp.to(kRenderCostGeometry); if (g.cmd_buffer_marker) { - cmds.marker(gpu_marker_value(1, part ? run->record : g_draw_rec_next)); - } else if (!(run && run->list)) { // (stage 4b.1b: refused with checkpoints - lists_commit) + // A list-mode draw has no marker of its own - no number in the recent-draw ring, committed beside the command + // processor: its splice is an op the recorder notes, and the report names the draws marked around it. + if (!(run && run->list)) cmds.marker(gpu_marker_value(1, part ? run->record : g_draw_rec_next)); + } else if (!(run && run->list)) { // (stage 4b.1b: refused with NVIDIA's checkpoints - lists_commit) gpu_checkpoint(1, g_draw_rec_next); // (a run is not forked with checkpoints recorded in place) } if (bind_pl->profile_name.empty()) { @@ -29034,7 +29036,7 @@ const std::uint32_t* run_names_of(const RunTargets& m) { // Whether the list-mode commit takes draws in this configuration at all (as // host_gpu_run_commit's refusals): read under g.mu. bool list_config_ok_locked() { - if (!g.ok || !recorder_threaded() || g.profile || g.profile_passes || g.has_checkpoints || g.cmd_buffer_marker || !set_cache_on() || !cb_push_on() || + if (!g.ok || !recorder_threaded() || g.profile || g.profile_passes || (g.has_checkpoints && !g.cmd_buffer_marker) || !set_cache_on() || !cb_push_on() || capture_wanted() || g_trace || glitch_on() || g_render_cost_enabled || run_diagnostics_on()) return false; if (g.bindless || (gxvk::buffers_on() && !gxvk_buffers_bind_mode()) || gxvk::arena_wanted() || shadow_in_place_on()) return false; From efcca6c6f723973681388dcd2796db8b8ec36f0c Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 21:48:40 -0800 Subject: [PATCH 036/100] gpu: the progress markers are written while a loading screen is up, and nothing of them in the world A player's RTX 2060 under Windows lost the device five times, four of them in or just after a loading screen - most in a Chalice Dungeon's, where the fast loading screens run the GPU flat out at several hundred frames a second - and no log said where the GPU was: the markers were off, by default, for what they cost in the world (two marker writes a draw), and on only for the three starts after a loss, which were used up before the next one came. Now AMD's buffer markers (VK_AMD_buffer_marker, which NVIDIA's drivers have too) are written while a loading screen is up, by default, and nothing of them is written or done in the world: - Their window (host/gpu_markers.h Window) steps where each recording - a submission - begins, where no draw, dispatch or run is open: it opens at the first one after a loading screen came up and closes at the first one 200 ms after it went, the command processor recording the game's frames a frame or two after the game made them. A beginning or an end is an op of the stream (kMarkerWindow): the recorder meets it in order, notes the ops between the draws and writes their words from a beginning on, and stops at an end. Both write their mark into all three words - the started and finished words (top and bottom of the pipe) and the op word - so the words always come from one side of it: a loss past an end reads as past it, never as the last op before it. - The loss report reads where the window was from the words: inside one (as before: the draw started, the op reached, the ops between); at a window's beginning (its first ops); past its end (lost in the world, where the markers are off - and whether everything before that end had finished, or the GPU may have stopped in the loading screen's last work); or none reached at all. Out of a window it says how to have them everywhere. - In the world: no marker writes, no op notes, no recent-draw records (the hang report says when its draws are a past window's), no presenter words; a draw tests one flag. The device extension and the 256-byte marker buffer are there from the start. - BBHOST_GPU_CHECKPOINTS=amd writes them everywhere, =0 never, not even in loading screens; =after-loss also marks everything for the three starts after a loss (what was the default), =amd-dry and =loading-dry record them on a device without the extension (lavapipe). The loss box says loading screens record where the GPU was. - tests/gpu_markers_test.cpp: what each value asks on devices with and without buffer markers, the window's steps (opened at once, held for its grace, counted afresh when a loading screen comes back in it, never in the world, once for good with =amd), its marks (kind 0, never 0, apart from every draw's, dispatch's and submission's) and the words read back as the report reads them; 32 of 32 hand mutants of them fail it. Measured on each device with one build, the markers in loading screens (a, the default) against BBHOST_GPU_CHECKPOINTS=0 (b), a b b a, lamp travel between a Chalice Dungeon (m29_10_90_00) and the Hunter's Dream, 20-22 travels a run, warm caches, every load's length as the log gives it (median, p25-p75, a against b): - RTX 4070 under Linux, 60 fps, the small-video-memory path, homes on: the dungeon's loads 4.83 s (4.78-4.85) against 4.79 s (4.77-4.84), the Dream's 1.81 s (1.79-1.82) against 1.80 s (1.78-1.83); - RTX 3070 Ti Laptop GPU under Windows (NVIDIA 610.60), the release recipe's package, windowed 1080p with V-Sync and 60 fps, the small-video-memory path and the rings in host memory, as on an RTX 2060 without resizable BAR: 3.02 s (3.00-3.04) against 3.02 s (3.00-3.05), 1.13 s (1.11-1.14) against 1.12 s (1.12-1.13); GPU-bound as the RTX 2060 is there (rendering at 3840x2160, ~124 loading frames a second): 3.20 s against 3.20 s, 1.50 s against 1.49 s; with the draw pool never resting, committing 80-84% of the loading screens' draws in both: 3.10 s against 3.12 s, 1.15 s against 1.15 s; - Steam Deck (RADV), its kit, 60 fps at 960x600: 4.88 s (4.84-4.91) against 4.87 s (4.84-4.92), 1.85 s (1.81-1.95) against 1.90 s (1.83-1.93). No difference beyond the spread anywhere (the medians' 95% bootstrap intervals all take in 0; Mann-Whitney p 0.32-0.95). The loading screens drew 3-4% fewer frames a second with the markers on NVIDIA and as many on the Deck, and the loads took no longer: they wait on the game's loaders, not on frames. In the world, uncapped on the RTX 4070 against the code before these markers (the same build recipe, a b b a then b a a b): Central Yharnam 136.4 fps against 135.6, the Hunter's Dream 187.4 against 187.6 - unchanged. A loss declared inside the title's loading screen read "lost inside a loading screen's markers' window" with the submission and the op the GPU had reached; one declared in the world read "passed the end of markers' window 1: lost in work recorded after that loading screen, in the world, where the markers are off" and that everything before that end had finished. Under the Khronos layer through seven loads only the two warnings every run has. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/rendering.md | 2 +- docs/running.md | 8 +- src/host/gpu.cpp | 230 ++++++++++++++++++++++++++----------- src/host/gpu_internal.h | 14 +++ src/host/gpu_markers.h | 152 +++++++++++++++++++++++- src/host/recorder.cpp | 57 ++++++++- src/host/render.cpp | 19 +-- src/host/stream_ops.h | 3 +- src/main.cpp | 2 +- tests/gpu_markers_test.cpp | 143 +++++++++++++++++++++++ 10 files changed, 542 insertions(+), 88 deletions(-) diff --git a/docs/rendering.md b/docs/rendering.md index 1d729f05..56ecf2b0 100644 --- a/docs/rendering.md +++ b/docs/rendering.md @@ -1316,7 +1316,7 @@ another thread before the capture read it. | `BBHOST_VK_VALIDATE=1` | runs with the Vulkan validation layer | | `BBHOST_VA_TRACE=1` | logs every guest-memory import made, put in place, retired and freed, every window whose page-table entries move, every device buffer made through `create_dev_buffer` with its owner and every staging or scratch chunk freed (`va:` lines, the wall clock in seconds and microseconds, to match `journalctl -k -o short-unix`); a device fault report then looks its addresses up in them. `=2` adds the driver's own binds and unbinds where it reports them (VK_EXT_device_address_binding_report) | | `BBHOST_GPU_PROFILE=1` | per-pass GPU timings | -| `BBHOST_GPU_CHECKPOINTS=amd` | the GPU's progress markers (VK_AMD_buffer_marker, which NVIDIA's drivers have too) on every start: two words before each draw and dispatch, and the front end's word before the ops between them where it stops or the pass changes - barriers, pass ends and begins - with every op noted. A lost device then names the draw or dispatch the GPU had started, the op its front end had reached, the ops between the two, and whether a barrier among them says the draw had finished (barriers hold the front end on NVIDIA's and AMD's GPUs; the specification does not promise it). The three starts after a loss run with them by themselves; `=0` keeps them off; `=amd-dry` records them on a device without the extension (lavapipe) | +| `BBHOST_GPU_CHECKPOINTS=amd` | the GPU's progress markers (VK_AMD_buffer_marker, which NVIDIA's drivers have too) everywhere, not only while a loading screen is up, as they are by default: two words before each draw and dispatch, and the front end's word before the ops between them where it stops or the pass changes - barriers, pass ends and begins - with every op noted. A lost device then names the draw or dispatch the GPU had started, the op its front end had reached, the ops between the two, and whether a barrier among them says the draw had finished (barriers hold the front end on NVIDIA's and AMD's GPUs; the specification does not promise it); a loss after a loading screen's markers ended says so, and that they were off there. The default's window opens at the first submission recorded once a loading screen is up and closes at the first one 200 ms after it has gone, and nothing of them is written or done in between - in the world they cost frames. `=0` keeps them off in loading screens too; `=after-loss` also marks everything for the three starts after a loss; `=amd-dry` and `=loading-dry` record them, everywhere or in loading screens, on a device without the extension (lavapipe) | | `BBHOST_GPU_MARKER_OPS=all` | with the markers on, the front end's word before every op between draws: where the front end was held between two barriers shows too, at a cost on NVIDIA's GPUs, where a word between two copies holds them apart | | `BBHOST_MARKER_TRACE=[:n]` | with the markers on, the ops noted after the first n (4) draws of the pipelines whose name starts with the prefix, and every 300 flips what a lost device would say from the words as they stand | | `BBHOST_UPSCALE_CHECK=4` + `tools/upscale_check.py` | the upscalers' reprojection check, with an upscaler on and `BBHOST_UPSCALE_JITTER=0`: in place of the upscaler's picture, green where the motion explains how the scene changed since the last frame, red where it does not, blue where a surface came from off the screen; every 30 frames the log has red's share of what changed, over the picture and in sixteen bands of its width, and the tool sums it over the windows where the picture moved | diff --git a/docs/running.md b/docs/running.md index fdfac222..215d6939 100644 --- a/docs/running.md +++ b/docs/running.md @@ -251,9 +251,11 @@ without it: its title screen would otherwise be a flat green picture. **The graphics card stops responding.** When the GPU hangs and the system resets it, nothing can be drawn again in that session; bbhost stops the sound, -says so in a box and exits. The next three starts run with the GPU's progress -markers enabled, so the log of a second hang names the draw that hung and how -far past it the GPU had got - send that log. Overlays that hook Vulkan are a common cause: OBS's game capture is +says so in a box and exits. Loading screens run with the GPU's progress +markers, so the log of a hang in one names the draw that hung and how far past +it the GPU had got - send that log. `set BBHOST_GPU_CHECKPOINTS=amd` in +run-bbhost.bat (`BBHOST_GPU_CHECKPOINTS=amd` before the command on Linux) +marks the whole game, at some cost to the frame rate. Overlays that hook Vulkan are a common cause: OBS's game capture is kept out automatically on AMD cards (`[video] obs_capture` changes that), and OBS's Window Capture records bbhost without any hook. diff --git a/src/host/gpu.cpp b/src/host/gpu.cpp index 206287a9..570df3a9 100644 --- a/src/host/gpu.cpp +++ b/src/host/gpu.cpp @@ -84,6 +84,7 @@ thread_local constinit int t_import_fall = -1; // gpu_internal. void device_lost_locked(const char* where, bool declared = false); // below, with the reports it makes bool take_marked_start(std::string& why); // the same: a start after a lost device runs with markers +void markers_window_locked(); // the same: the markers' window, where a recording begins namespace { @@ -3729,7 +3730,15 @@ void start_memory_reserve(); // below, beside the image heap void vram_reserve_init(); // the same bool g_use_buffer_marker = false; // VK_AMD_buffer_marker checkpoints (gpu_checkpoint) -bool g_dry_buffer_marker = false; // BBHOST_GPU_CHECKPOINTS=amd-dry on a device without them: recorded, not written +bool g_dry_buffer_marker = false; // BBHOST_GPU_CHECKPOINTS=amd-dry or loading-dry on a device without them: recorded, not written +// When they are written (host/gpu_markers.h): while a loading screen is up by +// default; the window as the command processor records it (markers_live), and +// where it stands, under g.mu. +gpu_markers::Mode g_marker_mode = gpu_markers::Mode::kOff; +std::atomic g_markers_live{false}; +gpu_markers::Window g_marker_window; +bool g_marker_after_loss = false; // BBHOST_GPU_CHECKPOINTS=after-loss: the starts after a loss mark everything +std::atomic g_marker_windows{0}; // windows begun (the exit line's, read without g.mu) // The dry run's marker write: nothing. VKAPI_ATTR void VKAPI_CALL dry_buffer_marker(VkCommandBuffer, VkPipelineStageFlagBits, VkBuffer, VkDeviceSize, std::uint32_t) {} @@ -4173,42 +4182,37 @@ bool init_locked() { // Other programs' hooks, loaded with the instance (most come in as an // implicit Vulkan layer): said now, and again if the device is lost. if (const std::string hooks = host_foreign_hooks(); !hooks.empty()) host_log("gpu: hooked into this process: %s", hooks.c_str()); - // BBHOST_GPU_CHECKPOINTS=1: a checkpoint before every draw and - // dispatch, so a device-lost report says how far the GPU got. Off by - // default: vkCmdSetCheckpointNV was ~160 ns of each draw's ~11 us on - // the command processor. + // The GPU's progress markers, which name the draw or dispatch the GPU + // was in when the device is lost (host/gpu_markers.h; AMD's driver has + // said nothing through VK_EXT_device_fault): AMD's buffer markers + // (NVIDIA's drivers have them too) while a loading screen is up - + // where the losses come - and nothing of them in the world, where they + // cost frames: two marker writes a draw. BBHOST_GPU_CHECKPOINTS=amd + // writes them everywhere and =0 never; =1 puts NVIDIA's checkpoints + // before every draw and dispatch instead (vkCmdSetCheckpointNV was + // ~160 ns of each draw's ~11 us on the command processor, and they are + // recorded in place); =after-loss marks everything for the three + // starts after a lost device (its note beside the pipeline cache), + // with whichever this driver has - buffer markers first: they land in + // host memory, readable after the loss, and NVIDIA's Linux driver + // returned no checkpoints at all at three losses (an RTX 2060, + // 615.71); =amd-dry and =loading-dry record them where the device has + // none (lavapipe; with BBHOST_MARKER_TRACE), the writes left out. const char* e = std::getenv("BBHOST_GPU_CHECKPOINTS"); - bool want_nv = c.checkpoints && e && e[0] == '1'; - // AMD's buffer markers name the draw or dispatch the GPU was in when - // the device is lost (the first AMD run lost it at the title, and the - // driver's VK_EXT_device_fault said nothing). On while AMD runs were - // new; off by default since they cost the Steam Deck ~2% - two marker - // writes a draw, and a draw recorded with checkpoints cannot go to - // the recorder thread, so the command processor recorded every one. - // BBHOST_GPU_CHECKPOINTS=amd turns them on. - bool want_amd = c.buffer_marker && e && std::strcmp(e, "amd") == 0; - // BBHOST_GPU_CHECKPOINTS=amd-dry (a check of the markers' recording on a - // device without the extension - lavapipe; with BBHOST_MARKER_TRACE): - // every marker recorded as it would be, the GPU's writes left out. - if (e && std::strcmp(e, "amd-dry") == 0) { - want_amd = true; - g_dry_buffer_marker = !c.buffer_marker; - } - // Unset, and the last run lost the device (its note beside the - // pipeline cache): these starts run with whichever this driver has - - // buffer markers first where there are any (NVIDIA's drivers have - // them too): they land in host memory, readable after the loss, and - // NVIDIA's Linux driver returned no checkpoints at all at three - // losses (an RTX 2060, 615.71). BBHOST_GPU_CHECKPOINTS=0 keeps them off. + gpu_markers::Arming arm = gpu_markers::arming(e, c.buffer_marker, c.checkpoints); + if (arm.unknown) host_log("gpu: BBHOST_GPU_CHECKPOINTS=%s is not understood: as unset (amd, 0, 1, after-loss)", e); std::string why; - if (!e && (c.checkpoints || c.buffer_marker) && take_marked_start(why)) { - (c.buffer_marker ? want_amd : want_nv) = true; - host_log("gpu: the last run lost the device (%s): this start runs with the GPU's progress markers (%s), so another loss " - "names the draw the GPU was in; BBHOST_GPU_CHECKPOINTS=0 turns them off", + if (arm.after_loss && take_marked_start(why)) { + gpu_markers::after_loss_start(arm, c.buffer_marker); + host_log("gpu: the last run lost the device (%s): this start runs with the GPU's progress markers everywhere (%s), so another " + "loss names the draw the GPU was in (BBHOST_GPU_CHECKPOINTS=after-loss)", why.c_str(), c.buffer_marker ? "buffer markers" : "NVIDIA's checkpoints"); } - g.has_checkpoints = want_nv || want_amd; - g_use_buffer_marker = want_amd; + g_marker_mode = arm.mode; + g_marker_after_loss = arm.after_loss; + g_dry_buffer_marker = arm.dry; + g_use_buffer_marker = arm.mode != gpu_markers::Mode::kOff; + g.has_checkpoints = arm.nv || g_use_buffer_marker; } VkPhysicalDeviceProperties props{}; vkGetPhysicalDeviceProperties(g.phys, &props); @@ -4925,9 +4929,11 @@ bool init_locked() { } else { std::memset(g.marker_buf.map, 0, 256); host_log("gpu: AMD buffer markers on each draw and dispatch, and the front end's word before the ops between them where " - "it stops or the pass changes (BBHOST_GPU_CHECKPOINTS=amd; a device loss names the work; BBHOST_GPU_MARKER_OPS=all: " - "before every op)%s", - g_dry_buffer_marker ? " - recorded only, the device has no buffer markers (BBHOST_GPU_CHECKPOINTS=amd-dry)" : ""); + "it stops or the pass changes, %s (a device loss names the work; BBHOST_GPU_MARKER_OPS=all: before every op)%s", + g_marker_mode == gpu_markers::Mode::kAlways + ? "everywhere (BBHOST_GPU_CHECKPOINTS=amd)" + : "while a loading screen is up - none in the world (BBHOST_GPU_CHECKPOINTS=amd: everywhere, =0: never)", + g_dry_buffer_marker ? " - recorded only, the device has no buffer markers (BBHOST_GPU_CHECKPOINTS=amd-dry, loading-dry)" : ""); } } if (g.device && g.has_checkpoints && !g_use_buffer_marker) { @@ -5375,6 +5381,7 @@ void begin_recording_locked() { gxvk_begin_recording_locked(); // GX buffers by handle: retired entries taken back homes_begin_recording_locked(); // stage 4b.3c: the homes made and ended since, ended ones taken back busy_begin_locked(g.slots[g.slot]); + markers_window_locked(); // a loading screen's markers begin or end here (host/gpu_markers.h) gpu_checkpoint(kGpuMarkSubmission, g.flushes * 4 + 1); glitch_begin_recording_locked(); occlusion_begin_recording_locked(); @@ -6939,12 +6946,36 @@ void gpu_write_op_marker(VkCommandBuffer cmd, std::uint32_t seq) { g.cmd_buffer_marker(cmd, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, g.marker_buf.buffer, gpu_markers::kOpReached, seq); } +// Where a recording begins (begin_recording_locked, under g.mu): the markers' +// window steps (host/gpu_markers.h Window) - open from the first recording +// after a loading screen came up to the first one kWindowGraceMs after it +// went, by default - and a beginning or an end is recorded here, in the +// stream's order, for the recorder to meet. +[[gnu::noinline]] void markers_window_locked() { // (out of begin_recording_locked's own code) + if (!g.cmd_buffer_marker) return; + const bool loading = loading_screen_now(); + const std::uint64_t now = g_marker_window.needs_clock(g_marker_mode, loading) ? static_cast(steady_ms()) : 0; + const std::uint32_t value = g_marker_window.step(g_marker_mode, loading, now); + if (!value) return; + g_markers_live.store(g_marker_window.open, std::memory_order_relaxed); + g_marker_windows.store(g_marker_window.number, std::memory_order_relaxed); + rec().marker_window(value); + if (g_marker_mode == gpu_markers::Mode::kLoading && g_marker_window.number <= 2) { + host_log("gpu: the GPU's progress markers %s, flip %llu (submission %llu)%s", + g_marker_window.open ? "on for a loading screen" : "off in the world", static_cast(hle_video_flip_count()), + static_cast(g.flushes), g_marker_window.number == 2 && !g_marker_window.open ? " - said no more" : ""); + } +} + } // namespace gpu // The presenter's command buffer (window.cpp): an op's marker at its start and at its end, noted as another thread's -// (host/gpu_markers.h). The presenter records it under the renderer's lock. +// (host/gpu_markers.h), while the markers' window is open - the window its start found, for both. The presenter records +// it under the renderer's lock. void host_gpu_present_markers(void* cmd, bool end) { using namespace gpu; - if (!g.cmd_buffer_marker || !cmd) return; + static thread_local bool marked = false; + if (!end) marked = g.cmd_buffer_marker && markers_live(); + if (!marked || !cmd) return; gpu_write_op_marker(static_cast(cmd), recorder_note_op(static_cast(stream::Op::kForeignSubmit), end ? 1 : 0)); } namespace gpu { @@ -6952,7 +6983,8 @@ namespace gpu { void gpu_checkpoint(unsigned kind, std::uint64_t index) { if (g.cmd_buffer_marker) { // An op of the stream: recording it in place would drain the - // recorder at every dispatch of a start after a lost device. + // recorder at every dispatch of a start after a lost device. (Only + // in the markers' window: Rec::marker.) rec().marker(gpu_marker_value(kind, index)); return; } @@ -6964,7 +6996,7 @@ void gpu_checkpoint(unsigned kind, std::uint64_t index) { // recorded on the command processor beside the stream). void gpu_checkpoint_cmd(VkCommandBuffer cmd, unsigned kind, std::uint64_t index) { if (g.cmd_buffer_marker) { - gpu_write_markers(cmd, gpu_marker_value(kind, index)); + if (markers_live()) gpu_write_markers(cmd, gpu_marker_value(kind, index)); return; } if (!g.cmd_checkpoint) return; @@ -6982,12 +7014,17 @@ std::string submission_mark(std::uint64_t which) { const char* g_dispatch_names[256] = {}; void note_dispatch_name(std::uint64_t index, const char* name) { g_dispatch_names[index % 256] = name; } -// A marker value as words: "draw N", "dispatch N", a submission's mark. +// A marker value as words: "draw N", "dispatch N", a submission's mark, a +// loading screen's markers' window beginning or ending (host/gpu_markers.h). std::string marker_text(std::uint32_t v) { const unsigned kind = v >> 30; const std::uint64_t which = v & 0x3fffffff; if (kind == kGpuMarkSubmission) return submission_mark(which); - return std::string(kind == 1 ? "draw " : kind == 2 ? "dispatch " : "(none) ") + std::to_string(which); + if (kind == 0) { + if (!v) return "(none)"; + return std::string(v & 1 ? "the beginning" : "the end") + " of markers' window " + std::to_string(which >> 1); + } + return std::string(kind == 1 ? "draw " : "dispatch ") + std::to_string(which); } // The word the recorder writes before each op between the draws (host/gpu_markers.h): the last op the GPU's front end @@ -7003,7 +7040,9 @@ void report_between_draws(std::uint32_t started) { host_log("gpu: AMD marker: of the ops between draws, the GPU's front end had reached op %u%s%s", reached, s.empty() ? "" : ": ", s.c_str()); const unsigned kind = started >> 30; - if (kind != 1 && kind != 2) return; + // (A window's beginning, its ops noted as after it: the ops listed, nothing inferred of a draw.) + const bool window = kind == 0 && (started & 1); + if (kind != 1 && kind != 2 && !window) return; std::vector lines; const gpu_markers::Reach r = recorder_reach_after(started, reached, lines, 24); const std::string what = marker_text(started); @@ -7023,6 +7062,7 @@ void report_between_draws(std::uint32_t started) { r.known ? "" : "; the ring has moved past the first of them"); for (const std::string& l : lines) host_log("gpu: AMD marker: %s", l.c_str()); if (r.ops > lines.size()) host_log("gpu: AMD marker: (and %zu more)", static_cast(r.ops - lines.size())); + if (window) return; if (r.holds) { host_log("gpu: AMD marker: past op %u, a barrier that holds the front end until the work before it has finished: %s had " "finished, and the GPU stopped in the ops after that barrier up to op %u, or before the next marker (barriers hold " @@ -7041,26 +7081,67 @@ void report_checkpoints() { if (!g.has_checkpoints) return; if (g.cmd_buffer_marker && g.marker_buf.map) { std::uint32_t started = 0, finished = 0; - std::memcpy(&started, g.marker_buf.map, 4); - std::memcpy(&finished, static_cast(g.marker_buf.map) + 4, 4); + std::memcpy(&started, static_cast(g.marker_buf.map) + gpu_markers::kStarted, 4); + std::memcpy(&finished, static_cast(g.marker_buf.map) + gpu_markers::kFinishedBefore, 4); + if (g_dry_buffer_marker) { + host_log("gpu: AMD markers: recorded only, the device has none to write - nothing to read (BBHOST_GPU_CHECKPOINTS=amd-dry, " + "loading-dry)"); + return; + } const auto say = [](const char* what, std::uint32_t v) { const unsigned kind = v >> 30; const std::uint64_t which = v & 0x3fffffff; - if (kind == kGpuMarkSubmission) { - host_log("gpu: AMD marker: the GPU had %s %s", what, submission_mark(which).c_str()); - return; - } - host_log("gpu: AMD marker: the GPU had %s %s %llu", what, kind == 1 ? "draw" : kind == 2 ? "dispatch" : "(none yet)", - static_cast(which)); + host_log("gpu: AMD marker: the GPU had %s %s", what, marker_text(v).c_str()); if (kind == 1) describe_draw_record(which); if (kind == 2) { const char* n = g_dispatch_names[which % 256]; host_log(" dispatch[%llu] %s", static_cast(which), n ? n : "?"); } }; - say("finished everything before", finished); - say("started", started); - report_between_draws(started); + // Where the window was, as the words have it (host/gpu_markers.h read_words): a window's beginning and end + // write all three, so a loss after its end reads as such and never as the last op before it. + const bool loading_only = g_marker_mode == gpu_markers::Mode::kLoading; + const gpu_markers::Reading at = gpu_markers::read_words(started, finished); + switch (at.where) { + case gpu_markers::Where::kNothing: + if (loading_only) { + host_log("gpu: AMD markers: the GPU had reached none - they are written only while a loading screen is up, and this " + "run's GPU work had not reached one's: the device was lost in the world or at the title, where the markers " + "are off. BBHOST_GPU_CHECKPOINTS=amd writes them there too, at some cost to the frame rate"); + } else { + host_log("gpu: AMD markers: the GPU had reached none yet"); + } + return; + case gpu_markers::Where::kEnded: + host_log("gpu: AMD markers: the GPU's front end had passed %s: the device was lost in work recorded after that loading " + "screen, in the world, where the markers are off - BBHOST_GPU_CHECKPOINTS=amd writes them there too, at some cost to " + "the frame rate", + marker_text(started).c_str()); + if (at.finished_all) { + host_log("gpu: AMD markers: everything recorded before that end had finished"); + } else { + say("finished everything before", finished); + host_log("gpu: AMD markers: not everything before that end had finished: the GPU may have stopped in the loading " + "screen's last work from there on"); + } + return; + case gpu_markers::Where::kBegun: + host_log("gpu: AMD markers: the GPU's front end had reached %s%s, and none of its draws or dispatches", marker_text(started).c_str(), + loading_only ? " (a loading screen's)" : ""); + if (!at.finished_all) say("finished everything before", finished); + report_between_draws(started); + return; + case gpu_markers::Where::kInside: + if (loading_only) { + host_log("gpu: AMD markers: the device was lost inside a loading screen's markers' window (the loading screen and the " + "%llu ms after it)", + static_cast(gpu_markers::kWindowGraceMs)); + } + say("finished everything before", finished); + say("started", started); + report_between_draws(started); + return; + } return; } auto get_data = reinterpret_cast(vkGetDeviceProcAddr(g.device, "vkGetQueueCheckpointDataNV")); @@ -7180,11 +7261,12 @@ void report_device_fault() { } } -// A run that loses the device leaves a note beside the pipeline cache, and the -// next kMarkedRuns starts run with the GPU's progress markers on (NVIDIA's -// checkpoints, AMD's buffer markers): off by default for what they cost, they -// are what names the draw the GPU was in when it is lost again - AMD's driver -// has said nothing through VK_EXT_device_fault. +// A run that loses the device leaves a note beside the pipeline cache, and +// with BBHOST_GPU_CHECKPOINTS=after-loss the next kMarkedRuns starts run with +// the GPU's progress markers everywhere (NVIDIA's checkpoints, AMD's buffer +// markers) - what names the draw the GPU was in when it is lost again in the +// world, where by default they are off for what they cost (AMD's driver has +// said nothing through VK_EXT_device_fault). constexpr int kMarkedRuns = 3; std::string device_lost_note_path() { const char* root = hle_fs_data_root(); @@ -7251,7 +7333,13 @@ void device_lost_locked(const char* where, bool declared) { std::ofstream out(path, std::ios::trunc); out << "starts-left " << kMarkedRuns << '\n' << "flip " << flip << ", " << where << (hooks.empty() ? "" : ", with ") << hooks << '\n'; } - if (!g.has_checkpoints) host_log("gpu: no progress markers this run; the next %d starts run with them", kMarkedRuns); + if (!g.has_checkpoints) { + const char* e = std::getenv("BBHOST_GPU_CHECKPOINTS"); + host_log("gpu: no progress markers this run (%s%s)%s", e ? "BBHOST_GPU_CHECKPOINTS=" : "the driver has no buffer markers", e ? e : "", + g_marker_after_loss ? "; the next starts run with them everywhere (BBHOST_GPU_CHECKPOINTS=after-loss)" : ""); + } else if (g_marker_after_loss && g_marker_mode != gpu_markers::Mode::kAlways) { + host_log("gpu: the next %d starts run with the GPU's progress markers everywhere (BBHOST_GPU_CHECKPOINTS=after-loss)", kMarkedRuns); + } // Everything stops after this, so say what was in flight: the last draws // name the pipeline that faulted or hung. host_gpu_hang_report(); // with the command stream's last op (recorder.cpp) @@ -14257,21 +14345,25 @@ void host_gpu_report() { } if (g.cmd_buffer_marker && g.marker_buf.map) { // The words once the GPU has run all it was given (a lost device answers at once): with nothing in flight - // they agree - the last started is the last finished before (the last submission's end, as a rule) - and the - // last op the front end reached is the last noted with a word, but for ops recorded and never submitted before - // the exit (the command processor runs ahead of the GPU uncapped) - so a start's exit line checks the markers - // themselves. - { + // they agree - the last started is the last finished before (the last submission's end, as a rule, or the + // last loading screen's window's end) - and the last op the front end reached is the last noted with a word, + // but for ops recorded and never submitted before the exit (the command processor runs ahead of the GPU + // uncapped) - so a start's exit line checks the markers themselves. (A window closed long before needs no + // wait: its end's words are the last written.) + const std::uint32_t windows = g_marker_windows.load(std::memory_order_relaxed); + const bool open = markers_live(); + if (open) { QueueGuard queue; vkQueueWaitIdle(g.queue); } std::uint32_t started = 0, finished = 0, reached = 0; - std::memcpy(&started, g.marker_buf.map, 4); + std::memcpy(&started, static_cast(g.marker_buf.map) + gpu_markers::kStarted, 4); std::memcpy(&finished, static_cast(g.marker_buf.map) + gpu_markers::kFinishedBefore, 4); std::memcpy(&reached, static_cast(g.marker_buf.map) + gpu_markers::kOpReached, 4); - host_log("gpu: AMD markers at exit: last started %s, everything finished before %s; ops between draws: the last the front end " - "reached %u (the last noted with a word %u)", - marker_text(started).c_str(), marker_text(finished).c_str(), reached, recorder_last_op_note()); + host_log("gpu: AMD markers at exit (%s, %u window%s, the last %s): last started %s, everything finished before %s; ops between " + "draws: the last the front end reached %u (the last noted with a word %u)", + g_marker_mode == gpu_markers::Mode::kAlways ? "everywhere" : "in loading screens", windows, windows == 1 ? "" : "s", + open ? "open" : "closed", marker_text(started).c_str(), marker_text(finished).c_str(), reached, recorder_last_op_note()); } host_log("gpu: dispatches=%llu draws=%llu draw-failures=%llu flushes=%llu failures=%llu pipelines=%llu/%llu dummy-images=%llu gpu-time=%llu ms", static_cast(g.dispatches.load()), static_cast(g.draws.load()), diff --git a/src/host/gpu_internal.h b/src/host/gpu_internal.h index 7af7c6be..62a1a2ca 100644 --- a/src/host/gpu_internal.h +++ b/src/host/gpu_internal.h @@ -2713,6 +2713,17 @@ std::string depth_layouts_report(); // "" when off constexpr unsigned kGpuMarkSubmission = 3; void gpu_checkpoint(unsigned kind, std::uint64_t index); void gpu_checkpoint_cmd(VkCommandBuffer cmd, unsigned kind, std::uint64_t index); +// AMD's markers are written in what the command processor records now: their +// window is open (host/gpu_markers.h Window - a loading screen's by default). +// It changes only where a recording begins (gpu.cpp markers_window_locked, +// under g.mu), so a draw, a dispatch or a run is wholly in it or out of it, +// and a run's parts read it as the run's. +extern std::atomic g_markers_live; +inline bool markers_live() { return g_markers_live.load(std::memory_order_relaxed); } +// The draws are recorded in the recent-draw ring for the markers: NVIDIA's +// checkpoints, or AMD's markers in their window (their draw numbers are the +// ring's places). +inline bool markers_record_draws() { return (g.has_checkpoints && !g.cmd_buffer_marker) || markers_live(); } // AMD's buffer markers: the 32-bit value for a kind and index, and the two // writes (the top of the pipe, then the bottom) into g.marker_buf. std::uint32_t gpu_marker_value(unsigned kind, std::uint64_t index); @@ -3025,6 +3036,9 @@ class Rec { void dispatch(std::uint32_t x, std::uint32_t y, std::uint32_t z); void dispatch_indirect(VkBuffer buffer, VkDeviceSize offset); void marker(std::uint32_t value); // gpu_write_markers + // The markers' window begins or ends here (host/gpu_markers.h Window; + // `value` its window_value): recorder.cpp record_marker_window. + void marker_window(std::uint32_t value); void clear_depth_stencil_image(VkImage image, VkImageLayout layout, const VkClearDepthStencilValue& value, std::uint32_t n, const VkImageSubresourceRange* ranges); void copy_image(VkImage src, VkImageLayout src_layout, VkImage dst, VkImageLayout dst_layout, std::uint32_t n, const VkImageCopy* regions); diff --git a/src/host/gpu_markers.h b/src/host/gpu_markers.h index 2f2bde08..f9894f60 100644 --- a/src/host/gpu_markers.h +++ b/src/host/gpu_markers.h @@ -1,6 +1,7 @@ // The GPU's progress markers between the draws, for a device-loss report -// (VK_AMD_buffer_marker: on a start after a lost device, or with -// BBHOST_GPU_CHECKPOINTS=amd; gpu.cpp gpu_write_markers). +// (VK_AMD_buffer_marker, which NVIDIA's drivers have too: while a loading +// screen is up by default, everywhere with BBHOST_GPU_CHECKPOINTS=amd; +// gpu.cpp gpu_write_markers - the loading screens' window is at the end). // // Each draw and dispatch has two marker writes before it: the top of the pipe // (the GPU reached it) and the bottom (everything before it had finished). On @@ -30,7 +31,7 @@ // NVIDIA's GPUs a word between two copies or fills held them apart too (an RTX // 3070 Ti Laptop GPU, Central Yharnam uncapped, against the two words a draw // alone: 10.7% slower with those, 4.2% with a word before every op, 1.5% as -// it is) - and the three starts after a loss run with the markers on. +// it is). // // What the report infers from the op word rests on barriers holding the // front end: the GPU does not go past a pipeline barrier until the work its @@ -127,4 +128,149 @@ Reach reach_after(const Ring& ring, std::uint32_t started, std::uint32_t reac return r; } +// ---- When they are written: the loading screens' window ---- +// +// By default the markers are written only while a loading screen is up, and +// nothing of them is written or done in the world. Losses come in loading +// screens: four of five on one RTX 2060 under Windows were in or just after +// one, most of them a Chalice Dungeon's - where the fast loading screens run +// the GPU flat out, several hundred frames a second - and none of them named +// where the GPU was, the markers being off. In the world they cost frames +// (the 1.5% above); a loading screen's length is set by the work the game's +// loaders do, not by how many frames show. BBHOST_GPU_CHECKPOINTS=amd writes +// them everywhere, =0 never. +enum class Mode : int { kOff, kLoading, kAlways }; + +// What BBHOST_GPU_CHECKPOINTS asks (`env`, null when unset) on a device with +// AMD's buffer markers (`buffer_markers`) or NVIDIA's checkpoints: +// unset the buffer markers while a loading screen is up +// 0 none, not even in loading screens +// amd the buffer markers everywhere +// 1 NVIDIA's checkpoints before every draw and dispatch instead +// after-loss as unset, and a start after a lost device marks everything, +// for the three starts its note gives (gpu.cpp take_marked_start) +// amd-dry, loading-dry +// everywhere / in loading screens, recorded as they would be and +// the GPU's writes left out where the device has no buffer +// markers (lavapipe: a check of the recording) +// Anything else is taken as unset, and said. +struct Arming { + Mode mode = Mode::kOff; // the buffer markers: when + bool dry = false; // recorded only: the device has none to write + bool nv = false; // NVIDIA's checkpoints instead + bool after_loss = false; // a start after a lost device marks everything + bool unknown = false; // a value not understood +}; +inline Arming arming(const char* env, bool buffer_markers, bool nv_checkpoints) { + Arming a; + const Mode loading = buffer_markers ? Mode::kLoading : Mode::kOff; + const auto is = [env](const char* v) { + std::size_t i = 0; + for (; v[i]; ++i) { + if (env[i] != v[i]) return false; + } + return env[i] == 0; + }; + if (!env || !*env) { + a.mode = loading; + } else if (env[0] == '0') { + // none + } else if (env[0] == '1') { + a.nv = nv_checkpoints; + } else if (is("amd")) { + a.mode = buffer_markers ? Mode::kAlways : Mode::kOff; + } else if (is("amd-dry")) { + a.mode = Mode::kAlways; + a.dry = !buffer_markers; + } else if (is("loading-dry")) { + a.mode = Mode::kLoading; + a.dry = !buffer_markers; + } else if (is("after-loss")) { + a.mode = loading; + a.after_loss = buffer_markers || nv_checkpoints; + } else { + a.mode = loading; + a.unknown = true; + } + return a; +} +// A start after a lost device with after-loss: everything marked, by the +// buffer markers where there are any, NVIDIA's checkpoints otherwise. +inline void after_loss_start(Arming& a, bool buffer_markers) { + if (buffer_markers) { + a.mode = Mode::kAlways; + } else { + a.nv = true; + } +} + +// A window's own mark in the started and finished words: kind 0, which no +// draw, dispatch or submission has, with its number and whether it begins or +// ends there - never 0, what the buffer holds before anything is written. +constexpr std::uint32_t window_value(std::uint32_t number, bool begins) { + return (number & 0x1fffffffu) << 1 | (begins ? 1u : 0u); +} + +// How long a window stays open after the loading screen has gone: the command +// processor records the game's frames a frame or two after the game made +// them, so its last frames - and the world's first, where a loss right after +// a load falls - come after the game has left the loading screen. +constexpr std::uint64_t kWindowGraceMs = 200; + +// The command processor's window, stepped where each recording (a +// submission) begins - where no draw, dispatch or run is open, so every one +// is wholly in or out of it: it begins at the first recording after the +// loading screen came up and ends at the first one kWindowGraceMs after it +// went. step() returns the window's mark to record there (0: no change), +// which the recorder meets in the stream's order: from a beginning it notes +// the ops and writes their words, at an end it stops (recorder.cpp +// record_marker_window), so the words always come from one side of it. +struct Window { + bool open = false; + std::uint32_t number = 0; // windows begun so far + bool going = false; // open, the loading screen gone: since + std::uint64_t gone_ms = 0; // (the clock is read only then) + std::uint32_t step(Mode mode, bool loading_screen, std::uint64_t now_ms) { + bool want = mode == Mode::kAlways || (mode == Mode::kLoading && loading_screen); + if (open && !want && mode == Mode::kLoading) { + if (!going) { + going = true; + gone_ms = now_ms; + } + if (now_ms - gone_ms < kWindowGraceMs) return 0; + } + going = false; + if (want == open) return 0; + open = want; + if (want && ((++number & 0x1fffffffu) == 0)) number = 1; + return window_value(number, want); + } + // Whether step() needs the clock: open, with the loading screen gone. + bool needs_clock(Mode mode, bool loading_screen) const { return open && mode == Mode::kLoading && !loading_screen; } +}; + +// What the started and finished words say of the window: nothing written +// yet; the front end had reached a window's beginning and no draw or +// dispatch of it; inside one (a draw's, a dispatch's or a submission's mark); +// past a window's end, into work recorded without markers. `finished_all`: +// everything recorded before that beginning or end had finished. +enum class Where : int { kNothing, kBegun, kInside, kEnded }; +struct Reading { + Where where = Where::kNothing; + std::uint32_t window = 0; + bool finished_all = false; +}; +constexpr Reading read_words(std::uint32_t started, std::uint32_t finished) { + Reading r; + if (!started) return r; + if (started >> 30) { + r.where = Where::kInside; + return r; + } + r.where = (started & 1) ? Where::kBegun : Where::kEnded; + r.window = (started & 0x3fffffffu) >> 1; + r.finished_all = finished == started; + return r; +} + } // namespace gpu_markers diff --git a/src/host/recorder.cpp b/src/host/recorder.cpp index a7a01dad..0ac1acef 100644 --- a/src/host/recorder.cpp +++ b/src/host/recorder.cpp @@ -83,7 +83,8 @@ const char* stream::op_name(stream::Op op) { "copy to image", "copy to buffer", "clear", "reset queries", "begin query", "end query", "copy queries", "timestamp", "bind pipeline", "bind sets", "push constants", "update sets", "dispatch", "clear depth", "copy image", "dispatch indirect", "marker", - "push buffers", "list draw", "execute commands", "list run", "update buffer"}; + "push buffers", "list draw", "execute commands", "list run", "update buffer", + "marker window"}; static_assert(sizeof(names) / sizeof(names[0]) == static_cast(stream::Op::kCount), "a name for every op"); const auto k = static_cast(op); return k < static_cast(stream::Op::kCount) ? names[k] : "?"; @@ -422,6 +423,12 @@ std::atomic g_list_binds_skipped{0}, g_list_chained{0}; // their execution. gpu_markers::Ring<4096> g_op_notes; // under g_op_notes_mu std::mutex g_op_notes_mu; +// The markers' window as the replay has met it (host/gpu_markers.h Window): +// set at a beginning and cleared at an end (record_marker_window), by whichever +// thread replays them in the stream's order - bb-record, or the command +// processor where the ops are recorded in place - so the ops between them, +// and none outside, are noted and get their words. +std::atomic g_ops_live{false}; thread_local std::uint32_t t_after = 0; // the last draw or dispatch marker replayed on this thread thread_local std::uint32_t t_dispatch_marker = 0; // a dispatch's marker, waiting for its dispatch (the notes' "after") thread_local bool t_secondary_pass = false; // in a pass of secondary command buffers alone @@ -490,12 +497,13 @@ bool word_on(Op kind) { case Op::kDispatch: case Op::kDispatchIndirect: case Op::kExecuteCommands: - case Op::kForeignSubmit: return true; + case Op::kForeignSubmit: + case Op::kMarkerWindow: return true; default: return false; } } void op_marker(VkCommandBuffer cmd, Op kind, std::uint64_t a = 0, std::uint64_t b = 0, std::uint64_t c = 0) { - if (!g.cmd_buffer_marker || t_secondary_pass) return; + if (!g_ops_live.load(std::memory_order_relaxed) || t_secondary_pass) return; std::uint32_t seq; std::string traced; { @@ -513,6 +521,38 @@ void op_marker(VkCommandBuffer cmd, Op kind, std::uint64_t a = 0, std::uint64_t } if (word_on(kind)) gpu_write_op_marker(cmd, seq); } +// The markers' window begins or ends here (host/gpu_markers.h Window, its +// mark `value`): noted as an op, and its mark written into all three words - +// the started and finished words (top and bottom of the pipe: the front end +// reached it, and everything before it had finished) and the op word - so a +// loss past it reads as past it, whatever the words said before. From a +// beginning the ops are noted as after it; at an end nothing more is written +// until the next beginning. +void record_marker_window(VkCommandBuffer cmd, std::uint32_t value) { + if (!g.cmd_buffer_marker) return; + const bool begins = (value & 1) != 0; + if (begins) { + g_ops_live.store(true, std::memory_order_relaxed); + t_after = value; + } + t_dispatch_marker = 0; + std::uint32_t seq; + { + std::lock_guard lk(g_op_notes_mu); + seq = g_op_notes.note(static_cast(Op::kMarkerWindow), t_after, value >> 1, begins ? 1 : 0, 0); + } + gpu_write_markers(cmd, value); + gpu_write_op_marker(cmd, seq); + static std::atomic traced{0}; + if (!marker_trace().prefix.empty() && traced.fetch_add(1, std::memory_order_relaxed) < 8) { + host_log("marker trace: op %u: the markers' window %u %s", seq, value >> 1, begins ? "begins" : "ends"); + } + if (!begins) { + g_ops_live.store(false, std::memory_order_relaxed); + t_after = 0; + t_tracing = false; + } +} bool secondary_only(VkRenderingFlags flags) { return (flags & VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT) && !(flags & VK_RENDERING_CONTENTS_INLINE_BIT_KHR); } @@ -951,6 +991,7 @@ void replay_block(const Block& b) { if ((value >> 30) == 2) t_dispatch_marker = value; // a dispatch's: the ops after its dispatch are noted as after it break; } + case Op::kMarkerWindow: record_marker_window(cmd, reinterpret_cast(p)->value); break; case Op::kCopyImage: { const auto* r = reinterpret_cast(p); const std::uint8_t* q = p + round8(sizeof(*r)); @@ -1432,6 +1473,7 @@ std::string recorder_op_note_text_locked(const gpu_markers::Note& n) { case Op::kDispatchIndirect: std::snprintf(w, sizeof(w), "the host's own, arguments in buffer 0x%llx at %llu", a, b); break; case Op::kPushBuffers: std::snprintf(w, sizeof(w), "buffer 0x%llx and %llu more into set %llu", a, c ? c - 1 : 0, b); break; case Op::kForeignSubmit: std::snprintf(w, sizeof(w), "the presenter's command buffer, its %s", a ? "end" : "start"); break; + case Op::kMarkerWindow: std::snprintf(w, sizeof(w), "the markers' window %llu %s", a, b ? "begins" : "ends"); break; default: break; } const unsigned kind = n.after >> 30; @@ -2103,6 +2145,7 @@ void Rec::push_buffers(VkPipelineBindPoint bind_point, VkPipelineLayout layout, } void Rec::marker(std::uint32_t value) { + if (!markers_live()) return; // outside the markers' window (host/gpu_markers.h): nothing if (!stream_on()) return gpu_write_markers(in_place(REC_SITE), value); before_op(REC_SITE); std::uint8_t* at = append_record(Op::kMarker, sizeof(stream::Marker)); @@ -2110,6 +2153,14 @@ void Rec::marker(std::uint32_t value) { after_op(); } +void Rec::marker_window(std::uint32_t value) { + if (!stream_on()) return record_marker_window(in_place(REC_SITE), value); + before_op(REC_SITE); + std::uint8_t* at = append_record(Op::kMarkerWindow, sizeof(stream::Marker)); + *put_struct(at) = stream::Marker{value, 0}; + after_op(); +} + void Rec::clear_depth_stencil_image(VkImage image, VkImageLayout layout, const VkClearDepthStencilValue& value, std::uint32_t n, const VkImageSubresourceRange* ranges) { if (!stream_on()) return vkCmdClearDepthStencilImage(in_place(REC_SITE), image, layout, &value, n, ranges); diff --git a/src/host/render.cpp b/src/host/render.cpp index e2a682dd..1dd5e1ba 100644 --- a/src/host/render.cpp +++ b/src/host/render.cpp @@ -27677,9 +27677,10 @@ static bool draw_impl(const GpuDraw& d) { } draw_stamp.to(kRenderCostGeometry); if (g.cmd_buffer_marker) { - // A list-mode draw has no marker of its own - no number in the recent-draw ring, committed beside the command - // processor: its splice is an op the recorder notes, and the report names the draws marked around it. - if (!(run && run->list)) cmds.marker(gpu_marker_value(1, part ? run->record : g_draw_rec_next)); + // In the markers' window (a loading screen's by default: host/gpu_markers.h). A list-mode draw has none of its + // own - no number in the recent-draw ring, committed beside the command processor: its splice is an op the + // recorder notes, and the report names the draws marked around it. + if (markers_live() && !(run && run->list)) cmds.marker(gpu_marker_value(1, part ? run->record : g_draw_rec_next)); } else if (!(run && run->list)) { // (stage 4b.1b: refused with NVIDIA's checkpoints - lists_commit) gpu_checkpoint(1, g_draw_rec_next); // (a run is not forked with checkpoints recorded in place) } @@ -28095,7 +28096,7 @@ static bool draw_impl(const GpuDraw& d) { } // The recent-draw ring (gpu_internal.h): tooling, the glitch hunt's, and // the GPU's progress markers, whose draw numbers are its places. - if ((host_tooling() || glitch_on() || g.has_checkpoints) && !(run && run->list)) { // (a list-mode draw keeps none) + if ((host_tooling() || glitch_on() || markers_record_draws()) && !(run && run->list)) { // (a list-mode draw keeps none) DrawRec& r = g_draw_recs[(part ? run->record : g_draw_rec_next++) % kDrawRecs]; // a run part's: its reserved number const std::size_t name_len = std::min(pl.name.size(), sizeof(r.name) - 1); // no snprintf: every draw std::memcpy(r.name, pl.name.data(), name_len); @@ -28520,7 +28521,7 @@ int host_gpu_run_commit(const GpuDraw* draws, const std::uint64_t* ids, std::uin const std::uint32_t params = g.queued; g.queued += kRunParamsEach * n; const std::uint64_t packets = recorder_reserve_packets(n); - const bool records = host_tooling() || glitch_on() || g.has_checkpoints; + const bool records = host_tooling() || glitch_on() || markers_record_draws(); const std::uint64_t record = g_draw_rec_next; if (records) g_draw_rec_next += n; for (std::uint32_t i = 0; i < n; ++i) { @@ -30747,9 +30748,13 @@ void host_gpu_hang_report() { } const std::uint64_t next = g_draw_rec_next; const std::uint64_t first = next > 6 ? next - 6 : 0; - host_log("hang: %llu draws recorded, %llu dispatches, %llu queued, pass %s", + // The recent-draw ring is kept for the progress markers only in their window (host/gpu_markers.h - a loading + // screen's by default): out of it, the draws it lists are that window's last, not the ones at this hang. + const bool kept = host_tooling() || glitch_on() || markers_record_draws(); + host_log("hang: %llu draws recorded, %llu dispatches, %llu queued, pass %s%s", static_cast(g.draws.load()), static_cast(g.dispatches.load()), - static_cast(g.queued), g_pass.active ? "open" : "closed"); + static_cast(g.queued), g_pass.active ? "open" : "closed", + next && !kept ? "; the draws below are the progress markers' last window's (a loading screen's), not this hang's" : ""); for (std::uint64_t i = first; i < next; ++i) { const DrawRec& r = g_draw_recs[i % kDrawRecs]; host_log(" hang draw[%llu] %s n=%u prim=%u vp=(%.0f,%.0f %.0fx%.0f) rt0=0x%llx tex=0x%llx,0x%llx", diff --git a/src/host/stream_ops.h b/src/host/stream_ops.h index b4e3cf91..db5be700 100644 --- a/src/host/stream_ops.h +++ b/src/host/stream_ops.h @@ -52,6 +52,7 @@ enum class Op : std::uint16_t { kExecuteCommands, // vkCmdExecuteCommands of a segment a pool thread recorded (stage 4b.2) kListRun, // a segment's list packets replayed here one after another (stage 4b.2, inline) kUpdateBuffer, // vkCmdUpdateBuffer, its data copied (at most 64 KiB) + kMarkerWindow, // the markers' window begins or ends here: a loading screen's (host/gpu_markers.h; a Marker) kCount }; @@ -230,7 +231,7 @@ struct DispatchIndirect { VkDeviceSize offset; }; struct Marker { - std::uint32_t value, pad; // gpu_marker_value + std::uint32_t value, pad; // gpu_marker_value; kMarkerWindow: gpu_markers::window_value }; struct PushBuffers { VkPipelineLayout layout; diff --git a/src/main.cpp b/src/main.cpp index cb7de57e..8a83d8f4 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -464,7 +464,7 @@ void device_lost_exit(bool windowed) { } else if (const std::string hooks = host_foreign_hooks(); !hooks.empty()) { text += "Hooked into bbhost: " + hooks + ". Overlays like these can cause this; try again without them.\n\n"; } - text += "The next starts record where the GPU was, so if it happens again the log says more. Please send the log " + text += "Loading screens record where the GPU was, so if it happens again in one, the log says more. Please send the log " "(run-bbhost.bat writes it to the logs folder)."; // The box on a thread of its own: the exit goes on after a while even // if nobody closes it. diff --git a/tests/gpu_markers_test.cpp b/tests/gpu_markers_test.cpp index 37ef5762..34863364 100644 --- a/tests/gpu_markers_test.cpp +++ b/tests/gpu_markers_test.cpp @@ -6,6 +6,16 @@ // after that draw, and the barrier among them past which the draw had // finished; other threads' notes in between left out, and nothing claimed // when the ring has moved past them. +// +// And when they are written: what BBHOST_GPU_CHECKPOINTS asks on devices with +// and without buffer markers (by default only while a loading screen is up, +// nothing in the world); the window's steps where recordings begin - opened +// at the first after a loading screen came up, held for its grace after it +// went and opened again only by the next, never in the world, and once for +// good with =amd; its marks, which no draw's, dispatch's or submission's is +// and never 0; and the words read back as the report reads them - nothing +// reached, a window begun, inside one, past its end, and whether what came +// before had finished. #include "host/gpu_markers.h" #include @@ -116,6 +126,139 @@ int main() { r = reach_after(w, d5, 0, classify); check(r.known && r.ops == 0, "no op word yet"); + // ---- When they are written ---- + { + // Unset (null or empty): while a loading screen is up, where the device has buffer markers; nothing otherwise. + Arming a = arming(nullptr, true, true); + check(a.mode == Mode::kLoading && !a.dry && !a.nv && !a.after_loss && !a.unknown, "unset: loading screens"); + a = arming("", true, false); + check(a.mode == Mode::kLoading && !a.unknown, "empty: as unset"); + a = arming(nullptr, false, true); + check(a.mode == Mode::kOff && !a.nv && !a.after_loss, "unset without buffer markers: none, not NVIDIA's checkpoints either"); + // =0: none at all, not even in loading screens. + a = arming("0", true, true); + check(a.mode == Mode::kOff && !a.nv && !a.after_loss && !a.dry, "=0: none"); + // =amd: everywhere where there are buffer markers. + a = arming("amd", true, true); + check(a.mode == Mode::kAlways && !a.dry && !a.nv, "=amd: everywhere"); + a = arming("amd", false, true); + check(a.mode == Mode::kOff && !a.nv, "=amd without buffer markers: none"); + // =1: NVIDIA's checkpoints, no buffer markers. + a = arming("1", true, true); + check(a.nv && a.mode == Mode::kOff, "=1: NVIDIA's checkpoints instead"); + a = arming("1", true, false); + check(!a.nv && a.mode == Mode::kOff, "=1 without them: none"); + // The dry ones: recorded where the device has none. + a = arming("amd-dry", false, false); + check(a.mode == Mode::kAlways && a.dry, "=amd-dry on lavapipe: everywhere, recorded only"); + a = arming("amd-dry", true, false); + check(a.mode == Mode::kAlways && !a.dry, "=amd-dry with buffer markers: written"); + a = arming("loading-dry", false, false); + check(a.mode == Mode::kLoading && a.dry, "=loading-dry on lavapipe: loading screens, recorded only"); + a = arming("loading-dry", true, false); + check(a.mode == Mode::kLoading && !a.dry, "=loading-dry with buffer markers: written"); + // =after-loss: loading screens, and the starts after a loss everything - by buffer markers first. + a = arming("after-loss", true, true); + check(a.mode == Mode::kLoading && a.after_loss && !a.nv, "=after-loss: loading screens, and armed"); + after_loss_start(a, true); + check(a.mode == Mode::kAlways && !a.nv, "a start after a loss: everywhere, by buffer markers"); + a = arming("after-loss", false, true); + check(a.mode == Mode::kOff && a.after_loss, "=after-loss with NVIDIA's checkpoints alone: armed"); + after_loss_start(a, false); + check(a.nv && a.mode == Mode::kOff, "a start after a loss: NVIDIA's checkpoints"); + a = arming("after-loss", false, false); + check(!a.after_loss && a.mode == Mode::kOff, "=after-loss with neither: nothing to arm"); + // Not understood: as unset, and said. A prefix of a value is not the value. + a = arming("amdx", true, false); + check(a.unknown && a.mode == Mode::kLoading, "a value not understood: as unset"); + a = arming("am", true, false); + check(a.unknown && a.mode == Mode::kLoading, "a prefix of amd is not amd"); + a = arming("after", true, false); + check(a.unknown && !a.after_loss, "a prefix of after-loss is not after-loss"); + a = arming("amd-dryer", false, false); + check(a.unknown && !a.dry && a.mode == Mode::kOff, "amd-dry with more after it is not amd-dry"); + } + { + // The marks: kind 0, never 0, the beginning's low bit set, the number above it; apart from every draw's, + // dispatch's and submission's. + static const std::uint32_t kNumbers[] = {1u, 2u, 3u, 1000u, 0x1fffffffu}; + for (std::uint32_t n : kNumbers) { + const std::uint32_t b = window_value(n, true), e = window_value(n, false); + check(b && e && b != e, "a window's marks are not 0 and not each other", n); + check((b >> 30) == 0 && (e >> 30) == 0, "kind 0: no draw's, dispatch's or submission's", n); + check((b & 1) && !(e & 1), "the beginning's low bit", n); + check(read_words(b, b).window == n && read_words(e, e).window == n, "the number read back", n); + for (unsigned kind = 1; kind < 4; ++kind) check(window_value(n, true) != mark(kind, n), "not a draw's, dispatch's or submission's", n); + } + } + { + // =0 (or a device without buffer markers): the window never opens, loading screen or not. + Window w; + bool any = false; + for (int k = 0; k < 50; ++k) any = any || w.step(Mode::kOff, k % 3 == 0, 1000u * k); + check(!any && !w.open && w.number == 0, "never opens with the markers off"); + // =amd: open at the first recording, for good. + Window al; + check(al.step(Mode::kAlways, false, 0) == window_value(1, true) && al.open, "=amd: opens at the first recording"); + any = false; + for (int k = 0; k < 50; ++k) any = any || al.step(Mode::kAlways, k % 2 == 0, 1000u * k); + check(!any && al.open && al.number == 1, "=amd: never ends, never begins again"); + check(!al.needs_clock(Mode::kAlways, false), "=amd: no clock read"); + } + { + // By default: the world (nothing), a loading screen (opens at once), its end (held for the grace), the world. + Window w; + check(w.step(Mode::kLoading, false, 100) == 0 && !w.open, "the world: closed"); + check(!w.needs_clock(Mode::kLoading, false), "the world: no clock read while closed"); + check(w.step(Mode::kLoading, true, 200) == window_value(1, true) && w.open, "a loading screen: opens at the first recording"); + check(w.step(Mode::kLoading, true, 300) == 0 && w.open, "open while it is up"); + check(!w.needs_clock(Mode::kLoading, true), "no clock read while it is up"); + check(w.needs_clock(Mode::kLoading, false), "the clock read once it has gone"); + check(w.step(Mode::kLoading, false, 1000) == 0 && w.open, "gone: still open (the grace)"); + check(w.step(Mode::kLoading, false, 1000 + kWindowGraceMs - 1) == 0 && w.open, "open to the grace's last ms"); + check(w.step(Mode::kLoading, false, 1000 + kWindowGraceMs) == window_value(1, false) && !w.open, "closed at the grace's end"); + check(w.step(Mode::kLoading, false, 5000) == 0 && !w.open, "the world after it: closed"); + // The next loading screen: window 2; back during its grace: still open, the grace counted afresh from the next end. + check(w.step(Mode::kLoading, true, 6000) == window_value(2, true), "the next loading screen: window 2"); + check(w.step(Mode::kLoading, false, 7000) == 0, "gone"); + check(w.step(Mode::kLoading, true, 7100) == 0 && w.open, "up again within the grace: the same window"); + check(w.step(Mode::kLoading, false, 8000) == 0 && w.open, "gone again: the grace from now"); + check(w.step(Mode::kLoading, false, 8000 + kWindowGraceMs - 1) == 0 && w.open, "not the first gone's grace"); + check(w.step(Mode::kLoading, false, 8000 + kWindowGraceMs) == window_value(2, false) && !w.open, "closed at the second grace's end"); + check(w.number == 2, "two windows"); + // The count's wrap: never a 0 mark. + Window wrap; + wrap.number = 0x1fffffffu; + const std::uint32_t v = wrap.step(Mode::kLoading, true, 0); + check(v && v == window_value(1, true), "the number skips 0 as it wraps"); + } + { + // The words as the report reads them. + Reading r = read_words(0, 0); + check(r.where == Where::kNothing, "nothing written: nothing reached"); + r = read_words(mark(1, 77), mark(1, 76)); + check(r.where == Where::kInside, "a draw's: inside a window"); + r = read_words(mark(2, 5), mark(1, 76)); + check(r.where == Where::kInside, "a dispatch's: inside"); + r = read_words(mark(3, 4 * 9 + 1), mark(1, 76)); + check(r.where == Where::kInside, "a submission's: inside"); + r = read_words(window_value(5, true), window_value(5, true)); + check(r.where == Where::kBegun && r.window == 5 && r.finished_all, "a beginning reached, all before it finished"); + r = read_words(window_value(5, true), window_value(4, false)); + check(r.where == Where::kBegun && !r.finished_all, "a beginning reached, the work before it not all finished"); + r = read_words(window_value(5, false), window_value(5, false)); + check(r.where == Where::kEnded && r.window == 5 && r.finished_all, "past an end, all before it finished"); + r = read_words(window_value(5, false), mark(1, 900)); + check(r.where == Where::kEnded && r.window == 5 && !r.finished_all, "past an end, its last work not all finished"); + // A window's marks from its steps, read back. + Window w; + const std::uint32_t begun = w.step(Mode::kLoading, true, 0); + check(read_words(begun, begun).where == Where::kBegun && read_words(begun, begun).window == 1, "the step's beginning reads as one"); + w.step(Mode::kLoading, false, 10); + const std::uint32_t ended = w.step(Mode::kLoading, false, 10 + kWindowGraceMs); + check(read_words(ended, ended).where == Where::kEnded && read_words(ended, ended).window == 1, "the step's end reads as one"); + } + if (g_failures) { std::printf("gpu_markers_test: %d failures\n", g_failures); return 1; From e74e3ce9007d11c112840aec1e9f276c3e10b65f Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 11:59:45 -0800 Subject: [PATCH 037/100] net: P2P datagrams over 1,200 B leave as pieces of whole chunks again The game's transport packs what one frame sends a peer into one datagram of chunks ([kind 0-3][length u16 BE][payload], up to 9,184 bytes, its socket's limit); a busy frame comes to several KB. v0.2.26 sent a P2P datagram of more than 1,200 bytes as several datagrams of whole chunks; #217's rewrite of dgram_send (one buffer per thread with room for the relay header, datagrams up to 65,507 bytes both ways) sends it whole again, and the split's switch, its counters and its test went with it. Larger than one 1500-byte frame, such a datagram crosses the internet as IP fragments. Where a NAT or firewall drops fragments it never arrives: the transport takes it for a loss, and its retransmissions bring the chunks over a few at a time, seconds late. A P2P datagram of more than 1,200 bytes leaves as several again, each of whole chunks (a longer chunk alone) behind its own P2P header, and the relay's 12-byte header when it goes through the relay; bytes that are not whole chunks go whole. The receiving game parses each datagram's chunks on their own (its demultiplexer hands every chunk to its kind's handler and ignores a cut one at the end), so it gets what the one datagram held. The game's bytes are still copied once into the thread's buffer; each piece's headers are written in front of its bytes, over the end of the piece before, which has left by then. As in v0.2.26 the game's sendto returns the datagram's length once a piece has left and an error only when none has; a failed send's error is now read before the trace line is written. A datagram too large for UDP with its headers returns EMSGSIZE with the game's errno set again (#217's path left that errno as it was) and is logged once. BBHOST_NET_SPLIT_DATAGRAMS=0 sends the game's datagrams whole. The port's 60 s report counts again the datagrams sent as several and those over one frame, in and out, with the largest. Measured with two games on one machine. With the sender behind a NAT that passes no IP fragments - a user-mode NAT on a 1500-byte link, and a pair of Linux NAT routers that drop every IPv4 fragment - the code before this lost each datagram over one frame (six of 2,315-3,036 bytes, and six of 1,656-4,140 whose 15 fragments the router dropped), and 52 of 58 and 62 of 67 messages came late, one a frame, up to 9.5 and 11.7 s after they were sent. With this, the same frames (six datagrams of 1,656-3,864 bytes; five of 1,756-3,312) left as pieces of at most 1,108 and 1,186 bytes on the wire, every datagram sent arrived, and all 75 and 50 messages arrived once, at most 0.23 and 0.15 s after they were sent (two frames at the test's rate). Through the server's relay (six of 1,932-4,140 bytes, relay frames of at most 1,120 bytes), through Linux NAT routers that pass fragments (seven of 1,480-4,140, pieces of at most 1,186) and directly (five of 3,036-3,864, at most 1,130), every datagram arrived and all 75 messages of each run arrived once, within 0.24 s. A frame's pieces reached the other game across two of its frames in 3 of the 25 frames measured, 0.07-0.08 s apart. tests/net_p2p_test.cpp is back, with a relayed mode: two P2P sockets through hle/net.cpp, directly and through the relay as the test plays it (a STUN answer with BBHOST-RELAY, then the relay's framing both ways), split and whole (net_p2p_test, net_p2p_whole_test). It checks each piece's bounds, headers and bytes - one- and two-byte vports - that no piece arrives twice, the limits with the game's errno, and the report's counters. The code before this fails it in both modes. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 11 + src/hle/net.cpp | 180 ++++++++++--- tests/net_p2p_test.cpp | 580 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 734 insertions(+), 37 deletions(-) create mode 100644 tests/net_p2p_test.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index c5d2c706..aee9f806 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -893,6 +893,17 @@ if(UNIX) add_executable(stun_test tests/stun_test.cpp src/net/stun.cpp) target_include_directories(stun_test PRIVATE src) add_test(NAME stun_test COMMAND stun_test) + # Datagrams between two P2P sockets through hle/net.cpp, directly and + # through the relay: the game's split into pieces of whole chunks, others + # whole up to the largest UDP carries; whole with + # BBHOST_NET_SPLIT_DATAGRAMS=0 (tests/net_p2p_test.cpp). + add_executable(net_p2p_test tests/net_p2p_test.cpp src/hle/net.cpp src/net/stun.cpp src/core/futex.cpp) + target_include_directories(net_p2p_test PRIVATE src) + target_link_libraries(net_p2p_test PRIVATE pthread) + add_test(NAME net_p2p_test COMMAND net_p2p_test) + add_test(NAME net_p2p_whole_test COMMAND net_p2p_test) + set_tests_properties(net_p2p_whole_test PROPERTIES ENVIRONMENT BBHOST_NET_SPLIT_DATAGRAMS=0) + set_tests_properties(net_p2p_test net_p2p_whole_test PROPERTIES TIMEOUT 60) # The event poller's long polls and generations (net/poll_pacing.h). add_executable(poll_pacing_test tests/poll_pacing_test.cpp) target_include_directories(poll_pacing_test PRIVATE src) diff --git a/src/hle/net.cpp b/src/hle/net.cpp index 63f6847b..59139b1c 100755 --- a/src/hle/net.cpp +++ b/src/hle/net.cpp @@ -232,6 +232,52 @@ static_assert(sizeof(SceSockaddrIn) == 16, "SceNetSockaddrIn is 16 bytes"); constexpr std::uint8_t kP2pMagic = 0xff; constexpr std::uint8_t kP2pFlagP2p = 0x80, kP2pFlagByteVports = 0x40, kP2pFlagComid = 0x20, kP2pType = 0x03; +// The game's transport packs what one frame sends a peer into one datagram of +// chunks, [kind 0-3][length u16 BE][payload], up to 9184 bytes: a busy frame +// comes to several KB. Larger than one 1500-byte frame, such a datagram +// crosses the internet as IP fragments, which some NATs and firewalls drop; +// the transport takes that for a loss, and its retransmissions bring the +// chunks over a few at a time, up to seconds late. +// So a P2P datagram of more than kSplitPayload bytes leaves as several, each +// of whole chunks (a longer chunk alone) behind its own P2P header, and the +// relay's when it goes through the relay. Each fits one 1500-byte frame. The +// receiving game parses each datagram's chunks on their own - its +// demultiplexer hands every chunk to its kind's handler and ignores a cut one +// at the end - so it gets what the one datagram held. Bytes that are not +// whole chunks go whole, up to what UDP carries (kMaxDatagram), and so does +// everything with BBHOST_NET_SPLIT_DATAGRAMS=0. +constexpr std::size_t kOneFramePayload = 1472; // 1500 less the IPv4 and UDP headers +constexpr std::size_t kSplitPayload = 1200; // a piece and every header in one frame, with room for a tunnel's +const bool g_net_split_datagrams = [] { + const char* e = std::getenv("BBHOST_NET_SPLIT_DATAGRAMS"); + return !(e && e[0] == '0'); +}(); + +// Where the game's datagram d[0, n) splits into pieces of whole chunks of at +// most kSplitPayload bytes: each piece's end in `ends`, the last n. Empty when +// the bytes are not whole chunks; they then go as they are. +void chunk_split(const std::uint8_t* d, std::size_t n, std::vector& ends) { + ends.clear(); + std::size_t at = 0, start = 0; + while (at < n) { + if (n - at < 3 || d[at] > 3) { + ends.clear(); + return; + } + const std::size_t chunk = 3 + ((static_cast(d[at + 1]) << 8) | d[at + 2]); + if (chunk > n - at) { + ends.clear(); + return; + } + if (at > start && at + chunk - start > kSplitPayload) { + ends.push_back(at); + start = at; + } + at += chunk; + } + ends.push_back(n); +} + struct Datagram { std::vector data; std::uint32_t addr = 0; // nbo @@ -252,6 +298,11 @@ struct SockQueue { // the inbox got between the game's reads. std::uint64_t in_dgrams = 0, in_bytes = 0, out_dgrams = 0, out_bytes = 0, forwarded = 0; std::size_t hiwater = 0; + // Datagrams larger than one 1500-byte frame carries (1472 B of UDP + // payload, headers included): the internet carries them as IP fragments, + // which some NATs drop. Fewer in on one side than out on the other says so. + std::uint64_t in_big = 0, out_big = 0, out_split = 0; // out_split: the game's datagrams sent as several + std::size_t in_largest = 0, out_largest = 0; }; // One UDP socket per P2P port, shared by every game socket that binds a // vport on it (the game binds 40 at boot and 30 for a session, on the same @@ -326,13 +377,18 @@ inline std::uint64_t source_key(std::uint32_t addr, std::uint16_t port_nbo) { // One line per port every 60 s (and at close): the stream's shape. void p2p_report_locked(P2pPort& port, const char* when) { std::string line; - char buf[160]; + char buf[256]; for (auto& [vp, q] : port.by_vport) { std::lock_guard lk(q->mu); - std::snprintf(buf, sizeof(buf), " vport %u (sock %d): in %llu/%llu B, out %llu/%llu B, hiwater %zu, fwd %llu;", vp, - q->sock, static_cast(q->in_dgrams), static_cast(q->in_bytes), - static_cast(q->out_dgrams), static_cast(q->out_bytes), - q->hiwater, static_cast(q->forwarded)); + std::snprintf(buf, sizeof(buf), + " vport %u (sock %d): in %llu/%llu B, out %llu/%llu B, hiwater %zu, fwd %llu, split %llu, over %zu B" + " in %llu (largest %zu) out %llu (largest %zu);", + vp, q->sock, static_cast(q->in_dgrams), + static_cast(q->in_bytes), static_cast(q->out_dgrams), + static_cast(q->out_bytes), q->hiwater, + static_cast(q->forwarded), static_cast(q->out_split), + kOneFramePayload, static_cast(q->in_big), q->in_largest, + static_cast(q->out_big), q->out_largest); line += buf; } host_log("net: p2p port %u %s: rx %llu, unmatched %llu, no header %llu, probes %llu;%s", port.port, when, @@ -436,6 +492,7 @@ void p2p_reader(std::shared_ptr port) { socklen_type sl = sizeof(sa); ssize_type n = sock_recvfrom(port->fd, buf, store.size(), true, &sa, &sl); if (n < 0) continue; + const std::size_t wire = static_cast(n); if (n >= 4 && buf[0] == kRelayMagic && buf[1] == kRelayToClient && from_relay_server(sa)) { // A relay delivery: the datagram of the owner of the source // port, which the game knows as server:port. @@ -527,6 +584,8 @@ void p2p_reader(std::shared_ptr port) { std::lock_guard lk(q->mu); ++q->in_dgrams; q->in_bytes += dg.data.size(); + if (wire > kOneFramePayload) ++q->in_big; + if (wire > q->in_largest) q->in_largest = wire; if (forwarded) ++q->forwarded; q->q.push_back(std::move(dg)); if (q->q.size() > q->hiwater) q->hiwater = q->q.size(); @@ -875,68 +934,115 @@ int dgram_recv(int s, void* buf, std::uint64_t len, int flags, SceSockaddrIn* fr return static_cast(n); } -// Sends one datagram, with the P2P header in front on a P2P socket. +// Sends one datagram, with the P2P header in front on a P2P socket. One of the +// game's of more than kSplitPayload bytes leaves as pieces of whole chunks +// (chunk_split), each behind its own headers. The game hears of it as one: +// its length once a piece has left, an error only when none has. int dgram_send(int s, const void* buf, std::uint64_t len, int flags, const SceSockaddrIn* to) { NetSock sock; if (!sock_state(s, &sock)) return net_err(EBADF); const sockfd_t fd = sock.port ? sock.port->fd : sock.fd; if (!sock_ok(fd)) return static_cast(len); if (!to) return net_err(EINVAL); - // One buffer per thread, with room in front for the relay header so a - // relayed send needs no second copy. - static thread_local std::vector store(kRelayHeader + kMaxDatagram); - std::uint8_t* const frame = store.data(); - std::uint8_t* const pkt = frame + kRelayHeader; + std::uint8_t ph[6] = {}; // the P2P header std::size_t hdr = 0; const std::uint16_t dst_vport = bswap16(to->vport); if (sock.p2p) { - pkt[0] = kP2pMagic; + ph[0] = kP2pMagic; if (sock.vport < 256 && dst_vport < 256) { - pkt[1] = kP2pFlagP2p | kP2pFlagByteVports | kP2pType; - pkt[2] = static_cast(sock.vport); - pkt[3] = static_cast(dst_vport); + ph[1] = kP2pFlagP2p | kP2pFlagByteVports | kP2pType; + ph[2] = static_cast(sock.vport); + ph[3] = static_cast(dst_vport); hdr = 4; } else { - pkt[1] = kP2pFlagP2p | kP2pType; - pkt[2] = static_cast(sock.vport >> 8); - pkt[3] = static_cast(sock.vport); - pkt[4] = static_cast(dst_vport >> 8); - pkt[5] = static_cast(dst_vport); + ph[1] = kP2pFlagP2p | kP2pType; + ph[2] = static_cast(sock.vport >> 8); + ph[3] = static_cast(sock.vport); + ph[4] = static_cast(dst_vport >> 8); + ph[5] = static_cast(dst_vport); hdr = 6; } } - if (hdr + len > kMaxDatagram) return net_err(EMSGSIZE); - if (buf && len) std::memcpy(pkt + hdr, buf, static_cast(len)); + std::uint8_t token[net::stun::kTokenLen]; + sockaddr_in stun_sa{}; + const bool relayed = sock.p2p && relay_target(to->addr, to->port, token, &stun_sa); + const std::size_t lead = relayed ? kRelayHeader : 0; // the relay frame's header + const auto* bytes = static_cast(buf); + const bool fits = len <= kMaxDatagram - hdr; // the game's bytes and the P2P header in what UDP carries + // The pieces' ends in the game's bytes; one piece, the whole, unless split. + static thread_local std::vector ends; + ends.clear(); + if (sock.p2p && g_net_split_datagrams && bytes && len > kSplitPayload && fits) + chunk_split(bytes, static_cast(len), ends); + if (ends.empty()) ends.push_back(static_cast(len)); + std::size_t largest = 0; + for (std::size_t i = 0, begin = 0; i < ends.size(); begin = ends[i++]) + if (ends[i] - begin > largest) largest = ends[i] - begin; + if (!fits || lead + hdr + largest > kMaxDatagram) { + static std::atomic told{false}; + if (!told.exchange(true)) { + host_log("net: a %llu-byte datagram is larger than %zu B with its headers and was dropped; the game resends " + "what it carried (logged once)", + static_cast(len), kMaxDatagram); + } + g_net_errno = to_freebsd(EMSGSIZE); + return net_err(EMSGSIZE); + } + // One buffer per thread, with room in front for the relay header: the + // game's bytes are copied in once, and each piece's headers are written + // just in front of its bytes - over the end of the piece before, which + // has left by then. + static thread_local std::vector store(kRelayHeader + kMaxDatagram); + if (bytes && len) std::memcpy(store.data() + kRelayHeader + hdr, bytes, static_cast(len)); sockaddr_in sa{}; sa.sin_family = AF_INET; sa.sin_port = to->port; sa.sin_addr.s_addr = to->addr; const bool dontwait = sock.nonblock || (flags & 0x80); - ssize_type n; - std::uint8_t token[net::stun::kTokenLen]; - sockaddr_in stun_sa{}; - if (sock.p2p && relay_target(to->addr, to->port, token, &stun_sa)) { - frame[0] = kRelayMagic; - frame[1] = kRelayToServer; - std::memcpy(frame + 2, token, net::stun::kTokenLen); - std::memcpy(frame + 10, &to->port, 2); // network order is the frame's big-endian - n = sock_sendto(fd, frame, kRelayHeader + hdr + static_cast(len), dontwait, &stun_sa); - if (n >= 0) n -= static_cast(kRelayHeader); - } else { - n = sock_sendto(fd, pkt, hdr + static_cast(len), dontwait, &sa); + ssize_type n = -1; + int err = 0; + std::size_t sent = 0, big = 0; + for (std::size_t i = 0, begin = 0; i < ends.size(); begin = ends[i++]) { + std::uint8_t* const out = store.data() + (kRelayHeader - lead) + begin; // its bytes at out + lead + hdr + const std::size_t total = lead + hdr + (ends[i] - begin); + if (relayed) { + out[0] = kRelayMagic; + out[1] = kRelayToServer; + std::memcpy(out + 2, token, net::stun::kTokenLen); + std::memcpy(out + 10, &to->port, 2); // network order is the frame's big-endian + } + std::memcpy(out + lead, ph, hdr); + n = sock_sendto(fd, out, total, dontwait, relayed ? &stun_sa : &sa); + if (n < 0) { + // The error now, before the log below can change it. A piece after + // the first that fails is a loss on the way, as one of the + // datagram's fragments would be: the game resends what it held. + err = sock_errno(); + break; + } + ++sent; + if (total > kOneFramePayload) ++big; } static int logs = 0; if (trace_now(logs)) { char ip[32]; write_ipv4(ip, sizeof(ip), to->addr); - host_log("net: send %d -> %s:%u vport %u->%u: %llu bytes -> %lld", s, ip, bswap16(to->port), sock.vport, - dst_vport, static_cast(len), static_cast(n)); + host_log("net: send %d -> %s:%u vport %u->%u: %llu bytes in %zu of %zu datagrams -> %lld", s, ip, + bswap16(to->port), sock.vport, dst_vport, static_cast(len), sent, ends.size(), + static_cast(n)); + } + if (!sent) { + if (err == EAGAIN) return net_again(); + g_net_errno = to_freebsd(err); + return net_err(err); } - if (n < 0) return sock_errno() == EAGAIN ? net_again() : net_fail(); if (sock.queue) { std::lock_guard lk(sock.queue->mu); ++sock.queue->out_dgrams; sock.queue->out_bytes += len; + if (ends.size() > 1) ++sock.queue->out_split; + sock.queue->out_big += big; + if (lead + hdr + largest > sock.queue->out_largest) sock.queue->out_largest = lead + hdr + largest; } return static_cast(len); } diff --git a/tests/net_p2p_test.cpp b/tests/net_p2p_test.cpp new file mode 100644 index 00000000..c82bab81 --- /dev/null +++ b/tests/net_p2p_test.cpp @@ -0,0 +1,580 @@ +// Datagrams between two of the game's P2P sockets over the instance's UDP +// port, through hle/net.cpp as the game calls it: directly, and through the +// private server's relay as this test plays it (a STUN answer carrying +// BBHOST-RELAY turns the relay on; the relay's framing both ways). +// +// Bytes that are not the game's chunks go whole, up to the largest UDP +// carries, and EMSGSIZE with the game's errno above that. The game's own +// datagrams, chunks of [kind 0-3][length u16 BE][payload] (everything a frame +// sends one peer: a busy frame is several KB of them), leave as datagrams of +// whole chunks of at most 1200 bytes that together are the datagram - a +// longer chunk alone - each behind its own P2P header, and the relay's when +// relayed; whole with BBHOST_NET_SPLIT_DATAGRAMS=0. Every piece arrives once. +// The port's report counts the datagrams sent as several and those over one +// 1500-byte frame, in and out. +#include "guest_abi.h" +#include "hle/net_p2p.h" +#include "hle/np.h" +#include "log.h" +#include "net/session.h" + +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +void hle_register_net(); + +namespace { +std::map g_fns; +int g_port = 0; +int g_fail = 0; +#define CHECK(c) \ + do { \ + if (!(c)) { \ + std::fprintf(stderr, "FAIL %s:%d %s\n", __FILE__, __LINE__, #c); \ + ++g_fail; \ + } \ + } while (0) + +template +F fn(const char* name) { + auto it = g_fns.find(name); + if (it == g_fns.end()) { + std::fprintf(stderr, "missing %s\n", name); + std::exit(1); + } + return reinterpret_cast(it->second); +} + +struct SceSockaddrIn { + std::uint8_t len; + std::uint8_t family; + std::uint16_t port; // network order + std::uint32_t addr; // network order + std::uint16_t vport; // network order + std::uint8_t zero[6]; +}; +static_assert(sizeof(SceSockaddrIn) == 16, "SceNetSockaddrIn is 16 bytes"); + +SceSockaddrIn sce_addr(std::uint32_t addr_host, std::uint16_t port, std::uint16_t vport) { + SceSockaddrIn a{}; + a.len = 16; + a.family = 2; + a.port = htons(port); + a.addr = htonl(addr_host); + a.vport = htons(vport); + return a; +} + +// A UDP socket bound to addr (host order) on a port nothing on the machine +// holds; its port in *port. +int bound_udp(std::uint32_t addr_host, std::uint16_t* port) { + const int fd = ::socket(AF_INET, SOCK_DGRAM, 0); + sockaddr_in sa{}; + sa.sin_family = AF_INET; + sa.sin_addr.s_addr = htonl(addr_host); + socklen_t sl = sizeof(sa); + if (fd < 0 || ::bind(fd, reinterpret_cast(&sa), sizeof(sa)) != 0 || + ::getsockname(fd, reinterpret_cast(&sa), &sl) != 0) { + std::fprintf(stderr, "no free UDP port\n"); + std::exit(1); + } + *port = ntohs(sa.sin_port); + return fd; +} + +// A datagram on fd within ms, or empty. +std::vector recv_within(int fd, int ms, sockaddr_in* from = nullptr) { + pollfd p{fd, POLLIN, 0}; + if (::poll(&p, 1, ms) <= 0) return {}; + std::vector d(65536); + sockaddr_in sa{}; + socklen_t sl = sizeof(sa); + const ssize_t n = ::recvfrom(fd, d.data(), d.size(), 0, reinterpret_cast(&sa), &sl); + if (n < 0) return {}; + d.resize(static_cast(n)); + if (from) *from = sa; + return d; +} + +void put16(std::vector& v, std::uint16_t x) { + v.push_back(static_cast(x >> 8)); + v.push_back(static_cast(x)); +} + +void add_chunk(std::vector& d, std::uint8_t kind, std::size_t body, std::uint8_t fill) { + d.push_back(kind); + put16(d, static_cast(body)); + for (std::size_t i = 0; i < body; ++i) d.push_back(static_cast(fill + i)); +} + +// True when [p, p+n) is whole chunks of kinds 0-3. +bool whole_chunks(const std::uint8_t* p, std::size_t n, int* count) { + std::size_t at = 0; + *count = 0; + while (at < n) { + if (n - at < 3 || p[at] > 3) return false; + const std::size_t c = 3 + ((static_cast(p[at + 1]) << 8) | p[at + 2]); + if (c > n - at) return false; + at += c; + ++*count; + } + return true; +} + +// The pieces' ends expected for d: whole chunks while they fit in 1200 +// bytes, a longer chunk alone; one piece when d is 1200 bytes or less, is not +// whole chunks, or nothing is split. +std::vector expected_ends(const std::vector& d, bool split) { + std::vector ends; + int count = 0; + if (split && d.size() > 1200 && whole_chunks(d.data(), d.size(), &count)) { + std::size_t at = 0, start = 0; + while (at < d.size()) { + const std::size_t c = 3 + ((static_cast(d[at + 1]) << 8) | d[at + 2]); + if (at > start && at + c - start > 1200) { + ends.push_back(at); + start = at; + } + at += c; + } + } + ends.push_back(d.size()); + return ends; +} + +// What the port's report at a socket's close says of a vport: its datagrams +// sent as several, and those over one frame in and out with the largest. +struct Report { + bool found = false; + unsigned long long split = 0, in_over = 0, out_over = 0; + std::size_t frame = 0, in_largest = 0, out_largest = 0; +}; +Report report_of(const std::string& log, unsigned vport) { + Report r; + const std::size_t line = log.find("at a socket's close"); + if (line == std::string::npos) return r; + const std::string key = " vport " + std::to_string(vport) + " (sock "; + const std::size_t at = log.find(key, line); + if (at == std::string::npos) return r; + const std::size_t sp = log.find(", split ", at); + if (sp == std::string::npos) return r; + r.found = std::sscanf(log.c_str() + sp, ", split %llu, over %zu B in %llu (largest %zu) out %llu (largest %zu);", &r.split, + &r.frame, &r.in_over, &r.in_largest, &r.out_over, &r.out_largest) == 6; + return r; +} + +// The relay's ports: the one the test's relay gives this instance, and the +// one of the peer the game sends to (another player behind the relay). +constexpr std::uint16_t kOwnRelayPort = 4123, kPeerRelayPort = 4124; +constexpr std::uint8_t kToken[8] = {9, 8, 7, 6, 5, 4, 3, 2}; + +// The relay's answer to a Binding Request with the HELLO: MAPPED-ADDRESS +// our relay port, BBHOST-RELAY the token, that port and where the request +// came from (net/stun.h). +std::vector relay_answer(const std::uint8_t* req, std::size_t n, std::uint32_t relay_addr_host, + const sockaddr_in& from) { + std::vector out; + if (n < 20 || req[0] != 0x00 || req[1] != 0x01) return out; + std::vector body = {0x00, 0x01, 0, 8, 0, 1}; + put16(body, kOwnRelayPort); + for (int s = 24; s >= 0; s -= 8) body.push_back(static_cast(relay_addr_host >> s)); + const std::uint8_t rel[] = {0x81, 0x01, 0, 20, 'b', 'b', 'r', '1'}; + body.insert(body.end(), rel, rel + sizeof(rel)); + body.insert(body.end(), kToken, kToken + 8); + put16(body, kOwnRelayPort); + const std::uint32_t seen = ntohl(from.sin_addr.s_addr); + for (int s = 24; s >= 0; s -= 8) body.push_back(static_cast(seen >> s)); + put16(body, ntohs(from.sin_port)); + put16(out, 0x0101); + put16(out, static_cast(body.size())); + out.insert(out.end(), req + 4, req + 20); + out.insert(out.end(), body.begin(), body.end()); + return out; +} +} // namespace + +// What hle/net.cpp needs from the rest of the host: the HLE table, the +// session layer's P2P port and dispatcher, and NpSignaling's control +// datagrams (none come here). +void register_hle_fn(const char* name, void* f) { g_fns[name] = f; } +namespace net { +int p2p_port() { return g_port; } +void set_p2p_port_bound(int port) { g_port = port; } +void dispatch_after(int, Prio, std::function) {} +} // namespace net +void hle_np_signaling_control(const std::uint8_t*, std::size_t, std::uint32_t, std::uint16_t) {} + +int main() { + const char* sp = std::getenv("BBHOST_NET_SPLIT_DATAGRAMS"); + const bool split = !(sp && sp[0] == '0'); + host_log_decide(true); + { + std::uint16_t p = 0; + const int fd = bound_udp(INADDR_LOOPBACK, &p); + ::close(fd); + g_port = p; + } + hle_register_net(); + using SocketFn = int(GUEST_ABI*)(const char*, int, int, int); + using BindFn = int(GUEST_ABI*)(int, const void*, int); + using SendtoFn = int(GUEST_ABI*)(int, const void*, std::uint64_t, int, const void*, int); + using RecvfromFn = int(GUEST_ABI*)(int, void*, std::uint64_t, int, void*, unsigned*); + using ErrnoFn = int*(GUEST_ABI*)(); + using CloseFn = int(GUEST_ABI*)(int); + using InitFn = int(GUEST_ABI*)(); + auto net_init = fn("sceNetInit"); + auto net_socket = fn("sceNetSocket"); + auto net_bind = fn("sceNetBind"); + auto net_sendto = fn("sceNetSendto"); + auto net_recvfrom = fn("sceNetRecvfrom"); + auto net_errno = fn("sceNetErrnoLoc"); + auto net_close = fn("sceNetSocketClose"); + constexpr int kDgramP2p = 6, kDontWait = 0x80, kFreebsdEmsgsize = 40; + constexpr std::size_t kHdr = 4, kRelayHdr = 12, kDeliveryHdr = 4, kFrame = 1472; + + net_init(); + // The game's two vports on the instance's one UDP port: a datagram from + // one to the other leaves the port and comes back to its reader. + const int a = net_socket("p2p a", 2, kDgramP2p, 0); + const int b = net_socket("p2p b", 2, kDgramP2p, 0); + const SceSockaddrIn bind_a = sce_addr(0, 3658, 30), bind_b = sce_addr(0, 3658, 31); + CHECK(net_bind(a, &bind_a, 16) == 0); + CHECK(net_bind(b, &bind_b, 16) == 0); + const SceSockaddrIn to_b = sce_addr(INADDR_LOOPBACK, static_cast(g_port), 31); + + // What the port's report should count, kept as the datagrams go. + unsigned long long want_split = 0, want_out_over = 0, want_in_over = 0; + std::size_t want_out_largest = 0, want_in_largest = 0; + auto out_wire = [&](std::size_t n) { + if (n > kFrame) ++want_out_over; + if (n > want_out_largest) want_out_largest = n; + }; + auto in_wire = [&](std::size_t n) { + if (n > kFrame) ++want_in_over; + if (n > want_in_largest) want_in_largest = n; + }; + // A socket's next datagram within 3 s (-1 when none came), and from where. + auto recv_on = [&](int s, std::vector& in, SceSockaddrIn* from) { + unsigned from_len = 16; + for (int i = 0; i < 300; ++i) { + const int got = net_recvfrom(s, in.data(), in.size(), kDontWait, from, &from_len); + if (got >= 0) return got; + std::this_thread::sleep_for(std::chrono::milliseconds(10)); + } + return -1; + }; + auto recv_b = [&](std::vector& in, SceSockaddrIn* from) { return recv_on(b, in, from); }; + // Nothing more for a socket: no piece came twice. + auto quiet = [&](int s) { + std::this_thread::sleep_for(std::chrono::milliseconds(50)); + std::uint8_t sink[16]; + return net_recvfrom(s, sink, sizeof(sink), kDontWait, nullptr, nullptr) < 0; + }; + auto b_quiet = [&] { return quiet(b); }; + + // Bytes that are not chunks go as they are, up to what UDP carries with + // the 4-byte P2P header: the reader takes the largest. + const std::size_t largest = 65507 - kHdr; + for (const std::size_t n : {std::size_t{1}, std::size_t{64}, std::size_t{7 * 276}, std::size_t{8 * 276}, + std::size_t{15 * 276}, largest}) { + std::vector out(n); + for (std::size_t i = 0; i < n; ++i) out[i] = static_cast(i * 131 + n); + out[0] = 0xff; // not a chunk + CHECK(net_sendto(a, out.data(), n, 0, &to_b, 16) == static_cast(n)); + out_wire(kHdr + n); + std::vector in(n + 64, 0); + SceSockaddrIn from{}; + const int got = recv_b(in, &from); + CHECK(got == static_cast(n) && std::memcmp(in.data(), out.data(), n) == 0); + CHECK(ntohs(from.vport) == 30); + if (got == static_cast(n)) in_wire(kHdr + n); + if (got != static_cast(n)) std::fprintf(stderr, " %zu bytes: received %d\n", n, got); + CHECK(b_quiet()); + } + + // The game's datagrams. Pairs of a 254-byte chunk and a 22-byte one (7 + // pairs fit in 2 KB, 8 do not, 15 come to about 4 KB), with the pieces + // they leave as: four pairs (1104 bytes) to a piece. + struct Game { + std::vector d; + std::vector pieces; // the pieces' sizes when split + }; + std::vector games; + for (const int pairs : {7, 8, 15}) { + Game g; + for (int i = 0; i < pairs; ++i) { + add_chunk(g.d, 1, 251, static_cast(i)); + add_chunk(g.d, 1, 19, static_cast(0x80 + i)); + } + for (int left = pairs; left > 0; left -= 4) g.pieces.push_back(static_cast(left < 4 ? left : 4) * 276); + games.push_back(g); + } + { + // A full segment (1238 bytes and its header) is longer than a piece: + // it goes alone, between short chunks of every kind. + Game g; + add_chunk(g.d, 0, 85, 1); + add_chunk(g.d, 1, 1238, 2); + add_chunk(g.d, 2, 40, 3); + add_chunk(g.d, 3, 1238, 4); + add_chunk(g.d, 1, 6, 5); + g.pieces = {88, 1241, 43, 1241, 9}; + games.push_back(g); + } + { + // 1200 bytes of chunks go whole; 1201 bytes as two pieces. + Game g; + add_chunk(g.d, 1, 597, 6); + add_chunk(g.d, 0, 597, 7); + g.pieces = {1200}; + games.push_back(g); + Game h; + add_chunk(h.d, 1, 597, 6); + add_chunk(h.d, 0, 598, 7); + h.pieces = {600, 601}; + games.push_back(h); + } + { + // A piece filled to exactly 1200 bytes, then the rest. + Game g; + add_chunk(g.d, 1, 397, 8); + add_chunk(g.d, 1, 397, 9); + add_chunk(g.d, 1, 397, 10); + add_chunk(g.d, 2, 10, 11); + g.pieces = {1200, 13}; + games.push_back(g); + } + // Not whole chunks, though they start as such: they go whole. + std::vector> not_chunks; + { + std::vector d; + for (int i = 0; i < 6; ++i) add_chunk(d, 1, 297, static_cast(i)); + d.resize(d.size() - 1); // the last chunk cut + not_chunks.push_back(d); + d.clear(); + for (int i = 0; i < 6; ++i) add_chunk(d, i == 3 ? 4 : 1, 297, static_cast(i)); // a kind past 3 + not_chunks.push_back(d); + } + for (const auto& d : not_chunks) { + Game g; + g.d = d; + g.pieces = {d.size()}; + games.push_back(g); + } + + for (const Game& g : games) { + const std::vector ends = expected_ends(g.d, split); + // The sizes the comment above gives, for the game's datagrams. + if (split && ends.size() > 1) { + std::vector sizes; + for (std::size_t i = 0, begin = 0; i < ends.size(); begin = ends[i++]) sizes.push_back(ends[i] - begin); + CHECK(sizes == g.pieces); + } + if (ends.size() > 1) ++want_split; + for (std::size_t i = 0, begin = 0; i < ends.size(); begin = ends[i++]) out_wire(kHdr + ends[i] - begin); + CHECK(net_sendto(a, g.d.data(), g.d.size(), 0, &to_b, 16) == static_cast(g.d.size())); + std::vector joined; + std::size_t got_n = 0; + while (joined.size() < g.d.size()) { + std::vector in(65536); + SceSockaddrIn from{}; + const int got = recv_b(in, &from); + if (got < 0) break; + // Each datagram ends where a piece does, of whole chunks when the + // game's bytes are. + const std::size_t at = joined.size() + static_cast(got); + CHECK(got_n < ends.size() && at == ends[got_n]); + CHECK(ntohs(from.vport) == 30); + int count = 0; + if (ends.size() > 1) CHECK(whole_chunks(in.data(), static_cast(got), &count) && + (got <= 1200 || count == 1)); + in_wire(kHdr + static_cast(got)); + ++got_n; + joined.insert(joined.end(), in.begin(), in.begin() + got); + } + CHECK(got_n == ends.size()); + CHECK(joined == g.d); + CHECK(b_quiet()); + if (got_n != ends.size() || joined != g.d) + std::fprintf(stderr, " chunks of %zu bytes: %zu datagrams (%zu expected), %zu bytes back\n", g.d.size(), got_n, + ends.size(), joined.size()); + } + + // One byte more than UDP carries: EMSGSIZE, and the game's errno says so. + std::vector over(largest + 1, 0x5a); + *net_errno() = 0; + CHECK(net_sendto(a, over.data(), over.size(), 0, &to_b, 16) < 0); + CHECK(*net_errno() == kFreebsdEmsgsize); + CHECK(b_quiet()); // and nothing went out + + // Vports past 255 take the 6-byte P2P header, [0xff][0x83][source u16] + // [destination u16]: every piece carries it, with its bytes unchanged. + { + const int c = net_socket("p2p c", 2, kDgramP2p, 0); + const int e = net_socket("p2p e", 2, kDgramP2p, 0); + const SceSockaddrIn bind_c = sce_addr(0, 3658, 300), bind_e = sce_addr(0, 3658, 301); + CHECK(net_bind(c, &bind_c, 16) == 0); + CHECK(net_bind(e, &bind_e, 16) == 0); + const SceSockaddrIn to_e = sce_addr(INADDR_LOOPBACK, static_cast(g_port), 301); + const std::vector& d = games[2].d; // 15 pairs: four pieces when split + const std::vector ends = expected_ends(d, split); + CHECK(net_sendto(c, d.data(), d.size(), 0, &to_e, 16) == static_cast(d.size())); + std::vector joined; + std::size_t got_n = 0; + while (joined.size() < d.size()) { + std::vector in(65536); + SceSockaddrIn from{}; + const int got = recv_on(e, in, &from); + if (got < 0) break; + CHECK(got_n < ends.size() && joined.size() + static_cast(got) == ends[got_n]); + CHECK(ntohs(from.vport) == 300); + ++got_n; + joined.insert(joined.end(), in.begin(), in.begin() + got); + } + CHECK(got_n == ends.size() && joined == d); + CHECK(quiet(e)); + CHECK(net_close(c) == 0); + CHECK(net_close(e) == 0); + } + + // Through the relay: the test answers the instance's STUN request as the + // private server does (on 127.0.0.2, as the server's relay address), and + // relays what comes framed for its peer's relay port back to the port. + std::uint16_t stun_port = 0; + const int relay = bound_udp(0x7f000002u, &stun_port); + std::thread answer([&] { + sockaddr_in from{}; + const std::vector req = recv_within(relay, 3000, &from); + const std::vector r = relay_answer(req.data(), req.size(), 0x7f000002u, from); + if (!r.empty()) + ::sendto(relay, r.data(), r.size(), 0, reinterpret_cast(&from), sizeof(from)); + }); + std::uint32_t mapped = 0; + std::uint16_t mapped_port = 0; + net::stun::Relay rl; + const bool on = hle_net_p2p_stun("127.0.0.2", stun_port, 3000, &mapped, &mapped_port, &rl); + answer.join(); + CHECK(on && rl.present && rl.vport == kOwnRelayPort); + std::uint32_t server = 0; + std::uint16_t own = 0; + CHECK(hle_net_p2p_relay(&server, &own) && server == htonl(0x7f000002u) && own == kOwnRelayPort); + const SceSockaddrIn to_peer = sce_addr(0x7f000002u, kPeerRelayPort, 31); + sockaddr_in port_sa{}; + port_sa.sin_family = AF_INET; + port_sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK); + port_sa.sin_port = htons(static_cast(g_port)); + // Each frame: [0xfb]['R'][token][the peer's port][P2P header][a piece]. + // The relay takes its own header off and delivers the rest framed + // [0xfb]['r'][our relay port]. + auto relay_one = [&](const std::vector& d, const std::vector& ends) { + std::size_t frames = 0, begin = 0; + for (std::vector f; !(f = recv_within(relay, frames < ends.size() ? 3000 : 50)).empty();) { + const bool framed = f.size() >= kRelayHdr + kHdr && f[0] == 0xfb && f[1] == 'R' && + std::memcmp(f.data() + 2, kToken, 8) == 0 && f[10] == (kPeerRelayPort >> 8) && + f[11] == (kPeerRelayPort & 0xff) && f[12] == 0xff && f[13] == 0xc3 && f[14] == 30 && + f[15] == 31; + CHECK(framed); + CHECK(frames < ends.size()); + if (!framed || frames >= ends.size()) break; + const std::size_t piece = f.size() - kRelayHdr - kHdr; + CHECK(begin + piece == ends[frames] && std::memcmp(f.data() + kRelayHdr + kHdr, d.data() + begin, piece) == 0); + out_wire(f.size()); + begin += piece; + ++frames; + std::vector del = {0xfb, 'r'}; + put16(del, kOwnRelayPort); + del.insert(del.end(), f.begin() + kRelayHdr, f.end()); + ::sendto(relay, del.data(), del.size(), 0, reinterpret_cast(&port_sa), sizeof(port_sa)); + } + CHECK(frames == ends.size()); + std::vector joined; + std::size_t got_n = 0; + while (got_n < frames) { + std::vector in(65536); + SceSockaddrIn from{}; + const int got = recv_b(in, &from); + if (got < 0) break; + // From the server's address and the sender's relay port. + CHECK(from.addr == htonl(0x7f000002u) && ntohs(from.port) == kOwnRelayPort && ntohs(from.vport) == 30); + in_wire(kDeliveryHdr + kHdr + static_cast(got)); + ++got_n; + joined.insert(joined.end(), in.begin(), in.begin() + got); + } + CHECK(got_n == ends.size()); + CHECK(joined == d); + CHECK(b_quiet()); + if (got_n != ends.size() || joined != d) + std::fprintf(stderr, " relayed %zu bytes: %zu datagrams (%zu expected), %zu bytes back\n", d.size(), got_n, + ends.size(), joined.size()); + }; + for (const Game& g : games) { + const std::vector ends = expected_ends(g.d, split); + if (ends.size() > 1) ++want_split; + CHECK(net_sendto(a, g.d.data(), g.d.size(), 0, &to_peer, 16) == static_cast(g.d.size())); + relay_one(g.d, ends); + } + // The largest that goes through the relay, its 12-byte header in, and + // one byte more. + std::vector most(65507 - kRelayHdr - kHdr, 0x3c); + CHECK(net_sendto(a, most.data(), most.size(), 0, &to_peer, 16) == static_cast(most.size())); + relay_one(most, {most.size()}); + most.push_back(0x3c); + *net_errno() = 0; + CHECK(net_sendto(a, most.data(), most.size(), 0, &to_peer, 16) < 0); + CHECK(*net_errno() == kFreebsdEmsgsize); + CHECK(recv_within(relay, 100).empty()); // nothing went out + + // The port's report at a's close: datagrams sent as several, and those + // over one frame out (a) and in (b) with the largest. + std::fflush(stderr); + int pipe_fds[2]; + CHECK(::pipe(pipe_fds) == 0); + const int saved_err = ::dup(2); + ::dup2(pipe_fds[1], 2); + CHECK(net_close(a) == 0); + ::dup2(saved_err, 2); + ::close(saved_err); + ::close(pipe_fds[1]); + std::string log; + char chunk[4096]; + for (ssize_t n; (n = ::read(pipe_fds[0], chunk, sizeof(chunk))) > 0;) log.append(chunk, static_cast(n)); + ::close(pipe_fds[0]); + const Report ra = report_of(log, 30), rb = report_of(log, 31); + CHECK(ra.found && rb.found); + CHECK(ra.frame == kFrame); + CHECK(ra.split == want_split); + CHECK(ra.out_over == want_out_over && ra.out_largest == want_out_largest); + CHECK(rb.in_over == want_in_over && rb.in_largest == want_in_largest); + if (!(ra.found && rb.found && ra.split == want_split && ra.out_over == want_out_over && + ra.out_largest == want_out_largest && rb.in_over == want_in_over && rb.in_largest == want_in_largest)) + std::fprintf(stderr, + " report: split %llu (%llu expected), out over %llu (%llu) largest %zu (%zu), in over %llu (%llu) " + "largest %zu (%zu)\n %s", + ra.split, want_split, ra.out_over, want_out_over, ra.out_largest, want_out_largest, rb.in_over, + want_in_over, rb.in_largest, want_in_largest, log.c_str()); + + CHECK(net_close(b) == 0); // the port's last socket: its reader stops + ::close(relay); + if (g_fail) { + std::fprintf(stderr, "net_p2p_test: %d failure(s) (split %s)\n", g_fail, split ? "on" : "off"); + return 1; + } + std::printf("net_p2p_test: ok (split %s; %llu of the game's datagrams sent as several, largest payload %zu)\n", + split ? "on" : "off", want_split, largest); + return 0; +} From 65001eca3f86951ee28a066ceec859b6382d2187 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:04:33 -0800 Subject: [PATCH 038/100] setup: Discord and Website buttons over Play, on every page - the community's invite and thehuntersdream.com, each opened in the browser The setup window's sidebar has two small buttons between the pages and Play, so they are in view on every page: Discord (a speech bubble) opens the community's invite, https://discord.gg/ZTrJ28aX7K - the one the website's about page gives as "Join the community on Discord"; its credits link two other communities' servers - and Website (the globe) opens https://thehuntersdream.com. Each says in its bubble what it opens and where. They are ghost buttons with an icon (launcher_ui's ghost_button with an Icon, and a Chat icon), half the sidebar each, as Save and Quit are. The addresses live in one place, host/links.h, and only those open, with SDL_OpenURL as the update check's release page does. A test's window (BBHOST_SETUP_TEST set) never opens a browser: it logs "setup: link: ... would open ..." instead. BBHOST_SETUP_TEST=links:DIR puts the pointer on each, saves the window with its bubble (DIR/link-discord.png, link-website.png), presses it and closes - the proof that the buttons open those addresses, without a browser. tests/launcher_links_test.cpp: the two addresses (and not the credits' servers), https, a bubble for each, nothing else opens, and no browser from a test's window. docs/running.md names the buttons. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 5 +++ docs/running.md | 2 + src/host/launcher.cpp | 77 ++++++++++++++++++++++++++++++++++- src/host/launcher_ui.cpp | 28 +++++++++++++ src/host/launcher_ui.h | 4 ++ src/host/links.h | 52 +++++++++++++++++++++++ tests/launcher_links_test.cpp | 56 +++++++++++++++++++++++++ 7 files changed, 223 insertions(+), 1 deletion(-) create mode 100644 src/host/links.h create mode 100644 tests/launcher_links_test.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index aee9f806..d033e18f 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -919,6 +919,11 @@ if(UNIX) add_executable(sign_in_check_test tests/sign_in_check_test.cpp src/replay/json.cpp) target_include_directories(sign_in_check_test PRIVATE src) add_test(NAME sign_in_check_test COMMAND sign_in_check_test) + # The setup window's links out (host/links.h): the addresses, and no browser + # from a test's window. + add_executable(launcher_links_test tests/launcher_links_test.cpp) + target_include_directories(launcher_links_test PRIVATE src) + add_test(NAME launcher_links_test COMMAND launcher_links_test) # The setup window's connection test (net/nat_check.h): the exchange from a # port against a test server of its own on loopback - a router that keeps # one port, one that changes it, none answering, the first seconds held, diff --git a/docs/running.md b/docs/running.md index 215d6939..f8f26f92 100644 --- a/docs/running.md +++ b/docs/running.md @@ -45,6 +45,8 @@ Started without a configuration, bbhost opens its setup window: pick the game folder and the eboot (both are checked as you go), choose the online server and account if you want to play online, and press Play. The window writes the per-user `bbhost.toml` and starts the game. `bbhost --setup` opens it again. +Over Play, on every page, **Discord** opens the community's Discord invite and +**Website** opens thehuntersdream.com, each in your browser. The game turns its shaders into HLSL and compiles them on your PC in the background, so you can play straight away; the first session uses the diff --git a/src/host/launcher.cpp b/src/host/launcher.cpp index 09c4bc71..54400200 100644 --- a/src/host/launcher.cpp +++ b/src/host/launcher.cpp @@ -9,6 +9,7 @@ #include "engine/patch_manifest.h" #include "host/controls_page.h" #include "host/launcher_ui.h" +#include "host/links.h" #include "host/options.h" #include "net/account.h" #include "net/http.h" @@ -479,6 +480,17 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo const std::string test_nat = nat_hook_test ? test + 8 : test && !std::strncmp(test, "natcard:", 8) ? test + 8 : ""; int nat_hook_stage = 0; // 0 waiting to start, 1 testing, 2 the result shown, 3 saved double nat_hook_at = 0.0; + // links:DIR puts the pointer on each of the sidebar's links in turn, saves + // the window with its bubble as DIR/link-discord.png and + // DIR/link-website.png, and presses it - which in a test's window logs the + // address it would open and opens no browser - then closes. + const std::string test_links = test && !std::strncmp(test, "links:", 6) ? test + 6 : ""; + int links_step = 0; + double links_at = 0.0; + ImVec2 link_mid[2] = {ImVec2(-FLT_MAX, -FLT_MAX), ImVec2(-FLT_MAX, -FLT_MAX)}; + // A test hook's picture, saved once the frame is drawn ("" none). + std::string hook_shot; + double hook_shot_at = 0.0; int shot = 0; // the picture being waited for: a page, then the bubble double shot_at = 1.2; ImVec2 patch_row_at(-FLT_MAX, -FLT_MAX); // a row's middle, for the bubble @@ -623,6 +635,18 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo return true; }; + // A link's button (host/links.h): its address in the browser - in a + // test's window, only the log says which it would open. + auto open_link = [&](const links::Link& l) { + if (!links::known(l.url)) return; + if (!links::opens_browser(test)) { + host_log("setup: link: %s would open %s (a test's window opens no browser)", l.title, l.url); + return; + } + host_log("setup: link: %s: %s", l.title, l.url); + if (!SDL_OpenURL(l.url)) host_log("setup: link: %s did not open: %s", l.url, SDL_GetError()); + }; + // The window's pace: 30 frames a second at most. V-Sync alone left the loop // drawing as fast as it could wherever the driver ignores it - a driver // setting that turns it off, a backend without it, a window the compositor @@ -710,6 +734,19 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo // A test's pictures: the pointer where the test puts it, not where the // desk's is. if (!test_shot.empty()) io.AddMousePosEvent(shot == kPageCount ? patch_row_at.x : -FLT_MAX, shot == kPageCount ? patch_row_at.y : -FLT_MAX); + // links: the pointer on the link the hook is at, pressed and let go. + if (!test_links.empty()) { + const int k = links_step >= 1 && links_step <= 3 ? 0 : links_step >= 5 && links_step <= 7 ? 1 : -1; + io.AddMousePosEvent(k >= 0 ? link_mid[k].x : -FLT_MAX, k >= 0 ? link_mid[k].y : -FLT_MAX); + if (links_step == 2 || links_step == 6) { + io.AddMouseButtonEvent(ImGuiMouseButton_Left, true); + ++links_step; + } else if (links_step == 3 || links_step == 7) { + io.AddMouseButtonEvent(ImGuiMouseButton_Left, false); + links_at = ImGui::GetTime() + 0.6; + ++links_step; + } + } ImGui::NewFrame(); const ImGuiViewport* vp = ImGui::GetMainViewport(); const ImGuiStyle& st = ImGui::GetStyle(); @@ -805,7 +842,8 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo const float hint_h = std::round(std::round(ImGui::GetFontSize() * 0.78f) + 8 * scale); const float hints = 2 * (hint_h + 6 * scale) + 6 * scale + st.ItemSpacing.y; // the two keys, the gap and the spacing under it const float side_h = vp->WorkSize.y - 38 * scale; - float foot = play_h + 4 * scale + ImGui::GetFrameHeight() + note_h + 3 * st.ItemSpacing.y; + // The links' row over them (host/links.h) counts in the foot. + float foot = play_h + 4 * scale + 2 * ImGui::GetFrameHeight() + note_h + 4 * st.ItemSpacing.y; // The keys where the name and the pages (last frame's height) leave room. static float nav_h = 0.0f; const bool keys = side_h - foot - hints - 8 * scale >= nav_h; @@ -844,6 +882,18 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo ImGui::EndChild(); ImGui::SetCursorScreenPos(o + ImVec2(16 * scale, 20 * scale + side_h - foot)); ImGui::BeginChild("##foot", ImVec2(w, foot), 0, ImGuiWindowFlags_NoBackground | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse); + // The community's Discord and its website, a press away on every + // page: each opens in the browser. + { + const float half = (w - st.ItemSpacing.x) * 0.5f; + for (int i = 0; i < 2; ++i) { + const links::Link& l = *links::kAll[i]; + if (i) ImGui::SameLine(); + if (ui::ghost_button(l.label, i == 0 ? ui::Icon::Chat : ui::Icon::Online, ImVec2(half, 0))) open_link(l); + link_mid[i] = (ImGui::GetItemRectMin() + ImGui::GetItemRectMax()) * 0.5f; + ui::tooltip_for_item(l.title, l.tip, l.url); + } + } if (keys) { ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(st.ItemSpacing.x, 6 * scale)); ui::key_hint("F9", "In-game patches"); @@ -920,6 +970,23 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo } if (nat_hook_stage == 2) nat_scroll = true; } + if (!test_links.empty() && ++frames > 30) { + // The links' walk: the pointer on each, its bubble saved, pressed. + const double now = ImGui::GetTime(); + if (links_step == 0) { + links_step = 1; + links_at = now + 1.2; + } else if ((links_step == 1 || links_step == 5) && now >= links_at) { + hook_shot = test_links + (links_step == 1 ? "/link-discord.png" : "/link-website.png"); + hook_shot_at = now; + ++links_step; + } else if (links_step == 4 && now >= links_at) { + links_step = 5; + links_at = now + 1.2; + } else if (links_step == 8 && now >= links_at) { + done = true; + } + } if (test_link && ++frames > 30) { if (!test_created) { test_created = true; @@ -1953,6 +2020,14 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo nat_hook_stage = 3; done = true; } + if (!hook_shot.empty() && ImGui::GetTime() >= hook_shot_at) { + if (SDL_Surface* s = SDL_RenderReadPixels(ren, nullptr)) { + if (!SDL_SavePNG(s, hook_shot.c_str())) host_log("setup: shot: %s: %s", hook_shot.c_str(), SDL_GetError()); + SDL_DestroySurface(s); + } + host_log("setup: shot %s", hook_shot.c_str()); + hook_shot.clear(); + } if (!test_shot.empty() && ImGui::GetTime() >= shot_at) { const std::string name = shot < kPageCount ? kPages[shot].slug : "patches-bubble"; char path[64]; diff --git a/src/host/launcher_ui.cpp b/src/host/launcher_ui.cpp index ac0e0d7e..dab9ddb9 100644 --- a/src/host/launcher_ui.cpp +++ b/src/host/launcher_ui.cpp @@ -772,6 +772,13 @@ void draw_icon(ImDrawList* dl, Icon icon, ImVec2 at, float size, ImU32 col) { dl->AddLine(P(-0.42f, 0.32f), P(0.42f, 0.32f), col, th); // the space bar break; } + case Icon::Chat: { + dl->AddRect(P(-0.9f, -0.74f), P(0.9f, 0.44f), col, 0.34f * h, th); + const ImVec2 tail[] = {P(-0.46f, 0.44f), P(-0.62f, 0.9f), P(-0.08f, 0.44f)}; + dl->AddPolyline(tail, 3, col, th); + for (int k = -1; k <= 1; ++k) dl->AddCircleFilled(P(0.4f * static_cast(k), -0.15f), 0.11f * h, col); + break; + } } } @@ -1065,6 +1072,27 @@ bool ghost_button(const char* label, ImVec2 size) { return pressed; } +bool ghost_button(const char* label, Icon icon, ImVec2 size) { + const ImGuiStyle& st = ImGui::GetStyle(); + const float s = g_scale, fh = ImGui::GetFrameHeight(), is = std::round(fh * 0.52f), gap = std::round(7 * s); + const char* end = ImGui::FindRenderedTextEnd(label); + const float tw = ImGui::CalcTextSize(label, end).x; + if (size.x <= 0) size.x = std::round(st.FramePadding.x * 2 + is + gap + tw); + if (size.y <= 0) size.y = fh; + const ImVec2 p = ImGui::GetCursorScreenPos(); + const bool pressed = ImGui::InvisibleButton(label, size); + const bool hovered = ImGui::IsItemHovered(), held = ImGui::IsItemActive(); + ImDrawList* dl = ImGui::GetWindowDrawList(); + dl->AddRectFilled(p, p + size, c(held ? alpha(kViolet, 120) : IM_COL32(255, 255, 255, hovered ? 32 : 14)), st.FrameRounding); + // The icon and the label centred together, the label cut to what is left. + const std::string text = fit_text(std::string(label, end), size.x - st.FramePadding.x * 2 - is - gap); + const float w = is + gap + ImGui::CalcTextSize(text.c_str()).x; + const float x = p.x + std::max(st.FramePadding.x, (size.x - w) * 0.5f); + draw_icon(dl, icon, ImVec2(x + is * 0.5f, p.y + size.y * 0.5f), is, c(hovered ? kText : kIce)); + dl->AddText(ImVec2(x + is + gap, p.y + (size.y - ImGui::GetFontSize()) * 0.5f), c(kText), text.c_str()); + return pressed; +} + void avatar(const std::string& name, float size) { const ImVec2 p = ImGui::GetCursorScreenPos(); ImGui::Dummy(ImVec2(size, size)); diff --git a/src/host/launcher_ui.h b/src/host/launcher_ui.h index 9f8ea55b..660c6957 100644 --- a/src/host/launcher_ui.h +++ b/src/host/launcher_ui.h @@ -42,6 +42,7 @@ enum class Icon { Game, Online, Enhance, Patches, Shaders, Plugins, Settings, Folder, File, Check, Warning, Info, Play, Moon, Search, Copy, User, Download, Refresh, SignIn, Display, Image, Keyboard, + Chat, // a speech bubble: the community's Discord }; // Once the ImGui context and its renderer backend exist: the fonts (the @@ -123,6 +124,9 @@ bool reset_button(const char* id, bool at_default); float reset_width(); // A quiet button: a faint fill that lights when hovered. bool ghost_button(const char* label, ImVec2 size = ImVec2(0, 0)); +// The same with `icon` before its label (cut to the button with "..."); a +// width of 0 fits both. +bool ghost_button(const char* label, Icon icon, ImVec2 size = ImVec2(0, 0)); // The sidebar's entries: a dot of colour `dot` (0 for none) at the right, or // `badge`'s text in it. bool nav_item(const char* label, Icon icon, bool selected, ImU32 dot = 0, const char* badge = nullptr); diff --git a/src/host/links.h b/src/host/links.h new file mode 100644 index 00000000..af6e7b4a --- /dev/null +++ b/src/host/links.h @@ -0,0 +1,52 @@ +// The setup window's links out (host/launcher.cpp, the sidebar's two buttons +// over Play): the community's Discord and its website, opened in the player's +// browser. The addresses live here alone (tests/launcher_links_test.cpp). +#pragma once + +#include + +namespace links { + +struct Link { + const char* label; // the button's + const char* title; // its bubble's title: what pressing it does + const char* tip; // ... and where it goes + const char* url; +}; + +// The community's invite: the website's about page, +// https://thehuntersdream.com/about, links it as "Join the community on +// Discord". The page's two other Discord links (in its credits) are other +// communities' servers, not this one. +inline constexpr Link kDiscord = { + "Discord", + "Join the Discord", + "Opens the community's Discord invite in your browser: news, help with bbhost, and other hunters to play with.", + "https://discord.gg/ZTrJ28aX7K", +}; + +// The website: the community server's own pages - the world map, the +// leaderboards, your account and its connection test. +inline constexpr Link kWebsite = { + "Website", + "Website", + "Opens thehuntersdream.com in your browser: the world map, the leaderboards, and your account.", + "https://thehuntersdream.com", +}; + +inline constexpr const Link* kAll[] = {&kDiscord, &kWebsite}; + +// What pressing one does: open its address in the browser - or, in a test's +// window (BBHOST_SETUP_TEST set), only say which address it would open, so a +// test never starts a browser. +inline bool opens_browser(const char* setup_test) { return !setup_test || !*setup_test; } + +// Only the addresses above open from the window. +inline bool known(const char* url) { + for (const Link* l : kAll) { + if (url && std::strcmp(url, l->url) == 0) return true; + } + return false; +} + +} // namespace links diff --git a/tests/launcher_links_test.cpp b/tests/launcher_links_test.cpp new file mode 100644 index 00000000..a696c506 --- /dev/null +++ b/tests/launcher_links_test.cpp @@ -0,0 +1,56 @@ +// The setup window's links out (host/links.h): the community's Discord invite +// - the one the website's about page gives as "Join the community on +// Discord", not its credits' other servers - and the website, both https; +// only those open; and a test's window (BBHOST_SETUP_TEST) never opens a +// browser. +#include "host/links.h" + +#include +#include +#include + +namespace { + +int g_fail = 0; + +void check(bool ok, const char* what) { + if (!ok) { + ++g_fail; + std::printf("FAIL: %s\n", what); + } +} + +} // namespace + +int main() { + check(std::strcmp(links::kDiscord.url, "https://discord.gg/ZTrJ28aX7K") == 0, "the community's invite, from the about page"); + check(std::strcmp(links::kWebsite.url, "https://thehuntersdream.com") == 0, "the website"); + // the about page's credits link two other communities' servers: never these + check(std::strcmp(links::kDiscord.url, "https://discord.gg/wzMynmW") != 0 && + std::strcmp(links::kDiscord.url, "https://discord.com/invite/Ax6YByr") != 0, + "not another community's server"); + check(std::strcmp(links::kDiscord.label, "Discord") == 0 && std::strcmp(links::kDiscord.title, "Join the Discord") == 0, + "the Discord button and its bubble's title"); + check(std::strcmp(links::kWebsite.label, "Website") == 0, "the Website button"); + for (const links::Link* l : links::kAll) { + check(std::strncmp(l->url, "https://", 8) == 0, "every link https"); + check(std::strlen(l->tip) > 20 && std::string(l->tip).find("Opens ") == 0, "every bubble says what pressing it opens"); + check(links::known(l->url), "every link of the table opens"); + } + check(std::size(links::kAll) == 2, "two links"); + check(!links::known("https://discord.gg/wzMynmW"), "another address does not open"); + check(!links::known("https://thehuntersdream.com/account"), "not even another of the website's pages"); + check(!links::known(nullptr) && !links::known(""), "nothing does not open"); + // a test's window logs the address instead of opening a browser + check(links::opens_browser(nullptr), "no test: the browser opens"); + check(links::opens_browser(""), "an empty BBHOST_SETUP_TEST is no test"); + check(!links::opens_browser("links:/tmp/x"), "the links hook: logged, no browser"); + check(!links::opens_browser("shot:/tmp/x") && !links::opens_browser("natcard:C:\\bbtest\\shots") && !links::opens_browser("quit"), + "any test's window: no browser"); + if (g_fail) { + std::printf("launcher_links_test: %d failed\n", g_fail); + return 1; + } + std::printf("launcher_links_test: all passed\n"); + return 0; +} From 7e7572e8929cc0cd195cab03dfcabc54eb3b2d05 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:04:38 -0800 Subject: [PATCH 039/100] online: the account's relay switch - whoami's RelayDirect read, and /auth/profile to turn the relay off or back on The server lets a player turn the relay off for their account (the website's account page; thehuntersdream 65eaa42, deployed): co-op and PvP then connect directly, and only players who can get in reach them. bbhost had no way to see or change it. - The sign-in check reads whoami's RelayDirect beside NatTest (AccountCheck::relay: known, and off or on); a server without it says nothing, and the switch stays hidden. - account_relay_change_start(direct) posts {Token, RelayDirect} to /auth/profile on a thread of its own, as the website's form does (game tokens are taken; a field left out stays as it is). Once the server has taken it, the sign-in check runs again, and its answer is what the setup window shows; a refusal says why (the server's words, or the transport's), and "no such token" marks the sign-in refused. A sign-in or sign-out meanwhile drops the answer. The setting is the account's - the server applies it to the addresses the account's games play from - so the request needs no IPv4, unlike the connection test's. - net/sign_in_check.h read_profile_reply reads the answer: taken with the switch as it is now; refused; a server without account settings, or one that takes the profile without a relay switch; a busy server. tests/sign_in_check_test.cpp: RelayDirect true, false, absent, not a bool, and in a refusal; the profile answers above, a transport error over a body. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 3 +- src/net/account.cpp | 46 ++++++++++++++++++++++++- src/net/account.h | 25 ++++++++++++++ src/net/sign_in_check.h | 67 +++++++++++++++++++++++++++++++++++- tests/sign_in_check_test.cpp | 45 +++++++++++++++++++++++- 5 files changed, 182 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d033e18f..ab04fa69 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -915,7 +915,8 @@ if(UNIX) add_executable(np_score_test tests/np_score_test.cpp) target_include_directories(np_score_test PRIVATE src) add_test(NAME np_score_test COMMAND np_score_test) - # The setup window's sign-in check: the server's answers read (net/sign_in_check.h). + # The setup window's sign-in check and relay switch: the server's answers + # read (net/sign_in_check.h). add_executable(sign_in_check_test tests/sign_in_check_test.cpp src/replay/json.cpp) target_include_directories(sign_in_check_test PRIVATE src) add_test(NAME sign_in_check_test COMMAND sign_in_check_test) diff --git a/src/net/account.cpp b/src/net/account.cpp index 4b115d13..8143dec5 100644 --- a/src/net/account.cpp +++ b/src/net/account.cpp @@ -27,6 +27,8 @@ bool g_refused = false; // the server refused this sign-in (account_refused) AccountCheck g_check; unsigned g_check_serial = 0; unsigned g_signin = 0; +// The relay switch's change (account_relay_change_start), under g_mu. +RelayChange g_relay_change; // What the player is told over the game when the server refuses the sign-in // while it runs: a token it no longer knows needs a new sign-in; a refusal for @@ -113,6 +115,7 @@ void account_set(const std::string& name, const std::string& token) { g_refused = false; ++g_signin; g_check = AccountCheck{}; + g_relay_change = RelayChange{}; } void account_clear() { @@ -122,6 +125,7 @@ void account_clear() { g_refused = false; ++g_signin; g_check = AccountCheck{}; + g_relay_change = RelayChange{}; } bool account_refused() { @@ -153,7 +157,7 @@ void account_check_start(int timeout_ms) { name = g_name; signin = g_signin; mine = ++g_check_serial; - g_check = AccountCheck{AccountCheckState::Checking, name, "", 0, {}}; + g_check = AccountCheck{AccountCheckState::Checking, name, "", 0, {}, {}}; } // The server the caller has chosen now (the setup window's dropdown). const std::string url = auth_server_base() + "/auth/whoami"; @@ -171,6 +175,7 @@ void account_check_start(int timeout_ms) { if (v.verdict == SignInVerdict::Valid) { g_check.state = AccountCheckState::Valid; g_check.nat_test = v.nat_test; + g_check.relay = v.relay; g_refused = false; } else if (v.verdict == SignInVerdict::Refused) { g_check.state = AccountCheckState::Refused; @@ -208,6 +213,45 @@ AccountCheck account_check() { return g_check; } +void account_relay_change_start(bool direct, int timeout_ms) { + std::string token; + unsigned signin = 0; + { + std::lock_guard lk(g_mu); + if (g_token.empty() || g_name.empty() || g_relay_change.state == RelayChangeState::Saving) return; + token = g_token; + signin = g_signin; + g_relay_change = RelayChange{RelayChangeState::Saving, direct, "", 0}; + } + const std::string url = auth_server_base() + "/auth/profile"; + std::thread([url, token, signin, direct, timeout_ms] { + json::Value body = json::Value::make_object(); + body.set("Token", token); + body.set("RelayDirect", direct); + const HttpResult r = http_post_json(url, body, timeout_ms); + const ProfileReply v = read_profile_reply(r.status, r.body, r.error); + { + std::lock_guard lk(g_mu); + if (signin != g_signin) return; // signed in or out since + g_relay_change.state = v.ok ? RelayChangeState::Saved : RelayChangeState::Failed; + g_relay_change.why = v.ok ? std::string() : v.why; + g_relay_change.status = v.status; + } + if (v.ok) { + host_log("account: the relay is %s for this account now (%s)", v.relay.direct ? "off" : "on", url.c_str()); + account_check_start(); // what the window shows comes from whoami + } else { + host_log("account: the relay switch was not changed at %s: %s", url.c_str(), v.why.c_str()); + if (v.refused) account_mark_refused(v.why); + } + }).detach(); +} + +RelayChange account_relay_change() { + std::lock_guard lk(g_mu); + return g_relay_change; +} + std::string account_device_name() { std::string host; #if defined(_WIN32) diff --git a/src/net/account.h b/src/net/account.h index f8f3eda9..cff3351b 100644 --- a/src/net/account.h +++ b/src/net/account.h @@ -52,10 +52,35 @@ struct AccountCheck { std::string why; // Refused: the server's words; Unchecked: what came back instead long status = 0; // the answer's HTTP status, 0 when none came NatTestRecord nat_test; // Valid: the account's last connection test (whoami's NatTest) + RelaySwitch relay; // Valid: the account's relay switch (whoami's RelayDirect) }; void account_check_start(int timeout_ms = 5000); AccountCheck account_check(); +// The account's relay switch, as the website's account page has it: off +// (`direct`), co-op and PvP connect directly to other hunters; on, through the +// server's relay, which works on every network. POST /auth/profile {Token, +// RelayDirect} to auth_server_base(), on a thread of its own; once the server +// has taken it, the sign-in check runs again, and its answer (whoami's +// RelayDirect) is what the setup window shows. The setting is the account's, +// applied by the server to the addresses its games play from: the request may +// go over IPv4 or IPv6. One at a time; a sign-in or sign-out meanwhile drops +// its answer. +enum class RelayChangeState { + None, + Saving, // asked, no answer yet + Saved, // the server took it (the check that follows has the switch) + Failed, // `why` says what came back instead +}; +struct RelayChange { + RelayChangeState state = RelayChangeState::None; + bool direct = false; // what was asked: off (true) or on + std::string why; // Failed: the server's words, or the transport's + long status = 0; // Failed: the answer's HTTP status, 0 when none came +}; +void account_relay_change_start(bool direct, int timeout_ms = 8000); +RelayChange account_relay_change(); + // All of these talk to the server (blocking, host thread) and fill `error` // with the server's message when they fail. diff --git a/src/net/sign_in_check.h b/src/net/sign_in_check.h index d3a781db..673f1389 100644 --- a/src/net/sign_in_check.h +++ b/src/net/sign_in_check.h @@ -12,7 +12,13 @@ // // A known token's answer also carries the account's last connection test // (NatTest: {Verdict, TestedAt, Inbound?, Port?}, or null), which the setup -// window's Connection card shows (net/nat_check.h). +// window's Connection card shows (net/nat_check.h), and its relay switch +// (RelayDirect: true when the player turned the relay off, on the website's +// account page or with the card's switch). +// +// The switch itself: POST /auth/profile {Token, RelayDirect} (a field left +// out stays as it is) answers {ResKind 0, ..., RelayDirect} with what the +// account holds now, or {ResKind 1, Message} - read_profile_reply. #pragma once #include "replay/json.h" @@ -36,6 +42,12 @@ struct NatTestRecord { int port = 0; // the P2P port it ran from (with inbound) }; +// The account's relay switch as the server tells it (RelayDirect). +struct RelaySwitch { + bool known = false; // the server said (one from before the switch does not) + bool direct = false; // the relay is off: co-op and PvP connect directly +}; + struct SignInReply { SignInVerdict verdict = SignInVerdict::Unchecked; std::string name; // Valid: the account's name, as the server spells it @@ -43,12 +55,21 @@ struct SignInReply { std::string why; // Refused: the server's Message; Unchecked: what came instead long status = 0; // the HTTP status, 0 when no answer came NatTestRecord nat_test; // Valid: the account's last connection test, when it has one + RelaySwitch relay; // Valid: the account's relay switch }; namespace sign_in_detail { inline const json::Value* field(const json::Value& v, const char* key) { return v.type == json::Value::Type::Object ? v.find(key) : nullptr; } +inline RelaySwitch relay_of(const json::Value& v) { + RelaySwitch r; + if (const json::Value* d = field(v, "RelayDirect"); d && d->type == json::Value::Type::Bool) { + r.known = true; + r.direct = d->boolean; + } + return r; +} } // namespace sign_in_detail inline SignInReply read_sign_in_reply(long status, const std::string& body, const std::string& transport_error) { @@ -88,6 +109,7 @@ inline SignInReply read_sign_in_reply(long status, const std::string& body, cons r.verdict = SignInVerdict::Valid; r.name = id->string; if (const json::Value* e = field(v, "ExpiresAt"); e && e->type == json::Value::Type::Number) r.expires_at = e->number; + r.relay = sign_in_detail::relay_of(v); if (const json::Value* n = field(v, "NatTest"); n && n->type == json::Value::Type::Object) { const json::Value* verdict = field(*n, "Verdict"); const json::Value* at = field(*n, "TestedAt"); @@ -103,4 +125,47 @@ inline SignInReply read_sign_in_reply(long status, const std::string& body, cons return r; } +// The server's answer to the relay switch (POST /auth/profile {Token, +// RelayDirect}): taken, with the switch as the account holds it now; or not, +// and why - the server's Message ("no such token": the sign-in is no longer +// taken), or what came back instead of an answer. +struct ProfileReply { + bool ok = false; + bool refused = false; // the token is no longer known: a new sign-in is needed + RelaySwitch relay; // ok: the switch now + std::string why; // !ok: the reason, in the server's words where it gave some + long status = 0; // the HTTP status, 0 when no answer came +}; + +inline ProfileReply read_profile_reply(long status, const std::string& body, const std::string& transport_error) { + using sign_in_detail::field; + ProfileReply r; + r.status = transport_error.empty() ? status : 0; + if (!transport_error.empty() || status <= 0) { + r.why = transport_error.empty() ? std::string("no answer") : transport_error; + return r; + } + json::Value v; + std::string perr; + const json::Value* kind = json::parse(body, v, perr) ? field(v, "ResKind") : nullptr; + if (!kind || kind->type != json::Value::Type::Number) { + r.why = "this server has no account settings (HTTP " + std::to_string(status) + ")"; + return r; + } + if (kind->number != 0 || status < 200 || status >= 300) { + const json::Value* msg = field(v, "Message"); + r.why = msg && msg->type == json::Value::Type::String && !msg->string.empty() ? msg->string : "HTTP " + std::to_string(status); + r.refused = kind->number != 0 && r.why == "no such token"; + return r; + } + r.relay = sign_in_detail::relay_of(v); + if (!r.relay.known) { + // A server that takes the profile but has no relay switch. + r.why = "this server has no relay switch"; + return r; + } + r.ok = true; + return r; +} + } // namespace net diff --git a/tests/sign_in_check_test.cpp b/tests/sign_in_check_test.cpp index 6fdeede8..4065f2cb 100644 --- a/tests/sign_in_check_test.cpp +++ b/tests/sign_in_check_test.cpp @@ -1,5 +1,6 @@ // The sign-in check's reading of the server's answer to POST /auth/whoami -// (net/sign_in_check.h): a token the account service knows, one it does not +// (net/sign_in_check.h), and of POST /auth/profile's to the relay switch: a +// token the account service knows, one it does not // (its refusal comes as HTTP 200 with ResKind 1, or as the NP surfaces' 401), // and everything that is no verdict on the token - no answer, a busy server // (429, 5xx, even in the service's own words), a server without the account @@ -105,6 +106,46 @@ void nat_test() { "a refusal carries none"); } +// whoami's RelayDirect: the account's relay switch (true: the player turned +// the relay off), the setup window's Relay row - and a server without it. +void relay_direct() { + const net::SignInReply off = read(200, R"({"ResKind":0,"OnlineId":"Hunter","ModdedSummons":true,"RelayDirect":true,"NatTest":null})"); + check(off.relay.known && off.relay.direct, "RelayDirect true: the relay is off"); + const net::SignInReply on = read(200, R"({"ResKind":0,"OnlineId":"Hunter","RelayDirect":false})"); + check(on.relay.known && !on.relay.direct, "RelayDirect false: the relay is on"); + check(!read(200, R"({"ResKind":0,"OnlineId":"Hunter"})").relay.known, "a server without the switch: not known"); + check(!read(200, R"({"ResKind":0,"OnlineId":"Hunter","RelayDirect":1})").relay.known, "not a bool: not known"); + check(!read(200, R"({"ResKind":0,"OnlineId":"Hunter","RelayDirect":"true"})").relay.known, "a string: not known"); + check(!read(200, R"({"ResKind":1,"Message":"no such token","RelayDirect":true})").relay.known, "a refusal carries none"); +} + +// POST /auth/profile {Token, RelayDirect}'s answer: what the account holds +// now, or why not. +void profile_reply() { + const net::ProfileReply ok = net::read_profile_reply( + 200, R"({"ResKind":0,"OnlineId":"Hunter","ProfilePublic":true,"ShowDiscord":false,"ModdedSummons":true,"RelayDirect":true})", ""); + check(ok.ok && ok.relay.known && ok.relay.direct && ok.why.empty() && ok.status == 200, "taken: the relay is off now"); + const net::ProfileReply back = net::read_profile_reply(200, R"({"ResKind":0,"OnlineId":"Hunter","RelayDirect":false})", ""); + check(back.ok && back.relay.known && !back.relay.direct, "taken: the relay is on now"); + const net::ProfileReply gone = net::read_profile_reply(200, R"({"ResKind":1,"Message":"no such token"})", ""); + check(!gone.ok && gone.refused && gone.why == "no such token", "a token the server no longer knows: refused, a new sign-in needed"); + const net::ProfileReply other = net::read_profile_reply(200, R"({"ResKind":1,"Message":"slow down"})", ""); + check(!other.ok && !other.refused && other.why == "slow down", "another refusal: its words, the sign-in still good"); + const net::ProfileReply none = net::read_profile_reply(0, "", "Couldn't connect to server"); + check(!none.ok && !none.refused && none.why == "Couldn't connect to server" && none.status == 0, "no answer: the transport's words"); + check(net::read_profile_reply(0, "", "").why == "no answer", "no status and no error: no answer"); + const net::ProfileReply old = net::read_profile_reply(404, R"({"detail":"Not Found"})", ""); + check(!old.ok && old.why == "this server has no account settings (HTTP 404)", "a server without /auth/profile"); + check(!net::read_profile_reply(200, "", "").ok, "not JSON"); + const net::ProfileReply busy = net::read_profile_reply(503, R"({"ResKind":0,"RelayDirect":true})", ""); + check(!busy.ok && busy.why == "HTTP 503", "ResKind 0 on a 503 is no answer"); + const net::ProfileReply nosw = net::read_profile_reply(200, R"({"ResKind":0,"OnlineId":"Hunter","ShowDiscord":false})", ""); + check(!nosw.ok && nosw.why == "this server has no relay switch", "taken, but no relay switch to set"); + check(!net::read_profile_reply(200, R"({"ResKind":0,"RelayDirect":"yes"})", "").ok, "RelayDirect not a bool"); + check(!net::read_profile_reply(200, R"({"ResKind":1,"Message":"no such token"})", "Recv failure").refused, + "a transport error wins over a body"); +} + } // namespace int main() { @@ -112,6 +153,8 @@ int main() { refused(); unchecked(); nat_test(); + relay_direct(); + profile_reply(); if (g_fail) { std::printf("%d failed\n", g_fail); return 1; From ba4f57a0301a381935febe43d4d11899f6f33c90 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:04:55 -0800 Subject: [PATCH 040/100] online: the connection test finds this PC's own address, and whether another program has a UDP port Two things the Connection card needs to say what to do: - This PC's address on its network - the one a router forwards a port to. The test's own socket stays unconnected (the port check's answer comes from a port it never sent to), so before sending, a second UDP socket is connected to the server's first test port - which sends nothing - and getsockname says which address the system takes toward it (ProbeResult::local_addr). It is shown on the card, never logged: the log line stays as it was, with no addresses. - port_taken(port): whether a socket could have the port now, bound alone as the test and the game bind it (SO_EXCLUSIVEADDRUSE on Windows, no SO_REUSEADDR), for the P2P port setting to refuse a port another program has before it takes it. tests/nat_check_test.cpp: the address toward the loopback test server, and toward 127.0.0.2 - reached from 127.0.0.1, the system's choice rather than the server's address; a port held by another socket is taken, free once it is closed, and one held for sharing (SO_REUSEADDR) is taken too. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- src/net/nat_check.h | 11 +++++++++- src/net/nat_probe.cpp | 46 ++++++++++++++++++++++++++++++++++++++++ tests/nat_check_test.cpp | 15 +++++++++++++ 3 files changed, 71 insertions(+), 1 deletion(-) diff --git a/src/net/nat_check.h b/src/net/nat_check.h index b1e159b4..6188847f 100644 --- a/src/net/nat_check.h +++ b/src/net/nat_check.h @@ -80,6 +80,8 @@ struct ProbeResult { int send_error_code = 0; // the first refusal's error (errno, WSAGetLastError) std::string send_error; // ... in the system's words bool send_denied = false; // ... a permission error: a firewall's or a security program's refusal + std::uint32_t local_addr = 0; // this PC's own address toward the server, network byte order (0 unknown): + // the one a router forwards to; shown on the card, never logged }; struct ProbeParams { @@ -91,7 +93,9 @@ struct ProbeParams { }; // The exchange, from a socket bound to `local_port` alone (never shared: a -// game that has the port makes it PortInUse). Requests to every test port, +// game that has the port makes it PortInUse). First this PC's own address +// toward the server: another socket, connected there - which sends nothing - +// tells which one the system takes. Requests to every test port, // each sent again while unanswered (at 0, 0.3, 0.8, 1.6, 2.8 and 4.2 s), and // the port check's, again while its second answer has not come (at 0, 0.5 // and 1.2 s, and at 2.8 and 4.2 s while not even its usual answer has), until @@ -101,6 +105,11 @@ struct ProbeParams { // ends there. net/nat_probe.cpp. ProbeResult probe(const ProbeParams& p); +// Whether a socket could have UDP `port` now, bound alone as the test and the +// game bind it: "" when it could, else the system's words (another program has +// it). The P2P port setting asks before it takes a new port. net/nat_probe.cpp. +std::string port_taken(std::uint16_t port); + // What the answers say, without the server's word. inline Verdict verdict_of(const ProbeResult& r) { if (r.error != ProbeResult::Error::None || r.at.empty()) return Verdict::None; diff --git a/src/net/nat_probe.cpp b/src/net/nat_probe.cpp index 09c5eb92..cb3da341 100644 --- a/src/net/nat_probe.cpp +++ b/src/net/nat_probe.cpp @@ -143,6 +143,22 @@ ProbeResult probe(const ProbeParams& p) { r.error_text = error_text(e); return r; } + // This PC's own address toward the server, the one a router forwards to: + // the address the system gives a socket connected there (connecting a UDP + // socket sends nothing). The test's own socket stays unconnected - the + // port check's answer comes from a port it never sent to. + if (const Sock q = ::socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); q != kNoSock) { + sockaddr_in to{}; + to.sin_family = AF_INET; + to.sin_addr.s_addr = p.server; + to.sin_port = htons(p.ports[0]); + sockaddr_in me{}; + AddrLen me_len = sizeof(me); + if (::connect(q, reinterpret_cast(&to), sizeof(to)) == 0 && + ::getsockname(q, reinterpret_cast(&me), &me_len) == 0 && me.sin_family == AF_INET) + r.local_addr = me.sin_addr.s_addr; + close_sock(q); + } std::vector plain(p.ports.size()); for (std::size_t i = 0; i < plain.size(); ++i) { @@ -250,4 +266,34 @@ ProbeResult probe(const ProbeParams& p) { return r; } +std::string port_taken(std::uint16_t port) { +#if defined(_WIN32) + WSADATA wsa{}; + const bool wsa_ok = ::WSAStartup(MAKEWORD(2, 2), &wsa) == 0; + struct Cleanup { + bool on; + ~Cleanup() { + if (on) ::WSACleanup(); + } + } cleanup{wsa_ok}; +#endif + const Sock s = ::socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); + if (s == kNoSock) return {}; // nothing to tell by: the test says it +#if defined(_WIN32) + BOOL one = TRUE; + ::setsockopt(s, SOL_SOCKET, SO_EXCLUSIVEADDRUSE, reinterpret_cast(&one), sizeof(one)); +#endif + sockaddr_in local{}; + local.sin_family = AF_INET; + local.sin_port = htons(port); + local.sin_addr.s_addr = htonl(INADDR_ANY); + std::string why; + if (::bind(s, reinterpret_cast(&local), sizeof(local)) != 0) { + const int e = last_error(); + if (in_use(e)) why = error_text(e); + } + close_sock(s); + return why; +} + } // namespace net::nat diff --git a/tests/nat_check_test.cpp b/tests/nat_check_test.cpp index 9d260c27..316897da 100644 --- a/tests/nat_check_test.cpp +++ b/tests/nat_check_test.cpp @@ -226,6 +226,7 @@ void exchange_cases() { CHECK(r.at.size() == 2 && r.at[0].got && r.at[1].got); CHECK(r.at[0].port == local && r.at[1].port == local); CHECK(r.at[0].addr == htonl(INADDR_LOOPBACK)); + CHECK(r.local_addr == htonl(INADDR_LOOPBACK)); // this PC's own address toward the server: loopback's here CHECK(net::nat::verdict_of(r) == Verdict::Direct); CHECK(r.change_answered && r.change_offered && r.offered_port == s.port[2]); CHECK(r.reached && r.reached_from == s.port[2]); @@ -235,6 +236,16 @@ void exchange_cases() { CHECK(r.sent == 3 && r.refused == 0 && r.send_error.empty()); CHECK(net::nat::public_ports(r) == "public port " + std::to_string(local) + " at both test ports, the game's own"); } + { // this PC's own address toward the server is the system's choice for that destination, not the server's + // (127.0.0.2 is reached from 127.0.0.1); nothing answers there + net::nat::ProbeParams p; + p.server = htonl(0x7F000002u); + p.ports = {3479, 3480}; + p.local_port = free_port(); + p.deadline_ms = 100; + const ProbeResult r = net::nat::probe(p); + CHECK(r.local_addr == htonl(INADDR_LOOPBACK)); + } { // a new port per destination; the router drops the second answer Server s; s.mapping = Server::Mapping::NewPort; @@ -367,7 +378,10 @@ void exchange_cases() { CHECK(r.error == ProbeResult::Error::PortInUse); CHECK(net::nat::verdict_of(r) == Verdict::None); CHECK(s.requests == 0); + // the P2P port setting asks the same before it takes a port + CHECK(!net::nat::port_taken(taken).empty()); ::close(holder); + CHECK(net::nat::port_taken(taken).empty()); // a holder that would share it (SO_REUSEADDR): never shared from here const int sharer = ::socket(AF_INET, SOCK_DGRAM, 0); const int one = 1; @@ -379,6 +393,7 @@ void exchange_cases() { p.local_port = port_of(sharer); CHECK(net::nat::probe(p).error == ProbeResult::Error::PortInUse); CHECK(s.requests == 0); + CHECK(!net::nat::port_taken(p.local_port).empty()); ::close(sharer); } { // cancelled: over at once From f381a1a6049b0d94f7f5395139047b7960b1e3b2 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:05:03 -0800 Subject: [PATCH 041/100] setup: the Connection card in a player's words - one headline, what it means, what to do - with the P2P port and the relay switch under it The card was accurate but dense: lines about public ports, test ports, saved or not, and "Incoming". It now says, for every reading of a finished test (net/nat_check.h card_of; each reading keeps its own headline, so F10's line, which repeats the headline in its colour, keeps them apart too): - one headline beside a status icon - a check (all is well), a warning, or a problem (a cross; Warning and Check had no third) - in plain words: "Online play works directly", "Online play works through the relay", "Something is blocking bbhost" (no answer, not told apart yet), "Online play is blocked" (the server saw nothing), "Answers aren't reaching bbhost", "Something on this PC is blocking bbhost" (every send refused), "A VPN or proxy may be in the way", "The test was incomplete", and the tests that could not run; - one sentence on what it means for co-op and PvP; - the one thing to do, when there is something: allow bbhost.exe in the firewall or antivirus; sign in and test again to find out which; turn off the VPN; close the game or choose another port; - whether other hunters can get in, for a direct result: "can connect to you directly, even those whose routers change ports", or "can't ..., so they reach you through the relay" followed by the steps that let them in: in the router's settings, forward UDP port to this PC (); allow bbhost.exe in Windows Firewall (Private and Public) - elsewhere, allow the port in the firewall if there is one; then press Test again. No router step when the PC holds the public address itself; no steps behind a router that changes ports, where forwarding does not help; - Details, closed until opened: the port and the public port the server saw, the port check, when and whether it was kept (or this PC's own reading), the server's verdict beside this PC's, refused sends, this PC's address. The account's last test (whoami's NatTest) reads the same way until a test runs here; from another PC, another port or the website it asks for a test of this PC. A result from a port the setting no longer names asks for a new test. Under the result: - P2P port (online.p2p_port, 9307 by default): "The UDP port other hunters reach this PC on. Forward this port on your router. Two copies of bbhost on one PC need different ports." It takes 1024-65535, refuses the server's test ports and a port another program has (port_taken), with why; the next test runs from it at once, Save or Play keeps it in bbhost.toml, and the game opens it as it starts, so a change made while the game runs applies from its next start. - Relay, signed in on a server with the switch: On (works on every network) or Off (direct connections only; your router must let other hunters in) - the account's setting, read from the sign-in check, its bubble in the website's own words. Off goes at once after a test that showed a direct result with incoming open; otherwise the card says why it may fail and gives the steps, and asks again ("Turn it off anyway", or "Keep the relay"). On is always one press. The change is read back from the server; a failure says why. - Turned off while other hunters cannot get in - incoming closed, or a router that changes ports - the headline says "Other hunters may not reach you with the relay off", with the steps (forward the port, or turn the relay back on) and the switch right under them. The log line is unchanged, with no addresses. docs/online.md has the headlines in a table, the steps, the port setting and the switch; bbhost.example.toml and the first-start template name the port as the one to forward. Test hooks for the pictures: natfake:DIR:NAME[+off|+on] shows the card for a made-up result of each kind (net/nat_examples.h; nothing is sent); relay:DIR and relayfail:DIR walk the switch; portset:DIR:PORTS types ports into the field; nattest: and natcard: save the card with Details open too. Checked in a router namespace on Linux against the server's own code (65eaa42), signed in and out: a router that keeps ports with incoming closed (the steps, naming the PC's address there) and with UDP 9875 forwarded (incoming open; the switch goes off at once); one that changes ports (the switch's warning without steps); UDP dropped both ways, answers dropped on the way back, the sends refused, the port held, one test port's answers dropped, TCP leaving from another address, a test server that does not resolve; the switch off, its warning card, back on, and a server out of reach. On Windows 11, cross-built and dropped into the c793c825 package: a test against a LAN listener of the server's own code read "Online play works directly" with incoming open; a made-up closed port showed the Windows Firewall step; the links logged their addresses. The files this changes build with the same warnings as before. tests/nat_check_test.cpp: the table of every kind's status, headline and action word for word; the steps, the router and firewall words, incoming, Details lines (and what they must not say), the record, the card before a test, the relay switch's effect, its guard, the port setting's check. 97 hand mutants of the connection test's logic and this branch's (the readings, the card's words and steps, the relay switch's guard and answers, the port setting, the links) each fail one of the three tests. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 5 +- bbhost.example.toml | 4 + docs/online.md | 96 ++++--- src/core/config.cpp | 5 +- src/host/launcher.cpp | 537 +++++++++++++++++++++++++++++++++------ src/host/launcher_ui.cpp | 25 ++ src/host/launcher_ui.h | 4 + src/host/options.cpp | 34 ++- src/net/nat_check.h | 492 +++++++++++++++++++++++++---------- src/net/nat_examples.h | 90 +++++++ src/net/nat_job.cpp | 4 - src/net/nat_job.h | 10 +- tests/nat_check_test.cpp | 449 ++++++++++++++++++++++---------- 13 files changed, 1350 insertions(+), 405 deletions(-) create mode 100644 src/net/nat_examples.h diff --git a/CMakeLists.txt b/CMakeLists.txt index ab04fa69..75422042 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -928,8 +928,9 @@ if(UNIX) # The setup window's connection test (net/nat_check.h): the exchange from a # port against a test server of its own on loopback - a router that keeps # one port, one that changes it, none answering, the first seconds held, - # every send refused, the port check open, closed and absent - the server's - # answers read, and the card's words for each reading (~25 s of waits). + # every send refused, the port check open, closed and absent, this PC's own + # address - the server's answers read, and the card's words for each + # reading, the relay switch's and the P2P port's (~25 s of waits). add_executable(nat_check_test tests/nat_check_test.cpp src/net/nat_probe.cpp src/net/stun.cpp src/replay/json.cpp) target_include_directories(nat_check_test PRIVATE src) target_link_libraries(nat_check_test PRIVATE Threads::Threads) diff --git a/bbhost.example.toml b/bbhost.example.toml index ddc1f2d4..224d1b07 100755 --- a/bbhost.example.toml +++ b/bbhost.example.toml @@ -29,6 +29,10 @@ online_id = "Hunter" # The server's two connection-test ports, at the STUN server's host (the # setup window's Connection card). Default: the server's own, 3479 and 3480. # nat_test_ports = "3479,3480" +# The UDP port other players reach this PC on (P2P): the port to forward on +# your router for direct connections (the setup window's Connection card sets +# it, 1024-65535). Two copies of bbhost on one PC need different ports. +# p2p_port = 9307 # true: the game is signed out until this PC is signed in on the F10 # screen (Account section), and the account's name is the online id. The # live server plays only with signed-in players. diff --git a/docs/online.md b/docs/online.md index 91ceff3f..940bea04 100644 --- a/docs/online.md +++ b/docs/online.md @@ -63,49 +63,75 @@ seconds - up to about six when nothing comes back, sending again meanwhile so that a security program holding the first packets while it asks about bbhost.exe does not spoil the result. -- It sends STUN requests from the P2P port to the server's two test ports - (3479 and 3480 at the STUN server's host; `online.nat_test_ports` for a - server of your own) and reads the public address and port each one saw: - - **Direct connections: yes, your router keeps one port** - the same public - port at both: other players can connect to this PC directly. - - **You'll use the relay: your router changes ports per destination** - a - different port (or address) at each, as symmetric and many carrier-grade - NATs do: a direct connection fails, and the relay carries the session. - - **No answer reached bbhost** - nothing came back. On its own the PC - cannot tell whether its requests got out or the answers were stopped on - the way back; signed in, the server tells which: - - **Nothing from bbhost reached the server** - its test ports saw none of - them. If the website's test passes, the network is fine and a firewall, - antivirus or VPN on this PC is blocking bbhost.exe: allow it and test - again, as online play needs it. If the website's test fails too, the - network blocks UDP (school and work networks can). - - **The server hears bbhost, but its answers don't reach it** - the server - saw the requests, and its answers were stopped on the way back, most - likely by a firewall or antivirus on this PC: allow bbhost.exe there and - test again. - - **This PC did not let bbhost send** - the system refused every request - (the card gives its error): allow bbhost.exe in the firewall or antivirus. - - The website's test is the browser's own packets, and the server counts - what reaches it, so it can pass while something on the PC stops - bbhost.exe's - the packets the game itself sends. +The card says the result in one headline with its status (a check, a +warning or a problem), one sentence on what it means for co-op and PvP, and +the one thing to do when there is something: + +| Headline | What it means | What to do | +|---|---|---| +| **Online play works directly** | the same public port at both test ports: other players can connect to this PC without the relay | nothing; with incoming closed, the steps to forward the port (below) | +| **Online play works through the relay** | a different port (or address) at each, as symmetric and many carrier-grade NATs do: sessions go through the relay, with a little more delay | nothing (not signed in: sign in and test again, so the server knows to relay you) | +| **Something is blocking bbhost** | nothing came back: something on this PC (a firewall or antivirus) or the network stops bbhost's packets or the answers | sign in and test again to find out which - the server tells | +| **Online play is blocked** | signed in, the server saw none of bbhost's packets | allow bbhost.exe in the firewall or antivirus; if the website's test fails too, the network blocks online play (school and work networks can) | +| **Answers aren't reaching bbhost** | the server heard bbhost, but none of its answers came back - most likely a firewall or antivirus on this PC | allow bbhost.exe in the firewall or antivirus | +| **Something on this PC is blocking bbhost** | the system refused every packet bbhost tried to send (a permission error) | allow bbhost.exe in the firewall or antivirus | +| **This PC couldn't send anything** | the system refused every packet for another reason (no network) | check the internet connection, then the firewall | +| **A VPN or proxy may be in the way** | the test ports answered, but the server saw none of it from the address the sign-in came from (a VPN or a proxy for web traffic) | turn off the VPN or proxy | +| **The test was incomplete** | one test port answered: a lost packet, most likely | test again | +| **The game's port is in use** / **The test couldn't use UDP port ...** / **The test server wasn't found** | the test could not run | close the game, choose another P2P port, check the connection | + - **Incoming**, the port check: one more request asks the server to answer from a third port, which the game never sent anything to. When that answer arrives, the router and this PC's firewall let in a packet nobody asked for (a forwarded port, or a router that does not filter by port), so even - players whose routers change ports can connect directly. Closed is common - and fine: those players reach you through the relay instead. A server - without the check says so. + players whose routers change ports can connect directly. Closed, those + players reach you through the relay instead, and the card gives the steps + that let them in: forward the UDP port to this PC in the router's settings + - with the PC's address on its network, the one the test's requests left + from - allow bbhost.exe in Windows Firewall (Private and Public), and test + again. Behind a router that changes ports, forwarding does not help and + the card leaves it out. A server without the check says so. +- **Details** opens the technical lines: the port the test ran from and the + public port the server saw, the port check, when, whether the result was + kept for your account (or is this PC's own reading), the server's verdict + beside this PC's when they differ, refused sends, and the PC's address on + its network. - Signed in, the server classifies what it saw from your address and keeps the result for your account, as the website's account page test does, and a server that relays only the players who need it relays you when the result says so. Not signed in, the card shows this PC's own reading, not - saved. The server takes 10 tests an hour per account. -- The card says what the result means, the port the test ran from, and when - your account's last test ran (also one taken on the website). F10's Game - page repeats the verdict when the setup window opened before the game. The - log has one line per test (`connection test: ...`): the result, how many - requests went out and how many the system refused (with its first error), - and no addresses. + saved. The server takes 10 tests an hour per account. Before a test runs + in this window, the card shows your account's last one (also one taken on + the website). +- F10's Game page repeats the card's headline, in its colour, when the setup + window opened before the game. The log has one line per test + (`connection test: ...`): the result, how many requests went out and how + many the system refused (with its first error), and no addresses. + +### The P2P port + +Under the result, **P2P port** (`online.p2p_port`, 9307 by default) is the +UDP port other players reach this PC on: the one to forward on the router. +It takes 1024 to 65535, not the server's test ports, and not a port another +program has (two copies of bbhost on one PC need different ports). The next +test runs from it at once; Save or Play keeps it, and the game opens it as it +starts, so a change made while the game runs applies from its next start. + +### The relay switch + +Signed in, **Relay** is your account's own setting, the same as the +website's account page has: **On** (the default) works on every network, as +co-op and PvP go through the server's relay; **Off** connects directly, which +needs your router to let other players in. Players who keep the relay still +reach you through it, and everyone who plays from your connection (your home +network) needs it off for it to apply. Turning it off after a test that +showed a direct result with incoming open takes one click; otherwise the +card says why it may not work and gives the port-forwarding steps, and asks +again (**Turn it off anyway**, or **Keep the relay**). Turning it back on is +one click. The change goes to the server at once, and the card reads it back +from the server. With the relay off while other players cannot get in, the +card's headline says so - **Other hunters may not reach you with the relay +off** - with the steps and the switch. ## Beyond the console diff --git a/src/core/config.cpp b/src/core/config.cpp index 374c8133..730a1bf9 100755 --- a/src/core/config.cpp +++ b/src/core/config.cpp @@ -1078,8 +1078,9 @@ bool config_write_template(const std::string& path) { "# The host's own calls (rooms, events) go to this API base. Default:\n" "# ://:18671, the same server as the game's own traffic.\n" "# np_server = \"http://127.0.0.1:18671\"\n" - "# The address and UDP port other players reach this host at (P2P). Two\n" - "# instances on one machine need different ports.\n" + "# The address and UDP port other players reach this host at (P2P): the\n" + "# port to forward on your router (the setup window's Connection card sets\n" + "# it, 1024-65535). Two instances on one machine need different ports.\n" "# p2p_addr = \"127.0.0.1\"\n" "p2p_port = 9307\n" "# The STUN server the P2P port asks for the address the world sees it at\n" diff --git a/src/host/launcher.cpp b/src/host/launcher.cpp index 54400200..67c846e7 100644 --- a/src/host/launcher.cpp +++ b/src/host/launcher.cpp @@ -13,6 +13,7 @@ #include "host/options.h" #include "net/account.h" #include "net/http.h" +#include "net/nat_examples.h" #include "net/nat_job.h" #include "host/plugin_ui.h" #include "host/shader_compile.h" @@ -355,6 +356,16 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo double nat_wait_until = 0.0; // ImGui time std::string nat_server; // the server the last test ran against (server_key) bool nat_scroll = false; // bring the card into view (the test hook) + bool nat_details = false; // the card's Details open + // The P2P port setting (online.p2p_port): the next test runs from it at + // once, Save or Play keep it, and the game opens it as it starts. A port + // typed that will not do is refused, with why. + int p2p_port = cfg.p2p_port >= 1024 && cfg.p2p_port <= 65535 ? cfg.p2p_port : 9307; + std::string p2p_port_note; + // The relay switch (signed in, net/account.h): turning it off without a + // test that showed other hunters can get in asks again first. + bool relay_confirm = false; + double relay_asked_at = -100.0; // ImGui time of the last change asked std::mutex devices_mu; std::vector devices; std::atomic devices_ready{false}; @@ -474,12 +485,47 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo const std::string test_shot = test && !std::strncmp(test, "shot:", 5) ? test + 5 : ""; // nattest:DIR runs the connection test as its button does, then saves the // window with the Connection card in view as DIR/connection.png once the - // result is shown, and closes; natcard:DIR saves the card as it opens - // (once the sign-in check has answered), without a test. + // result is shown, and again with its Details open as + // DIR/connection-details.png, and closes; natcard:DIR saves the card as it + // opens (once the sign-in check has answered), without a test. + // natfake:DIR:NAME[+off|+on] shows the card for a made-up finished test of + // the kind NAME (net/nat_examples.h; nothing is sent) - with the account's + // relay switch off or on, when said - as DIR/connection-NAME.png and + // DIR/connection-NAME-details.png. const bool nat_hook_test = test && !std::strncmp(test, "nattest:", 8); - const std::string test_nat = nat_hook_test ? test + 8 : test && !std::strncmp(test, "natcard:", 8) ? test + 8 : ""; + const bool nat_hook_fake = test && !std::strncmp(test, "natfake:", 8); + std::string test_nat = nat_hook_test || nat_hook_fake ? test + 8 : test && !std::strncmp(test, "natcard:", 8) ? test + 8 : ""; + std::string nat_shot_name = "connection"; + net::nat::Outcome nat_fake; + bool nat_fake_on = false; + int nat_fake_relay = 0; // 1 off, -1 on, 0 as the sign-in check has it + if (nat_hook_fake) { + const std::size_t colon = test_nat.rfind(':'); + std::string spec = colon == std::string::npos ? std::string() : test_nat.substr(colon + 1); + if (colon != std::string::npos) test_nat.resize(colon); + nat_shot_name += "-" + spec; + if (const std::size_t plus = spec.find('+'); plus != std::string::npos) { + nat_fake_relay = spec.substr(plus + 1) == "off" ? 1 : spec.substr(plus + 1) == "on" ? -1 : 0; + spec.resize(plus); + } + nat_fake_on = net::nat::example_outcome(spec, cfg.p2p_port >= 1024 && cfg.p2p_port <= 65535 ? cfg.p2p_port : 9307, + static_cast(std::time(nullptr)) - 20, &nat_fake); + if (!nat_fake_on) host_log("setup: natfake: no example called %s", spec.c_str()); + } int nat_hook_stage = 0; // 0 waiting to start, 1 testing, 2 the result shown, 3 saved double nat_hook_at = 0.0; + // relay:DIR walks the relay switch, signed in: the card as it opens + // (DIR/relay-1-start.png), Off pressed - the warning up, when this PC's + // last test did not show that others can get in (relay-2-warning.png), and + // "Turn it off anyway" pressed - the card once the server has it + // (relay-3-off.png), On pressed and the card again (relay-4-on.png). + // relayfail:DIR presses Off with the account server out of reach and saves + // what the switch says then (relay-fail.png). + const bool relay_hook_fail = test && !std::strncmp(test, "relayfail:", 10); + const std::string test_relay = relay_hook_fail ? test + 10 : test && !std::strncmp(test, "relay:", 6) ? test + 6 : ""; + int relay_hook_step = 0; + double relay_hook_at = 0.0; + int relay_press = 0; // the hook's press: 1 Off, 2 "Turn it off anyway", 3 On // links:DIR puts the pointer on each of the sidebar's links in turn, saves // the window with its bubble as DIR/link-discord.png and // DIR/link-website.png, and presses it - which in a test's window logs the @@ -488,13 +534,31 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo int links_step = 0; double links_at = 0.0; ImVec2 link_mid[2] = {ImVec2(-FLT_MAX, -FLT_MAX), ImVec2(-FLT_MAX, -FLT_MAX)}; + // portset:DIR:PORT[,PORT...] types each port into the P2P port field as a + // player would and saves the card as DIR/port-PORT.png: taken, or refused + // with why; then closes. + std::vector port_hook; + std::string test_port; + if (test && !std::strncmp(test, "portset:", 8)) { + test_port = test + 8; + const std::size_t colon = test_port.rfind(':'); + std::string list = colon == std::string::npos ? std::string() : test_port.substr(colon + 1); + if (colon != std::string::npos) test_port.resize(colon); + for (std::size_t at = 0; at < list.size();) { + const std::size_t comma = std::min(list.find(',', at), list.size()); + port_hook.push_back(std::atoi(list.substr(at, comma - at).c_str())); + at = comma + 1; + } + } + std::size_t port_hook_next = 0; + double port_hook_at = 0.0; // A test hook's picture, saved once the frame is drawn ("" none). std::string hook_shot; double hook_shot_at = 0.0; int shot = 0; // the picture being waited for: a page, then the bubble double shot_at = 1.2; ImVec2 patch_row_at(-FLT_MAX, -FLT_MAX); // a row's middle, for the bubble - if (!test_shot.empty() || !test_nat.empty()) page = kPageGame; + if (!test_shot.empty() || !test_nat.empty() || !test_relay.empty() || !test_port.empty()) page = kPageGame; // The account section's fields (never saved: the name is the account's, // the recovery code is typed once to recover). @@ -532,7 +596,7 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo net::nat::JobParams p; p.host = net::nat::test_host(); p.ports = net::nat::parse_ports(config().nat_test_ports); - p.p2p_port = cfg.p2p_port > 0 ? cfg.p2p_port : 9307; + p.p2p_port = p2p_port; if (net::account_logged_in() && !net::account_refused()) p.token = net::account_token(); p.save_url = net::auth_server_base() + "/auth/nat_test"; if (nat_job.start(p)) nat_server = server_key(); @@ -591,6 +655,7 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo e.push_back({"online", "verify_tls", (custom ? verify_tls : kServers[server].verify_tls) ? "true" : "false"}); e.push_back({"online", "require_account", (custom ? require_account : kServers[server].require_account) ? "true" : "false"}); if (!custom) e.push_back({"online", "auth_server", toml_string(kServers[server].auth_server)}); + e.push_back({"online", "p2p_port", std::to_string(p2p_port)}); e.push_back({"update", "check", check_updates ? "true" : "false"}); if (!f[kToken].str().empty()) e.push_back({"update", "token_file", toml_string(saved_path(f[kToken].str()))}); e.push_back({"startup", "setup_window", show_every_start ? "true" : "false"}); @@ -635,6 +700,27 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo return true; }; + // A port typed into the P2P port field: taken - the next test runs from it, + // Save or Play keeps it - or refused, with why. + auto take_p2p_port = [&](int typed) { + if (typed == p2p_port) { + p2p_port_note.clear(); + return; + } + std::string why = net::nat::p2p_port_problem(typed, net::nat::parse_ports(config().nat_test_ports)); + if (why.empty()) { + if (const std::string t = net::nat::port_taken(static_cast(typed)); !t.empty()) + why = "Another program has UDP port " + std::to_string(typed) + " (" + t + "): choose another."; + } + if (why.empty()) { + host_log("setup: P2P port %d (was %d)", typed, p2p_port); + p2p_port = typed; + p2p_port_note.clear(); + } else { + host_log("setup: P2P port %d refused: %s", typed, why.c_str()); + p2p_port_note = why; + } + }; // A link's button (host/links.h): its address in the browser - in a // test's window, only the log says which it would open. auto open_link = [&](const links::Link& l) { @@ -816,14 +902,51 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo // The card's result is the last test's while the server chosen is the // one it ran against; else the account's last test (the sign-in // check's), which F10 repeats in the game. - const bool nat_ours = nat_view.finished && nat_server == server_key(); + const bool nat_ours = (nat_view.finished && nat_server == server_key()) || nat_fake_on; + const net::nat::Outcome& nat_outcome = nat_fake_on ? nat_fake : nat_view.outcome; const net::AccountCheck nat_check = net::account_check(); const bool nat_record = !nat_view.running && !nat_ours && nat_check.state == net::AccountCheckState::Valid && nat_check.nat_test.present; + net::nat::Record nat_rec; if (nat_record) - net::nat::remember(net::nat::Remembered{true, net::nat::verdict_from_word(nat_check.nat_test.verdict), - net::nat::inbound_from_word(nat_check.nat_test.inbound), - nat_check.nat_test.tested_at, true, {}, {}}); + nat_rec = net::nat::Record{net::nat::verdict_from_word(nat_check.nat_test.verdict), + net::nat::inbound_from_word(nat_check.nat_test.inbound), nat_check.nat_test.port, + nat_check.nat_test.tested_at}; + // The card's words (net/nat_check.h), every frame whatever the page: + // F10 repeats them in the game. + net::nat::CardContext nat_cx; + nat_cx.now = static_cast(std::time(nullptr)); + nat_cx.p2p_port = p2p_port; + if (nat_check.state == net::AccountCheckState::Valid && nat_check.relay.known) + nat_cx.relay = nat_check.relay.direct ? net::nat::RelaySetting::Off : net::nat::RelaySetting::On; + if (nat_fake_relay) nat_cx.relay = nat_fake_relay > 0 ? net::nat::RelaySetting::Off : net::nat::RelaySetting::On; + const net::nat::Card nat_card = nat_ours ? net::nat::card_of(nat_outcome, nat_cx) + : nat_record ? net::nat::card_of_record(nat_rec, nat_cx) + : net::nat::card_untested(nat_cx, net::account_logged_in()); + if (nat_ours && !nat_fake_on && nat_card.reading != net::nat::Reading::Cancelled) + net::nat::remember(net::nat::Remembered{true, nat_outcome.at, nat_outcome.saved(), nat_card}); + else if (nat_record) + net::nat::remember(net::nat::Remembered{true, nat_rec.at, true, nat_card}); + // This PC's last test, for the relay switch: what it found, and the + // address and router its steps name. + bool nat_tested = false, nat_router = true; + net::nat::Verdict nat_tested_v = net::nat::Verdict::None; + net::nat::Inbound nat_tested_in = net::nat::Inbound::NotTested; + std::string nat_lan; + if (nat_ours && nat_outcome.probe.error == net::nat::ProbeResult::Error::None && nat_outcome.resolved && + nat_outcome.probe.local_port == p2p_port) { + nat_tested = true; + nat_tested_v = nat_card.reading == net::nat::Reading::Direct ? net::nat::Verdict::Direct + : nat_card.reading == net::nat::Reading::Relay ? net::nat::Verdict::Relay + : net::nat::Verdict::Blocked; + nat_tested_in = nat_outcome.inbound; + nat_router = net::nat::behind_router(nat_outcome.probe); + if (nat_outcome.probe.local_addr) nat_lan = net::nat::ipv4_text(nat_outcome.probe.local_addr); + } else if (nat_record && nat_rec.port == p2p_port && nat_rec.inbound != net::nat::Inbound::NotTested) { + nat_tested = true; + nat_tested_v = nat_rec.verdict; + nat_tested_in = nat_rec.inbound; + } const bool can_play = app0_ok && eboot.ok && !compiling && !game && !nat_view.running; bool play = false; const SignIn si = sign_in_state(); @@ -970,6 +1093,123 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo } if (nat_hook_stage == 2) nat_scroll = true; } + if (!test_relay.empty() && ++frames > 30) { + // The relay switch's walk (relay:, relayfail:), a step at a time. + const net::AccountCheck ac = net::account_check(); + const net::RelayChange rc = net::account_relay_change(); + const double now = ImGui::GetTime(); + const bool known = ac.state == net::AccountCheckState::Valid && ac.relay.known; + auto snap = [&](const char* name, int next) { + hook_shot = test_relay + "/" + name + ".png"; + hook_shot_at = now; + relay_hook_step = next; + }; + nat_scroll = true; + switch (relay_hook_step) { + case 0: // the sign-in check's answer, with the switch + if (known) { + host_log("setup: relay test: the switch reads %s", ac.relay.direct ? "off" : "on"); + relay_hook_step = relay_hook_fail ? 10 : 1; + relay_hook_at = now + 1.0; + if (relay_hook_fail) { + // The account server out of reach (nothing listens on port 9 here). + const HostConfig& c = config(); + config_set_online(c.online_host, c.online_scheme, c.online_verify_tls, c.online_require_account, "http://127.0.0.1:9"); + } + } else if (frames > 600) { + host_log("setup: relay test: no relay switch (the sign-in check: %d)", static_cast(ac.state)); + done = true; + } + break; + case 1: + if (now >= relay_hook_at) snap("relay-1-start", 2); + break; + case 2: + relay_press = 1; + relay_hook_step = 3; + relay_hook_at = now + 0.8; + break; + case 3: + if (now < relay_hook_at) break; + if (relay_confirm) { + snap("relay-2-warning", 4); + relay_hook_at = now + 0.6; + } else { + host_log("setup: relay test: off at once (this PC's last test showed others can get in)"); + relay_hook_step = 5; + relay_hook_at = now + 20.0; + } + break; + case 4: + if (now >= relay_hook_at) { + relay_press = 2; + relay_hook_step = 5; + relay_hook_at = now + 20.0; + } + break; + case 5: + case 8: // the server's answer and the check after it + if ((rc.state == net::RelayChangeState::Saved && known && ac.relay.direct == (relay_hook_step == 5)) || + rc.state == net::RelayChangeState::Failed || now > relay_hook_at) { + host_log("setup: relay test: %s; the switch reads %s", rc.state == net::RelayChangeState::Saved ? "saved" : rc.why.c_str(), + known ? (ac.relay.direct ? "off" : "on") : "not known"); + relay_hook_step = relay_hook_step == 5 ? 6 : 9; + relay_hook_at = now + 0.8; + } + break; + case 6: + if (now >= relay_hook_at) snap("relay-3-off", 7); + break; + case 7: + relay_press = 3; + relay_hook_step = 8; + relay_hook_at = now + 20.0; + break; + case 9: + if (now >= relay_hook_at) snap("relay-4-on", 99); + break; + case 10: + if (now >= relay_hook_at) { + relay_press = 1; + relay_hook_step = 11; + } + break; + case 11: + if (relay_confirm) relay_press = 2; + relay_hook_step = 12; + relay_hook_at = now + 20.0; + break; + case 12: + if (rc.state == net::RelayChangeState::Failed || now > relay_hook_at) { + host_log("setup: relay test: %s", rc.state == net::RelayChangeState::Failed ? ("not changed: " + rc.why).c_str() : "no answer"); + relay_hook_step = 13; + relay_hook_at = now + 0.6; + } + break; + case 13: + if (now >= relay_hook_at) snap("relay-fail", 99); + break; + default: break; + } + } + if (!test_port.empty() && ++frames > 30) { + // The ports typed one after another, each saved once shown. + const double now = ImGui::GetTime(); + nat_scroll = true; + if (port_hook_at == 0.0) { + port_hook_at = now + 0.6; + if (port_hook_next < port_hook.size()) take_p2p_port(port_hook[port_hook_next]); + } else if (now >= port_hook_at && hook_shot.empty()) { + if (port_hook_next < port_hook.size()) { + hook_shot = test_port + "/port-" + std::to_string(port_hook[port_hook_next]) + ".png"; + hook_shot_at = now; + ++port_hook_next; + port_hook_at = 0.0; + } else { + done = true; + } + } + } if (!test_links.empty() && ++frames > 30) { // The links' walk: the pointer on each, its bubble saved, pressed. const double now = ImGui::GetTime(); @@ -1411,65 +1651,51 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo ui::card_end(); // The connection test (net/nat_check.h): can other hunters reach - // this PC directly, or does co-op go through the server's relay - - // and does a packet nobody asked for get in. From the game's own - // P2P port, while the game is not running. The result in words, - // what it means, the port it ran from and when; the account's last - // test (the sign-in check's) until one runs here. + // this PC directly, or does co-op go through the server's relay, + // and does a packet nobody asked for get in. One headline with its + // status, what it means, the thing to do and whether others can + // get in; the technical lines under Details. Under them the P2P + // port setting and, signed in, the account's relay switch. ImGui::Dummy(ImVec2(0, gap - st.ItemSpacing.y)); ui::card_begin("##connection", ImVec2(w, 0), "CONNECTION"); { namespace nat = net::nat; - const int p2p = cfg.p2p_port > 0 ? cfg.p2p_port : 9307; - const double now_unix = static_cast(std::time(nullptr)); - const net::AccountCheck& ac = nat_check; - const bool record = nat_record; - std::string head = nat::headline(nat::Verdict::None), meaning = nat::meaning(nat::Verdict::None); - std::string incoming, detail, note; + nat::Card card = nat_card; ImU32 col = ui::kText; ui::Icon icon = ui::Icon::Online; - auto mark = [&](nat::Tone t) { - col = t == nat::Tone::Good ? ui::kGood : t == nat::Tone::Relay ? ui::kIce : t == nat::Tone::Bad ? ui::kBad : ui::kWarn; - icon = t == nat::Tone::Good ? ui::Icon::Check : t == nat::Tone::Relay ? ui::Icon::Info : ui::Icon::Warning; - }; - auto look = [&](nat::Verdict v) { - head = nat::headline(v); - meaning = nat::meaning(v); - mark(nat::tone_of(v)); - }; if (nat_view.running) { - head = "Testing the connection..."; - meaning = std::string(nat_view.step) + " From UDP port " + std::to_string(p2p) + "; a few seconds."; + card = nat::Card{}; + card.head = "Testing the connection..."; + card.sentence = std::string(nat_view.step) + " From UDP port " + std::to_string(p2p_port) + "; a few seconds."; icon = ui::Icon::Refresh; - } else if (nat_ours) { - // What came back to bbhost and what the server saw, in - // words (net/nat_check.h card_of). - const nat::Card c = nat::card_of(nat_view.outcome, now_unix); - head = c.head; - meaning = c.meaning; - incoming = c.incoming; - detail = c.detail; - note = c.note; - mark(c.tone); - } else if (record) { - const nat::Verdict v = nat::verdict_from_word(ac.nat_test.verdict); - look(v); - const nat::Inbound in = nat::inbound_from_word(ac.nat_test.inbound); - if (in != nat::Inbound::NotTested) incoming = nat::inbound_line(in, ac.nat_test.port > 0 ? ac.nat_test.port : p2p, v); - const std::string when = "Your account's last test, " + nat::ago(ac.nat_test.tested_at, now_unix); - detail = ac.nat_test.port == p2p ? when + ", from this PC's P2P port (UDP " + std::to_string(p2p) + ")." - : ac.nat_test.port > 0 ? when + ", from UDP port " + std::to_string(ac.nat_test.port) + - "; this PC's P2P port is UDP " + std::to_string(p2p) + ": test again for it." - : when + ", on the website or from another PC: test again for this PC's own (UDP " + - std::to_string(p2p) + ")."; - } else { - detail = "Runs from UDP port " + std::to_string(p2p) + " (the game's P2P port, online.p2p_port)" + - (si.in ? std::string(" and is kept for your account.") : std::string("; sign in (above) to keep the result for your account.")); + } else if (card.tone == nat::Tone::Good) { + col = ui::kGood; + icon = ui::Icon::Check; + } else if (card.tone == nat::Tone::Warn) { + col = ui::kWarn; + icon = ui::Icon::Warning; + } else if (card.tone == nat::Tone::Bad) { + col = ui::kBad; + icon = ui::Icon::Problem; } const float fh = ImGui::GetFrameHeight(); const ImVec2 at = ImGui::GetCursorScreenPos(); const float right = at.x + ImGui::GetContentRegionAvail().x; - const char* label = nat_view.running ? "Testing..." : (nat_ours || record) ? "Test again" : "Test connection"; + // Numbered steps, each wrapping under its own words. + auto numbered = [&](const std::vector& steps, ImU32 num_col) { + const float num_w = ImGui::CalcTextSize("0.").x + 7 * scale; + for (std::size_t i = 0; i < steps.size(); ++i) { + const ImVec2 p0 = ImGui::GetCursorScreenPos(); + ImGui::SetCursorScreenPos(ImVec2(p0.x + 6 * scale, p0.y)); + ImGui::PushStyleColor(ImGuiCol_Text, num_col); + ImGui::TextUnformatted((std::to_string(i + 1) + ".").c_str()); + ImGui::PopStyleColor(); + ImGui::SameLine(0, 0); + ImGui::SetCursorScreenPos(ImVec2(p0.x + 6 * scale + num_w, p0.y)); + ImGui::TextUnformatted(steps[i].c_str()); + } + }; + const char* label = nat_view.running ? "Testing..." : (nat_ours || nat_record) ? "Test again" : "Test connection"; const float bw = std::max(ImGui::CalcTextSize("Test connection").x, ImGui::CalcTextSize(label).x) + st.FramePadding.x * 4; ImGui::Dummy(ImVec2(fh * 0.8f, fh)); ui::draw_icon(ImGui::GetWindowDrawList(), icon, at + ImVec2(fh * 0.4f, fh * 0.5f), fh * 0.62f, col); @@ -1479,30 +1705,41 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo ImGui::AlignTextToFramePadding(); ImGui::PushFont(ui::font_strong(), 0.0f); ImGui::PushStyleColor(ImGuiCol_Text, col); - ImGui::TextUnformatted(head.c_str()); + ImGui::TextUnformatted(card.head.c_str()); ImGui::PopStyleColor(); ImGui::PopFont(); ImGui::PushFont(nullptr, 14.0f); ImGui::PushStyleColor(ImGuiCol_Text, ui::kTextDim); - ImGui::TextUnformatted(meaning.c_str()); + ImGui::TextUnformatted(card.sentence.c_str()); ImGui::PopStyleColor(); - if (!incoming.empty()) { + ImGui::PopTextWrapPos(); + // The rest as wide as the card: the button is above. + ImGui::PushTextWrapPos(right - ImGui::GetWindowPos().x); + if (!card.incoming.empty()) { ImGui::Dummy(ImVec2(0, 1 * scale)); - ImGui::TextUnformatted(incoming.c_str()); + ImGui::TextUnformatted(card.incoming.c_str()); } - if (!detail.empty()) { + if (!card.action.empty()) { ImGui::Dummy(ImVec2(0, 1 * scale)); - ImGui::PushStyleColor(ImGuiCol_Text, ui::kTextFaint); - ImGui::TextUnformatted(detail.c_str()); + ImGui::PushStyleColor(ImGuiCol_Text, ui::kIce); + ImGui::TextUnformatted(card.action.c_str()); ImGui::PopStyleColor(); } - if (!note.empty()) { - ImGui::PushStyleColor(ImGuiCol_Text, ui::kWarn); - ImGui::TextUnformatted(note.c_str()); - ImGui::PopStyleColor(); + numbered(card.steps, ui::kIce); + if (!nat_view.running && !card.details.empty()) { + ImGui::Dummy(ImVec2(0, 1 * scale)); + ui::disclosure("Details", &nat_details); + ui::tooltip_for_item(nullptr, nat_details ? "Hide the technical lines." : "The ports, what the server saw, and whether the result was kept."); + if (nat_details) { + ImGui::PushStyleColor(ImGuiCol_Text, ui::kTextFaint); + ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(st.ItemSpacing.x, 3 * scale)); + for (const std::string& d : card.details) ImGui::TextUnformatted(d.c_str()); + ImGui::PopStyleVar(); + ImGui::PopStyleColor(); + } } - ImGui::PopFont(); ImGui::PopTextWrapPos(); + ImGui::PopFont(); ImGui::EndGroup(); const float bottom = ImGui::GetItemRectMax().y; ImGui::SetCursorScreenPos(ImVec2(right - bw, at.y)); @@ -1510,7 +1747,7 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo const bool can_test = !nat_view.running && !game && wait <= 0; if (ui::primary_button(label, ImVec2(bw, 0), can_test)) start_nat_test(); if (ImGui::IsItemHovered(ImGuiHoveredFlags_ForTooltip | ImGuiHoveredFlags_AllowWhenDisabled)) { - const std::string what = "Sends a few UDP packets from the game's P2P port (UDP " + std::to_string(p2p) + + const std::string what = "Sends a few UDP packets from the game's P2P port (UDP " + std::to_string(p2p_port) + ") to the server's two test ports, and one the server answers from a third port, " "then asks the server what it saw. A few seconds; the game must be closed."; const std::string why = game ? std::string("The game is running: the test needs its port. Test from here while the game is closed.") @@ -1523,7 +1760,151 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo ui::tooltip("Connection test", what, why); } ImGui::SetCursorScreenPos(ImVec2(at.x, std::max(bottom, at.y + fh))); - ImGui::Dummy(ImVec2(0, 0)); + ImGui::Dummy(ImVec2(0, 4 * scale)); + + // The settings under it, each on a row: the P2P port, and + // (signed in, on a server with the switch) the relay. + ImDrawList* dl = ImGui::GetWindowDrawList(); + // A rule a pixel high on the pixel grid: a thin line's anti-aliased + // sliver left gaps under SDL's software renderer. + const ImVec2 rule = ImGui::GetCursorScreenPos(); + const float rule_y = std::round(rule.y); + dl->AddRectFilled(ImVec2(std::round(rule.x), rule_y), ImVec2(std::round(right), rule_y + 1.0f), ui::alpha(ui::kViolet, 58)); + ImGui::Dummy(ImVec2(0, 6 * scale)); + const float rl = std::min(92 * scale, (right - at.x) * 0.22f); + const float field_w = std::round(std::max(ImGui::CalcTextSize("65535").x + st.FramePadding.x * 2, 84 * scale)); + const float seg_w = std::round(std::max(150 * scale, ImGui::CalcTextSize("OnOff").x + 80 * scale)); + static const char* const kPortTip = + "The UDP port other hunters reach this PC on. Forward this port on your router. Two copies of bbhost on " + "one PC need different ports."; + const std::string port_note = "1024 to 65535; 9307 unless changed. The test runs from it at once; Save or Play keeps " + "it, and the game opens it as it starts, so a change made while the game runs " + "applies from its next start."; + ui::row_label("P2P port", rl); + ui::tooltip_for_item("P2P port", kPortTip, port_note); + { + // What is being typed lives in the window's storage until it is + // taken (Enter, or a click elsewhere), as Frame rate's Custom limit's. + ImGuiStorage* store = ImGui::GetStateStorage(); + const ImGuiID key = ImGui::GetID("##p2p_typing"); + int typing = store->GetInt(key, p2p_port); + ImGui::SetNextItemWidth(field_w); + ImGui::InputInt("##p2p_port", &typing, 0, 0); + ui::tooltip_for_item("P2P port", kPortTip, port_note); + if (ImGui::IsItemDeactivatedAfterEdit()) take_p2p_port(typing); + store->SetInt(key, ImGui::IsItemActive() ? typing : p2p_port); + } + ImGui::SameLine(0, 12 * scale); + ImGui::PushFont(nullptr, 14.0f); + ImGui::AlignTextToFramePadding(); + ImGui::PushStyleColor(ImGuiCol_Text, p2p_port_note.empty() ? ui::kTextDim : ui::kBad); + ImGui::TextUnformatted(ui::fit_text(!p2p_port_note.empty() ? p2p_port_note + : p2p_port != cfg.p2p_port + ? std::string("Saved with Save or Play; the game opens it as it starts.") + : std::string("The port other hunters reach this PC on."), + right - ImGui::GetCursorScreenPos().x) + .c_str()); + ImGui::PopStyleColor(); + ImGui::PopFont(); + if (!p2p_port_note.empty()) ui::tooltip_for_item("P2P port", p2p_port_note); + + // The relay switch: the account's, as the website's account page + // has it (net/account.h). Its state is the sign-in check's; a + // change goes to the server, and the check runs again. + const net::RelayChange rc = net::account_relay_change(); + const bool relay_known = nat_check.state == net::AccountCheckState::Valid && nat_check.relay.known; + if (!si.in || !(relay_known || rc.state != net::RelayChangeState::None)) relay_confirm = false; + if (si.in && (relay_known || rc.state != net::RelayChangeState::None)) { + const bool saving = rc.state == net::RelayChangeState::Saving; + const bool reading = nat_check.state == net::AccountCheckState::Checking; + const bool off_now = nat_fake_relay ? nat_fake_relay > 0 + : (saving || (rc.state == net::RelayChangeState::Saved && !relay_known)) ? rc.direct + : nat_check.relay.direct; + ImGui::Dummy(ImVec2(0, 2 * scale)); + ui::row_label("Relay", rl); + static const char* const kRelayWebsite = + "Co-op and PvP go through the server's relay, which works on every network. If the test says direct " + "connections work, you can turn the relay off and connect to other hunters directly. Hunters who keep " + "the relay still reach you through it. Everyone who plays from your connection (your home network) " + "needs it off for it to apply."; + ui::tooltip_for_item("Relay", kRelayWebsite, "Your account's setting, the same as the website's account page has."); + static const char* const kRelayLabels[] = {"On", "Off"}; + static const char* const kRelayTips[] = { + "Works on every network: co-op and PvP go through the server's relay.", + "Direct connections only: your router must let other hunters in (the test's Incoming says whether it does)."}; + int choice = off_now ? 1 : 0; + bool want_off = false, want_on = false; + ImGui::BeginDisabled(saving || reading || relay_confirm); + if (ui::segmented("##relay", &choice, kRelayLabels, 2, seg_w, kRelayTips, + "Your account's setting, the same as the website's account page has.")) { + want_off = choice == 1; + want_on = choice == 0; + } + ImGui::EndDisabled(); + if (relay_press == 1) want_off = true; + if (relay_press == 3) want_on = true; + ImGui::SameLine(0, 12 * scale); + std::string relay_line = off_now ? "Off: direct connections only; your router must let other hunters in." + : "On: works on every network."; + ImU32 relay_col = ui::kTextDim; + if (saving) { + relay_line = "Saving..."; + } else if (rc.state == net::RelayChangeState::Failed) { + relay_line = rc.status == 0 ? "Not changed: the server didn't answer (" + rc.why + ")." + : "Not changed: " + rc.why + "."; + relay_col = ui::kBad; + } else if (rc.state == net::RelayChangeState::Saved && (reading || !relay_known)) { + relay_line = "Saved; reading it back..."; + } else if (rc.state == net::RelayChangeState::Saved && ImGui::GetTime() - relay_asked_at < 8.0) { + relay_line = off_now ? "Saved: the relay is off for your account." : "Saved: the relay is on for your account."; + relay_col = ui::kGood; + } + ImGui::PushFont(nullptr, 14.0f); + ImGui::AlignTextToFramePadding(); + ImGui::PushStyleColor(ImGuiCol_Text, relay_col); + ImGui::TextUnformatted(ui::fit_text(relay_line, right - ImGui::GetCursorScreenPos().x).c_str()); + ImGui::PopStyleColor(); + ImGui::PopFont(); + ui::tooltip_for_item("Relay", relay_line == "Saving..." ? kRelayWebsite : relay_line, kRelayWebsite); + auto ask = [&](bool direct) { + relay_confirm = false; + relay_asked_at = ImGui::GetTime(); + host_log("setup: relay switch: asking the server to turn it %s", direct ? "off" : "on"); + net::account_relay_change_start(direct); + }; + if (want_on && off_now) ask(false); + if (want_off && !off_now) { + // Off with a test that showed others get in: at once; else the + // warning first, and a second press. + if (nat::relay_off_safe(nat_tested_v, nat_tested_in) && nat_tested) ask(true); + else relay_confirm = true; + } + if (relay_confirm) { + const nat::RelayOffWarning wn = nat::relay_off_warning(nat_tested, nat_tested_v, nat_tested_in, nat_cx, nat_lan, nat_router); + ImGui::Dummy(ImVec2(0, 2 * scale)); + ImGui::SetCursorPosX(ImGui::GetCursorPosX() + rl); + ImGui::BeginGroup(); + ImGui::PushTextWrapPos(right - ImGui::GetWindowPos().x); + ImGui::PushFont(nullptr, 14.0f); + ImGui::PushStyleColor(ImGuiCol_Text, ui::kWarn); + ImGui::TextUnformatted(wn.why.c_str()); + ImGui::PopStyleColor(); + numbered(wn.steps, ui::kWarn); + ImGui::PopFont(); + ImGui::PopTextWrapPos(); + ImGui::Dummy(ImVec2(0, 2 * scale)); + if (ui::primary_button("Keep the relay", ImVec2(ImGui::CalcTextSize("Keep the relay").x + st.FramePadding.x * 4, 0))) { + relay_confirm = false; + host_log("setup: relay switch: kept on"); + } + ui::tooltip_for_item(nullptr, "Leaves the relay on: co-op and PvP keep working on every network."); + ImGui::SameLine(); + if (ui::ghost_button("Turn it off anyway") || relay_press == 2) ask(true); + ui::tooltip_for_item(nullptr, "Turns the relay off for your account now. You can turn it back on here at any time."); + ImGui::EndGroup(); + } + } + relay_press = 0; } ui::card_end(); if (nat_scroll) { @@ -2011,14 +2392,23 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo SDL_RenderClear(ren); ImGui_ImplSDLRenderer3_RenderDrawData(ImGui::GetDrawData(), ren); if (nat_hook_stage == 2 && ImGui::GetTime() >= nat_hook_at) { - const std::string file = test_nat + "/connection.png"; + const std::string file = test_nat + "/" + nat_shot_name + (nat_details ? "-details" : "") + ".png"; if (SDL_Surface* s = SDL_RenderReadPixels(ren, nullptr)) { if (!SDL_SavePNG(s, file.c_str())) host_log("setup: shot: %s: %s", file.c_str(), SDL_GetError()); SDL_DestroySurface(s); } host_log("setup: shot %s", file.c_str()); - nat_hook_stage = 3; - done = true; + if (!nat_details) { + // What the card says (the headline and the action; never an address), then the same with Details open. + static const char* const kTones[] = {"none", "good", "warning", "problem"}; + host_log("setup: connection card: [%s] %s%s%s (%zu steps)", kTones[static_cast(nat_card.tone)], nat_card.head.c_str(), + nat_card.action.empty() ? "" : " - ", nat_card.action.c_str(), nat_card.steps.size()); + nat_details = true; + nat_hook_at = ImGui::GetTime() + 0.8; + } else { + nat_hook_stage = 3; + done = true; + } } if (!hook_shot.empty() && ImGui::GetTime() >= hook_shot_at) { if (SDL_Surface* s = SDL_RenderReadPixels(ren, nullptr)) { @@ -2027,6 +2417,7 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo } host_log("setup: shot %s", hook_shot.c_str()); hook_shot.clear(); + if (relay_hook_step == 99) done = true; } if (!test_shot.empty() && ImGui::GetTime() >= shot_at) { const std::string name = shot < kPageCount ? kPages[shot].slug : "patches-bubble"; diff --git a/src/host/launcher_ui.cpp b/src/host/launcher_ui.cpp index dab9ddb9..564ae3c8 100644 --- a/src/host/launcher_ui.cpp +++ b/src/host/launcher_ui.cpp @@ -772,6 +772,11 @@ void draw_icon(ImDrawList* dl, Icon icon, ImVec2 at, float size, ImU32 col) { dl->AddLine(P(-0.42f, 0.32f), P(0.42f, 0.32f), col, th); // the space bar break; } + case Icon::Problem: + dl->AddCircleFilled(at, 0.92f * h, col); + dl->AddLine(P(-0.34f, -0.34f), P(0.34f, 0.34f), c(kInk), th * 1.25f); + dl->AddLine(P(-0.34f, 0.34f), P(0.34f, -0.34f), c(kInk), th * 1.25f); + break; case Icon::Chat: { dl->AddRect(P(-0.9f, -0.74f), P(0.9f, 0.44f), col, 0.34f * h, th); const ImVec2 tail[] = {P(-0.46f, 0.44f), P(-0.62f, 0.9f), P(-0.08f, 0.44f)}; @@ -1093,6 +1098,26 @@ bool ghost_button(const char* label, Icon icon, ImVec2 size) { return pressed; } +bool disclosure(const char* label, bool* open) { + const float s = g_scale, fs = ImGui::GetFontSize(); + const char* end = ImGui::FindRenderedTextEnd(label); + const float cw = std::round(fs * 0.62f), gap = std::round(6 * s); + const ImVec2 size(cw + gap + ImGui::CalcTextSize(label, end).x, std::round(fs * 1.3f)); + const ImVec2 p = ImGui::GetCursorScreenPos(); + if (ImGui::InvisibleButton(label, size)) *open = !*open; + const bool hovered = ImGui::IsItemHovered(); + ImDrawList* dl = ImGui::GetWindowDrawList(); + const ImU32 col = c(hovered ? kText : kTextDim); + // The chevron: pointing right while closed, down while open. + const ImVec2 m(p.x + cw * 0.5f, p.y + size.y * 0.5f); + const float k = cw * 0.28f, th = std::max(1.2f, 1.5f * s); + const ImVec2 v[] = {*open ? ImVec2(m.x - k * 1.3f, m.y - k * 0.6f) : ImVec2(m.x - k * 0.6f, m.y - k * 1.3f), m + (*open ? ImVec2(0, k * 0.7f) : ImVec2(k * 0.7f, 0)), + *open ? ImVec2(m.x + k * 1.3f, m.y - k * 0.6f) : ImVec2(m.x - k * 0.6f, m.y + k * 1.3f)}; + dl->AddPolyline(v, 3, col, 0, th); + dl->AddText(ImVec2(p.x + cw + gap, p.y + (size.y - fs) * 0.5f), col, label, end); + return *open; +} + void avatar(const std::string& name, float size) { const ImVec2 p = ImGui::GetCursorScreenPos(); ImGui::Dummy(ImVec2(size, size)); diff --git a/src/host/launcher_ui.h b/src/host/launcher_ui.h index 660c6957..d23aeb7b 100644 --- a/src/host/launcher_ui.h +++ b/src/host/launcher_ui.h @@ -42,6 +42,7 @@ enum class Icon { Game, Online, Enhance, Patches, Shaders, Plugins, Settings, Folder, File, Check, Warning, Info, Play, Moon, Search, Copy, User, Download, Refresh, SignIn, Display, Image, Keyboard, + Problem, // a cross in a disc: something stops it (Check's and Warning's third) Chat, // a speech bubble: the community's Discord }; @@ -127,6 +128,9 @@ bool ghost_button(const char* label, ImVec2 size = ImVec2(0, 0)); // The same with `icon` before its label (cut to the button with "..."); a // width of 0 fits both. bool ghost_button(const char* label, Icon icon, ImVec2 size = ImVec2(0, 0)); +// A line that opens and closes what is under it: a chevron and `label`, dim. +// Flips *open when pressed, and returns it. +bool disclosure(const char* label, bool* open); // The sidebar's entries: a dot of colour `dot` (0 for none) at the right, or // `badge`'s text in it. bool nav_item(const char* label, Icon icon, bool selected, ImU32 dot = 0, const char* badge = nullptr); diff --git a/src/host/options.cpp b/src/host/options.cpp index 93944f8d..9736090c 100755 --- a/src/host/options.cpp +++ b/src/host/options.cpp @@ -2407,22 +2407,28 @@ void account_page() { ImGui::PopFont(); ImGui::PushStyleColor(ImGuiCol_Text, ui::kTextDim); ImGui::TextUnformatted(hle_np_online_status().c_str()); - // The connection test's verdict as the setup window had it before - // the game started (its own test, or the account's last one): the - // test itself runs only there, from the game's port while the game - // is closed. Nothing when the setup window did not open. + // The connection test's result as the setup window's card said it + // before the game started (its own test, or the account's last one), + // in the card's words and colour: the test itself runs only there, + // from the game's port while the game is closed. Nothing when the + // setup window did not open. if (const net::nat::Remembered c = net::nat::remembered(); c.known) { const double now = static_cast(std::time(nullptr)); - ImGui::TextUnformatted(("Connection test (" + net::nat::ago(c.at, now) + (c.saved ? "" : ", not saved") + - "): " + (c.head.empty() ? std::string(net::nat::headline(c.verdict)) : c.head)) - .c_str()); - if (ImGui::IsItemHovered(ImGuiHoveredFlags_ForTooltip)) - ui::tooltip("Connection test", - (c.meaning.empty() ? std::string(net::nat::meaning(c.verdict)) : c.meaning) + - (c.inbound != net::nat::Inbound::NotTested - ? " " + net::nat::inbound_line(c.inbound, config().p2p_port > 0 ? config().p2p_port : 9307, c.verdict) - : std::string()), - "The setup window's Game page runs it again (bbhost --setup, while the game is closed)."); + const net::nat::Tone t = c.card.tone; + ImGui::PushStyleColor(ImGuiCol_Text, t == net::nat::Tone::Good ? ui::kGood + : t == net::nat::Tone::Warn ? ui::kWarn + : t == net::nat::Tone::Bad ? ui::kBad + : ui::kTextDim); + ImGui::TextUnformatted(("Connection test (" + net::nat::ago(c.at, now) + (c.saved ? "" : ", not saved") + "): " + c.card.head).c_str()); + ImGui::PopStyleColor(); + if (ImGui::IsItemHovered(ImGuiHoveredFlags_ForTooltip)) { + std::string text = c.card.sentence; + for (const std::string* line : {&c.card.incoming, &c.card.action}) { + if (!line->empty()) text += " " + *line; + } + for (std::size_t i = 0; i < c.card.steps.size(); ++i) text += "\n" + std::to_string(i + 1) + ". " + c.card.steps[i]; + ui::tooltip("Connection test", text, "The setup window's Game page runs it again (bbhost --setup, while the game is closed)."); + } } ImGui::PopStyleColor(); ImGui::EndGroup(); diff --git a/src/net/nat_check.h b/src/net/nat_check.h index 6188847f..202784d8 100644 --- a/src/net/nat_check.h +++ b/src/net/nat_check.h @@ -37,6 +37,15 @@ // players whose routers change ports can still connect directly. A server // without the check answers without OTHER-ADDRESS ("not available"). // +// The card says it in a player's words: one headline with its status (all is +// well, a warning, a problem), one sentence on what it means for co-op and +// PvP, the one thing to do when there is something (a port to forward, in +// steps naming this PC's address on its network, the address the test's +// requests left from), whether other hunters can get in, and the technical +// lines under Details. The account's relay switch (whoami's RelayDirect: the +// website's account page, or the card's own switch) changes it: turned off +// while other hunters cannot get in, the card says so and how to fix it. +// // This header is the reading of what came back and the words for it, with no // sockets or server calls (tests/nat_check_test.cpp); probe() is the // exchange itself (net/nat_probe.cpp), and net/nat_job.h runs the whole test @@ -47,6 +56,7 @@ #include #include +#include #include #include #include @@ -258,61 +268,7 @@ struct Outcome { bool saved() const { return save.state == SaveReply::State::Saved; } }; -// --- The words (the setup window's Connection card, F10's line) --------------- - -// The verdict in plain words, and what it means. -inline const char* headline(Verdict v) { - switch (v) { - case Verdict::Direct: return "Direct connections: yes, your router keeps one port"; - case Verdict::Relay: return "You'll use the relay: your router changes ports per destination"; - case Verdict::Blocked: return "UDP is blocked on this network"; - case Verdict::Inconclusive: return "Only one test port answered: test again"; - case Verdict::None: break; - } - return "Not tested yet"; -} -inline const char* meaning(Verdict v) { - switch (v) { - case Verdict::Direct: - return "Other hunters can connect to this PC directly: co-op and PvP do not need the server's relay."; - case Verdict::Relay: - return "Other hunters cannot reach this PC directly, so co-op and PvP need the server's relay: it works, with a " - "little more delay."; - case Verdict::Blocked: - return "Nothing reached the server's test ports. If the website's test passes while bbhost's does not, a firewall, " - "antivirus or VPN on this PC is blocking bbhost.exe: allow it and test again. If both fail, this network " - "blocks UDP (school and work networks can), and online play will not work from it."; - case Verdict::Inconclusive: - return "One test port answered and the other did not - a lost packet, most likely. Run the test again."; - case Verdict::None: break; - } - return "Checks whether other hunters can connect to this PC directly, or whether co-op and PvP need the server's " - "relay. It sends a few UDP packets from the game's port to the server and takes a few seconds."; -} -// The port check in plain words: its result and what it means for others, -// beside the verdict (`v`): behind a router that changes ports a forwarded -// port does not change the verdict, and the relay carries the sessions. -inline std::string inbound_line(Inbound i, int p2p_port, Verdict v = Verdict::Direct) { - const std::string port = std::to_string(p2p_port); - const bool relay = v == Verdict::Relay; - switch (i) { - case Inbound::Open: - return relay ? "Incoming: open. A packet the server sent unasked reached UDP port " + port + - ", but your router still changes ports for what the game sends, so sessions go through the relay." - : "Incoming: open. A packet the server sent unasked, from a port the game never contacted, reached UDP port " + - port + ", so even hunters whose routers change ports can connect to you directly."; - case Inbound::Closed: - return relay ? "Incoming: closed. Your router or this PC's firewall stopped a packet the server sent unasked; with " - "ports changing per destination, the relay carries your sessions either way." - : "Incoming: closed. Your router or this PC's firewall stopped a packet the server sent unasked. Hunters " - "whose routers change ports reach you through the relay instead; forwarding UDP port " + - port + " to this PC would let them connect directly."; - case Inbound::Unavailable: - return "Incoming: not checked - the port check is not available on this server."; - case Inbound::NotTested: break; - } - return "Incoming: not checked - no answer came back to check it with."; -} +// --- The card's pieces -------------------------------------------------------- // "just now", "5 minutes ago", "3 hours ago", "2 days ago" (`now` and `then` // in Unix seconds). @@ -413,130 +369,388 @@ inline Reading reading_of(const Outcome& o) { return o.local == Verdict::Direct ? Reading::Direct : o.local == Verdict::Relay ? Reading::Relay : Reading::Inconclusive; } -// How the card marks a reading: good (a check), the relay (information), a -// warning, or bad. -enum class Tone { Good, Relay, Warn, Bad }; -inline Tone tone_of(Verdict v) { - return v == Verdict::Direct ? Tone::Good : v == Verdict::Relay ? Tone::Relay : v == Verdict::Blocked ? Tone::Bad : Tone::Warn; -} +// --- The card (the setup window's Connection card; F10's line repeats its headline) --- + +// The status icon beside the headline: all is well, a warning, a problem - or +// nothing to say yet. +enum class Tone { None, Good, Warn, Bad }; + +// The account's relay switch as the sign-in check read it (whoami's +// RelayDirect). Off, co-op and PvP connect directly, so only hunters who can +// get in reach this PC. +enum class RelaySetting { Unknown, On, Off }; + +inline constexpr bool kWindows = +#if defined(_WIN32) + true; +#else + false; +#endif + +// What the card goes by besides the test. +struct CardContext { + double now = 0; // Unix seconds ("just now") + int p2p_port = 9307; // the P2P port setting: the port the steps forward + RelaySetting relay = RelaySetting::Unknown; // the account's relay switch + bool windows = kWindows; // the firewall step's words +}; struct Card { - Reading reading = Reading::NoAnswer; - Tone tone = Tone::Warn; - std::string head; // the headline - std::string meaning; // what it means, and what to do about it - std::string incoming; // the port check's line ("" none) - std::string detail; // where it ran from, when, and whether it was kept ("" none) - std::string note; // a remark in the warning colour ("" none) + Reading reading = Reading::NoAnswer; // a finished test's + Tone tone = Tone::None; + std::string head; // the headline, beside the status icon + std::string sentence; // what it means for co-op and PvP + std::string incoming; // whether other hunters can get in ("" not known) + std::string action; // the thing to do ("" when all is well) + std::vector steps; // ... in numbered steps after it (none: the action alone) + std::vector details; // the technical lines, under Details }; -// The card for a finished test (`now` in Unix seconds: "just now"). -inline Card card_of(const Outcome& o, double now) { +// An IPv4 address held in network byte order, as text: "10.0.0.23". +inline std::string ipv4_text(std::uint32_t addr) { + unsigned char b[4]; + std::memcpy(b, &addr, sizeof(b)); + char buf[16]; + std::snprintf(buf, sizeof(buf), "%u.%u.%u.%u", b[0], b[1], b[2], b[3]); + return buf; +} +// ... and one made from its four numbers. +inline std::uint32_t ipv4_net(unsigned a, unsigned b, unsigned c, unsigned d) { + const unsigned char bytes[4] = {static_cast(a), static_cast(b), static_cast(c), + static_cast(d)}; + std::uint32_t v = 0; + std::memcpy(&v, bytes, sizeof(v)); + return v; +} + +// Whether a router stands between this PC and the internet: the server saw +// another address than this PC's own (yes when either is not known). +inline bool behind_router(const ProbeResult& r) { + if (!r.local_addr) return true; + for (const Answer& a : r.at) { + if (a.got) return a.addr != r.local_addr; + } + return true; +} + +// The steps that let other hunters in: the router forwards the port to this +// PC (`lan`, its address on its network; "" not known) - left out when this +// PC holds the public address itself - the firewall lets it in, and the test +// says so. +inline std::vector forward_steps(int port, const std::string& lan, bool router, bool windows) { + const std::string p = std::to_string(port); + std::vector s; + if (router) + s.push_back("In your router's settings, forward UDP port " + p + " to this PC" + + (lan.empty() ? std::string() : " (" + lan + ")") + "."); + s.push_back(windows ? std::string("Allow bbhost.exe in Windows Firewall (Private and Public).") + : "If this PC runs a firewall, allow UDP port " + p + " in it."); + s.push_back("Then press Test again."); + return s; +} + +// Whether other hunters can get in (the port check), in a player's words: for +// a direct result. Behind a router that changes ports it changes nothing - +// other hunters cannot connect directly either way - and Details has it. +inline std::string incoming_line(Inbound i) { + if (i == Inbound::Open) return "Incoming: other hunters can connect to you directly, even those whose routers change ports."; + if (i == Inbound::Closed) + return "Incoming: hunters whose routers change ports can't connect to you directly, so they reach you through the relay."; + return {}; +} +// The port check as Details says it, beside the result `v`. +inline std::string incoming_detail(Inbound i, int port, Verdict v) { + const std::string p = std::to_string(port); + switch (i) { + case Inbound::Open: + return "Incoming: open - a packet the server sent unasked, from a port bbhost never sent to, reached UDP port " + p + + (v == Verdict::Relay ? ", but your router changes ports for what the game sends, so other hunters still can't " + "connect directly." + : "."); + case Inbound::Closed: + return "Incoming: closed - your router or this PC's firewall stopped a packet the server sent unasked to UDP port " + p + "."; + case Inbound::Unavailable: return "Incoming: not checked - this server has no port check."; + case Inbound::NotTested: break; + } + return "Incoming: not checked - the port check got no answer."; +} + +// "Allow bbhost.exe ...": the thing to do when something on this PC stops it. +inline constexpr char kAllowBbhost[] = "Allow bbhost.exe in your firewall or antivirus, then press Test again."; + +// The words of a direct or relay result - a test run here, or the account's +// last one - and what the relay switch does to them. `lan` and `router` are +// the steps' (forward_steps); `signed_in`: the test asked the server (not +// signed in, a relay result asks for a sign-in, which the relay goes by). +inline void result_words(Card& c, Verdict v, Inbound in, const CardContext& x, const std::string& lan, bool router, bool signed_in) { + const bool off = x.relay == RelaySetting::Off; + c.tone = Tone::Good; + if (v == Verdict::Direct) { + c.head = "Online play works directly"; + c.sentence = "Co-op and PvP can connect straight to other hunters, without the server's relay."; + c.incoming = incoming_line(in); + if (in != Inbound::Closed) return; + c.steps = forward_steps(x.p2p_port, lan, router, x.windows); + if (!off) { + c.action = "To let them connect directly:"; + return; + } + // Turned off while other hunters cannot get in. + c.tone = Tone::Warn; + c.head = "Other hunters may not reach you with the relay off"; + c.sentence = "You turned the relay off, but your router or this PC's firewall stops the first packets other hunters " + "send you, so direct connections can fail."; + c.incoming.clear(); + c.action = "Forward the port, or turn the relay back on below:"; + return; + } + c.head = "Online play works through the relay"; + c.sentence = "Your router changes ports for each connection, so co-op and PvP go through the server's relay, with a " + "little more delay."; + if (off) { + c.tone = Tone::Warn; + c.head = "Other hunters may not reach you with the relay off"; + c.sentence = "You turned the relay off, but your router changes ports for each connection, so direct connections " + "to you fail."; + c.action = "Turn the relay back on below."; + } else if (!signed_in) { + c.action = "Sign in (above), then press Test again, so the server knows to relay you."; + } +} + +// The card for a finished test. +inline Card card_of(const Outcome& o, const CardContext& x) { Card c; c.reading = reading_of(o); - const std::string port = std::to_string(o.probe.local_port); + const ProbeResult& r = o.probe; + const std::string port = std::to_string(r.local_port); + c.tone = Tone::Warn; switch (c.reading) { case Reading::NotResolved: - c.head = "The test server could not be found"; - c.meaning = "Its name did not resolve: check the server chosen above and this PC's network."; + c.head = "The test server wasn't found"; + c.sentence = "Its name didn't resolve, so the test couldn't run."; + c.action = "Check this PC's internet connection and the server chosen above, then press Test again."; return c; case Reading::PortInUse: - c.head = "UDP port " + port + " is in use: close the game to test"; - c.meaning = "Another program has the game's P2P port - most likely bbhost itself, running the game. The test sends " - "from that port, so it runs while the game is closed."; + c.head = "The game's port is in use"; + c.sentence = "Another program has UDP port " + port + ", which the test sends from - most likely bbhost itself, running the game."; + c.action = "Close the game, or choose another P2P port below, then press Test again."; + if (!r.error_text.empty()) c.details.push_back("The system says: " + r.error_text + "."); return c; case Reading::NoSocket: + c.head = "The test couldn't use UDP port " + port; + c.sentence = "This PC didn't let bbhost open the game's port, so nothing was tested."; + c.action = "Choose another P2P port below, then press Test again."; + if (!r.error_text.empty()) c.details.push_back("The system says: " + r.error_text + "."); + return c; case Reading::Cancelled: - c.head = "The test could not use UDP port " + port; - c.meaning = o.probe.error_text.empty() ? std::string("The test was stopped.") : o.probe.error_text + "."; + c.head = "The test was stopped"; + c.sentence = "It ended before it finished, so it tells nothing yet."; + c.action = "Press Test again."; return c; + default: break; + } + const bool answers = o.local == Verdict::Direct || o.local == Verdict::Relay || o.local == Verdict::Inconclusive; + const std::string lan = r.local_addr ? ipv4_text(r.local_addr) : std::string(); + const bool router = behind_router(r); + switch (c.reading) { case Reading::SendRefused: c.tone = Tone::Bad; - c.head = "This PC did not let bbhost send"; - c.meaning = "This PC refused every test packet bbhost tried to send from UDP port " + port + " (" + o.probe.send_error + - "). " + - (o.probe.send_denied - ? std::string("A firewall or antivirus on this PC is blocking bbhost.exe: allow bbhost.exe in it and test " - "again - online play needs it.") - : std::string("Check this PC's network connection; if it works, a firewall or antivirus may be blocking " - "bbhost.exe: allow bbhost.exe in it and test again.")); + c.head = r.send_denied ? "Something on this PC is blocking bbhost" : "This PC couldn't send anything"; + c.sentence = "This PC refused every packet bbhost tried to send, so co-op and PvP can't work."; + c.action = r.send_denied ? std::string(kAllowBbhost) + : "Check this PC's internet connection. If it works, allow bbhost.exe in your firewall or " + "antivirus, then press Test again."; break; case Reading::Direct: case Reading::Relay: - case Reading::Inconclusive: { - const Verdict v = c.reading == Reading::Direct ? Verdict::Direct - : c.reading == Reading::Relay ? Verdict::Relay - : Verdict::Inconclusive; - c.tone = tone_of(v); - c.head = headline(v); - c.meaning = meaning(v); + result_words(c, c.reading == Reading::Direct ? Verdict::Direct : Verdict::Relay, o.inbound, x, lan, router, o.signed_in); + break; + case Reading::Inconclusive: + c.head = "The test was incomplete"; + c.sentence = "One of the server's two answers didn't come back, so the test can't tell yet whether co-op and PvP " + "connect directly or through the relay."; + c.action = "Press Test again."; break; - } case Reading::NoAnswer: c.tone = Tone::Bad; - c.head = "No answer reached bbhost"; - c.meaning = "bbhost sent its test packets from UDP port " + port + - ", but no answer came back: either they did not get out, or the answers were stopped on the way back - by " - "a firewall or antivirus on this PC, or by this network. " + - (o.signed_in ? std::string("The server could not tell which this time: test again.") - : std::string("Sign in (above) and test again: the server then tells which.")); + c.head = "Something is blocking bbhost"; + c.sentence = "A firewall or antivirus on this PC, or this network, stops bbhost's packets or the answers to them, " + "so co-op and PvP can't work."; + if (!o.signed_in) c.action = "Sign in (above), then press Test again to find out which."; + else if (o.save.state == SaveReply::State::Limited) + c.action = "Press Test again later to find out which: the server takes 10 tests an hour."; + else if (o.save.state == SaveReply::State::Refused) c.action = "Sign in again (above), then press Test again to find out which."; + else if (o.save.state == SaveReply::State::NoService) + c.action = "This server can't tell which, so start with this PC: allow bbhost.exe in your firewall or antivirus, " + "then press Test again."; + else c.action = "Press Test again to find out which: the server couldn't tell this time."; break; case Reading::ServerBlocked: c.tone = Tone::Bad; - c.head = "Nothing from bbhost reached the server"; - c.meaning = "The server's test ports saw none of bbhost's packets. If the website's connection test passes, your " - "network is fine and a firewall, antivirus or VPN on this PC is blocking bbhost.exe: allow it and test " - "again - online play needs it. If the website's test fails too, this network blocks UDP (school and " - "work networks can)."; + c.head = "Online play is blocked"; + c.sentence = "None of bbhost's packets reached the server, so co-op and PvP can't work from here."; + c.action = std::string(kAllowBbhost) + + " If the website's connection test fails too, this network blocks online play (school and work networks can)."; break; case Reading::AnswersStopped: - c.tone = Tone::Warn; - c.head = "The server hears bbhost, but its answers don't reach it"; - c.meaning = std::string("The server heard from this network and reads it as ") + verdict_word(o.save.verdict) + - ", but none of its answers came back to bbhost. A firewall or antivirus on this PC is most likely " - "stopping what comes back to bbhost.exe: allow bbhost.exe in it and test again - online play needs " - "those packets."; + c.tone = Tone::Bad; + c.head = "Answers aren't reaching bbhost"; + c.sentence = "The server got bbhost's packets, but none of its answers came back, so co-op and PvP can't work: a " + "firewall or antivirus on this PC is most likely stopping them."; + c.action = kAllowBbhost; break; case Reading::AddressDiffers: - c.tone = Tone::Warn; - c.head = "The server did not see this test from your address"; - c.meaning = "The test ports answered bbhost, so UDP gets through, but the server saw none of its packets come from " - "the address your request came from, and kept \"blocked\" for your account. A VPN or proxy for web " - "traffic sends the two different ways: turn it off and test again."; + c.head = "A VPN or proxy may be in the way"; + c.sentence = "Your sign-in reached the server from one address and bbhost's packets from another, so online play may fail."; + c.action = "Turn off any VPN or proxy, then press Test again."; break; + default: break; } - const bool answers = o.local == Verdict::Direct || o.local == Verdict::Relay || o.local == Verdict::Inconclusive; - if (answers) c.incoming = inbound_line(o.inbound, o.probe.local_port, o.shown()); - const std::string ports = public_ports(o.probe); - std::string when = ago(o.at, now); + // Details: what went out and what the server saw, the port check, when + // and whether it was kept, the server's word beside this PC's. + const std::string ports = public_ports(r); + if (nothing_sent(r)) + c.details.push_back("This PC refused all " + std::to_string(r.refused) + " packets bbhost tried to send from UDP port " + port + + " (" + r.send_error + ")."); + else + c.details.push_back("Tested from UDP port " + port + ", the game's P2P port: " + + (ports.empty() ? std::string("no answer came back from the test ports.") : "the server saw " + ports + ".")); + if (answers) c.details.push_back(incoming_detail(o.inbound, r.local_port, o.shown())); + std::string when = ago(o.at, x.now); if (!when.empty() && when[0] >= 'a' && when[0] <= 'z') when[0] = static_cast(when[0] - 'a' + 'A'); - c.detail = "Tested from UDP port " + port + " (the game's P2P port)" + (ports.empty() ? "" : ": the server saw " + ports) + - ". " + when + "; "; - if (o.saved()) c.detail += "saved to your account for this network (test again on another one)."; - else if (!o.signed_in) c.detail += "this PC's own reading, not saved to your account."; - else c.detail += "not saved to your account: " + unsaved_reason(o) + "."; + if (o.saved()) c.details.push_back(when + "; saved to your account for this network (test again on another one)."); + else if (!o.signed_in) c.details.push_back(when + "; this PC's own reading, not saved to your account (sign in above to keep it)."); + else c.details.push_back(when + "; not saved to your account: " + unsaved_reason(o) + "."); if (o.saved() && answers && o.save.verdict != Verdict::Blocked) { if (o.local == Verdict::Inconclusive) - c.note = "One of the server's answers did not come back to bbhost - a lost packet, most likely; the server saw " - "both requests."; + c.details.push_back("One of the server's answers didn't come back to bbhost - a lost packet, most likely; the server " + "saw both requests."); else if (o.local != o.save.verdict) - c.note = std::string("This PC's own reading was \"") + verdict_word(o.local) + - "\": the server compares what reached it from the address this request came from, and a VPN or proxy " - "for web traffic can make the two differ."; - } else if (!o.signed_in && answers) { - c.note = o.local == Verdict::Relay - ? "Sign in (above) and test again: the server then knows to relay you, and other hunters can reach you." - : "Sign in (above) and test again to keep it for your account; the server goes by the kept result."; + c.details.push_back(std::string("The server says ") + verdict_word(o.save.verdict) + "; this PC's own reading was " + + verdict_word(o.local) + + ". The server compares what reached it from the address this request came from, and a VPN " + "or a proxy for web traffic can make the two differ."); + } else if (o.saved() && !answers && o.save.verdict != Verdict::Blocked) { + c.details.push_back(std::string("The server heard bbhost and reads this network as ") + verdict_word(o.save.verdict) + "."); + } else if (c.reading == Reading::AddressDiffers) { + c.details.push_back("The test ports answered bbhost, so its packets get through, but the server kept \"blocked\" for " + "your account: none of them came from the address your request came from."); + } + if (r.refused > 0 && r.sent > 0) + c.details.push_back("This PC refused " + std::to_string(r.refused) + " of the " + std::to_string(r.refused + r.sent) + + " packets bbhost tried to send (" + r.send_error + + "): if a firewall or antivirus asked about bbhost.exe, allow it."); + if (!lan.empty() && router) c.details.push_back("This PC's address on its network: " + lan + "."); + if (x.relay == RelaySetting::Off) c.details.push_back("The relay is off for your account."); + // A result from a port the setting no longer names: the old port's. + if (r.local_port > 0 && x.p2p_port > 0 && r.local_port != x.p2p_port) { + c.action = "The P2P port is now " + std::to_string(x.p2p_port) + ": press Test again."; + c.steps.clear(); + } + return c; +} + +// The account's last test as whoami tells it (the sign-in check), which the +// card shows until a test runs here. +struct Record { + Verdict verdict = Verdict::None; // direct, relay or blocked + Inbound inbound = Inbound::NotTested; // bbhost's port check + int port = 0; // the P2P port bbhost's test ran from; 0 for the website's + double at = 0; // Unix seconds +}; + +// The card for the account's last test. Run from this PC's P2P port, it reads +// as a test run here would (without this PC's address, which only a test +// here finds); else it asks for one. +inline Card card_of_record(const Record& rec, const CardContext& x) { + Card c; + const bool here = rec.port > 0 && rec.port == x.p2p_port; + if (rec.verdict == Verdict::Direct || rec.verdict == Verdict::Relay) { + c.reading = rec.verdict == Verdict::Direct ? Reading::Direct : Reading::Relay; + result_words(c, rec.verdict, here ? rec.inbound : Inbound::NotTested, x, "", true, true); + } else { + c.reading = Reading::ServerBlocked; + c.tone = Tone::Bad; + c.head = "Online play is blocked"; + c.sentence = "Nothing from your account's last test reached the server, so co-op and PvP couldn't work from there."; + if (here) + c.action = std::string(kAllowBbhost) + + " If the website's connection test fails too, this network blocks online play (school and work networks can)."; + } + if (!here) { + c.action = "Press Test again to check this PC."; + c.steps.clear(); } - if (o.probe.refused > 0 && o.probe.sent > 0) { - const std::string some = "This PC refused " + std::to_string(o.probe.refused) + " of the " + - std::to_string(o.probe.refused + o.probe.sent) + " packets bbhost tried to send (" + - o.probe.send_error + "): if a firewall or antivirus asked about bbhost.exe, allow it and test again."; - c.note = c.note.empty() ? some : c.note + " " + some; + const std::string when = "Your account's last test, " + ago(rec.at, x.now); + const std::string p2p = std::to_string(x.p2p_port); + c.details.push_back(here ? when + ", from UDP port " + p2p + ", this PC's P2P port." + : rec.port > 0 ? when + ", from UDP port " + std::to_string(rec.port) + "; this PC's P2P port is UDP " + p2p + "." + : when + ", on the website or from another PC."); + if (here && rec.inbound != Inbound::NotTested) c.details.push_back(incoming_detail(rec.inbound, rec.port, rec.verdict)); + if (x.relay == RelaySetting::Off) c.details.push_back("The relay is off for your account."); + return c; +} + +// The card before any test, here or for the account. +inline Card card_untested(const CardContext& x, bool signed_in) { + Card c; + c.head = "Not tested yet"; + c.sentence = "The test checks whether other hunters can connect to this PC directly, or whether co-op and PvP go " + "through the server's relay."; + if (x.relay == RelaySetting::Off) { + c.tone = Tone::Warn; + c.action = "You turned the relay off: press Test connection to check that other hunters can reach you."; } + c.details.push_back("It sends a few packets from UDP port " + std::to_string(x.p2p_port) + + ", the game's P2P port, and takes a few seconds; the game must be closed."); + c.details.push_back(signed_in ? "Signed in, the result is kept for your account." : "Sign in (above) to keep the result for your account."); return c; } +// --- The relay switch and the P2P port setting --------------------------------- + +// Off, co-op and PvP connect directly alone, which needs other hunters to get +// in: a direct result with incoming open. +inline bool relay_off_safe(Verdict v, Inbound i) { return v == Verdict::Direct && i == Inbound::Open; } + +// What the relay switch says before it goes off without that: why, and the +// steps that fix it (none where forwarding a port does not help). +struct RelayOffWarning { + std::string why; + std::vector steps; +}; +// `tested`: a result of this PC's is known - `v` and `i`, from its last test. +inline RelayOffWarning relay_off_warning(bool tested, Verdict v, Inbound i, const CardContext& x, const std::string& lan, bool router) { + RelayOffWarning w; + const std::string lead = "Without the relay, other hunters must reach this PC directly. "; + if (tested && v == Verdict::Relay) { + w.why = lead + "This PC's last test says your router changes ports for each connection, so they can't, and " + "forwarding a port doesn't change that."; + return w; + } + if (tested && v != Verdict::Direct) { + w.why = lead + "This PC's last test didn't get through, so online play may not work at all."; + return w; + } + w.why = lead + (!tested ? "No test has checked that they can." + : i == Inbound::Closed ? "This PC's last test found that your router or firewall stops the first packets they send." + : "This PC's last test couldn't check whether they can get in."); + w.steps = forward_steps(x.p2p_port, lan, router, x.windows); + return w; +} + +// The P2P port setting's own check: "" when `port` will do, else why not - +// 1024 to 65535 (the ones below are the system's), and none of the server's +// test ports. Whether another program has it is port_taken's. +inline std::string p2p_port_problem(long port, const std::vector& test_ports) { + if (port < 1024 || port > 65535) return "Choose a port from 1024 to 65535."; + for (std::uint16_t t : test_ports) { + if (t == port) return "UDP " + std::to_string(port) + " is one of the server's test ports: choose another."; + } + return {}; +} + // The test's one log line: the verdict, the port check, the port, what was // sent and refused (the first refusal's words), whether it was kept - and no // addresses. diff --git a/src/net/nat_examples.h b/src/net/nat_examples.h new file mode 100644 index 00000000..bdc562a4 --- /dev/null +++ b/src/net/nat_examples.h @@ -0,0 +1,90 @@ +// Made-up finished connection tests, one of each kind the Connection card +// tells apart, as net/nat_job.h would leave them (net/nat_check.h): the setup +// window's natfake: test hook shows them, and tests/nat_check_test.cpp reads +// them. The addresses are documentation's own (203.0.113.0/24) and a home +// network's. +#pragma once + +#include "net/nat_check.h" + +#include +#include + +namespace net::nat { + +inline constexpr const char* kExampleNames[] = { + "direct-open", "direct-closed", "direct-unchecked", "relay", "inconclusive", "noanswer", + "noanswer-signedin", "serverblocked", "answersstopped", "addressdiffers", "refused", "refused-other", + "portinuse", "nosocket", "notresolved", "cancelled", +}; + +// The test of kind `name` from UDP `port`, ended at `at` (Unix seconds); false +// for a name it does not know. +inline bool example_outcome(const std::string& name, int port, double at, Outcome* out) { + Outcome o; + o.at = at; + ProbeResult& r = o.probe; + r.local_port = port; + r.local_addr = ipv4_net(10, 0, 0, 23); + const std::uint32_t public_addr = ipv4_net(203, 0, 113, 7); + const Answer seen{true, public_addr, static_cast(port)}; + const Answer other{true, public_addr, 40002}, none{}; + r.at = {seen, seen}; + r.sent = 3; + r.change_answered = r.change_offered = true; // the port check closed unless said + o.signed_in = true; + const char* kept = nullptr; // the server's verdict, when it kept one + if (name == "direct-open") { + r.reached = true; + kept = "direct"; + } else if (name == "direct-closed") { + kept = "direct"; + } else if (name == "direct-unchecked") { + r.change_offered = false; + kept = "direct"; + } else if (name == "relay") { + r.at = {seen, other}; + kept = "relay"; + } else if (name == "inconclusive") { + r.at = {seen, none}; + r.sent = 7; + o.signed_in = false; + } else if (name == "noanswer" || name == "noanswer-signedin" || name == "serverblocked" || name == "answersstopped") { + r.at = {none, none}; + r.sent = 17; + r.change_answered = r.change_offered = false; + o.signed_in = name != "noanswer"; + if (name == "noanswer-signedin") o.save = read_save_reply(0, "", "Couldn't connect to server"); + if (name == "serverblocked") kept = "blocked"; + if (name == "answersstopped") kept = "direct"; + } else if (name == "addressdiffers") { + kept = "blocked"; + } else if (name == "refused" || name == "refused-other") { + r.at = {none, none}; + r.sent = 0; + r.refused = 17; + r.change_answered = r.change_offered = false; + r.send_denied = name == "refused"; + r.send_error_code = r.send_denied ? EPERM : ENETUNREACH; + r.send_error = r.send_denied ? "Operation not permitted" : "Network is unreachable"; + } else if (name == "portinuse" || name == "nosocket" || name == "cancelled") { + r = ProbeResult{}; + r.local_port = port; + r.error = name == "portinuse" ? ProbeResult::Error::PortInUse : name == "nosocket" ? ProbeResult::Error::Bind : ProbeResult::Error::Cancelled; + r.error_text = name == "portinuse" ? "Address already in use" : name == "nosocket" ? "Cannot assign requested address" : ""; + } else if (name == "notresolved") { + r = ProbeResult{}; + r.local_port = port; + o.resolved = false; + } else { + return false; + } + o.local = verdict_of(r); + o.inbound = inbound_of(r); + if (kept) + o.save = read_save_reply(200, std::string(R"({"ResKind":0,"Verdict":")") + kept + R"(","TestedAt":)" + std::to_string(at) + "}", ""); + *out = o; + return true; +} + +} // namespace net::nat diff --git a/src/net/nat_job.cpp b/src/net/nat_job.cpp index 8a6c0278..2cbe3df0 100644 --- a/src/net/nat_job.cpp +++ b/src/net/nat_job.cpp @@ -137,10 +137,6 @@ void Job::run(JobParams p) { } o.at = unix_now(); host_log("%s", log_line(o).c_str()); - if (o.probe.error == ProbeResult::Error::None && o.resolved && o.shown() != Verdict::None) { - const Card c = card_of(o, o.at); - remember(Remembered{true, o.shown(), o.inbound, o.at, o.saved(), c.head, c.meaning}); - } std::lock_guard lk(mu_); view_.outcome = std::move(o); view_.running = false; diff --git a/src/net/nat_job.h b/src/net/nat_job.h index 15c2aea1..d4f2285b 100644 --- a/src/net/nat_job.h +++ b/src/net/nat_job.h @@ -53,17 +53,13 @@ class Job { }; // The latest result this process knows - a test the setup window ran, or the -// account's last one as the sign-in check read it (whoami's NatTest) - for -// F10's line in the game. +// account's last one as the sign-in check read it (whoami's NatTest) - as the +// setup window's card says it, for F10's line in the game. struct Remembered { bool known = false; - Verdict verdict = Verdict::None; - Inbound inbound = Inbound::NotTested; double at = 0; // Unix seconds bool saved = false; // kept for the account - // The card's headline and meaning for a test run here ("" for the - // account's last test: headline() and meaning() of its verdict). - std::string head = {}, meaning = {}; + Card card; // the card's words (the setup window remembers what it shows) }; void remember(const Remembered& r); Remembered remembered(); diff --git a/tests/nat_check_test.cpp b/tests/nat_check_test.cpp index 316897da..e75af390 100644 --- a/tests/nat_check_test.cpp +++ b/tests/nat_check_test.cpp @@ -20,6 +20,7 @@ // reading of a finished test (no answer kept or not, the server's blocked, // its answers stopped, every send refused...), no address in the log line. #include "net/nat_check.h" +#include "net/nat_examples.h" #include "net/stun.h" #include @@ -227,6 +228,7 @@ void exchange_cases() { CHECK(r.at[0].port == local && r.at[1].port == local); CHECK(r.at[0].addr == htonl(INADDR_LOOPBACK)); CHECK(r.local_addr == htonl(INADDR_LOOPBACK)); // this PC's own address toward the server: loopback's here + CHECK(!net::nat::behind_router(r)); // ... the address the server saw CHECK(net::nat::verdict_of(r) == Verdict::Direct); CHECK(r.change_answered && r.change_offered && r.offered_port == s.port[2]); CHECK(r.reached && r.reached_from == s.port[2]); @@ -245,6 +247,7 @@ void exchange_cases() { p.deadline_ms = 100; const ProbeResult r = net::nat::probe(p); CHECK(r.local_addr == htonl(INADDR_LOOPBACK)); + CHECK(net::nat::ipv4_text(r.local_addr) == "127.0.0.1"); } { // a new port per destination; the router drops the second answer Server s; @@ -513,30 +516,23 @@ void ports_cases() { CHECK(net::nat::parse_ports("0,3480") == (V{3479, 3480})); } +bool has(const std::string& text, const char* part) { return text.find(part) != std::string::npos; } + void words_cases() { - // The owner's words for the three results. - CHECK(std::string(net::nat::headline(Verdict::Direct)) == "Direct connections: yes, your router keeps one port"); - CHECK(std::string(net::nat::headline(Verdict::Relay)) == "You'll use the relay: your router changes ports per destination"); - CHECK(std::string(net::nat::headline(Verdict::Blocked)) == "UDP is blocked on this network"); - for (Verdict v : {Verdict::None, Verdict::Direct, Verdict::Relay, Verdict::Blocked, Verdict::Inconclusive}) - CHECK(std::string(net::nat::meaning(v)).size() > 40); // every result says what it means - CHECK(net::nat::inbound_line(Inbound::Closed, 9307).find("forwarding UDP port 9307") != std::string::npos); - // behind a router that changes ports, no forwarding advice: the relay carries it either way - CHECK(net::nat::inbound_line(Inbound::Closed, 9307, Verdict::Relay).find("forwarding") == std::string::npos); - CHECK(net::nat::inbound_line(Inbound::Closed, 9307, Verdict::Relay).find("the relay carries your sessions") != std::string::npos); - CHECK(net::nat::inbound_line(Inbound::Open, 9307, Verdict::Relay).find("go through the relay") != std::string::npos); - CHECK(net::nat::inbound_line(Inbound::Open, 9307).find("can connect to you directly") != std::string::npos); - CHECK(net::nat::inbound_line(Inbound::Unavailable, 9307).find("port check is not available on this server") != std::string::npos); CHECK(net::nat::ago(1000, 1030) == "just now"); CHECK(net::nat::ago(1000, 1000 + 300) == "5 minutes ago"); CHECK(net::nat::ago(1000, 1000 + 3 * 3600) == "3 hours ago"); CHECK(net::nat::ago(1000, 1000 + 2 * 86400) == "2 days ago"); + CHECK(net::nat::ipv4_text(net::nat::ipv4_net(10, 0, 0, 23)) == "10.0.0.23"); + CHECK(net::nat::ipv4_net(127, 0, 0, 1) == htonl(INADDR_LOOPBACK)); - // The log line: the verdict, the port check, the port, what was sent and refused, whether kept - no address. + // The log line: the verdict, the port check, the port, what was sent and refused, whether kept - no address, + // this PC's own on its network neither. const std::regex dotted(R"(\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b)"); net::nat::Outcome o; o.probe = made({{true, htonl(0xCB007107u), 9307}, {true, htonl(0xCB007107u), 9307}}, true, true, true); o.probe.sent = 3; + o.probe.local_addr = net::nat::ipv4_net(10, 0, 0, 23); o.local = net::nat::verdict_of(o.probe); o.inbound = net::nat::inbound_of(o.probe); o.signed_in = true; @@ -580,6 +576,40 @@ void words_cases() { CHECK(net::nat::log_line(o) == "connection test: UDP port 9307 is in use by another program (Address already in use); nothing sent"); o.resolved = false; CHECK(net::nat::log_line(o).find("did not resolve") != std::string::npos); + + // The steps that let other hunters in: the router's forward to this PC's address, the firewall, the test again. + using V = std::vector; + CHECK(net::nat::forward_steps(9307, "10.0.0.23", true, true) == + (V{"In your router's settings, forward UDP port 9307 to this PC (10.0.0.23).", + "Allow bbhost.exe in Windows Firewall (Private and Public).", "Then press Test again."})); + CHECK(net::nat::forward_steps(9400, "", true, false) == + (V{"In your router's settings, forward UDP port 9400 to this PC.", "If this PC runs a firewall, allow UDP port 9400 in it.", + "Then press Test again."})); + // this PC holds the public address itself: no router to forward on + CHECK(net::nat::forward_steps(9307, "203.0.113.7", false, true) == + (V{"Allow bbhost.exe in Windows Firewall (Private and Public).", "Then press Test again."})); + CHECK(net::nat::incoming_line(Inbound::Open) == + "Incoming: other hunters can connect to you directly, even those whose routers change ports."); + CHECK(net::nat::incoming_line(Inbound::Closed) == + "Incoming: hunters whose routers change ports can't connect to you directly, so they reach you through the relay."); + CHECK(net::nat::incoming_line(Inbound::Unavailable).empty() && net::nat::incoming_line(Inbound::NotTested).empty()); + // behind a router that changes ports, open changes nothing; neither says what the relay does (it may be off) + CHECK(has(net::nat::incoming_detail(Inbound::Open, 9307, Verdict::Relay), "so other hunters still can't connect directly")); + CHECK(!has(net::nat::incoming_detail(Inbound::Open, 9307, Verdict::Direct), "can't")); + CHECK(net::nat::incoming_detail(Inbound::Closed, 9307, Verdict::Relay) == net::nat::incoming_detail(Inbound::Closed, 9307, Verdict::Direct)); + CHECK(!has(net::nat::incoming_detail(Inbound::Closed, 9307, Verdict::Relay), "relay")); + CHECK(net::nat::incoming_detail(Inbound::Unavailable, 9307, Verdict::Direct) == "Incoming: not checked - this server has no port check."); + CHECK(net::nat::incoming_detail(Inbound::NotTested, 9307, Verdict::Direct) == "Incoming: not checked - the port check got no answer."); + + // The P2P port setting: 1024 to 65535, none of the server's test ports. + const std::vector tp{3479, 3480}; + CHECK(net::nat::p2p_port_problem(9307, tp).empty() && net::nat::p2p_port_problem(1024, tp).empty() && + net::nat::p2p_port_problem(65535, tp).empty()); + CHECK(net::nat::p2p_port_problem(1023, tp) == "Choose a port from 1024 to 65535."); + CHECK(net::nat::p2p_port_problem(65536, tp) == "Choose a port from 1024 to 65535."); + CHECK(net::nat::p2p_port_problem(0, tp) == "Choose a port from 1024 to 65535."); + CHECK(net::nat::p2p_port_problem(3480, tp) == "UDP 3480 is one of the server's test ports: choose another."); + CHECK(net::nat::p2p_port_problem(3479, {3679, 3680}).empty()); // a server of your own's ports } // A finished test as the job leaves it: what came back read, signed in or @@ -595,13 +625,33 @@ net::nat::Outcome finished(ProbeResult p, bool signed_in, const char* reply = nu return o; } -bool has(const std::string& text, const char* part) { return text.find(part) != std::string::npos; } +// The card's context: just after the test, the P2P port 9307, the relay +// switch as given, Windows' words. +net::nat::CardContext cx(net::nat::RelaySetting relay = net::nat::RelaySetting::Unknown, int port = 9307, bool windows = true) { + net::nat::CardContext x; + x.now = 1030; + x.p2p_port = port; + x.relay = relay; + x.windows = windows; + return x; +} + +net::nat::Outcome example(const char* name) { + net::nat::Outcome o; + CHECK(net::nat::example_outcome(name, 9307, 1000, &o)); + return o; +} + +bool any_has(const std::vector& lines, const char* part) { + for (const std::string& l : lines) { + if (has(l, part)) return true; + } + return false; +} void reading_cases() { using net::nat::Answer; - using net::nat::Card; using net::nat::Reading; - using net::nat::Tone; const Answer a{true, 0x0100000a, 9307}, b{true, 0x0100000a, 40002}, none{}; const char* kDirect = R"({"ResKind":0,"Verdict":"direct","TestedAt":5})"; const char* kRelay = R"({"ResKind":0,"Verdict":"relay","TestedAt":5})"; @@ -612,130 +662,268 @@ void reading_cases() { silent.sent = 17; ProbeResult refused = made({none, none}); // nothing went out refused.refused = 17; - refused.send_error_code = EPERM; - refused.send_error = "Operation not permitted"; refused.send_denied = true; ProbeResult one = made({a, none}); one.sent = 7; ProbeResult changes = made({a, b}); changes.sent = 3; - - // Not signed in, nothing back: this PC cannot tell out from back - no word of the server, nor of "this network" - // being blocked; signing in tells which. + // what came back, the server's word, signed in or not: each reading + CHECK(net::nat::reading_of(finished(silent, false)) == Reading::NoAnswer); + CHECK(net::nat::reading_of(finished(silent, true)) == Reading::NoAnswer); + CHECK(net::nat::reading_of(finished(silent, true, kBlocked)) == Reading::ServerBlocked); + CHECK(net::nat::reading_of(finished(silent, true, kDirect)) == Reading::AnswersStopped); + CHECK(net::nat::reading_of(finished(silent, true, kRelay)) == Reading::AnswersStopped); + CHECK(net::nat::reading_of(finished(refused, true)) == Reading::SendRefused); + CHECK(net::nat::reading_of(finished(refused, false)) == Reading::SendRefused); + CHECK(net::nat::reading_of(finished(back, true, kBlocked)) == Reading::AddressDiffers); + CHECK(net::nat::reading_of(finished(back, true, kDirect)) == Reading::Direct); + CHECK(net::nat::reading_of(finished(back, true, kRelay)) == Reading::Relay); // the server's word over this PC's + CHECK(net::nat::reading_of(finished(back, false)) == Reading::Direct); + CHECK(net::nat::reading_of(finished(one, true, kDirect)) == Reading::Direct); + CHECK(net::nat::reading_of(finished(one, false)) == Reading::Inconclusive); + CHECK(net::nat::reading_of(finished(changes, false)) == Reading::Relay); net::nat::Outcome o = finished(silent, false); - CHECK(net::nat::reading_of(o) == Reading::NoAnswer); - Card c = net::nat::card_of(o, 1030); - CHECK(c.tone == Tone::Bad && c.head == "No answer reached bbhost"); - CHECK(has(c.meaning, "either they did not get out, or the answers were stopped on the way back")); - CHECK(has(c.meaning, "Sign in (above) and test again: the server then tells which.")); - CHECK(!has(c.meaning, "reached the server") && !has(c.head, "blocked") && !has(c.meaning, "blocked")); - CHECK(c.incoming.empty() && c.note.empty()); - CHECK(c.detail == "Tested from UDP port 9307 (the game's P2P port). Just now; this PC's own reading, not saved to your account."); - // signed in, the server's answer lost: still no answer, test again - o = finished(silent, true); - o.save = net::nat::read_save_reply(0, "", "Couldn't connect to server"); - CHECK(net::nat::reading_of(o) == Reading::NoAnswer); - c = net::nat::card_of(o, 1030); - CHECK(has(c.meaning, "The server could not tell which this time: test again.") && !has(c.meaning, "Sign in")); - CHECK(has(c.detail, "not saved to your account: the server did not answer (Couldn't connect to server).")); - - // Kept, the server saw nothing from bbhost: if the website's test passes, something on this PC blocks bbhost.exe. - o = finished(silent, true, kBlocked); - CHECK(net::nat::reading_of(o) == Reading::ServerBlocked); - c = net::nat::card_of(o, 1030); - CHECK(c.tone == Tone::Bad && c.head == "Nothing from bbhost reached the server"); - CHECK(has(c.meaning, "If the website's connection test passes, your network is fine and a firewall, antivirus or VPN on this " - "PC is blocking bbhost.exe: allow it and test again - online play needs it.")); - CHECK(has(c.meaning, "If the website's test fails too, this network blocks UDP")); - CHECK(has(c.detail, "saved to your account for this network")); - - // Kept direct or relay, yet nothing came back: a warning that the answers are stopped - never "Direct connections: - // yes", no VPN or proxy blamed. - o = finished(silent, true, kDirect); - CHECK(net::nat::reading_of(o) == Reading::AnswersStopped); - c = net::nat::card_of(o, 1030); - CHECK(c.tone == Tone::Warn && c.head == "The server hears bbhost, but its answers don't reach it"); - CHECK(has(c.meaning, "reads it as direct") && has(c.meaning, "stopping what comes back to bbhost.exe")); - CHECK(!has(c.head, "Direct connections") && !has(c.meaning, "Direct connections")); - CHECK(c.note.empty() && c.incoming.empty()); - o = finished(silent, true, kRelay); - CHECK(net::nat::reading_of(o) == Reading::AnswersStopped && has(net::nat::card_of(o, 1030).meaning, "reads it as relay")); - - // Every send refused: this PC did not let bbhost send - its words and what to allow; nothing kept. - o = finished(refused, true); - CHECK(net::nat::reading_of(o) == Reading::SendRefused); - c = net::nat::card_of(o, 1030); - CHECK(c.tone == Tone::Bad && c.head == "This PC did not let bbhost send"); - CHECK(has(c.meaning, "refused every test packet bbhost tried to send from UDP port 9307 (Operation not permitted)")); - CHECK(has(c.meaning, "A firewall or antivirus on this PC is blocking bbhost.exe: allow bbhost.exe in it and test again")); - CHECK(has(c.detail, "not saved to your account: nothing was sent.") && c.note.empty() && c.incoming.empty()); - o.signed_in = false; - CHECK(net::nat::reading_of(o) == Reading::SendRefused); - // refused for another reason (no route): the network first, the firewall only maybe - o.probe.send_denied = false; - o.probe.send_error_code = ENETUNREACH; - o.probe.send_error = "Network is unreachable"; - c = net::nat::card_of(o, 1030); - CHECK(net::nat::reading_of(o) == Reading::SendRefused && has(c.meaning, "(Network is unreachable). Check this PC's network connection")); - CHECK(!has(c.meaning, "is blocking bbhost.exe")); - // some refused, the rest answered: the result stands, the refusals told - ProbeResult partly = back; - partly.refused = 2; - partly.send_error = "Operation not permitted"; - o = finished(partly, false); - CHECK(net::nat::reading_of(o) == Reading::Direct); - CHECK(has(net::nat::card_of(o, 1030).note, "This PC refused 2 of the 5 packets bbhost tried to send (Operation not permitted)")); - - // Kept blocked, yet the test ports answered bbhost: the request came from another address (a VPN or proxy). - o = finished(back, true, kBlocked); - CHECK(net::nat::reading_of(o) == Reading::AddressDiffers); - c = net::nat::card_of(o, 1030); - CHECK(c.tone == Tone::Warn && c.head == "The server did not see this test from your address"); - CHECK(has(c.meaning, "so UDP gets through") && has(c.meaning, "A VPN or proxy for web traffic")); - CHECK(!c.incoming.empty()); - - // The answers back: the server's verdict once kept, else this PC's. - o = finished(back, true, kDirect); - CHECK(net::nat::reading_of(o) == Reading::Direct); - c = net::nat::card_of(o, 1030); - CHECK(c.tone == Tone::Good && c.head == net::nat::headline(Verdict::Direct) && c.note.empty()); - CHECK(has(c.incoming, "Incoming: closed") && has(c.detail, ": the server saw public port 9307 at both test ports, the game's own")); - CHECK(has(c.detail, "Just now; saved to your account for this network")); - o = finished(back, true, kRelay); // the server's word and the reading it differs from - CHECK(net::nat::reading_of(o) == Reading::Relay); - c = net::nat::card_of(o, 1030); - CHECK(c.tone == Tone::Relay && c.head == net::nat::headline(Verdict::Relay)); - CHECK(c.note.rfind("This PC's own reading was \"direct\"", 0) == 0); - o = finished(one, true, kDirect); // one answer lost on the way back - CHECK(net::nat::reading_of(o) == Reading::Direct && has(net::nat::card_of(o, 1030).note, "did not come back to bbhost")); - o = finished(one, false); - CHECK(net::nat::reading_of(o) == Reading::Inconclusive); - CHECK(net::nat::card_of(o, 1030).tone == Tone::Warn); - o = finished(changes, false); - CHECK(net::nat::reading_of(o) == Reading::Relay && has(net::nat::card_of(o, 1030).note, "the server then knows to relay you")); - o = finished(back, false); - CHECK(net::nat::reading_of(o) == Reading::Direct && has(net::nat::card_of(o, 1030).note, "to keep it for your account")); - CHECK(net::nat::card_of(o, 1000 + 300).detail.find("5 minutes ago;") != std::string::npos); - - // Nothing sent for other reasons: the name, the port, the socket, a cancel. - o = finished(silent, false); o.resolved = false; - CHECK(net::nat::reading_of(o) == Reading::NotResolved && net::nat::card_of(o, 1030).detail.empty()); + CHECK(net::nat::reading_of(o) == Reading::NotResolved); o.resolved = true; o.probe.error = ProbeResult::Error::PortInUse; - CHECK(net::nat::reading_of(o) == Reading::PortInUse && net::nat::card_of(o, 1030).head == "UDP port 9307 is in use: close the game to test"); + CHECK(net::nat::reading_of(o) == Reading::PortInUse); o.probe.error = ProbeResult::Error::Bind; - o.probe.error_text = "Cannot assign requested address"; - CHECK(net::nat::reading_of(o) == Reading::NoSocket && net::nat::card_of(o, 1030).meaning == "Cannot assign requested address."); + CHECK(net::nat::reading_of(o) == Reading::NoSocket); + o.probe.error = ProbeResult::Error::Socket; + CHECK(net::nat::reading_of(o) == Reading::NoSocket); o.probe.error = ProbeResult::Error::Cancelled; - o.probe.error_text.clear(); - CHECK(net::nat::reading_of(o) == Reading::Cancelled && net::nat::card_of(o, 1030).meaning == "The test was stopped."); - for (Verdict v : {Verdict::Direct, Verdict::Relay, Verdict::Blocked, Verdict::Inconclusive}) { - const Tone t = net::nat::tone_of(v); - CHECK(t == (v == Verdict::Direct ? Tone::Good : v == Verdict::Relay ? Tone::Relay : v == Verdict::Blocked ? Tone::Bad : Tone::Warn)); + CHECK(net::nat::reading_of(o) == Reading::Cancelled); +} + +// The card's words for each kind of test: the headline and its status, the +// thing to do, the steps - the table the setup window shows. +void card_cases() { + using net::nat::Card; + using net::nat::Reading; + using net::nat::RelaySetting; + using net::nat::Tone; + const std::string allow = "Allow bbhost.exe in your firewall or antivirus, then press Test again."; + struct Row { + const char* name; + Reading reading; + Tone tone; + const char* head; + std::string action; + std::size_t steps; + }; + const Row table[] = { + {"direct-open", Reading::Direct, Tone::Good, "Online play works directly", "", 0}, + {"direct-closed", Reading::Direct, Tone::Good, "Online play works directly", "To let them connect directly:", 3}, + {"direct-unchecked", Reading::Direct, Tone::Good, "Online play works directly", "", 0}, + {"relay", Reading::Relay, Tone::Good, "Online play works through the relay", "", 0}, + {"inconclusive", Reading::Inconclusive, Tone::Warn, "The test was incomplete", "Press Test again.", 0}, + {"noanswer", Reading::NoAnswer, Tone::Bad, "Something is blocking bbhost", "Sign in (above), then press Test again to find out which.", 0}, + {"noanswer-signedin", Reading::NoAnswer, Tone::Bad, "Something is blocking bbhost", + "Press Test again to find out which: the server couldn't tell this time.", 0}, + {"serverblocked", Reading::ServerBlocked, Tone::Bad, "Online play is blocked", + allow + " If the website's connection test fails too, this network blocks online play (school and work networks can).", 0}, + {"answersstopped", Reading::AnswersStopped, Tone::Bad, "Answers aren't reaching bbhost", allow, 0}, + {"addressdiffers", Reading::AddressDiffers, Tone::Warn, "A VPN or proxy may be in the way", + "Turn off any VPN or proxy, then press Test again.", 0}, + {"refused", Reading::SendRefused, Tone::Bad, "Something on this PC is blocking bbhost", allow, 0}, + {"refused-other", Reading::SendRefused, Tone::Bad, "This PC couldn't send anything", + "Check this PC's internet connection. If it works, allow bbhost.exe in your firewall or antivirus, then press Test again.", 0}, + {"portinuse", Reading::PortInUse, Tone::Warn, "The game's port is in use", + "Close the game, or choose another P2P port below, then press Test again.", 0}, + {"nosocket", Reading::NoSocket, Tone::Warn, "The test couldn't use UDP port 9307", "Choose another P2P port below, then press Test again.", 0}, + {"notresolved", Reading::NotResolved, Tone::Warn, "The test server wasn't found", + "Check this PC's internet connection and the server chosen above, then press Test again.", 0}, + {"cancelled", Reading::Cancelled, Tone::Warn, "The test was stopped", "Press Test again.", 0}, + }; + CHECK(std::size(table) == std::size(net::nat::kExampleNames)); + for (const Row& row : table) { + const Card c = net::nat::card_of(example(row.name), cx()); + const bool ok = c.reading == row.reading && c.tone == row.tone && c.head == row.head && c.action == row.action && + c.steps.size() == row.steps && !c.sentence.empty(); + if (!ok) std::printf("FAIL card %s: [%d] %s | %s | %zu steps\n", row.name, static_cast(c.tone), c.head.c_str(), c.action.c_str(), c.steps.size()); + CHECK(ok); + // every sentence says what it means for co-op and PvP, or why nothing was tested + CHECK(has(c.sentence, "co-op and PvP") || has(c.sentence, "Co-op and PvP") || has(c.sentence, "online play") || + has(c.sentence, "nothing") || has(c.sentence, "couldn't run") || has(c.sentence, "the game.")); + } + // every reading its own headline (a refusal's two included): F10's line, the headline alone, keeps them apart + for (const Row& x : table) { + for (const Row& y : table) { + if (x.reading != y.reading) CHECK(std::string(x.head) != y.head); + } + } + // a name it does not know + net::nat::Outcome unknown; + CHECK(!net::nat::example_outcome("sideways", 9307, 0, &unknown)); + + // The sentences, word for word, where they carry the distinctions. + CHECK(net::nat::card_of(example("direct-open"), cx()).sentence == "Co-op and PvP can connect straight to other hunters, without the server's relay."); + CHECK(net::nat::card_of(example("relay"), cx()).sentence == + "Your router changes ports for each connection, so co-op and PvP go through the server's relay, with a little more delay."); + CHECK(has(net::nat::card_of(example("noanswer"), cx()).sentence, "A firewall or antivirus on this PC, or this network, stops")); + CHECK(has(net::nat::card_of(example("serverblocked"), cx()).sentence, "None of bbhost's packets reached the server")); + CHECK(has(net::nat::card_of(example("answersstopped"), cx()).sentence, "none of its answers came back")); + CHECK(has(net::nat::card_of(example("refused"), cx()).sentence, "refused every packet")); + CHECK(has(net::nat::card_of(example("portinuse"), cx()).sentence, "Another program has UDP port 9307")); + + // Incoming, in a player's words, for a direct result; the steps when closed - with this PC's address on its network. + Card c = net::nat::card_of(example("direct-open"), cx()); + CHECK(c.incoming == net::nat::incoming_line(Inbound::Open) && c.steps.empty()); + c = net::nat::card_of(example("direct-closed"), cx()); + CHECK(c.incoming == net::nat::incoming_line(Inbound::Closed)); + CHECK(c.steps == net::nat::forward_steps(9307, "10.0.0.23", true, true)); + CHECK(net::nat::card_of(example("direct-closed"), cx(RelaySetting::Unknown, 9307, false)).steps[1] == + "If this PC runs a firewall, allow UDP port 9307 in it."); + CHECK(net::nat::card_of(example("direct-unchecked"), cx()).incoming.empty()); // not checked: Details says so + CHECK(any_has(net::nat::card_of(example("direct-unchecked"), cx()).details, "Incoming: not checked - this server has no port check.")); + // behind a router that changes ports, incoming is no player's business: Details has it + c = net::nat::card_of(example("relay"), cx()); + CHECK(c.incoming.empty() && c.steps.empty() && any_has(c.details, "Incoming: closed")); + CHECK(c.details[0] == "Tested from UDP port 9307, the game's P2P port: the server saw public ports 9307 and 40002."); + // this PC holding the public address itself: no router step + net::nat::Outcome pub = example("direct-closed"); + pub.probe.local_addr = pub.probe.at[0].addr; + c = net::nat::card_of(pub, cx()); + CHECK(c.steps.size() == 2 && !any_has(c.steps, "router") && !any_has(c.details, "address on its network")); + // the address not known: the router step without it + pub.probe.local_addr = 0; + CHECK(net::nat::card_of(pub, cx()).steps[0] == "In your router's settings, forward UDP port 9307 to this PC."); + + // The relay switch off: where other hunters cannot get in, the card says so and how to fix it. + c = net::nat::card_of(example("direct-closed"), cx(RelaySetting::Off)); + CHECK(c.tone == Tone::Warn && c.head == "Other hunters may not reach you with the relay off"); + CHECK(has(c.sentence, "You turned the relay off") && has(c.sentence, "stops the first packets")); + CHECK(c.action == "Forward the port, or turn the relay back on below:" && c.steps.size() == 3 && c.incoming.empty()); + c = net::nat::card_of(example("relay"), cx(RelaySetting::Off)); + CHECK(c.tone == Tone::Warn && c.head == "Other hunters may not reach you with the relay off"); + CHECK(has(c.sentence, "changes ports for each connection") && c.action == "Turn the relay back on below." && c.steps.empty()); + c = net::nat::card_of(example("direct-open"), cx(RelaySetting::Off)); // off, and others get in: all is well + CHECK(c.tone == Tone::Good && c.head == "Online play works directly" && c.action.empty() && + any_has(c.details, "The relay is off for your account.")); + CHECK(net::nat::card_of(example("direct-unchecked"), cx(RelaySetting::Off)).tone == Tone::Good); // not known: no warning + c = net::nat::card_of(example("direct-closed"), cx(RelaySetting::On)); + CHECK(c.tone == Tone::Good && c.action == "To let them connect directly:" && !any_has(c.details, "The relay is off")); + // a relay result not signed in: the server needs it kept to relay you + net::nat::Outcome unsigned_relay = finished(made({{true, 0x0100000a, 9307}, {true, 0x0100000a, 40002}}), false); + unsigned_relay.probe.sent = 3; + CHECK(net::nat::card_of(unsigned_relay, cx()).action == "Sign in (above), then press Test again, so the server knows to relay you."); + + // Details: the port and what the server saw, when and whether it was kept, the server's word beside this PC's. + c = net::nat::card_of(example("direct-closed"), cx()); + CHECK(c.details.size() >= 3 && + c.details[0] == "Tested from UDP port 9307, the game's P2P port: the server saw public port 9307 at both test ports, the game's own."); + CHECK(any_has(c.details, "Incoming: closed - your router or this PC's firewall stopped a packet the server sent unasked to UDP port 9307.")); + CHECK(any_has(c.details, "Just now; saved to your account for this network (test again on another one).")); + CHECK(any_has(c.details, "This PC's address on its network: 10.0.0.23.")); + CHECK(any_has(net::nat::card_of(example("inconclusive"), cx()).details, "this PC's own reading, not saved to your account (sign in above to keep it).")); + CHECK(any_has(net::nat::card_of(example("noanswer-signedin"), cx()).details, + "not saved to your account: the server did not answer (Couldn't connect to server).")); + CHECK(net::nat::card_of(example("refused"), cx()).details[0] == + "This PC refused all 17 packets bbhost tried to send from UDP port 9307 (Operation not permitted)."); + CHECK(any_has(net::nat::card_of(example("answersstopped"), cx()).details, "The server heard bbhost and reads this network as direct.")); + CHECK(any_has(net::nat::card_of(example("addressdiffers"), cx()).details, "the server kept \"blocked\" for your account")); + CHECK(any_has(net::nat::card_of(example("portinuse"), cx()).details, "The system says: Address already in use.")); + CHECK(net::nat::card_of(example("notresolved"), cx()).details.empty()); + // what is not so is not said: no port check without answers, no server's word where it agrees, nothing heard + // where the server heard nothing + CHECK(!any_has(net::nat::card_of(example("noanswer"), cx()).details, "Incoming")); + CHECK(!any_has(net::nat::card_of(example("direct-closed"), cx()).details, "The server says")); + CHECK(!any_has(net::nat::card_of(example("serverblocked"), cx()).details, "heard bbhost")); + { + net::nat::Outcome differs = example("direct-closed"); + differs.save = net::nat::read_save_reply(200, R"({"ResKind":0,"Verdict":"relay","TestedAt":5})", ""); + c = net::nat::card_of(differs, cx()); + CHECK(c.reading == Reading::Relay && any_has(c.details, "The server says relay; this PC's own reading was direct.")); + net::nat::Outcome lost = example("direct-closed"); + lost.probe.at[1] = net::nat::Answer{}; + lost.local = net::nat::verdict_of(lost.probe); + CHECK(any_has(net::nat::card_of(lost, cx()).details, "a lost packet, most likely; the server saw both requests")); + net::nat::Outcome partly = example("direct-open"); + partly.probe.refused = 2; + partly.probe.send_error = "Operation not permitted"; + c = net::nat::card_of(partly, cx()); + CHECK(c.tone == Tone::Good && any_has(c.details, "This PC refused 2 of the 5 packets bbhost tried to send (Operation not permitted)")); + CHECK(!any_has(net::nat::card_of(example("direct-open"), cx()).details, "refused")); } - // the account's last test said blocked: the website passing while bbhost fails points at this PC - CHECK(has(net::nat::meaning(Verdict::Blocked), "If the website's test passes while bbhost's does not")); + // the details five minutes on + CHECK(any_has(net::nat::card_of(example("direct-open"), [] { auto x = cx(); x.now = 1300; return x; }()).details, "5 minutes ago;")); + // the P2P port changed since the test: the old port's result, tested again + c = net::nat::card_of(example("direct-closed"), cx(RelaySetting::Unknown, 9400)); + CHECK(c.action == "The P2P port is now 9400: press Test again." && c.steps.empty()); + CHECK(net::nat::card_of(example("direct-open"), cx(RelaySetting::Unknown, 9400)).action == "The P2P port is now 9400: press Test again."); + // nothing came back: no steps, as forwarding a port is not what is wrong + CHECK(net::nat::card_of(example("noanswer"), cx()).steps.empty()); + // The other answers to a test that could not tell which, signed in. + net::nat::Outcome limited = example("noanswer-signedin"); + limited.save = net::nat::read_save_reply(429, R"({"ResKind":1,"Message":"too many tests; try again later"})", ""); + CHECK(net::nat::card_of(limited, cx()).action == "Press Test again later to find out which: the server takes 10 tests an hour."); + limited.save = net::nat::read_save_reply(200, R"({"ResKind":1,"Message":"no such token"})", ""); + CHECK(net::nat::card_of(limited, cx()).action == "Sign in again (above), then press Test again to find out which."); + limited.save = net::nat::read_save_reply(404, R"({"detail":"Not Found"})", ""); + CHECK(has(net::nat::card_of(limited, cx()).action, "This server can't tell which, so start with this PC")); +} + +// The account's last test (whoami's NatTest), before one runs here; and the card before any test. +void record_cases() { + using net::nat::Record; + using net::nat::RelaySetting; + using net::nat::Tone; + const double three_hours_ago = 1030 - 3 * 3600; + // bbhost's, from this PC's P2P port: read as a test here would be, without this PC's address + net::nat::Card c = net::nat::card_of_record(Record{Verdict::Direct, Inbound::Closed, 9307, three_hours_ago}, cx()); + CHECK(c.tone == Tone::Good && c.head == "Online play works directly" && c.incoming == net::nat::incoming_line(Inbound::Closed)); + CHECK(c.steps.size() == 3 && c.steps[0] == "In your router's settings, forward UDP port 9307 to this PC."); + CHECK(c.details[0] == "Your account's last test, 3 hours ago, from UDP port 9307, this PC's P2P port."); + CHECK(any_has(c.details, "Incoming: closed")); + // turned off, from here: the warning + c = net::nat::card_of_record(Record{Verdict::Direct, Inbound::Closed, 9307, three_hours_ago}, cx(RelaySetting::Off)); + CHECK(c.tone == Tone::Warn && c.head == "Other hunters may not reach you with the relay off" && c.steps.size() == 3); + // the website's (no port check), or another port's: test this PC + c = net::nat::card_of_record(Record{Verdict::Direct, Inbound::NotTested, 0, three_hours_ago}, cx()); + CHECK(c.head == "Online play works directly" && c.action == "Press Test again to check this PC." && c.steps.empty() && c.incoming.empty()); + CHECK(c.details[0] == "Your account's last test, 3 hours ago, on the website or from another PC."); + c = net::nat::card_of_record(Record{Verdict::Direct, Inbound::Closed, 9400, three_hours_ago}, cx(RelaySetting::Off)); + CHECK(c.tone == Tone::Good && c.action == "Press Test again to check this PC." && c.steps.empty()); + CHECK(c.details[0] == "Your account's last test, 3 hours ago, from UDP port 9400; this PC's P2P port is UDP 9307."); + c = net::nat::card_of_record(Record{Verdict::Relay, Inbound::Open, 9307, three_hours_ago}, cx()); + CHECK(c.head == "Online play works through the relay" && c.action.empty() && c.incoming.empty()); + c = net::nat::card_of_record(Record{Verdict::Blocked, Inbound::NotTested, 9307, three_hours_ago}, cx()); + CHECK(c.tone == Tone::Bad && c.head == "Online play is blocked" && has(c.action, "Allow bbhost.exe")); + c = net::nat::card_of_record(Record{Verdict::Blocked, Inbound::NotTested, 0, three_hours_ago}, cx()); + CHECK(c.action == "Press Test again to check this PC."); + + // Not tested yet: what it does; with the relay off, a nudge to test. + c = net::nat::card_untested(cx(), true); + CHECK(c.tone == Tone::None && c.head == "Not tested yet" && c.action.empty()); + CHECK(c.details[0] == "It sends a few packets from UDP port 9307, the game's P2P port, and takes a few seconds; the game must be closed."); + CHECK(c.details[1] == "Signed in, the result is kept for your account."); + CHECK(net::nat::card_untested(cx(), false).details[1] == "Sign in (above) to keep the result for your account."); + c = net::nat::card_untested(cx(RelaySetting::Off), true); + CHECK(c.tone == Tone::Warn && c.action == "You turned the relay off: press Test connection to check that other hunters can reach you."); +} + +// The relay switch's guard: off at once only after a direct result with incoming open; else why, and the steps. +void relay_cases() { + CHECK(net::nat::relay_off_safe(Verdict::Direct, Inbound::Open)); + CHECK(!net::nat::relay_off_safe(Verdict::Direct, Inbound::Closed)); + CHECK(!net::nat::relay_off_safe(Verdict::Direct, Inbound::Unavailable)); + CHECK(!net::nat::relay_off_safe(Verdict::Relay, Inbound::Open)); + CHECK(!net::nat::relay_off_safe(Verdict::Blocked, Inbound::Open)); + const std::string lead = "Without the relay, other hunters must reach this PC directly. "; + net::nat::RelayOffWarning w = net::nat::relay_off_warning(false, Verdict::None, Inbound::NotTested, cx(), "", true); + CHECK(w.why == lead + "No test has checked that they can." && w.steps.size() == 3); + w = net::nat::relay_off_warning(true, Verdict::Direct, Inbound::Closed, cx(), "10.0.0.23", true); + CHECK(w.why == lead + "This PC's last test found that your router or firewall stops the first packets they send."); + CHECK(w.steps == net::nat::forward_steps(9307, "10.0.0.23", true, true)); + w = net::nat::relay_off_warning(true, Verdict::Direct, Inbound::Unavailable, cx(), "", true); + CHECK(w.why == lead + "This PC's last test couldn't check whether they can get in." && w.steps.size() == 3); + w = net::nat::relay_off_warning(true, Verdict::Relay, Inbound::Closed, cx(), "10.0.0.23", true); + CHECK(has(w.why, "changes ports for each connection, so they can't, and forwarding a port doesn't change that") && w.steps.empty()); + w = net::nat::relay_off_warning(true, Verdict::Blocked, Inbound::NotTested, cx(), "", true); + CHECK(w.why == lead + "This PC's last test didn't get through, so online play may not work at all." && w.steps.empty()); + w = net::nat::relay_off_warning(false, Verdict::None, Inbound::NotTested, cx(net::nat::RelaySetting::Unknown, 9500, false), "", false); + CHECK(w.steps == (std::vector{"If this PC runs a firewall, allow UDP port 9500 in it.", "Then press Test again."})); } } // namespace @@ -747,6 +935,9 @@ int main() { ports_cases(); words_cases(); reading_cases(); + card_cases(); + record_cases(); + relay_cases(); exchange_cases(); if (g_fail) { std::printf("nat_check_test: %d failures\n", g_fail); From 77e62ebe184d5ce1aded25d8f4b38f6221164d9c Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 14:16:06 -0800 Subject: [PATCH 042/100] setup: a direct result says what happens - with the relay on, "Your network allows direct connections" and co-op and PvP go through the relay; signed out, sign in first The card said "Online play works directly - Co-op and PvP can connect straight to other hunters, without the server's relay" for every direct result. With the account's relay on - the live server's default - co-op and PvP go through the relay all the same, so that was not what happens. A direct result now follows the sign-in and the relay switch (the sign-in check's RelayDirect): - signed in, the relay on: "Your network allows direct connections" and "The relay is on, so co-op and PvP go through it." With incoming open: "To connect directly instead, turn the relay off below." With incoming closed: "To connect directly instead:" and the steps that let other hunters in, the last one "Then press Test again; then you can turn the relay off below." With incoming not checked, no advice. - signed in, the relay off: "Online play works directly" as before (the warning when other hunters cannot get in, as before). - signed out: "Your network allows direct connections", "Your router keeps one port for the game." and "Sign in (above) to play online." - signed in on a server without the switch: as before. Relay results, the relay-off warning and the switch's guard are unchanged. F10's line repeats the new headline. docs/online.md has both direct headlines. Checked on the router bench (the server's own code): a router that keeps ports with incoming closed and with the port forwarded, signed in with the relay on and off and signed out, and one that changes ports; F10 in the game on lavapipe shows "Connection test (3 minutes ago): Your network allows direct connections". tests/nat_check_test.cpp: each of the cases above word for word, never "works directly" or "without the server's relay" with the relay on, the account's last test with the relay on, and relay results unchanged. Five more hand mutants of these branches each fail it. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/online.md | 3 +- src/host/launcher.cpp | 1 + src/net/nat_check.h | 26 +++++++++++++++++ tests/nat_check_test.cpp | 60 ++++++++++++++++++++++++++++++++++++++-- 4 files changed, 86 insertions(+), 4 deletions(-) diff --git a/docs/online.md b/docs/online.md index 940bea04..29542692 100644 --- a/docs/online.md +++ b/docs/online.md @@ -69,7 +69,8 @@ the one thing to do when there is something: | Headline | What it means | What to do | |---|---|---| -| **Online play works directly** | the same public port at both test ports: other players can connect to this PC without the relay | nothing; with incoming closed, the steps to forward the port (below) | +| **Your network allows direct connections** | the same public port at both test ports, with the relay on (the default): co-op and PvP go through the relay all the same | to connect directly, turn the relay off (the switch under the result) - with incoming closed, after the steps to forward the port; signed out, sign in to play online | +| **Online play works directly** | the same, with the relay off (or on a server without the switch): other players connect to this PC without the relay | nothing; with incoming closed, the steps to forward the port (below) | | **Online play works through the relay** | a different port (or address) at each, as symmetric and many carrier-grade NATs do: sessions go through the relay, with a little more delay | nothing (not signed in: sign in and test again, so the server knows to relay you) | | **Something is blocking bbhost** | nothing came back: something on this PC (a firewall or antivirus) or the network stops bbhost's packets or the answers | sign in and test again to find out which - the server tells | | **Online play is blocked** | signed in, the server saw none of bbhost's packets | allow bbhost.exe in the firewall or antivirus; if the website's test fails too, the network blocks online play (school and work networks can) | diff --git a/src/host/launcher.cpp b/src/host/launcher.cpp index 67c846e7..46a2b641 100644 --- a/src/host/launcher.cpp +++ b/src/host/launcher.cpp @@ -917,6 +917,7 @@ LauncherResult launcher_run(const HostConfig& cfg, const std::string& reason, bo net::nat::CardContext nat_cx; nat_cx.now = static_cast(std::time(nullptr)); nat_cx.p2p_port = p2p_port; + nat_cx.signed_in = net::account_logged_in() && !net::account_refused(); if (nat_check.state == net::AccountCheckState::Valid && nat_check.relay.known) nat_cx.relay = nat_check.relay.direct ? net::nat::RelaySetting::Off : net::nat::RelaySetting::On; if (nat_fake_relay) nat_cx.relay = nat_fake_relay > 0 ? net::nat::RelaySetting::Off : net::nat::RelaySetting::On; diff --git a/src/net/nat_check.h b/src/net/nat_check.h index 202784d8..108115f1 100644 --- a/src/net/nat_check.h +++ b/src/net/nat_check.h @@ -392,6 +392,7 @@ struct CardContext { double now = 0; // Unix seconds ("just now") int p2p_port = 9307; // the P2P port setting: the port the steps forward RelaySetting relay = RelaySetting::Unknown; // the account's relay switch + bool signed_in = true; // this PC is signed in (a sign-in the server still takes) bool windows = kWindows; // the firewall step's words }; @@ -482,9 +483,34 @@ inline constexpr char kAllowBbhost[] = "Allow bbhost.exe in your firewall or ant // last one - and what the relay switch does to them. `lan` and `router` are // the steps' (forward_steps); `signed_in`: the test asked the server (not // signed in, a relay result asks for a sign-in, which the relay goes by). +// A direct result says what happens: with the relay on (the account's switch, +// the live server's default) co-op and PvP go through it whatever the network +// allows; signed out, nothing goes online yet. Only with the relay off, or a +// server without the switch, does online play work directly. inline void result_words(Card& c, Verdict v, Inbound in, const CardContext& x, const std::string& lan, bool router, bool signed_in) { const bool off = x.relay == RelaySetting::Off; c.tone = Tone::Good; + if (v == Verdict::Direct && !x.signed_in) { + c.head = "Your network allows direct connections"; + c.sentence = "Your router keeps one port for the game."; + c.incoming = incoming_line(in); + c.action = "Sign in (above) to play online."; + return; + } + if (v == Verdict::Direct && x.relay == RelaySetting::On) { + c.head = "Your network allows direct connections"; + c.sentence = "The relay is on, so co-op and PvP go through it."; + c.incoming = incoming_line(in); + if (in == Inbound::Open) { + c.action = "To connect directly instead, turn the relay off below."; + } else if (in == Inbound::Closed) { + // First the steps that let other hunters in; then the relay can go. + c.action = "To connect directly instead:"; + c.steps = forward_steps(x.p2p_port, lan, router, x.windows); + c.steps.back() = "Then press Test again; then you can turn the relay off below."; + } + return; + } if (v == Verdict::Direct) { c.head = "Online play works directly"; c.sentence = "Co-op and PvP can connect straight to other hunters, without the server's relay."; diff --git a/tests/nat_check_test.cpp b/tests/nat_check_test.cpp index e75af390..08d4c3ee 100644 --- a/tests/nat_check_test.cpp +++ b/tests/nat_check_test.cpp @@ -626,13 +626,15 @@ net::nat::Outcome finished(ProbeResult p, bool signed_in, const char* reply = nu } // The card's context: just after the test, the P2P port 9307, the relay -// switch as given, Windows' words. -net::nat::CardContext cx(net::nat::RelaySetting relay = net::nat::RelaySetting::Unknown, int port = 9307, bool windows = true) { +// switch as given, Windows' words, signed in unless said. +net::nat::CardContext cx(net::nat::RelaySetting relay = net::nat::RelaySetting::Unknown, int port = 9307, bool windows = true, + bool signed_in = true) { net::nat::CardContext x; x.now = 1030; x.p2p_port = port; x.relay = relay; x.windows = windows; + x.signed_in = signed_in; return x; } @@ -642,6 +644,14 @@ net::nat::Outcome example(const char* name) { return o; } +// A relay result from a test that did not ask the server (signed out). +net::nat::Outcome unsigned_relay_out() { + net::nat::Outcome o = example("relay"); + o.signed_in = false; + o.save = SaveReply{}; + return o; +} + bool any_has(const std::vector& lines, const char* part) { for (const std::string& l : lines) { if (has(l, part)) return true; @@ -802,8 +812,45 @@ void card_cases() { CHECK(c.tone == Tone::Good && c.head == "Online play works directly" && c.action.empty() && any_has(c.details, "The relay is off for your account.")); CHECK(net::nat::card_of(example("direct-unchecked"), cx(RelaySetting::Off)).tone == Tone::Good); // not known: no warning + CHECK(!any_has(net::nat::card_of(example("direct-closed"), cx(RelaySetting::On)).details, "The relay is off")); + + // A direct result says what happens. The relay on (the live default): co-op and PvP go through it whatever the + // network allows - never "works directly ... without the server's relay"; turning it off is the way to direct. + for (const char* n : {"direct-open", "direct-closed", "direct-unchecked"}) { + c = net::nat::card_of(example(n), cx(RelaySetting::On)); + CHECK(c.tone == Tone::Good && c.head == "Your network allows direct connections"); + CHECK(c.sentence == "The relay is on, so co-op and PvP go through it."); + CHECK(!has(c.head, "works directly") && !has(c.sentence, "without the server's relay")); + } + c = net::nat::card_of(example("direct-open"), cx(RelaySetting::On)); + CHECK(c.incoming == net::nat::incoming_line(Inbound::Open) && c.steps.empty()); + CHECK(c.action == "To connect directly instead, turn the relay off below."); c = net::nat::card_of(example("direct-closed"), cx(RelaySetting::On)); - CHECK(c.tone == Tone::Good && c.action == "To let them connect directly:" && !any_has(c.details, "The relay is off")); + CHECK(c.incoming == net::nat::incoming_line(Inbound::Closed) && c.action == "To connect directly instead:"); + CHECK(c.steps == (std::vector{"In your router's settings, forward UDP port 9307 to this PC (10.0.0.23).", + "Allow bbhost.exe in Windows Firewall (Private and Public).", + "Then press Test again; then you can turn the relay off below."})); + c = net::nat::card_of(example("direct-unchecked"), cx(RelaySetting::On)); // whether others get in not known: no advice + CHECK(c.action.empty() && c.steps.empty() && c.incoming.empty()); + // the relay off: online play works directly, as it says + c = net::nat::card_of(example("direct-open"), cx(RelaySetting::Off)); + CHECK(c.head == "Online play works directly" && c.sentence == "Co-op and PvP can connect straight to other hunters, without the server's relay."); + // signed out: what the network allows, and the sign-in online play needs first - no steps yet + for (const char* n : {"direct-open", "direct-closed"}) { + c = net::nat::card_of(example(n), cx(RelaySetting::Unknown, 9307, true, false)); + CHECK(c.tone == Tone::Good && c.head == "Your network allows direct connections"); + CHECK(c.sentence == "Your router keeps one port for the game." && c.action == "Sign in (above) to play online." && c.steps.empty()); + } + CHECK(net::nat::card_of(example("direct-closed"), cx(RelaySetting::Unknown, 9307, true, false)).incoming == + net::nat::incoming_line(Inbound::Closed)); + // a server without the switch, signed in: as before + c = net::nat::card_of(example("direct-closed"), cx(RelaySetting::Unknown)); + CHECK(c.head == "Online play works directly" && c.action == "To let them connect directly:" && c.steps.size() == 3); + // relay results are the same whatever the switch says when on, and signed out + c = net::nat::card_of(example("relay"), cx(RelaySetting::On)); + CHECK(c.head == "Online play works through the relay" && c.action.empty() && c.tone == Tone::Good); + CHECK(net::nat::card_of(unsigned_relay_out(), cx(RelaySetting::Unknown, 9307, true, false)).action == + "Sign in (above), then press Test again, so the server knows to relay you."); // a relay result not signed in: the server needs it kept to relay you net::nat::Outcome unsigned_relay = finished(made({{true, 0x0100000a, 9307}, {true, 0x0100000a, 40002}}), false); unsigned_relay.probe.sent = 3; @@ -876,6 +923,13 @@ void record_cases() { CHECK(c.steps.size() == 3 && c.steps[0] == "In your router's settings, forward UDP port 9307 to this PC."); CHECK(c.details[0] == "Your account's last test, 3 hours ago, from UDP port 9307, this PC's P2P port."); CHECK(any_has(c.details, "Incoming: closed")); + // the relay on: the network allows it, the relay carries co-op and PvP; the steps end at the switch + c = net::nat::card_of_record(Record{Verdict::Direct, Inbound::Closed, 9307, three_hours_ago}, cx(RelaySetting::On)); + CHECK(c.head == "Your network allows direct connections" && c.action == "To connect directly instead:" && c.steps.size() == 3); + CHECK(c.steps[0] == "In your router's settings, forward UDP port 9307 to this PC." && + c.steps[2] == "Then press Test again; then you can turn the relay off below."); + c = net::nat::card_of_record(Record{Verdict::Direct, Inbound::NotTested, 0, three_hours_ago}, cx(RelaySetting::On)); + CHECK(c.head == "Your network allows direct connections" && c.action == "Press Test again to check this PC."); // turned off, from here: the warning c = net::nat::card_of_record(Record{Verdict::Direct, Inbound::Closed, 9307, three_hours_ago}, cx(RelaySetting::Off)); CHECK(c.tone == Tone::Warn && c.head == "Other hunters may not reach you with the relay off" && c.steps.size() == 3); From c5dd5106c75271f90429cfc3abcb434830297042 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:33:38 -0800 Subject: [PATCH 043/100] plugins: photo mode's Field of view row acts over all of its -40 to +60 degrees The camera's field of view was held to 10..120 degrees, and the game's own view is 43 (its camera's rows are 43 and 48): -33 already reached 10, so -34 to -40 did nothing. The row's degrees still go on the game's view, now held to 1..160, which the whole row stays inside from the game's narrowest view to its widest (96: a 48-degree row with the PC Field of view at +100%). The plugin's test checks -40 against the game's 43 (3 degrees, narrower than -34), +60 on it (103) and +60 on the game's widest view, 96 (156); frames of a game at -33, -34 and -40 differ (a mean difference of 65.4 between -33 and -34, 67.9 between -34 and -40, on the RTX). Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- plugins/photo_mode/photo_mode.cpp | 15 ++++++++++-- tests/photo_mode_plugin_test.cpp | 40 +++++++++++++++++++++++++++++-- 2 files changed, 51 insertions(+), 4 deletions(-) diff --git a/plugins/photo_mode/photo_mode.cpp b/plugins/photo_mode/photo_mode.cpp index f03251ce..2f4779d0 100644 --- a/plugins/photo_mode/photo_mode.cpp +++ b/plugins/photo_mode/photo_mode.cpp @@ -68,6 +68,11 @@ constexpr int kSpeedStart = 3; constexpr float kTurnRate = 2.2f; // radians a second at a full stick, at a 60 degree field of view constexpr float kMouseTurn = 0.0035f; // radians a count, as Dark Souls III's mouse (at 60 degrees) constexpr float kPitchLimit = 1.53f; // short of straight up and down +// The Field of view row's degrees go on the game's view, and the whole row +// acts: its -40 from the narrowest view the game's camera has (43 degrees, its +// own rows being 43 and 48) and its +60 from the widest (96: 48 with the PC +// Field of view at +100%) stay inside these. +constexpr float kFovLeast = 1.0f * kPi / 180.0f, kFovMost = 160.0f * kPi / 180.0f; constexpr std::uint32_t kStepUpdates = 2; constexpr float kHoldToggle = 0.5f; // seconds L3 is held to start or end photo mode // The world up this long before photo mode starts: the loading screen's page @@ -163,6 +168,12 @@ void basis(const Camera& c, float* right, float* up, float* fwd) { } } +// The camera's field of view: the game's view's and the Field of view row's +// degrees. +float fov_of(float game, int offset_degrees) { + return std::clamp(game + static_cast(offset_degrees) * kPi / 180.0f, kFovLeast, kFovMost); +} + // The camera's start: the game's view as it is drawn this frame. void seed_from(const BbCamera* view) { Camera& c = st.cam; @@ -174,7 +185,7 @@ void seed_from(const BbCamera* view) { c.roll = 0; for (int i = 0; i < 3; ++i) c.pos[i] = st.start_pos[i] = view->position[i]; st.game_fov = view->fov_y > 0.05f && view->fov_y < 3.0f ? view->fov_y : st.game_fov; - c.fov = std::clamp(st.game_fov + set.fov_offset * kPi / 180.0f, 10.0f * kPi / 180.0f, 120.0f * kPi / 180.0f); + c.fov = fov_of(st.game_fov, set.fov_offset); // Which way the game's right and up point against ours. c.right_sign = c.up_sign = 1.0f; float r[3], u[3], fw[3]; @@ -571,7 +582,7 @@ void on_option(const char* key, const char* value, void*) { } else if (std::strcmp(key, "hud") == 0) { if (st.on) api->hud_hide(kName, set.hud ? 0 : 1); } else if (std::strcmp(key, "fov") == 0) { - st.cam.fov = std::clamp(st.game_fov + set.fov_offset * kPi / 180.0f, 10.0f * kPi / 180.0f, 120.0f * kPi / 180.0f); + st.cam.fov = fov_of(st.game_fov, set.fov_offset); } else if (std::strcmp(key, "roll") == 0) { st.cam.roll = set.roll * kPi / 180.0f; } else if (st.on) { diff --git a/tests/photo_mode_plugin_test.cpp b/tests/photo_mode_plugin_test.cpp index c7d95ac9..99187412 100644 --- a/tests/photo_mode_plugin_test.cpp +++ b/tests/photo_mode_plugin_test.cpp @@ -6,8 +6,9 @@ // second (the game's L3, as the player's bindings make it), Frozen, with the // world held, the controls taken as its own and the HUD out of the picture; a // shorter press does nothing and one hold does one thing; the camera starts at -// the game's view and flies the way it looks; Cross and N advance a held world -// by two updates; its takes and reads of the keyboard and mouse are its own +// the game's view and flies the way it looks, and the Field of view row's +// whole range acts on it; Cross and N advance a held world by two updates; +// its takes and reads of the keyboard and mouse are its own // (input_take_as, input_as); Static gives the controls back but Options, the touchpad and // R3, Live flies over a running world, warns that enemies can still attack, // and holds the world again at the hunter's first hit; it ends on Escape, P @@ -388,6 +389,10 @@ int main(int argc, char** argv) { } } CHECK(pages == 6); + // The Field of view row goes from -40 to +60. + for (const BbOption* o = p.options; o->type; ++o) { + if (o->key && std::strcmp(o->key, "fov") == 0) CHECK(o->min == -40 && o->max == 60); + } } // An API 28 host: refused before asking for anything. @@ -428,6 +433,26 @@ int main(int argc, char** argv) { CHECK(std::fabs(view.position[0] - 1) < 1e-4f && std::fabs(view.position[2] - 3) < 1e-4f); CHECK(std::fabs(view.forward[2] - 1) < 1e-4f && std::fabs(view.right[0] - 1) < 1e-4f && std::fabs(view.up[1] - 1) < 1e-4f); CHECK(std::fabs(view.fov_y - 0.75f) < 1e-4f); + // The Field of view row's whole range acts on the game's 43 degrees: -40 + // is 3 degrees, narrower than -34 (once both 10), and +60 is 103. + { + constexpr float kDeg = 3.14159265f / 180.0f; + float fov[3] = {}; + const char* rows[3] = {"-40", "-34", "60"}; + for (int i = 0; i < 3; ++i) { + H.option_fn("fov", rows[i], H.option_user); + BbCamera v = game_view(); + H.view_fn(&v, H.view_user); + fov[i] = v.fov_y; + } + CHECK(std::fabs(fov[0] - (0.75f - 40.0f * kDeg)) < 1e-4f); + CHECK(fov[0] < fov[1] - 5.0f * kDeg); + CHECK(std::fabs(fov[2] - (0.75f + 60.0f * kDeg)) < 1e-4f); + H.option_fn("fov", "0", H.option_user); + view = game_view(); + H.view_fn(&view, H.view_user); + CHECK(std::fabs(view.fov_y - 0.75f) < 1e-4f); + } H.pad.ly = -1.0f; // the stick up: forward for (int i = 0; i < 10; ++i) frame(); H.pad.ly = 0.0f; @@ -559,6 +584,17 @@ int main(int argc, char** argv) { H.world.flags = BB_WORLD_IN; hold(0.6f); CHECK(H.paused == 1); + // The game's widest view (its 48 degrees with the PC Field of view at + // +100%: 96) and the row's +60: 156 degrees, the camera seeded with both. + { + constexpr float kDeg = 3.14159265f / 180.0f; + H.option_fn("fov", "60", H.option_user); + BbCamera wide = game_view(); + wide.fov_y = 96.0f * kDeg; + H.view_fn(&wide, H.view_user); + CHECK(std::fabs(wide.fov_y - 156.0f * kDeg) < 1e-3f); + H.option_fn("fov", "0", H.option_user); + } // Another player on the way: it ends at once, and does not start again. H.world.arriving = 1; From 80f3eca435e3f01534d4661ce8933a03db4d4701 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:34:09 -0800 Subject: [PATCH 044/100] graphics: a look's motion blur keeps to the 8 samples the game's blur is built for, 7 where the area interleaves them; photo mode's Samples row stops at 8 Photo mode's Samples row went to 16, and above 9 the picture stopped while the camera and the panel went on. YEBIS builds each motion blur technique for 1 to 8 samples only - sub_10183a0 loads tech_MotionBlur*_S1..S8, eight rows of a table, the techniques' tables back to back - and asserts so where the count is set (SetRecursiveBlurBaseSamples, 0x1020770); its passes index the tables by the count, so a larger one reads the next technique's rows. The game's own asserts say it every view at 9 ('m_iRecursiveBlurBaseSamples <= 8', 'nMod' in GPUTexUtil_GetRecursiveSampleParameters and MotionBlur_Generic), at 10 the velocity pass's too ('nSamples >= 1 && nSamples <= maxSamples' in DrawRectGPU_MotionBlur_VelocityT2_Sn) - and from 10 the picture froze: frames a few seconds apart over a running world were identical at 10 and 16, moving at 4 and 9 (lavapipe). Interleaved sampling (the block's +0x204) makes the count odd and its absence even (0x1034916, GetEffectiveRecursiveBlurBaseSamples at 0x1031370), so 8 interleaved would be 9; 1 and below are YEBIS's own 4 or 5. post_look keeps a look's count to 2..8 for any plugin, the look's apply to 7 where the area interleaves (engine/look_math.h, tested in look_math_test), and photo mode's row goes from 2 to 8, its help saying the areas use 3 or 4. Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 5 ++++ docs/plugins.md | 6 +++-- include/bbhost_plugin.h | 2 +- plugins/photo_mode/photo_mode.cpp | 7 +++-- src/engine/graphics_patch.cpp | 29 +++++++++++++++----- src/engine/look_math.h | 20 ++++++++++++++ src/host/plugins.cpp | 6 ++++- tests/look_math_test.cpp | 44 +++++++++++++++++++++++++++++++ tests/photo_mode_plugin_test.cpp | 19 ++++++++++--- 9 files changed, 123 insertions(+), 15 deletions(-) create mode 100644 src/engine/look_math.h create mode 100644 tests/look_math_test.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 75422042..1966c481 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1178,6 +1178,11 @@ if(UNIX) target_link_libraries(camera_settings_test PRIVATE Threads::Threads) add_test(NAME camera_settings_test COMMAND camera_settings_test) set_tests_properties(settings_store_test camera_settings_test PROPERTIES TIMEOUT 30) + # A plugin's look's arithmetic (engine/look_math.h): what apply_look writes + # into YEBIS's block for the motion blur's samples and the depth of field. + add_executable(look_math_test tests/look_math_test.cpp) + target_include_directories(look_math_test PRIVATE src) + add_test(NAME look_math_test COMMAND look_math_test) # Mouse sensitivity's scale and the old scale's settings read on it # (engine/mouse_camera_step.h). add_executable(mouse_sensitivity_test tests/mouse_sensitivity_test.cpp) diff --git a/docs/plugins.md b/docs/plugins.md index 7d0d5ec6..388d2171 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -282,8 +282,10 @@ over the game. behind the focus - the lens's blur, in place of the area's own distance ramps while it is on), chromatic aberration (off, or on with its lateral and uniform dispersions), motion blur (off, or on with its times, scale and - samples) and the fog (its distance, density and contrast times the area's, - its distance and height offsets added) - and the rest stay the area's. It is + samples - 2 to 8, the most the game's motion blur has shaders for, and 7 + where the area interleaves its samples, which makes 8 a 9) and the fog (its + distance, density and contrast times the area's, its distance and height + offsets added) - and the rest stay the area's. It is written every view into the numbers the area gives the post-processing and the fog, so nothing of the game's is kept or put back: `NULL` or `set` 0 is the area's own from the next frame. One look for all plugins - the last diff --git a/include/bbhost_plugin.h b/include/bbhost_plugin.h index 540229ef..43ce4559 100644 --- a/include/bbhost_plugin.h +++ b/include/bbhost_plugin.h @@ -442,7 +442,7 @@ typedef struct BbLook { int32_t motion_blur; /* BB_LOOK_MOTION_BLUR: 0 off, 1 on with the four below */ float blur_time, blur_length; /* the blur's two times (0.06-0.095 and 0.1-0.2 in Central Yharnam's views) */ float blur_scale; /* times blur_length, the camera blur's amount (0-4 there) */ - int32_t blur_samples; /* 1-16 (3 or 4 there) */ + int32_t blur_samples; /* 2-8 (3 or 4 there), 7 at most where the area interleaves its samples */ float fog_distance, fog_density, fog_contrast; /* BB_LOOK_FOG: times the area's */ float fog_distance_offset, fog_height_offset; /* metres added */ } BbLook; diff --git a/plugins/photo_mode/photo_mode.cpp b/plugins/photo_mode/photo_mode.cpp index 2f4779d0..80e697f1 100644 --- a/plugins/photo_mode/photo_mode.cpp +++ b/plugins/photo_mode/photo_mode.cpp @@ -570,7 +570,7 @@ bool take_option(const char* key, const char* value) { else if (k == "blur_time") num(0, 100, &set.blur_time); else if (k == "blur_length") num(0, 100, &set.blur_length); else if (k == "blur_scale") num(0, 100, &set.blur_scale); - else if (k == "blur_samples") num(1, 16, &set.blur_samples); + else if (k == "blur_samples") num(2, 8, &set.blur_samples); else return false; return true; } @@ -668,7 +668,10 @@ extern "C" BB_PLUGIN_EXPORT const BbOption bb_plugin_options[] = { LIVE_INT_WHEN("blur_time", "Time", "How long a moment the blur covers, in hundredths (an area's is about 9).", "9", 0, 100, "blur=On"), LIVE_INT_WHEN("blur_length", "Length", "The longest a streak gets, in hundredths (an area's is about 19).", "19", 0, 100, "blur=On"), LIVE_INT_WHEN("blur_scale", "Camera blur", "How much the camera's own turning blurs, in tenths (an area's is up to 40).", "40", 0, 100, "blur=On"), - LIVE_INT_WHEN("blur_samples", "Samples", "Steps along each streak: more is smoother and slower.", "4", 1, 16, "blur=On"), + LIVE_INT_WHEN("blur_samples", "Samples", + "Steps along each streak: more is smoother and slower. The areas use 3 or 4; 8 is the most the game's motion " + "blur is made for.", + "4", 2, 8, "blur=On"), {0, nullptr, nullptr, nullptr, nullptr, 0, 0, nullptr}}; #undef PANEL #undef LIVE_INT diff --git a/src/engine/graphics_patch.cpp b/src/engine/graphics_patch.cpp index d7ccea8b..c0fd9b5f 100755 --- a/src/engine/graphics_patch.cpp +++ b/src/engine/graphics_patch.cpp @@ -1,5 +1,6 @@ #include "guest_abi.h" #include "engine/graphics_patch.h" +#include "engine/look_math.h" #include "core/elf.h" #include "core/legacy_cpu.h" @@ -248,8 +249,23 @@ std::atomic g_vignette{true}, g_dof{true}; // distance, +0x1b4 the aperture (an f-number), +0x1d0 and +0x1d4 the // blur's levels in front of and behind the focus // +0x1dc motion blur on (SetMotionBlurEnable), +0x1e4 and +0x1e8 its two -// times, +0x1ec its sample count (an int), +0x350 what the apply -// multiplies +0x1e8 by into the camera blur's amount +// times, +0x1ec its sample count (an int, "NumBaseSamples"), +0x204 +// its samples interleaved (a byte, "SampleInterleaved"), +0x350 what +// the apply multiplies +0x1e8 by into the camera blur's amount +// +// The sample count has a ceiling the post effect does not check. YEBIS builds +// each motion blur technique for 1 to 8 samples only (sub_10183a0 loads +// tech_MotionBlur*_S1..S8, eight 0x58-byte rows of a table, and the +// techniques' tables lie back to back) and asserts fewer than 9 where the +// count is set (SetRecursiveBlurBaseSamples, 0x1020770); its passes index the +// tables by the count (0x1033e6e, 0x1034916) - past 8, rows of the next +// technique's table, or past the last one - so a larger count draws with +// shaders that are not the blur's: the picture stopped from 10 samples on, and +// a float written there as a test once kept the game from fading in. 1 and +// below are taken as YEBIS's own 4 or 5. Interleaved sampling makes the count +// odd and its absence even (0x1034916, GetEffectiveRecursiveBlurBaseSamples at +// 0x1031370), so 8 interleaved is 9: a look's count is kept to 2..8, and to 7 +// where the area interleaves. // // The areas' depth of field is not the lens above but the game's own table: // each view the apply (the loop at 0x25d9760) fills 2048 floats at the YEBIS @@ -276,7 +292,8 @@ constexpr std::size_t kAberration = 0xac, kAberrationDispersion = 0xb4; // setting's Off has cleared it, so the look's depth of field wins either way. constexpr std::size_t kDofAuto = 0x188, kDofOn = kDofEnable, kDofFocus = 0x1b0, kDofAperture = 0x1b4, kDofNear = 0x1d0, kDofFar = 0x1d4; -constexpr std::size_t kBlurOn = 0x1dc, kBlurTime = 0x1e4, kBlurLength = 0x1e8, kBlurSamples = 0x1ec, kBlurScale = 0x350; +constexpr std::size_t kBlurOn = 0x1dc, kBlurTime = 0x1e4, kBlurLength = 0x1e8, kBlurSamples = 0x1ec, kBlurInterleaved = 0x204, + kBlurScale = 0x350; std::mutex g_look_mu; GraphicsLook g_look; // under g_look_mu std::atomic g_look_set{0}; // its groups: one load a view while there is none @@ -760,14 +777,14 @@ void apply_look(std::uint8_t* b) { host_log("graphics: a look over the area's exposure %g (auto %d, middle grey %g), gamma %g, saturation %g, value %g, " "contrast %g, vignette %g; aberration %g (%g %g, %g %g); depth of field %d (auto focus %d, focus %g, aperture " "%g, levels %d %d; its table's custom near %d far %d, scales %g %g, cut past %g m; the post effect's part %d, " - "on %d); motion blur %d (%g %g, %d samples, scale %g)", + "on %d); motion blur %d (%g %g, %d samples%s, scale %g)", getf(kExposure), geti(kAutoExposure), getf(kMiddleGrey), getf(kGamma), getf(kSaturation), getf(kValue), getf(kContrast), getf(kVignettePower), getf(kAberration), getf(kAberrationDispersion), getf(kAberrationDispersion + 4), getf(kAberrationDispersion + 8), getf(kAberrationDispersion + 12), geti(kDofOn), geti(kDofAuto), getf(kDofFocus), getf(kDofAperture), geti(kDofNear), geti(kDofFar), geti(kDofCustomNear), geti(kDofCustomFar), getf(kDofNearScale), getf(kDofFarScale), getf(kDofCut), yebis_dof_ready(), yebis_dof_on(), geti(kBlurOn), getf(kBlurTime), getf(kBlurLength), geti(kBlurSamples), - getf(kBlurScale)); + b[kBlurInterleaved] ? ", interleaved" : "", getf(kBlurScale)); } if (l.set & kLookTone) { // The exposure: the adapted one's target with auto exposure on (the @@ -820,7 +837,7 @@ void apply_look(std::uint8_t* b) { if (l.motion_blur) { setf(kBlurTime, l.blur_time); setf(kBlurLength, l.blur_length); - seti(kBlurSamples, l.blur_samples); + seti(kBlurSamples, look_math::blur_samples(l.blur_samples, b[kBlurInterleaved] != 0)); setf(kBlurScale, l.blur_scale); } } diff --git a/src/engine/look_math.h b/src/engine/look_math.h new file mode 100644 index 00000000..6ecd0770 --- /dev/null +++ b/src/engine/look_math.h @@ -0,0 +1,20 @@ +#pragma once + +// The arithmetic of a plugin's look (plugin API 29's post_look) that +// engine/graphics_patch.cpp's apply_look writes into YEBIS's post-process +// block, apart from the block so that tests/look_math_test.cpp checks it +// without the game. + +namespace look_math { + +// The motion blur's sample count a look writes (the block's +0x1ec): 2 to 8, +// 7 where the area interleaves its samples (+0x204). YEBIS's techniques are +// built for 1 to 8 samples and a larger count draws with shaders that are not +// the blur's; interleaving makes the count odd, so 8 would be 9; 1 and below +// are taken as YEBIS's own 4 or 5 (graphics_patch.cpp says where). +constexpr int blur_samples(int wanted, bool interleaved) { + const int most = interleaved ? 7 : 8; + return wanted < 2 ? 2 : wanted > most ? most : wanted; +} + +} // namespace look_math diff --git a/src/host/plugins.cpp b/src/host/plugins.cpp index 2f5ffb7c..f119a9c4 100644 --- a/src/host/plugins.cpp +++ b/src/host/plugins.cpp @@ -1621,7 +1621,11 @@ int api_post_look(const char* name, const BbLook* look, std::uint32_t* available l.blur_time = look_value(b.blur_time, 0.0f, 100.0f, 0.0f); l.blur_length = look_value(b.blur_length, 0.0f, 100.0f, 0.0f); l.blur_scale = look_value(b.blur_scale, 0.0f, 100.0f, 0.0f); - l.blur_samples = std::clamp(b.blur_samples, 1, 16); + // YEBIS's motion blur is built for 1 to 8 samples and draws with + // shaders that are not the blur's past that (engine/graphics_patch.cpp); + // 1 is its own 4 or 5. The look's apply keeps it to 7 where the area + // interleaves its samples. + l.blur_samples = std::clamp(b.blur_samples, 2, 8); l.fog_distance = look_value(b.fog_distance, 0.01f, 100.0f, 1.0f); l.fog_density = look_value(b.fog_density, 0.0f, 16.0f, 1.0f); l.fog_contrast = look_value(b.fog_contrast, 0.0f, 16.0f, 1.0f); diff --git a/tests/look_math_test.cpp b/tests/look_math_test.cpp new file mode 100644 index 00000000..a1efc6d6 --- /dev/null +++ b/tests/look_math_test.cpp @@ -0,0 +1,44 @@ +// engine/look_math.h: what a plugin's look (post_look) writes into YEBIS's +// post-process block, without the game. The motion blur's sample count stays +// where YEBIS has shaders for it: 2 to 8, 7 where the area interleaves its +// samples (8 interleaved is 9). +#include "engine/look_math.h" + +#include +#include + +static int g_failures = 0; +#define CHECK(cond) \ + do { \ + if (!(cond)) { \ + std::fprintf(stderr, "%s:%d: CHECK failed: %s\n", __FILE__, __LINE__, #cond); \ + ++g_failures; \ + } \ + } while (0) + +int main() { + using look_math::blur_samples; + // Inside: as asked, interleaved or not. + for (int n = 2; n <= 7; ++n) { + CHECK(blur_samples(n, false) == n); + CHECK(blur_samples(n, true) == n); + } + CHECK(blur_samples(8, false) == 8); + // The ceiling: 8, and 7 interleaved (YEBIS would make 8 a 9). + CHECK(blur_samples(8, true) == 7); + for (const int n : {9, 10, 16, 1000, 0x7fffffff}) { + CHECK(blur_samples(n, false) == 8); + CHECK(blur_samples(n, true) == 7); + } + // The floor: 1 and below are YEBIS's own 4 or 5, not one sample. + for (const int n : {1, 0, -1, -0x7fffffff}) { + CHECK(blur_samples(n, false) == 2); + CHECK(blur_samples(n, true) == 2); + } + if (g_failures) { + std::fprintf(stderr, "look_math_test: %d failure(s)\n", g_failures); + return 1; + } + std::printf("look_math_test: ok\n"); + return 0; +} diff --git a/tests/photo_mode_plugin_test.cpp b/tests/photo_mode_plugin_test.cpp index 99187412..fbda12f6 100644 --- a/tests/photo_mode_plugin_test.cpp +++ b/tests/photo_mode_plugin_test.cpp @@ -17,7 +17,8 @@ // with another player in the world or on the way, or in another's world; the // HUD option shows the HUD; its panel opens with it, R3 hides and shows it, // and the panel's rows go over the area's look while it runs and nowhere -// else. Its options table is whole, every row with its help. +// else, motion blur's samples within what the game's blur is made for. Its +// options table is whole, every row with its help. // // photo_mode_plugin_test #include "bbhost_plugin.h" @@ -389,9 +390,12 @@ int main(int argc, char** argv) { } } CHECK(pages == 6); - // The Field of view row goes from -40 to +60. + // The Field of view row goes from -40 to +60, the motion blur's samples + // stop at 8. for (const BbOption* o = p.options; o->type; ++o) { - if (o->key && std::strcmp(o->key, "fov") == 0) CHECK(o->min == -40 && o->max == 60); + if (!o->key) continue; + if (std::strcmp(o->key, "blur_samples") == 0) CHECK(o->min == 2 && o->max == 8); + if (std::strcmp(o->key, "fov") == 0) CHECK(o->min == -40 && o->max == 60); } } @@ -477,6 +481,15 @@ int main(int argc, char** argv) { CHECK(H.look_on && (H.look.set & BB_LOOK_TONE) && std::fabs(H.look.saturation - 0.5f) < 1e-6f && H.look.exposure == 1.0f); H.option_fn("dof", "On", H.option_user); CHECK((H.look.set & BB_LOOK_DOF) && H.look.dof == 1 && std::fabs(H.look.dof_focus - 9.0f) < 1e-4f && H.look.dof_far_levels == 1); + // Motion blur's samples within 2..8, whatever the config holds. + H.option_fn("blur", "On", H.option_user); + H.option_fn("blur_samples", "16", H.option_user); + CHECK((H.look.set & BB_LOOK_MOTION_BLUR) && H.look.blur_samples == 8); + H.option_fn("blur_samples", "1", H.option_user); + CHECK(H.look.blur_samples == 2); + H.option_fn("blur_samples", "6", H.option_user); + CHECK(H.look.blur_samples == 6); + H.option_fn("blur", "Area's own", H.option_user); H.option_fn("fog_height", "-50", H.option_user); CHECK((H.look.set & BB_LOOK_FOG) && H.look.fog_height_offset == -50.0f && H.look.fog_distance == 1.0f); H.option_fn("vignette", "Strong", H.option_user); From 3771b787bd2d1ff760b312756612ba1a49a26853 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:34:14 -0800 Subject: [PATCH 045/100] world pause: each frame advance logs the updates it let run and the game time they took world_step's updates ran unseen: how far a press moved the world was a guess. The in-game update's hook now adds up, for the updates a step lets run, each one's own step - its first float argument, what the play time adds (0x1d419d6) - and logs them with the play time's own count when the world is held again, the first 16 a run: "a frame advance ran N update(s), X ms of game time (the play time +Y ms)". Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- src/engine/world_pause.cpp | 39 +++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/src/engine/world_pause.cpp b/src/engine/world_pause.cpp index 0aecbb9c..9bedee1a 100644 --- a/src/engine/world_pause.cpp +++ b/src/engine/world_pause.cpp @@ -5,11 +5,14 @@ #include "core/portable.h" #include "engine/addr.h" #include "engine/graphics_patch.h" +#include "engine/player_data.h" #include "guest_abi.h" #include "log.h" #include +#include #include +#include #include #include #include @@ -38,6 +41,13 @@ std::atomic g_held{false}; std::uint64_t g_step = 0; // the step seen last bool g_ours = false; // the bytes are ours: we set them bool g_told = false; // "held" logged, until the world runs again +// A frame advance's measure, logged when the world is held again: the updates +// world_step let run and the game time they took - each update's own step, its +// first float argument (what the play time adds, 0x1d419d6), in game seconds - +// and the play time's own count across them. +std::uint32_t g_advance_updates = 0; +double g_advance_seconds = 0.0; +std::int64_t g_advance_play_ms = -1; // the play time before the first of them std::uint64_t read64(std::uint64_t at) { std::uint64_t v = 0; @@ -77,7 +87,16 @@ GUEST_ABI std::int64_t in_game_update_hook(std::uint64_t, const std::uint64_t* s std::uint32_t left = g_steps.load(std::memory_order_relaxed); while (left && !g_steps.compare_exchange_weak(left, left - 1, std::memory_order_relaxed)) { } - if (left) hold = false; + if (left) { + hold = false; + // The update's step: xmm0, which the prologue stub keeps 136 + // bytes below the argument registers (core/thunk.h). + float dt = 0.0f; + std::memcpy(&dt, reinterpret_cast(saved) - 136, sizeof(dt)); + if (!g_advance_updates && !player_stat_get("play_time_ms", &g_advance_play_ms)) g_advance_play_ms = -1; + ++g_advance_updates; + if (std::isfinite(dt) && dt > 0.0f) g_advance_seconds += dt; + } } if (hold && !read64(read64(step + kCameraRoot) + kDebugCamera)) { static bool told = false; @@ -88,6 +107,22 @@ GUEST_ABI std::int64_t in_game_update_hook(std::uint64_t, const std::uint64_t* s if (hold) { if (!g_told) host_log("world pause: the world held (in-game step %llx)", static_cast(step)); g_told = true; + if (g_advance_updates) { + static int lines = 0; // the first 16 a run: enough to see what a press does + if (lines < 16) { + const char* more = ++lines == 16 ? "; the ones after it go unlogged" : ""; + std::int64_t play_ms = -1; + if (g_advance_play_ms >= 0 && player_stat_get("play_time_ms", &play_ms)) + host_log("world pause: a frame advance ran %u update(s), %.1f ms of game time (the play time %+lld ms)%s", + g_advance_updates, g_advance_seconds * 1000.0, + static_cast(play_ms - g_advance_play_ms), more); + else + host_log("world pause: a frame advance ran %u update(s), %.1f ms of game time%s", g_advance_updates, + g_advance_seconds * 1000.0, more); + } + g_advance_updates = 0; + g_advance_seconds = 0.0; + } bytes[kHeld] = 1; bytes[kHeldEffects] = 1; g_ours = true; @@ -101,6 +136,8 @@ GUEST_ABI std::int64_t in_game_update_hook(std::uint64_t, const std::uint64_t* s if (g_told && !g_want.load(std::memory_order_relaxed)) { host_log("world pause: the world runs again"); g_told = false; + g_advance_updates = 0; // an advance the hold's end cut short is not one + g_advance_seconds = 0.0; } g_held.store(g_ours, std::memory_order_relaxed); return 0; From 686fefd6f2a434e268885c517dac276d716bd095 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:34:26 -0800 Subject: [PATCH 046/100] plugins: photo mode's frame advance is one frame Cross or N let the held world run two updates: two frames a press. One update is the smallest step the world takes - one frame's time, 1/60 s at 60 - so a press is one now; the Mode row's help and the plugin's test say so. Measured with the frame advance's log on the RTX, the game at its own 30: four presses before, each 2 updates, 66.7 ms of game time (the play time +66 ms); after, each 1 update, 33.3 ms (+33 ms). One press still moves the picture: a mean difference of 1.60 between the frames before and after it (2.19 with two updates). Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 2 +- plugins/photo_mode/photo_mode.cpp | 13 +++++++------ tests/photo_mode_plugin_test.cpp | 8 ++++---- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index 388d2171..abe429dc 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -800,7 +800,7 @@ setup window can download the latest signed plugins from the newest release. | `quake` | Off until turned on. First person with Quake 3's movement and view: strafe jumping, bunny hopping (hold jump to keep hopping), crouching, the walls only characters meet (the invisible ones along ledges) as solid as the rest, creatures as solid as Quake 3's players, and a choice of physics - Quake 3 (VQ3, the default), CPMA, Quake 1 + CPMA, QuakeWorld and DeFRaG's. Five guns made of Bloodborne's (Cannon, Church Cannon, Piercing Rifle, Blunderbuss, Gatling Gun), always +10, firing from the view with each gun's own flash and sound: rockets and grenades at Quake 3's speeds (the grenade bouncing until its fuse), the Blunderbuss's and the Gatling Gun's own bullets, and a plasma of A Call Beyond's star or Blacksky Eye's shard; their blasts throw the player (rocket and grenade jumps, plasma climbing), and the gun that is up is drawn at the lower right with Quake 3's bob and kick. Field of view, mouse sensitivity, gravity and knockback are settings. While photo mode holds the world, Quake holds too: the player stays where they were and the view as it was. | | `lohit` | Off until turned on. The map's lo-hit collision drawn in place of the map's own geometry (the game's own WorldHitMan debug draw, with GROUP MASK > Map off): every part loaded (Whole map, the default), or the part you stand on and the parts connected to it, one step out; Hi-hit shows the detailed collision characters and objects use instead. Each mesh is built once into a vertex buffer of its own and drawn with two draws a frame, where the game's debug draw rebuilt every triangle each frame and copied it twice (the triangles' edges the game drew over the faces, a second draw costing the GPU more than the faces, are left out). Its depth (plugin API 17) is drawn ahead of the scene's objects too, so the game's occlusion culling skips what is behind its walls, as the map's own geometry would. It is drawn inside the scene ahead of its effects so fire, sparks, blood and mist show over it, by default in the launcher's deep violet (walls) and dark blue (floors); the Colours sliders set both (0-255, as they come out on the screen) for the lo-hit and the hi-hit. Pair it with Performance mode (the setup window's main page) for the post-effects off. | | `ps1` | Off until turned on. Bloodborne PS1: the 3D drawn as the first PlayStation drew it, the HUD and the menus left sharp at the window's size: its vertices snapped to a grid of the screen as it moves (Vertex snap: 240p, the PS1's own screen, by default; 480p, 360p, 120p or off), its textures unfiltered (no bilinear, trilinear or anisotropic filtering), its colour targets 8 bits a channel (8-bit colour, as the rgba8f patch makes them; the colour grading then steps between its table's entries too, where it is smooth without it), and the 3D at its own Resolution - Native (the Resolution setting, at most the window's), 480p, 360p or 240p, each as wide as the window's shape gives - brought up to the window pixel for pixel, with no smoothing. Upscaling and the anti-aliasing stand aside while it is on. Old-hardware sound (off by default) makes everything the game plays sound like an old console's sound chip: PS1 (22050 Hz, 12 bits, muffled above 10 kHz), Crunchy (11025 Hz, 8 bits, no low-pass going in, so it aliases) or Custom (a rate and bits of its own). Each option changes in the game (F9). | -| `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, rebuilt from Nox-'s [bbphoto](https://github.com/Noxde/bbhost-photo-mode-plugin): hold L3 for half a second, or press P, for a free camera over the world held still (Frozen; Cross or N lets it run two more updates), the hunter playing on (Static) or the world running (Live - enemies can still attack the hunter, and the first hit holds the world again), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field, chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. Being on by default, it never opens the setup window by itself: its settings wait on the Plugins tab and in game. While it is on, bbphoto is not loaded, so the two never both answer L3 and P; `photo_mode = false` loads bbphoto again. | +| `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, rebuilt from Nox-'s [bbphoto](https://github.com/Noxde/bbhost-photo-mode-plugin): hold L3 for half a second, or press P, for a free camera over the world held still (Frozen; Cross or N advances it one frame), the hunter playing on (Static) or the world running (Live - enemies can still attack the hunter, and the first hit holds the world again), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field, chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. Being on by default, it never opens the setup window by itself: its settings wait on the Plugins tab and in game. While it is on, bbphoto is not loaded, so the two never both answer L3 and P; `photo_mode = false` loads bbphoto again. | | `debug_menu` | Restores the developers' debug menu (`` ` `` opens it), in English or the developers' Japanese, and makes the debug font it draws with from the public-domain X11 fonts k14 and 7x14, so nothing has to be downloaded. Cheating against other players with it gets an account banned; trying it out online with friends is fine. | The gameplay plugins - all five - announce themselves in the session's diff --git a/plugins/photo_mode/photo_mode.cpp b/plugins/photo_mode/photo_mode.cpp index 80e697f1..eb16e0ee 100644 --- a/plugins/photo_mode/photo_mode.cpp +++ b/plugins/photo_mode/photo_mode.cpp @@ -8,7 +8,7 @@ // stick's, unless Key Bindings moved it (BbPad.play) - which the game itself // does nothing with, so holding it never moves the hunter. Three modes: // Frozen the world held still (world_pause) while the camera flies; Cross -// (N on the keyboard) lets it run two more updates - a frame advance. +// (N on the keyboard) lets it run one more frame - a frame advance. // Static the camera stays where it is and the hunter plays on: the // controller and the keys are the game's again, but for photo mode's // own. @@ -73,7 +73,9 @@ constexpr float kPitchLimit = 1.53f; // short of straight up and down // own rows being 43 and 48) and its +60 from the widest (96: 48 with the PC // Field of view at +100%) stay inside these. constexpr float kFovLeast = 1.0f * kPi / 180.0f, kFovMost = 160.0f * kPi / 180.0f; -constexpr std::uint32_t kStepUpdates = 2; +// A frame advance: one update, the smallest step the world takes (a frame's +// time - 1/60 s at 60 fps). +constexpr std::uint32_t kStepUpdates = 1; constexpr float kHoldToggle = 0.5f; // seconds L3 is held to start or end photo mode // The world up this long before photo mode starts: the loading screen's page // stays and fades out over the world's first frames - some 75 of them, two @@ -607,10 +609,9 @@ extern "C" BB_PLUGIN_EXPORT const BbOption bb_plugin_options[] = { PANEL("camera", "Camera", "How photo mode's camera sees, and what the world does meanwhile."), {BB_OPT_CHOICE | BB_OPT_LIVE, "mode", "Mode", - "Frozen holds the world still while the camera flies (Cross or N lets it run two more updates). Static keeps the " - "camera where it is while you play on. Live flies the camera while the world keeps running: enemies can still attack " - "your hunter, who stands still meanwhile, and the first hit holds the world again (Frozen). Photo mode always starts " - "Frozen.", + "Frozen holds the world still (Cross or N lets it run one frame). Static keeps the camera where it is while you play " + "on. Live flies it while the world runs: enemies can still attack your hunter, and the first hit holds the world " + "again. Photo mode always starts Frozen.", "Frozen", 0, 0, "Frozen|Static|Live"}, LIVE_INT("fov", "Field of view", "Degrees more or less than the game's own view: 0 keeps it, less zooms in.", "0", -40, 60), LIVE_INT("roll", "Roll", "Tilts the camera, in degrees: 0 keeps it level.", "0", -90, 90), diff --git a/tests/photo_mode_plugin_test.cpp b/tests/photo_mode_plugin_test.cpp index fbda12f6..4baa70f9 100644 --- a/tests/photo_mode_plugin_test.cpp +++ b/tests/photo_mode_plugin_test.cpp @@ -7,7 +7,7 @@ // world held, the controls taken as its own and the HUD out of the picture; a // shorter press does nothing and one hold does one thing; the camera starts at // the game's view and flies the way it looks, and the Field of view row's -// whole range acts on it; Cross and N advance a held world by two updates; +// whole range acts on it; Cross and N advance a held world by one update; // its takes and reads of the keyboard and mouse are its own // (input_take_as, input_as); Static gives the controls back but Options, the touchpad and // R3, Live flies over a running world, warns that enemies can still attack, @@ -505,11 +505,11 @@ int main(int argc, char** argv) { tap_key(kTab); CHECK(H.panel_up); - // The frame advance: Cross (it was not held to start) and N, two updates each. + // The frame advance: Cross (it was not held to start) and N, one update each. tap_pad(BB_PAD_CROSS); - CHECK(H.steps == 2); + CHECK(H.steps == 1); tap_key(kN); - CHECK(H.steps == 4); + CHECK(H.steps == 2); // Static: the world runs, the controller is the game's but Options and the touchpad; Live flies over it. H.option_fn("mode", "Static", H.option_user); From 259141e296fea073ab4c4c0f1c5cf06217b779a2 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:34:35 -0800 Subject: [PATCH 047/100] plugins: photo mode starts and ends on a press of L3, or on L3 held half a second as its new Start with setting can have it Holding L3 half a second was the only way on the controller, where bbphoto had a press. A press of L3 - the button the player's bindings make the game's L3, which does nothing in play - starts photo mode and the next ends it. Start with, a setting under the plugin's heading in the menus, keeps the hold for whoever wants it ("L3 held half a second": a press then does nothing); P and Escape are as they were. The plugin's test presses, holds and rebinds L3 under both. Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 2 +- plugins/photo_mode/photo_mode.cpp | 51 ++++++++++++++++--------- tests/photo_mode_plugin_test.cpp | 63 +++++++++++++++++++++++-------- 3 files changed, 82 insertions(+), 34 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index abe429dc..54a32e80 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -800,7 +800,7 @@ setup window can download the latest signed plugins from the newest release. | `quake` | Off until turned on. First person with Quake 3's movement and view: strafe jumping, bunny hopping (hold jump to keep hopping), crouching, the walls only characters meet (the invisible ones along ledges) as solid as the rest, creatures as solid as Quake 3's players, and a choice of physics - Quake 3 (VQ3, the default), CPMA, Quake 1 + CPMA, QuakeWorld and DeFRaG's. Five guns made of Bloodborne's (Cannon, Church Cannon, Piercing Rifle, Blunderbuss, Gatling Gun), always +10, firing from the view with each gun's own flash and sound: rockets and grenades at Quake 3's speeds (the grenade bouncing until its fuse), the Blunderbuss's and the Gatling Gun's own bullets, and a plasma of A Call Beyond's star or Blacksky Eye's shard; their blasts throw the player (rocket and grenade jumps, plasma climbing), and the gun that is up is drawn at the lower right with Quake 3's bob and kick. Field of view, mouse sensitivity, gravity and knockback are settings. While photo mode holds the world, Quake holds too: the player stays where they were and the view as it was. | | `lohit` | Off until turned on. The map's lo-hit collision drawn in place of the map's own geometry (the game's own WorldHitMan debug draw, with GROUP MASK > Map off): every part loaded (Whole map, the default), or the part you stand on and the parts connected to it, one step out; Hi-hit shows the detailed collision characters and objects use instead. Each mesh is built once into a vertex buffer of its own and drawn with two draws a frame, where the game's debug draw rebuilt every triangle each frame and copied it twice (the triangles' edges the game drew over the faces, a second draw costing the GPU more than the faces, are left out). Its depth (plugin API 17) is drawn ahead of the scene's objects too, so the game's occlusion culling skips what is behind its walls, as the map's own geometry would. It is drawn inside the scene ahead of its effects so fire, sparks, blood and mist show over it, by default in the launcher's deep violet (walls) and dark blue (floors); the Colours sliders set both (0-255, as they come out on the screen) for the lo-hit and the hi-hit. Pair it with Performance mode (the setup window's main page) for the post-effects off. | | `ps1` | Off until turned on. Bloodborne PS1: the 3D drawn as the first PlayStation drew it, the HUD and the menus left sharp at the window's size: its vertices snapped to a grid of the screen as it moves (Vertex snap: 240p, the PS1's own screen, by default; 480p, 360p, 120p or off), its textures unfiltered (no bilinear, trilinear or anisotropic filtering), its colour targets 8 bits a channel (8-bit colour, as the rgba8f patch makes them; the colour grading then steps between its table's entries too, where it is smooth without it), and the 3D at its own Resolution - Native (the Resolution setting, at most the window's), 480p, 360p or 240p, each as wide as the window's shape gives - brought up to the window pixel for pixel, with no smoothing. Upscaling and the anti-aliasing stand aside while it is on. Old-hardware sound (off by default) makes everything the game plays sound like an old console's sound chip: PS1 (22050 Hz, 12 bits, muffled above 10 kHz), Crunchy (11025 Hz, 8 bits, no low-pass going in, so it aliases) or Custom (a rate and bits of its own). Each option changes in the game (F9). | -| `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, rebuilt from Nox-'s [bbphoto](https://github.com/Noxde/bbhost-photo-mode-plugin): hold L3 for half a second, or press P, for a free camera over the world held still (Frozen; Cross or N advances it one frame), the hunter playing on (Static) or the world running (Live - enemies can still attack the hunter, and the first hit holds the world again), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field, chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. Being on by default, it never opens the setup window by itself: its settings wait on the Plugins tab and in game. While it is on, bbphoto is not loaded, so the two never both answer L3 and P; `photo_mode = false` loads bbphoto again. | +| `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, rebuilt from Nox-'s [bbphoto](https://github.com/Noxde/bbhost-photo-mode-plugin): press L3 (or hold it half a second, as its Start with setting can have it), or P, for a free camera over the world held still (Frozen; Cross or N advances it one frame), the hunter playing on (Static) or the world running (Live - enemies can still attack the hunter, and the first hit holds the world again), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field, chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. Being on by default, it never opens the setup window by itself: its settings wait on the Plugins tab and in game. While it is on, bbphoto is not loaded, so the two never both answer L3 and P; `photo_mode = false` loads bbphoto again. | | `debug_menu` | Restores the developers' debug menu (`` ` `` opens it), in English or the developers' Japanese, and makes the debug font it draws with from the public-domain X11 fonts k14 and 7x14, so nothing has to be downloaded. Cheating against other players with it gets an account banned; trying it out online with friends is fine. | The gameplay plugins - all five - announce themselves in the session's diff --git a/plugins/photo_mode/photo_mode.cpp b/plugins/photo_mode/photo_mode.cpp index eb16e0ee..381b4665 100644 --- a/plugins/photo_mode/photo_mode.cpp +++ b/plugins/photo_mode/photo_mode.cpp @@ -3,10 +3,11 @@ // bbhost's plugin API: nothing in it writes the game's code or reads an // address of its own. // -// Hold L3 for half a second, or press P, to start it; the same again (or -// Escape) ends it. L3 is the button that presses the game's L3 - the left -// stick's, unless Key Bindings moved it (BbPad.play) - which the game itself -// does nothing with, so holding it never moves the hunter. Three modes: +// Press L3, or P, to start it; the same again (or Escape) ends it - or hold +// L3 half a second, as the Start with option has it. L3 is the button that +// presses the game's L3 - the left stick's, unless Key Bindings moved it +// (BbPad.play) - which the game itself does nothing with, so pressing it never +// moves the hunter. Three modes: // Frozen the world held still (world_pause) while the camera flies; Cross // (N on the keyboard) lets it run one more frame - a frame advance. // Static the camera stays where it is and the hunter plays on: the @@ -53,6 +54,8 @@ constexpr float kPi = 3.14159265358979f; const BbHostApi* api = nullptr; enum Mode : int { kFrozen = 0, kStatic = 1, kLive = 2 }; +// What starts and ends it on the controller (the Start with row). +enum Start : int { kStartPress = 0, kStartHold = 1 }; // SDL scancodes (the USB HID usages BbInput's keys are indexed by). constexpr std::uint16_t kKeyA = 4, kKeyD = 7, kKeyE = 8, kKeyN = 17, kKeyP = 19, kKeyQ = 20, kKeyS = 22, kKeyW = 26; @@ -84,6 +87,7 @@ constexpr float kWorldSettle = 3.0f; // The options (bb_plugin_options): what the panel's rows hold. struct Settings { + int start = kStartPress; // Start with, as Start int mode = 0; // Mode, as Mode int fov_offset = 0; // degrees more or less than the game's view int roll = 0; // degrees @@ -457,16 +461,23 @@ void on_frame(void*) { if (have_keys) std::memcpy(prev_keys, in.key, sizeof(prev_keys)); const auto now = std::chrono::steady_clock::now(); - // Start and end: L3 held half a second - the button the player's bindings - // make the game's L3, which does nothing in play - or P; Escape ends it - // too. One hold does one: it is let go before the next. + // Start and end: L3 - the button the player's bindings make the game's + // L3, which does nothing in play - pressed, or held half a second (the + // Start with row); or P. Escape ends it too. A hold does one thing: it is + // let go before the next. const bool l3 = (pad.play & BB_PAD_L3) != 0; - if (l3 && !st.l3_down) st.l3_since = now; + const bool l3_went_down = l3 && !st.l3_down; + if (l3_went_down) st.l3_since = now; if (!l3) st.l3_used = false; st.l3_down = l3; - const bool held = l3 && !st.l3_used && std::chrono::duration(now - st.l3_since).count() >= kHoldToggle; - if (held) st.l3_used = true; - const bool toggle = held || p_down; + bool l3_toggle = false; + if (set.start == kStartHold) { + l3_toggle = l3 && !st.l3_used && std::chrono::duration(now - st.l3_since).count() >= kHoldToggle; + if (l3_toggle) st.l3_used = true; + } else { + l3_toggle = l3_went_down; + } + const bool toggle = l3_toggle || p_down; if (!st.on) { if (toggle) { if (const char* why = refused(w)) { @@ -539,11 +550,13 @@ bool take_option(const char* key, const char* value) { if (v == names[i]) *out = i; } }; + static const char* const kStarts[] = {"L3 press", "L3 held half a second"}; static const char* const kModes[] = {"Frozen", "Static", "Live"}; static const char* const kVignettes[] = {"Area's own", "None", "Light", "Medium", "Strong", "Heavy"}; static const char* const kSwitch[] = {"Area's own", "On", "Off"}; const std::string k = key; - if (k == "mode") choice(kModes, 3, &set.mode); + if (k == "start") choice(kStarts, 2, &set.start); + else if (k == "mode") choice(kModes, 3, &set.mode); else if (k == "fov") num(-40, 60, &set.fov_offset); else if (k == "roll") num(-90, 90, &set.roll); else if (k == "hud") set.hud = v == "true"; @@ -602,10 +615,14 @@ void on_option(const char* key, const char* value, void*) { #define LIVE_INT_WHEN(key, label, help, def, lo, hi, when) {BB_OPT_INT | BB_OPT_LIVE | BB_OPT_WHEN, key, label, help, def, lo, hi, when} extern "C" BB_PLUGIN_EXPORT const BbOption bb_plugin_options[] = { {BB_OPT_HEADING, "about", "Photo mode", - "Hold L3 for half a second, or press P, to start photo mode and to end it (Escape ends it too). Its panel opens with it: " - "L1 and R1 (Q and E) turn its pages, the d-pad (the arrows) chooses and changes a row, Circle (Escape) hides it and R3 " - "(Tab) shows it again. Only with nobody else in your world.", + "Press L3, or P, to start photo mode and to end it (Escape ends it too). Its panel opens with it: L1 and R1 (Q and E) " + "turn its pages, the d-pad (the arrows) chooses and changes a row, Circle (Escape) hides it and R3 (Tab) shows it again. " + "Only with nobody else in your world.", "", 0, 0, nullptr}, + {BB_OPT_CHOICE | BB_OPT_LIVE, "start", "Start with", + "What on the controller starts and ends photo mode: a press of L3, or L3 held for half a second (a press then does " + "nothing). P on the keyboard does either way.", + "L3 press", 0, 0, "L3 press|L3 held half a second"}, PANEL("camera", "Camera", "How photo mode's camera sees, and what the world does meanwhile."), {BB_OPT_CHOICE | BB_OPT_LIVE, "mode", "Mode", @@ -700,7 +717,7 @@ extern "C" BB_PLUGIN_EXPORT const BbPluginInfo bb_plugin_info = { "1.0.0", "Nox-", "A free camera for pictures: the world held still or running, the camera flown by the controller or the keyboard " - "and mouse, the HUD out of the way. Hold L3 for half a second, or press P. Only with nobody else in your world.", + "and mouse, the HUD out of the way. Press L3, or P. Only with nobody else in your world.", }; extern "C" BB_PLUGIN_EXPORT int bb_plugin_image(const BbHostApi* host) { @@ -720,6 +737,6 @@ extern "C" BB_PLUGIN_EXPORT int bb_plugin_image(const BbHostApi* host) { return 1; } if (api->key_bound(kKeyP)) api->log("photo mode: P is also one of the game's keys; it starts photo mode as well"); - api->log("photo mode: ready - hold L3 for half a second, or press P"); + api->log("photo mode: ready - %s, or press P", set.start == kStartHold ? "hold L3 for half a second" : "press L3"); return 0; } diff --git a/tests/photo_mode_plugin_test.cpp b/tests/photo_mode_plugin_test.cpp index 4baa70f9..8f82ea91 100644 --- a/tests/photo_mode_plugin_test.cpp +++ b/tests/photo_mode_plugin_test.cpp @@ -2,13 +2,14 @@ // loaded as the host loads plugins and driven frame by frame - the world's // state, the controller and the keyboard as the test sets them - while every // plugin API 29 call it makes is recorded. Checked: on a host older than API 29 -// it refuses before asking anything; it starts on P and on L3 held half a -// second (the game's L3, as the player's bindings make it), Frozen, with the -// world held, the controls taken as its own and the HUD out of the picture; a -// shorter press does nothing and one hold does one thing; the camera starts at -// the game's view and flies the way it looks, and the Field of view row's -// whole range acts on it; Cross and N advance a held world by one update; -// its takes and reads of the keyboard and mouse are its own +// it refuses before asking anything; it starts on P and on a press of L3 (the +// game's L3, as the player's bindings make it) - or, as Start with can have +// it, on L3 held half a second, when a shorter press does nothing and one hold +// does one thing - Frozen, with the world held, the controls taken as its own +// and the HUD out of the picture; the camera starts at the game's view and +// flies the way it looks, and the Field of view row's whole range acts on it; +// Cross and N advance a held world by one update; its takes and reads of the +// keyboard and mouse are its own // (input_take_as, input_as); Static gives the controls back but Options, the touchpad and // R3, Live flies over a running world, warns that enemies can still attack, // and holds the world again at the hunter's first hit; it ends on Escape, P @@ -377,16 +378,19 @@ int main(int argc, char** argv) { if ((o->type & 0xff) == BB_OPT_CHOICE) CHECK(std::strstr(o->choices, o->def) != nullptr); CHECK(o->type & BB_OPT_LIVE); // the panel changes them as photo mode runs } - // Six pages, every row on one; the menus get only the first heading. - int pages = 0; + // Six pages, every row but Start with on one; the menus get the first + // heading and Start with under it. + int pages = 0, headings = 0; bool on_page = false; for (const BbOption* o = p.options; o->type; ++o) { if ((o->type & 0xff) == BB_OPT_HEADING) { on_page = (o->type & BB_OPT_PANEL) != 0; pages += on_page; + ++headings; CHECK(o->key && o->label && o->help && o->help[0]); - } else { - CHECK(on_page); + } else if (!on_page) { + CHECK(headings == 1 && std::strcmp(o->key, "start") == 0); + CHECK(std::strcmp(o->def, "L3 press") == 0); } } CHECK(pages == 6); @@ -573,13 +577,22 @@ int main(int argc, char** argv) { H.view_fn(&view, H.view_user); CHECK(std::fabs(view.position[2] - 3) < 1e-5f); // the game's view again - // L3 held half a second starts it, Frozen whatever the mode was; a shorter - // press does nothing, and one hold does one thing however long it lasts. + // A press of L3 starts it, Frozen whatever the mode was, and the next ends + // it: the default Start with. A long press is one press. + tap_pad(BB_PAD_L3); + CHECK(H.paused == 1 && H.panel_up); + CHECK(H.steps == steps_before); // L3 is no frame advance + hold(1.2f); + CHECK(H.paused == 0 && H.take_buttons == 0 && H.taken_keys.empty() && !H.panel_up); + // Start with "L3 held half a second": a press does nothing, a hold of + // half a second starts it, and one hold does one thing however long it lasts. + H.option_fn("start", "L3 held half a second", H.option_user); + tap_pad(BB_PAD_L3); + CHECK(H.paused == 0); hold(0.2f); CHECK(H.paused == 0); hold(1.2f); CHECK(H.paused == 1 && H.panel_up); - CHECK(H.steps == steps_before); // L3 is no frame advance hold(0.6f); // held again: it ends CHECK(H.paused == 0 && H.take_buttons == 0 && H.taken_keys.empty() && !H.panel_up); // L3 as the game has it: the left stick pressed while Key Bindings put @@ -590,12 +603,30 @@ int main(int argc, char** argv) { CHECK(H.paused == 1); hold(0.6f, BB_PAD_CIRCLE, BB_PAD_L3); CHECK(H.paused == 0); + H.option_fn("start", "L3 press", H.option_user); + tap_pad(BB_PAD_CIRCLE); // Circle as itself in play: nothing + CHECK(H.paused == 0); + { + // Circle where Key Bindings put L3, pressed: starts and ends it. + H.pad.buttons |= BB_PAD_CIRCLE; + H.pad.play |= BB_PAD_L3; + frame(); + H.pad.buttons &= ~BB_PAD_CIRCLE; + H.pad.play &= ~BB_PAD_L3; + frame(); + CHECK(H.paused == 1); + H.pad.play |= BB_PAD_L3; + frame(); + H.pad.play &= ~BB_PAD_L3; + frame(); + CHECK(H.paused == 0); + } // Not in a menu: the player is told why. H.world.flags = BB_WORLD_IN | BB_WORLD_MENU; - hold(0.6f); + tap_pad(BB_PAD_L3); CHECK(H.paused == 0 && H.messages.back().find("close the menu") != std::string::npos); H.world.flags = BB_WORLD_IN; - hold(0.6f); + tap_pad(BB_PAD_L3); CHECK(H.paused == 1); // The game's widest view (its 48 degrees with the PC Field of view at // +100%: 96) and the row's +60: 156 degrees, the camera seeded with both. From 6b3e6aa448a5e7cca924026df4d58f47e83c2d39 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:34:52 -0800 Subject: [PATCH 048/100] graphics: post_look can place a depth of field by distance - the game's own ramps, sharp between two distances A look's depth of field was the lens's: a focus and an aperture, the blur growing slowly away from the focus, so where it began could not be placed - bbphoto got a sharp edge with an aperture of 0.01. The areas place their blur by distance instead, with the game's own ramps (their GPARAM's CustomDof, the debug menu's DofNear and DofFar DepthStart, DepthEnd, CocSize and CocScale, the block's +0x2d0..+0x2fc): the apply's loop (0x25d9760) fills the table the circle of confusion is read through with the near ramp's negative circle nearer than its end, the far ramp's positive one past its start, and nothing between. BB_LOOK_DOF_RANGE (64) with the depth of field on writes those ramps: sharp from dof_near_end to dof_far_start metres, each side's blur full dof_near_fade metres nearer and dof_far_fade metres further, as strong as its levels say, the near ramp always on so that the lens never reaches the table. The lens still says how many levels each side is drawn with: YEBIS gives a side as many as the lens's circle at that side's end of the view reaches (0x1068b60, each level's start set by 0x1055af0 - behind, circles of 0.0026, 0.013, 0.033, 0.064, 0.13, 0.27 and 0.53 of the picture), the block's level counts only capping them. A first build focused the lens where the sharp range ends, at f/5.6: with Sharp to at 10 m its circle at the far clip comes to 0.0006, short of the first level, and nothing behind was blurred at any strength. Under the ramps the lens counts and does nothing else - the table gives each pixel its blur - so a range sets it focused at 1 m and open at f/0.01 (a circle of 3.3 at the far clip): every level asked is drawn, in front and behind, as the levels traced on the RTX say (BBHOST_DOF_TRACE=1: 1, 3, 5, 7 and 4 counted where 1, 3, 5, 7 and 4 were asked), and the blur in front is the first build's (each band's sharpness within 2%). BbLook gains the four floats at its end (API 29 is not released). engine/look_math.h computes the fields and the table's entries, which look_math_test checks against the loop's arithmetic. Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 8 ++- include/bbhost_plugin.h | 8 +++ src/engine/graphics_patch.cpp | 114 ++++++++++++++++++++++++++++++++-- src/engine/graphics_patch.h | 5 +- src/engine/look_math.h | 73 ++++++++++++++++++++++ src/host/plugins.cpp | 10 ++- tests/look_math_test.cpp | 38 +++++++++++- tests/plugin_abi_test.c | 5 +- 8 files changed, 247 insertions(+), 14 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index 54a32e80..83ef010c 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -280,8 +280,12 @@ over the game. fixed exposure otherwise), the vignette's power, depth of field (off, or on with a focus distance, an aperture and the blur's levels in front of and behind the focus - the lens's blur, in place of the area's own distance - ramps while it is on), chromatic aberration (off, or on with its lateral and - uniform dispersions), motion blur (off, or on with its times, scale and + ramps while it is on; with `BB_LOOK_DOF_RANGE` as well, the blur placed by + distance instead, as the areas' own is: sharp from `dof_near_end` to + `dof_far_start` metres, the blur in front full `dof_near_fade` metres + nearer and the blur behind full `dof_far_fade` metres further, each as + strong as its levels say), chromatic aberration (off, or on with its + lateral and uniform dispersions), motion blur (off, or on with its times, scale and samples - 2 to 8, the most the game's motion blur has shaders for, and 7 where the area interleaves its samples, which makes 8 a 9) and the fog (its distance, density and contrast times the area's, its distance and height diff --git a/include/bbhost_plugin.h b/include/bbhost_plugin.h index 43ce4559..a5c55300 100644 --- a/include/bbhost_plugin.h +++ b/include/bbhost_plugin.h @@ -424,6 +424,8 @@ typedef struct BbPad { #define BB_LOOK_ABERRATION 8u /* chromatic aberration: off, or on with its four dispersions */ #define BB_LOOK_MOTION_BLUR 16u /* motion blur: off, or on with its two times, the camera blur's scale and samples */ #define BB_LOOK_FOG 32u /* the fog: its distance, density and contrast times the area's, its offsets added */ +#define BB_LOOK_DOF_RANGE 64u /* with BB_LOOK_DOF on: the blur placed by distance - sharp between two distances, + blurred nearer and further - instead of the lens's */ typedef struct BbLook { uint32_t size; /* sizeof(BbLook) as the plugin knows it */ @@ -445,6 +447,12 @@ typedef struct BbLook { int32_t blur_samples; /* 2-8 (3 or 4 there), 7 at most where the area interleaves its samples */ float fog_distance, fog_density, fog_contrast; /* BB_LOOK_FOG: times the area's */ float fog_distance_offset, fog_height_offset; /* metres added */ + /* BB_LOOK_DOF_RANGE: the game's own blur by distance (the areas' "CustomDof", its debug menu's DofNear and DofFar + * depths): sharp from dof_near_end to dof_far_start metres; nearer, the front blur, full from dof_near_fade metres + * nearer than dof_near_end; further, the back blur, full from dof_far_fade metres past dof_far_start; each as strong + * as dof_near_levels and dof_far_levels say (0 none, 7 the most). The focus and the aperture are not used. */ + float dof_near_end, dof_far_start; + float dof_near_fade, dof_far_fade; } BbLook; /* Version 29: a plugin's panel (panel_show, panel_state). */ diff --git a/src/engine/graphics_patch.cpp b/src/engine/graphics_patch.cpp index c0fd9b5f..f3ea9f75 100755 --- a/src/engine/graphics_patch.cpp +++ b/src/engine/graphics_patch.cpp @@ -284,6 +284,21 @@ std::atomic g_vignette{true}, g_dof{true}; // multi-level path (6e2d87e3), whose near levels blur what is in front. constexpr std::size_t kDofCustomNear = 0x2d4, kDofCustomFar = 0x2d8, kDofNearScale = 0x2e8, kDofFarScale = 0x2f8, kDofCut = 0x2fc; +// The ramps themselves (the debug menu's DofNearDepthStart, DofNearDepthEnd, +// DofNear CocSize; DofFarDepthStart, DofFarDepthEnd, DofFar CocSize), and the +// table's own switch, "CustomDof-Enable" (+0x2d0: the apply hands it to +// sub_fb3600, and with it 0 YEBIS works the lens's circle out itself). +constexpr std::size_t kDofCustom = 0x2d0, kDofNearStart = 0x2dc, kDofNearEnd = 0x2e0, kDofNearSize = 0x2e4, kDofFarStart = 0x2ec, + kDofFarEnd = 0x2f0, kDofFarSize = 0x2f4; +// BBHOST_DOF_COC_SCALE=k: a range's circles of confusion times k, to see +// what a strength looks like at another size. +const float g_dof_coc_scale = [] { + const char* e = std::getenv("BBHOST_DOF_COC_SCALE"); + const float k = e && *e ? std::strtof(e, nullptr) : 1.0f; + return k > 0.0f && k < 1000.0f ? k : 1.0f; +}(); +// A range's lens (apply_look says why): focused at 1 m, f/0.01. +constexpr float kDofRangeFocus = 1.0f, kDofRangeAperture = 0.01f; constexpr std::size_t kDofTable = 0xd0; // on the YEBIS object: 2048 floats constexpr std::size_t kAutoExposure = 0x50, kMiddleGrey = 0x54, kExposure = 0x98, kGamma = 0x9c, kValue = 0xcc, kContrast = 0x248; @@ -776,15 +791,16 @@ void apply_look(std::uint8_t* b) { if (!g_look_logged.exchange(true)) { host_log("graphics: a look over the area's exposure %g (auto %d, middle grey %g), gamma %g, saturation %g, value %g, " "contrast %g, vignette %g; aberration %g (%g %g, %g %g); depth of field %d (auto focus %d, focus %g, aperture " - "%g, levels %d %d; its table's custom near %d far %d, scales %g %g, cut past %g m; the post effect's part %d, " - "on %d); motion blur %d (%g %g, %d samples%s, scale %g)", + "%g, levels %d %d; its table %d, custom near %d (%g..%g m, size %g) far %d (%g..%g m, size %g), scales %g %g, " + "cut past %g m; the post effect's part %d, on %d); motion blur %d (%g %g, %d samples%s, scale %g)", getf(kExposure), geti(kAutoExposure), getf(kMiddleGrey), getf(kGamma), getf(kSaturation), getf(kValue), getf(kContrast), getf(kVignettePower), getf(kAberration), getf(kAberrationDispersion), getf(kAberrationDispersion + 4), getf(kAberrationDispersion + 8), getf(kAberrationDispersion + 12), geti(kDofOn), geti(kDofAuto), getf(kDofFocus), getf(kDofAperture), geti(kDofNear), geti(kDofFar), - geti(kDofCustomNear), geti(kDofCustomFar), getf(kDofNearScale), getf(kDofFarScale), getf(kDofCut), - yebis_dof_ready(), yebis_dof_on(), geti(kBlurOn), getf(kBlurTime), getf(kBlurLength), geti(kBlurSamples), - b[kBlurInterleaved] ? ", interleaved" : "", getf(kBlurScale)); + geti(kDofCustom), geti(kDofCustomNear), getf(kDofNearStart), getf(kDofNearEnd), getf(kDofNearSize), + geti(kDofCustomFar), getf(kDofFarStart), getf(kDofFarEnd), getf(kDofFarSize), getf(kDofNearScale), + getf(kDofFarScale), getf(kDofCut), yebis_dof_ready(), yebis_dof_on(), geti(kBlurOn), getf(kBlurTime), + getf(kBlurLength), geti(kBlurSamples), b[kBlurInterleaved] ? ", interleaved" : "", getf(kBlurScale)); } if (l.set & kLookTone) { // The exposure: the adapted one's target with auto exposure on (the @@ -830,6 +846,40 @@ void apply_look(std::uint8_t* b) { setf(kDofNearScale, l.dof_near_levels > 0 ? 1.0f : 0.0f); setf(kDofFarScale, l.dof_far_levels > 0 ? 1.0f : 0.0f); setf(kDofCut, 1.0e9f); + if (l.set & kLookDofRange) { + // By distance instead: the game's own ramps, placed where the + // look says, the near one always on so that the lens never + // reaches the table - sharp between them, each side's blur as + // strong as its levels (engine/look_math.h). + const look_math::DofRange r = look_math::dof_range(l.dof_near_end, l.dof_far_start, l.dof_near_fade, + l.dof_far_fade, l.dof_near_levels, l.dof_far_levels, + g_dof_coc_scale); + seti(kDofCustom, 1); + seti(kDofCustomNear, r.near_on); + setf(kDofNearStart, r.near_start); + setf(kDofNearEnd, r.near_end); + setf(kDofNearSize, r.near_size); + setf(kDofNearScale, r.near_scale); + seti(kDofCustomFar, r.far_on); + setf(kDofFarStart, r.far_start); + setf(kDofFarEnd, r.far_end); + setf(kDofFarSize, r.far_size); + setf(kDofFarScale, r.far_scale); + setf(kDofCut, r.cut); + seti(kDofNear, r.near_levels); + seti(kDofFar, r.far_levels); + // The lens only counts the levels here: YEBIS draws a side + // with as many levels as the lens's circle at that side's end + // of the view reaches (0x1068b60; behind, the circle at the + // far clip from the focus and the aperture), while the table + // sets each pixel's blur. Focused at the far end of the sharp + // range at f/5.6, that circle reached no level and nothing + // behind was blurred; focused near and wide open it reaches + // every level on both sides, so the counts above are the + // levels drawn. + setf(kDofFocus, kDofRangeFocus); + setf(kDofAperture, kDofRangeAperture); + } } } if (l.set & kLookMotionBlur) { @@ -920,7 +970,59 @@ const bool g_dof_1080_look = [] { return !(e && e[0] == '0'); }(); +// BBHOST_DOF_TRACE=1 (a test): the levels YEBIS drew each side with at its +// last call (in front, behind) and what it counted them from - the lens's +// circle at infinity (+0x1b0, as a share of the picture), its focus, the +// view's clip distances and each level's threshold, the circle at which it +// starts (-b/k of its pair, unscaled) - said each time they change. +constexpr std::size_t kDofObjNearClip = 0x15c, kDofObjFarClip = 0x160, kDofObjFocus = 0x17c, kDofObjCoc = 0x1b0, + kDofObjCaps = 0x1c4, kDofObjCounted = 0x1d8, kDofObjDrawn = 0x1e0, kDofLevelFarK = 0xd0, + kDofLevelNearK = 0xd8; +const bool g_dof_trace = [] { + const char* e = std::getenv("BBHOST_DOF_TRACE"); + return e && e[0] == '1'; +}(); + +void trace_dof_levels(std::uint64_t dof) { + const auto* o = reinterpret_cast(static_cast(dof)); + float near_clip = 0, far_clip = 0, focus = 0, coc = 0; + std::int32_t caps[4] = {}, counted[2] = {}, drawn[2] = {}, n = 0; + std::uint64_t levels = 0; + std::memcpy(&near_clip, o + kDofObjNearClip, 4); + std::memcpy(&far_clip, o + kDofObjFarClip, 4); + std::memcpy(&focus, o + kDofObjFocus, 4); + std::memcpy(&coc, o + kDofObjCoc, 4); + std::memcpy(caps, o + kDofObjCaps, 16); + std::memcpy(counted, o + kDofObjCounted, 8); + std::memcpy(drawn, o + kDofObjDrawn, 8); + std::memcpy(&n, o + kDofLevelCount, 4); + std::memcpy(&levels, o + kDofLevelArray, 8); + char far_at[128] = "", near_at[128] = ""; + int fl = 0, nl = 0; + for (std::int32_t i = 0; levels && i < n && i < 8 && coc != 0.0f; ++i) { + const auto* l = reinterpret_cast(static_cast(levels + static_cast(i) * kDofLevelSize)); + float kb[4] = {}; + std::memcpy(kb, l + kDofLevelFarK, 8); + std::memcpy(kb + 2, l + kDofLevelNearK, 8); + if (fl < 120) fl += std::snprintf(far_at + fl, sizeof(far_at) - fl, " %.3g", kb[0] != 0.0f ? -kb[1] * coc / kb[0] : 0.0f); + if (nl < 120) nl += std::snprintf(near_at + nl, sizeof(near_at) - nl, " %.3g", kb[2] != 0.0f ? -kb[3] * coc / kb[2] : 0.0f); + } + std::uint64_t key = 1469598103934665603ull; + for (const std::uint8_t* p : {o + kDofObjNearClip, o + kDofObjFarClip, o + kDofObjFocus, o + kDofObjCoc}) + for (int i = 0; i < 4; ++i) key = (key ^ p[i]) * 1099511628211ull; + for (std::int32_t v : {caps[0], caps[1], caps[2], caps[3], counted[0], counted[1], drawn[0], drawn[1], n}) + key = (key ^ static_cast(v)) * 1099511628211ull; + static std::atomic last{0}; + static std::atomic lines{0}; + if (last.exchange(key, std::memory_order_relaxed) == key || lines.fetch_add(1, std::memory_order_relaxed) >= 400) return; + host_log("graphics: depth of field's levels: %d in front, %d behind (counted %d, %d; caps %d %d %d %d) - the lens's circle " + "at infinity %g, focus %g m, clip %g..%g m; the levels start behind at%s, in front at%s", + drawn[0], drawn[1], counted[0], counted[1], caps[0], caps[1], caps[2], caps[3], coc, focus, near_clip, far_clip, + far_at, near_at); +} + GUEST_ABI std::int64_t dof_levels_hook(std::uint64_t, const std::uint64_t* saved) { + if (g_dof_trace && saved[5]) trace_dof_levels(saved[5]); if (!g_dof_1080_look) return 0; // A cutscene's blur as YEBIS draws it: said once each time one starts. static std::atomic in_cutscene{false}; @@ -2168,7 +2270,7 @@ std::string graphics_glare_report() { std::uint32_t graphics_look_available() { const HostSettings& hs = host_settings_ref(); std::uint32_t a = kLookAll; - if (hs.performance_mode || yebis_dof_ready() == 0) a &= ~kLookDof; + if (hs.performance_mode || yebis_dof_ready() == 0) a &= ~(kLookDof | kLookDofRange); if (hs.performance_mode) a &= ~kLookMotionBlur; if (host_opt_motion_rebuilt_bits()) a &= ~kLookMotionBlur; // what the blur cannot read return a; diff --git a/src/engine/graphics_patch.h b/src/engine/graphics_patch.h index f0e721c8..d8e058b2 100755 --- a/src/engine/graphics_patch.h +++ b/src/engine/graphics_patch.h @@ -62,7 +62,7 @@ void graphics_ssr_live_in(); // while the look sets them on, whatever their settings say, and are left out // while it sets them off. constexpr std::uint32_t kLookTone = 1, kLookVignette = 2, kLookDof = 4, kLookAberration = 8, kLookMotionBlur = 16, - kLookFog = 32, kLookAll = 63; + kLookFog = 32, kLookDofRange = 64, kLookAll = 127; struct GraphicsLook { std::uint32_t set = 0; float exposure = 1, gamma = 1, saturation = 1, brightness = 1, contrast = 1; // times the area's @@ -77,6 +77,9 @@ struct GraphicsLook { std::int32_t blur_samples = 0; float fog_distance = 1, fog_density = 1, fog_contrast = 1; // times the area's float fog_distance_offset = 0, fog_height_offset = 0; // metres added + // kLookDofRange: sharp from dof_near_end to dof_far_start (metres), the + // blur full dof_near_fade nearer and dof_far_fade further. + float dof_near_end = 0, dof_far_start = 0, dof_near_fade = 0, dof_far_fade = 0; }; void graphics_look_set(const GraphicsLook& look); // The groups a look can show now: Performance mode jumps past every depth of diff --git a/src/engine/look_math.h b/src/engine/look_math.h index 6ecd0770..2c8a8abb 100644 --- a/src/engine/look_math.h +++ b/src/engine/look_math.h @@ -5,6 +5,8 @@ // block, apart from the block so that tests/look_math_test.cpp checks it // without the game. +#include + namespace look_math { // The motion blur's sample count a look writes (the block's +0x1ec): 2 to 8, @@ -17,4 +19,75 @@ constexpr int blur_samples(int wanted, bool interleaved) { return wanted < 2 ? 2 : wanted > most ? most : wanted; } +// The depth of field by distance (BB_LOOK_DOF_RANGE): the game's own custom +// depth of field, as the areas' GPARAM and its debug menu set it (DofNear and +// DofFar DepthStart, DepthEnd, CocSize and CocScale), in the block's fields. +// Each view the apply fills the table YEBIS's circle of confusion is read +// through (the loop at 0x25d9760) with, at a view distance z, +// z < near_end: -(1 - t) near_size near_scale, t = (z - near_start) / (near_end - near_start), in 0..1 +// z > far_start: t far_size far_scale, t = (z - far_start) / (far_end - far_start), in 0..1 +// and 0 between them (with the near ramp on, the lens never reaches the +// table), and 0 past `cut`. The levels are YEBIS's blurred levels in front +// and behind (+0x1d0, +0x1d4): their count is the blur's strength. +struct DofRange { + std::int32_t near_on = 1, far_on = 0; // +0x2d4, +0x2d8 + float near_start = 0, near_end = 0, near_size = 0, near_scale = 1; // +0x2dc, +0x2e0, +0x2e4, +0x2e8 + float far_start = 0, far_end = 0, far_size = 0, far_scale = 1; // +0x2ec, +0x2f0, +0x2f4, +0x2f8 + float cut = 1.0e9f; // +0x2fc + std::int32_t near_levels = 0, far_levels = 0; // +0x1d0, +0x1d4 +}; + +// The circle of confusion a strength's blur is drawn with at its fullest: +// twice as wide a level (`scale` 1 but for a test's BBHOST_DOF_COC_SCALE). +constexpr float dof_coc(int levels, float scale = 1.0f) { + float c = 0.0f; + if (levels > 0) { + c = 0.0025f; + for (int i = 1; i < levels && i < 7; ++i) c *= 2.0f; + } + return c * scale; +} + +constexpr DofRange dof_range(float near_end, float far_start, float near_fade, float far_fade, int near_levels, int far_levels, + float coc_scale = 1.0f) { + DofRange r; + const auto pos = [](float v) { return v > 0.0f ? v : 0.0f; }; + near_levels = near_levels < 0 ? 0 : near_levels > 7 ? 7 : near_levels; + far_levels = far_levels < 0 ? 0 : far_levels > 7 ? 7 : far_levels; + r.near_end = pos(near_end); + r.near_start = pos(r.near_end - pos(near_fade)); + r.near_size = dof_coc(near_levels, coc_scale); + r.near_scale = near_levels > 0 ? 1.0f : 0.0f; + r.far_on = far_levels > 0 ? 1 : 0; + r.far_start = pos(far_start); + r.far_end = r.far_start + pos(far_fade); + r.far_size = dof_coc(far_levels, coc_scale); + r.far_scale = far_levels > 0 ? 1.0f : 0.0f; + r.near_levels = near_levels; + r.far_levels = far_levels; + return r; +} + +// The table's entry at view distance z, as the apply's loop makes it from +// those fields (with the near ramp on): for the tests, and for the log. +constexpr float dof_entry(const DofRange& r, float z) { + float v = 0.0f; + if (r.near_on && z < r.near_end) { + const float span = r.near_end - r.near_start > 1e-7f ? r.near_end - r.near_start : 1e-7f; + float t = (z - r.near_start) / span; + t = t < 0.0f ? 0.0f : t > 1.0f ? 1.0f : t; + v = -(1.0f - t) * r.near_size; + } + if (v < 0.0f) v *= r.near_scale; + if (r.far_on && z > r.far_start) { + const float span = r.far_end - r.far_start > 1e-7f ? r.far_end - r.far_start : 1e-7f; + float t = (z - r.far_start) / span; + t = t < 0.0f ? 0.0f : t > 1.0f ? 1.0f : t; + v = t * r.far_size; + } + if (v > 0.0f) v *= r.far_scale; + if (r.cut < z) v = 0.0f; + return v; +} + } // namespace look_math diff --git a/src/host/plugins.cpp b/src/host/plugins.cpp index f119a9c4..b2f16c84 100644 --- a/src/host/plugins.cpp +++ b/src/host/plugins.cpp @@ -1583,7 +1583,8 @@ float look_value(float v, float lo, float hi, float otherwise) { return std::isf int api_post_look(const char* name, const BbLook* look, std::uint32_t* available) { static_assert(BB_LOOK_TONE == kLookTone && BB_LOOK_VIGNETTE == kLookVignette && BB_LOOK_DOF == kLookDof && - BB_LOOK_ABERRATION == kLookAberration && BB_LOOK_MOTION_BLUR == kLookMotionBlur && BB_LOOK_FOG == kLookFog, + BB_LOOK_ABERRATION == kLookAberration && BB_LOOK_MOTION_BLUR == kLookMotionBlur && BB_LOOK_FOG == kLookFog && + BB_LOOK_DOF_RANGE == kLookDofRange, "post_look's groups"); if (!plugin_named(name) || (look && look->size < 8)) return 1; GraphicsLook l; @@ -1598,7 +1599,8 @@ int api_post_look(const char* name, const BbLook* look, std::uint32_t* available if (size < offsetof(BbLook, aberration)) set &= ~kLookDof; if (size < offsetof(BbLook, motion_blur)) set &= ~kLookAberration; if (size < offsetof(BbLook, fog_distance)) set &= ~kLookMotionBlur; - if (size < sizeof(BbLook)) set &= ~kLookFog; + if (size < offsetof(BbLook, dof_near_end)) set &= ~kLookFog; + if (size < sizeof(BbLook)) set &= ~kLookDofRange; l.set = set; // Inside what the post effect's setters take (some assert outside it). l.exposure = look_value(b.exposure, 0.0f, 16.0f, 1.0f); @@ -1631,6 +1633,10 @@ int api_post_look(const char* name, const BbLook* look, std::uint32_t* available l.fog_contrast = look_value(b.fog_contrast, 0.0f, 16.0f, 1.0f); l.fog_distance_offset = look_value(b.fog_distance_offset, -10000.0f, 10000.0f, 0.0f); l.fog_height_offset = look_value(b.fog_height_offset, -10000.0f, 10000.0f, 0.0f); + l.dof_near_end = look_value(b.dof_near_end, 0.0f, 10000.0f, 0.0f); + l.dof_far_start = look_value(b.dof_far_start, 0.0f, 10000.0f, 10000.0f); + l.dof_near_fade = look_value(b.dof_near_fade, 0.0f, 10000.0f, 0.0f); + l.dof_far_fade = look_value(b.dof_far_fade, 0.0f, 10000.0f, 0.0f); } std::uint32_t was = 0; { diff --git a/tests/look_math_test.cpp b/tests/look_math_test.cpp index a1efc6d6..8f77439f 100644 --- a/tests/look_math_test.cpp +++ b/tests/look_math_test.cpp @@ -1,7 +1,9 @@ // engine/look_math.h: what a plugin's look (post_look) writes into YEBIS's // post-process block, without the game. The motion blur's sample count stays // where YEBIS has shaders for it: 2 to 8, 7 where the area interleaves its -// samples (8 interleaved is 9). +// samples (8 interleaved is 9). The depth of field by distance makes the +// game's own ramps: sharp between the two distances, blurred in front and +// behind as strongly as asked, as the apply's loop fills its table. #include "engine/look_math.h" #include @@ -35,6 +37,40 @@ int main() { CHECK(blur_samples(n, false) == 2); CHECK(blur_samples(n, true) == 2); } + // The depth of field by distance: sharp between the two distances, the + // blur in front negative (YEBIS's near side) and behind positive, full at + // the fade's end, and as the apply's loop (0x25d9760) makes its table. + { + using look_math::dof_entry; + using look_math::dof_range; + const look_math::DofRange r = dof_range(3.0f, 10.0f, 1.0f, 5.0f, 4, 6); + CHECK(r.near_on == 1 && r.far_on == 1); + CHECK(r.near_start == 2.0f && r.near_end == 3.0f && r.far_start == 10.0f && r.far_end == 15.0f); + CHECK(r.near_levels == 4 && r.far_levels == 6 && r.near_scale == 1.0f && r.far_scale == 1.0f); + CHECK(r.near_size > 0.0f && r.far_size > r.near_size); // a stronger blur is a wider circle + CHECK(dof_entry(r, 1.0f) == -r.near_size); // full in front of the fade + CHECK(dof_entry(r, 2.5f) < 0.0f && dof_entry(r, 2.5f) > -r.near_size); // fading out to Sharp from + for (const float z : {3.0f, 5.0f, 9.99f, 10.0f}) CHECK(dof_entry(r, z) == 0.0f); // sharp between + CHECK(dof_entry(r, 12.5f) > 0.0f && dof_entry(r, 12.5f) < r.far_size); // fading in past Sharp to + CHECK(dof_entry(r, 15.0f) == r.far_size && dof_entry(r, 5000.0f) == r.far_size); // full from the fade's end + // Moved: the same circle, its edges where asked. + const look_math::DofRange m = dof_range(1.0f, 40.0f, 0.0f, 0.0f, 4, 6); + CHECK(dof_entry(m, 0.9f) == -m.near_size && dof_entry(m, 1.0f) == 0.0f); + CHECK(dof_entry(m, 39.0f) == 0.0f && dof_entry(m, 40.5f) == m.far_size); + CHECK(dof_entry(m, 12.5f) == 0.0f); // sharp now where r blurred + // No blur on a side at 0: none there, and nothing of the lens either + // (the near ramp stays on, so the table never takes the lens's circle). + const look_math::DofRange none = dof_range(2.0f, 10.0f, 0.5f, 5.0f, 0, 0); + CHECK(none.near_on == 1 && none.far_on == 0 && none.near_size == 0.0f && none.near_scale == 0.0f); + for (const float z : {0.1f, 1.0f, 5.0f, 50.0f, 5000.0f}) CHECK(dof_entry(none, z) == 0.0f); + // Out of range asks: levels kept to 0..7, distances to 0 and up. + const look_math::DofRange odd = dof_range(-5.0f, -1.0f, -2.0f, -3.0f, 99, -4); + CHECK(odd.near_levels == 7 && odd.far_levels == 0 && odd.near_end == 0.0f && odd.near_start == 0.0f); + CHECK(odd.far_start == 0.0f && odd.far_end == 0.0f && odd.cut > 1.0e6f); + // Each level twice the last's circle, up to 7. + for (int l = 2; l <= 7; ++l) CHECK(look_math::dof_coc(l) == 2.0f * look_math::dof_coc(l - 1)); + CHECK(look_math::dof_coc(0) == 0.0f && look_math::dof_coc(8) == look_math::dof_coc(7)); + } if (g_failures) { std::fprintf(stderr, "look_math_test: %d failure(s)\n", g_failures); return 1; diff --git a/tests/plugin_abi_test.c b/tests/plugin_abi_test.c index a85d84ba..10d1407c 100755 --- a/tests/plugin_abi_test.c +++ b/tests/plugin_abi_test.c @@ -59,10 +59,11 @@ _Static_assert(sizeof(BbHostApi) == offsetof(BbHostApi, input_as) + sizeof(void* _Static_assert(BB_OPT_PANEL == 0x400u && BB_PANEL_DEFAULTS == 1u, "the panel's flags"); _Static_assert(offsetof(BbPanel, page) == 8 && sizeof(BbPanel) == 8 + 3 * sizeof(void*), "BbPanel"); _Static_assert(sizeof(BbPanelState) == 44 && offsetof(BbPanelState, page) == 12, "BbPanelState"); -_Static_assert(sizeof(BbLook) == 112, "BbLook"); +_Static_assert(sizeof(BbLook) == 128 && BB_LOOK_DOF_RANGE == 64u, "BbLook"); _Static_assert(offsetof(BbLook, vignette) == 28 && offsetof(BbLook, dof) == 32 && offsetof(BbLook, aberration) == 52, "BbLook's groups"); _Static_assert(offsetof(BbLook, motion_blur) == 72 && offsetof(BbLook, blur_samples) == 88 && offsetof(BbLook, fog_distance) == 92 && - offsetof(BbLook, fog_height_offset) == 108, + offsetof(BbLook, fog_height_offset) == 108 && offsetof(BbLook, dof_near_end) == 112 && + offsetof(BbLook, dof_far_fade) == 124, "BbLook's last groups"); _Static_assert(sizeof(BbPad) == 44 && offsetof(BbPad, play) == 40, "BbPad"); _Static_assert(offsetof(BbPad, pressed) == 8 && offsetof(BbPad, connected) == 12, "BbPad's presses"); From 39c2f4e7788046d5c47eef547c03dd9c240a6198 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:38:03 -0800 Subject: [PATCH 049/100] plugins: photo mode's depth of field is sharp between Sharp from and Sharp to, the blur in front and behind as strong as their rows and faded in as Fade says Where the blur in front ended and the blur behind began could not be placed. The page had a focus, an aperture and two strengths, the lens's slow blur. It places the blur now (post_look's BB_LOOK_DOF_RANGE): Sharp from - nearer is blurred, as strongly as Blur in front says - Sharp to - further is blurred as Blur behind says - in metres from 0.25 m to 1000 m, and Fade, how gradually it comes in (None, a sharp edge, to 100%, full only at twice Sharp to and from the camera to Sharp from). The focus and aperture rows are gone; the host sets the lens for a range. Frames of one view on the RTX (Central Yharnam, Frozen; each band's sharpness the mean Laplacian of its luminance): Sharp to at 10 m and Blur behind 1, 3, 5 and 7 blur the street past it more and more (the top band 13.7 with the area's own, then 12.9, 5.8, 3.4 and 3.3, 7 the widest by eye) with the hunter and the ground before him sharp; at 30 m only what lies past 30 m, at 4 m all past the hunter. Blur in front 1, 3, 5 and 7 from 5 m blur the hunter more and more (the centre 17.4, 12.9, 9.6, 6.7) and leave the street; Sharp from at 2 m and he is sharp again, at 15 m all nearer is blurred. Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 2 +- plugins/photo_mode/photo_mode.cpp | 59 ++++++++++++++++++++++--------- tests/photo_mode_plugin_test.cpp | 29 ++++++++++++--- 3 files changed, 68 insertions(+), 22 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index 83ef010c..33961e17 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -804,7 +804,7 @@ setup window can download the latest signed plugins from the newest release. | `quake` | Off until turned on. First person with Quake 3's movement and view: strafe jumping, bunny hopping (hold jump to keep hopping), crouching, the walls only characters meet (the invisible ones along ledges) as solid as the rest, creatures as solid as Quake 3's players, and a choice of physics - Quake 3 (VQ3, the default), CPMA, Quake 1 + CPMA, QuakeWorld and DeFRaG's. Five guns made of Bloodborne's (Cannon, Church Cannon, Piercing Rifle, Blunderbuss, Gatling Gun), always +10, firing from the view with each gun's own flash and sound: rockets and grenades at Quake 3's speeds (the grenade bouncing until its fuse), the Blunderbuss's and the Gatling Gun's own bullets, and a plasma of A Call Beyond's star or Blacksky Eye's shard; their blasts throw the player (rocket and grenade jumps, plasma climbing), and the gun that is up is drawn at the lower right with Quake 3's bob and kick. Field of view, mouse sensitivity, gravity and knockback are settings. While photo mode holds the world, Quake holds too: the player stays where they were and the view as it was. | | `lohit` | Off until turned on. The map's lo-hit collision drawn in place of the map's own geometry (the game's own WorldHitMan debug draw, with GROUP MASK > Map off): every part loaded (Whole map, the default), or the part you stand on and the parts connected to it, one step out; Hi-hit shows the detailed collision characters and objects use instead. Each mesh is built once into a vertex buffer of its own and drawn with two draws a frame, where the game's debug draw rebuilt every triangle each frame and copied it twice (the triangles' edges the game drew over the faces, a second draw costing the GPU more than the faces, are left out). Its depth (plugin API 17) is drawn ahead of the scene's objects too, so the game's occlusion culling skips what is behind its walls, as the map's own geometry would. It is drawn inside the scene ahead of its effects so fire, sparks, blood and mist show over it, by default in the launcher's deep violet (walls) and dark blue (floors); the Colours sliders set both (0-255, as they come out on the screen) for the lo-hit and the hi-hit. Pair it with Performance mode (the setup window's main page) for the post-effects off. | | `ps1` | Off until turned on. Bloodborne PS1: the 3D drawn as the first PlayStation drew it, the HUD and the menus left sharp at the window's size: its vertices snapped to a grid of the screen as it moves (Vertex snap: 240p, the PS1's own screen, by default; 480p, 360p, 120p or off), its textures unfiltered (no bilinear, trilinear or anisotropic filtering), its colour targets 8 bits a channel (8-bit colour, as the rgba8f patch makes them; the colour grading then steps between its table's entries too, where it is smooth without it), and the 3D at its own Resolution - Native (the Resolution setting, at most the window's), 480p, 360p or 240p, each as wide as the window's shape gives - brought up to the window pixel for pixel, with no smoothing. Upscaling and the anti-aliasing stand aside while it is on. Old-hardware sound (off by default) makes everything the game plays sound like an old console's sound chip: PS1 (22050 Hz, 12 bits, muffled above 10 kHz), Crunchy (11025 Hz, 8 bits, no low-pass going in, so it aliases) or Custom (a rate and bits of its own). Each option changes in the game (F9). | -| `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, rebuilt from Nox-'s [bbphoto](https://github.com/Noxde/bbhost-photo-mode-plugin): press L3 (or hold it half a second, as its Start with setting can have it), or P, for a free camera over the world held still (Frozen; Cross or N advances it one frame), the hunter playing on (Static) or the world running (Live - enemies can still attack the hunter, and the first hit holds the world again), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field, chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. Being on by default, it never opens the setup window by itself: its settings wait on the Plugins tab and in game. While it is on, bbphoto is not loaded, so the two never both answer L3 and P; `photo_mode = false` loads bbphoto again. | +| `photo_mode` | On by default (`photo_mode = false` under `[plugins]` turns it off). Photo mode, rebuilt from Nox-'s [bbphoto](https://github.com/Noxde/bbhost-photo-mode-plugin): press L3 (or hold it half a second, as its Start with setting can have it), or P, for a free camera over the world held still (Frozen; Cross or N advances it one frame), the hunter playing on (Static) or the world running (Live - enemies can still attack the hunter, and the first hit holds the world again), flown by the controller or the keyboard and mouse, the HUD left out of the picture. Its panel over the game - six pages: the camera's field of view, roll, HUD and vignette, the picture's tone, depth of field placed by distance (sharp between two distances, the blur in front and behind as strong as you choose), chromatic aberration, the fog and motion blur over the area's own look - goes with the controller, the keyboard or the pointer (R3 or Tab shows it, Circle or Escape hides it). Only with nobody else in the world: it does not start with another player in it or on the way, and ends as soon as matchmaking finds one. Being on by default, it never opens the setup window by itself: its settings wait on the Plugins tab and in game. While it is on, bbphoto is not loaded, so the two never both answer L3 and P; `photo_mode = false` loads bbphoto again. | | `debug_menu` | Restores the developers' debug menu (`` ` `` opens it), in English or the developers' Japanese, and makes the debug font it draws with from the public-domain X11 fonts k14 and 7x14, so nothing has to be downloaded. Cheating against other players with it gets an account banned; trying it out online with friends is fine. | The gameplay plugins - all five - announce themselves in the session's diff --git a/plugins/photo_mode/photo_mode.cpp b/plugins/photo_mode/photo_mode.cpp index 381b4665..10e18a3c 100644 --- a/plugins/photo_mode/photo_mode.cpp +++ b/plugins/photo_mode/photo_mode.cpp @@ -95,9 +95,9 @@ struct Settings { int vignette = 0; // Area's own, None, Light, Medium, Strong, Heavy int saturation = 100, brightness = 100, exposure = 100, gamma = 100, contrast = 100; // % of the area's int dof = 0; // Area's own, On, Off - int dof_focus = 30; // (it / 10) squared metres - float dof_aperture = 5.6f; - int dof_near = 0, dof_far = 1; + float dof_from = 1.0f, dof_to = 10.0f; // metres: sharp between them + int dof_near = 0, dof_far = 3; // the blur's strength in front and behind, 0-7 + int dof_fade = 3; // kFades: how gradually the blur comes in int ca = 0; // Area's own, On, Off int ca_lateral[2] = {6, 0}, ca_uniform[2] = {0, 0}; // thousandths int fog_distance = 100, fog_density = 100, fog_contrast = 100; // % of the area's @@ -286,6 +286,13 @@ void show_panel(bool up) { } } +// The Depth of field page's distances (metres) and fades (of the distance). +#define BB_DOF_DISTANCES \ + "0.25 m|0.5 m|0.75 m|1 m|1.5 m|2 m|2.5 m|3 m|4 m|5 m|6 m|8 m|10 m|12 m|15 m|20 m|25 m|30 m|40 m|50 m|75 m|100 m|150 m|" \ + "200 m|300 m|500 m|1000 m" +#define BB_DOF_FADES "None|10%|25%|50%|100%" +constexpr float kFades[] = {0.0f, 0.1f, 0.25f, 0.5f, 1.0f}; + // The look the rows make (post_look): only what differs from the area's own. constexpr float kVignettePower[] = {0.0f, 0.0f, 0.3f, 0.6f, 1.0f, 1.5f}; // by the Vignette row, Area's own first void post_look() { @@ -304,13 +311,22 @@ void post_look() { l.vignette = kVignettePower[std::clamp(set.vignette, 0, 5)]; } if (set.dof > 0) { + // On, by distance (BB_LOOK_DOF_RANGE): sharp from Sharp from to + // Sharp to, the blur nearer and further coming in over the Fade's + // share of each distance. The lens is the host's then: no focus or + // aperture here. l.set |= BB_LOOK_DOF; l.dof = set.dof == 1; - const float d = set.dof_focus / 10.0f; - l.dof_focus = d * d; - l.dof_aperture = set.dof_aperture; l.dof_near_levels = set.dof_near; l.dof_far_levels = set.dof_far; + if (l.dof) { + const float fade = kFades[std::clamp(set.dof_fade, 0, 4)]; + l.set |= BB_LOOK_DOF_RANGE; + l.dof_near_end = set.dof_from; + l.dof_far_start = set.dof_to; + l.dof_near_fade = set.dof_from * fade; + l.dof_far_fade = set.dof_to * fade; + } } if (set.ca > 0) { l.set |= BB_LOOK_ABERRATION; @@ -339,7 +355,7 @@ void post_look() { std::uint32_t available = 0; api->post_look(kName, l.set ? &l : nullptr, &available); static std::uint32_t told = 0; - const std::uint32_t missing = l.set & ~available & (BB_LOOK_DOF | BB_LOOK_MOTION_BLUR); + const std::uint32_t missing = l.set & ~available & (BB_LOOK_DOF | BB_LOOK_MOTION_BLUR); // DOF_RANGE goes with DOF if (missing && missing != told) api->log("photo mode: %s cannot show now (Performance mode leaves it out)", missing == BB_LOOK_DOF ? "depth of field" : missing == BB_LOOK_MOTION_BLUR ? "motion blur" : "depth of field and motion blur"); @@ -554,6 +570,7 @@ bool take_option(const char* key, const char* value) { static const char* const kModes[] = {"Frozen", "Static", "Live"}; static const char* const kVignettes[] = {"Area's own", "None", "Light", "Medium", "Strong", "Heavy"}; static const char* const kSwitch[] = {"Area's own", "On", "Off"}; + static const char* const kFadeNames[] = {"None", "10%", "25%", "50%", "100%"}; const std::string k = key; if (k == "start") choice(kStarts, 2, &set.start); else if (k == "mode") choice(kModes, 3, &set.mode); @@ -567,8 +584,9 @@ bool take_option(const char* key, const char* value) { else if (k == "gamma") num(50, 150, &set.gamma); else if (k == "contrast") num(80, 120, &set.contrast); else if (k == "dof") choice(kSwitch, 3, &set.dof); - else if (k == "dof_focus") num(5, 200, &set.dof_focus); - else if (k == "dof_aperture") set.dof_aperture = std::clamp(static_cast(std::atof(v.c_str())), 0.7f, 32.0f); + else if (k == "dof_from") set.dof_from = std::clamp(static_cast(std::atof(v.c_str())), 0.1f, 1000.0f); + else if (k == "dof_to") set.dof_to = std::clamp(static_cast(std::atof(v.c_str())), 0.1f, 1000.0f); + else if (k == "dof_fade") choice(kFadeNames, 5, &set.dof_fade); else if (k == "dof_near") num(0, 7, &set.dof_near); else if (k == "dof_far") num(0, 7, &set.dof_far); else if (k == "ca") choice(kSwitch, 3, &set.ca); @@ -647,19 +665,28 @@ extern "C" BB_PLUGIN_EXPORT const BbOption bb_plugin_options[] = { "% of the area's own contrast. Steep: a few percent goes a long way, and 110 crushes most shadows to black.", "100", 80, 120), PANEL("dof", "Depth of field", - "The blur away from the focus. Performance mode leaves it out, and with it these rows do nothing."), + "Sharp between two distances from the camera, blurred nearer and further. Performance mode leaves it out, and with " + "it these rows do nothing."), {BB_OPT_CHOICE | BB_OPT_LIVE, "dof", "Depth of field", "Area's own keeps the area's depth of field. On uses the rows below; Off leaves it out. Performance mode leaves it out " "whatever this says.", "Area's own", 0, 0, "Area's own|On|Off"}, - LIVE_INT_WHEN("dof_focus", "Focus", "Where it is sharp: 10 is 1 m, 30 is 9 m, 100 is 100 m (the number over ten, squared).", - "30", 5, 200, "dof=On"), - {BB_OPT_FLOAT | BB_OPT_LIVE | BB_OPT_WHEN, "dof_aperture", "Aperture", - "The lens's f-number: the smaller, the more blurred away from the focus. The areas use 5.6.", "5.6", 0.7, 32, "dof=On"}, - LIVE_INT_WHEN("dof_near", "Blur in front", "Blurs what is nearer than the focus, the further the more (0: none, up to 7).", + // (A choice row cannot be greyed out by another's value: BB_OPT_WHEN + // takes its choices field.) + {BB_OPT_CHOICE | BB_OPT_LIVE, "dof_from", "Sharp from", + "With Depth of field On, where the blur in front ends: nearer than this is blurred, as Blur in front says.", "1 m", 0, 0, + BB_DOF_DISTANCES}, + {BB_OPT_CHOICE | BB_OPT_LIVE, "dof_to", "Sharp to", + "With Depth of field On, where the blur behind begins: further than this is blurred, as Blur behind says.", "10 m", 0, 0, + BB_DOF_DISTANCES}, + LIVE_INT_WHEN("dof_near", "Blur in front", "How strongly what is nearer than Sharp from is blurred (0: not at all, up to 7).", "0", 0, 7, "dof=On"), - LIVE_INT_WHEN("dof_far", "Blur behind", "Blurs what is further than the focus, the further the more (0: none, up to 7).", "1", + LIVE_INT_WHEN("dof_far", "Blur behind", "How strongly what is further than Sharp to is blurred (0: not at all, up to 7).", "3", 0, 7, "dof=On"), + {BB_OPT_CHOICE | BB_OPT_LIVE, "dof_fade", "Fade", + "With Depth of field On, how gradually the blur comes in, as a share of each distance: None is a sharp edge; at 100% " + "the blur behind is full only at twice Sharp to, and the blur in front grows from Sharp from to the camera.", + "50%", 0, 0, BB_DOF_FADES}, PANEL("ca", "Chromatic aberration", "Colour fringes towards the picture's edges, as a lens makes them."), {BB_OPT_CHOICE | BB_OPT_LIVE, "ca", "Chromatic aberration", diff --git a/tests/photo_mode_plugin_test.cpp b/tests/photo_mode_plugin_test.cpp index 8f82ea91..cbbc63c4 100644 --- a/tests/photo_mode_plugin_test.cpp +++ b/tests/photo_mode_plugin_test.cpp @@ -18,8 +18,9 @@ // with another player in the world or on the way, or in another's world; the // HUD option shows the HUD; its panel opens with it, R3 hides and shows it, // and the panel's rows go over the area's look while it runs and nowhere -// else, motion blur's samples within what the game's blur is made for. Its -// options table is whole, every row with its help. +// else: depth of field placed by distance, motion blur's samples within what +// the game's blur is made for. Its options table is whole, every row with its +// help. // // photo_mode_plugin_test #include "bbhost_plugin.h" @@ -394,13 +395,18 @@ int main(int argc, char** argv) { } } CHECK(pages == 6); - // The Field of view row goes from -40 to +60, the motion blur's samples - // stop at 8. + // The depth of field's page places the blur by distance, the motion + // blur's samples stop at 8. + bool from = false, to = false, aperture = false; for (const BbOption* o = p.options; o->type; ++o) { if (!o->key) continue; + from = from || std::strcmp(o->key, "dof_from") == 0; + to = to || std::strcmp(o->key, "dof_to") == 0; + aperture = aperture || std::strcmp(o->key, "dof_aperture") == 0; if (std::strcmp(o->key, "blur_samples") == 0) CHECK(o->min == 2 && o->max == 8); if (std::strcmp(o->key, "fov") == 0) CHECK(o->min == -40 && o->max == 60); } + CHECK(from && to && !aperture); } // An API 28 host: refused before asking for anything. @@ -484,7 +490,20 @@ int main(int argc, char** argv) { H.option_fn("saturation", "50", H.option_user); CHECK(H.look_on && (H.look.set & BB_LOOK_TONE) && std::fabs(H.look.saturation - 0.5f) < 1e-6f && H.look.exposure == 1.0f); H.option_fn("dof", "On", H.option_user); - CHECK((H.look.set & BB_LOOK_DOF) && H.look.dof == 1 && std::fabs(H.look.dof_focus - 9.0f) < 1e-4f && H.look.dof_far_levels == 1); + // On places the blur by distance: sharp from 1 m to 10 m, the blur behind + // at 3 coming in over half of each distance, none in front. + CHECK((H.look.set & BB_LOOK_DOF) && (H.look.set & BB_LOOK_DOF_RANGE) && H.look.dof == 1); + CHECK(H.look.dof_near_end == 1.0f && H.look.dof_far_start == 10.0f && H.look.dof_near_levels == 0 && H.look.dof_far_levels == 3); + CHECK(std::fabs(H.look.dof_near_fade - 0.5f) < 1e-6f && std::fabs(H.look.dof_far_fade - 5.0f) < 1e-6f); + H.option_fn("dof_from", "2.5 m", H.option_user); + H.option_fn("dof_to", "40 m", H.option_user); + H.option_fn("dof_near", "5", H.option_user); + H.option_fn("dof_fade", "None", H.option_user); + CHECK(H.look.dof_near_end == 2.5f && H.look.dof_far_start == 40.0f && H.look.dof_near_levels == 5); + CHECK(H.look.dof_near_fade == 0.0f && H.look.dof_far_fade == 0.0f); + H.option_fn("dof", "Off", H.option_user); + CHECK((H.look.set & BB_LOOK_DOF) && H.look.dof == 0 && !(H.look.set & BB_LOOK_DOF_RANGE)); + H.option_fn("dof", "On", H.option_user); // Motion blur's samples within 2..8, whatever the config holds. H.option_fn("blur", "On", H.option_user); H.option_fn("blur_samples", "16", H.option_user); From b601fcbe8f3acbba91b6135bdf4ae7e734643377 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:38:20 -0800 Subject: [PATCH 050/100] plugins: photo mode's HUD row shows the HUD even with the player's own HUD option off - hud_hide -1 holds that option on while asked The HUD row did nothing for a player with the game's HUD option off: the game draws no HUD then, so not leaving it out showed nothing. bbphoto wrote that option on while its row was On. The option is the byte at +9 of GameDataMan's game options (+0x48), which the in-game HUD's update reads before it draws (sub_1ffb2a0 and its neighbours); with it written 0 under photo mode's HUD On the release candidate's frame had no HUD (lavapipe). hud_hide's -1 asks for the HUD shown: the host holds that option on while any plugin asks so and none asks for the HUD left out, and puts the player's value back when none does (engine/player_data.cpp, from plugins_frame, so a plugin turned off lets go too). Photo mode's row On asks -1. One rare case stays, as it did with bbphoto: the option lives in the game's own options, so if the game saves them while photo mode holds it on and then stops before letting go (a crash), the player's HUD option comes back on, theirs to turn off again in the game's options. Frames on the RTX, the option written 0 by a test plugin: the release candidate's HUD corner hardly changed with the row On (a mean difference of 4.2 from Off, against 37.4 with the option 1); now the row On shows the HUD (37.4), and with photo mode ended the player's 0 is back: no HUD (7.0 from the first frame, the world moving again). Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 4 ++++ include/bbhost_plugin.h | 6 +++++- plugins/photo_mode/photo_mode.cpp | 8 +++++--- src/engine/player_data.cpp | 30 +++++++++++++++++++++++++++ src/engine/player_data.h | 4 ++++ src/host/plugins.cpp | 17 +++++++++++++--- src/host/scene_look.cpp | 34 ++++++++++++++++++++++++------- src/host/scene_look.h | 8 +++++++- tests/photo_mode_plugin_test.cpp | 15 +++++++++++--- 9 files changed, 108 insertions(+), 18 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index 33961e17..ad9be5d5 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -273,6 +273,10 @@ over the game. changes, and its HUD option keeps its value. bbhost's overlay and menus are drawn as always. The HUD is left out while any plugin asks; turning the plugin off lets go. It costs two copies of the picture a frame while on. + `hidden` -1 asks for the HUD shown instead, even where the player's own HUD + option hides it: the option is held on while any plugin asks so (and none + asks for the HUD left out) and is the player's again once none does. A + plugin's ask replaces its last. - `post_look(name, &look, &available)`: the picture's look over the area's own, as `BbLook` (set `look.size` first): the groups in `set` apply - tone (exposure, gamma, saturation, brightness and contrast, each times the diff --git a/include/bbhost_plugin.h b/include/bbhost_plugin.h index a5c55300..77dca187 100644 --- a/include/bbhost_plugin.h +++ b/include/bbhost_plugin.h @@ -1064,7 +1064,11 @@ typedef struct BbHostApi { * always. `hidden` 1 asks for it for the plugin named `name`, 0 lets it * go; it is left out while any plugin asks, and the plugin being turned * off lets go. From the next frame; while on, two copies of the picture a - * frame. Any thread. 0 on success; 1 for an unknown plugin. */ + * frame. `hidden` -1 asks for the HUD shown instead, even where the + * player's own HUD option hides it: that option is held on while any + * plugin asks so (and none asks for it left out) and is the player's + * again when none does. A plugin's ask replaces its last. Any thread. 0 on + * success; 1 for an unknown plugin. */ int (*hud_hide)(const char* name, int hidden); /* The picture's look over the area's own (BbLook): written every view * into the numbers the area gives the post-processing and the fog, so diff --git a/plugins/photo_mode/photo_mode.cpp b/plugins/photo_mode/photo_mode.cpp index 10e18a3c..effc2ed9 100644 --- a/plugins/photo_mode/photo_mode.cpp +++ b/plugins/photo_mode/photo_mode.cpp @@ -372,7 +372,7 @@ void start() { st.look_x = st.look_y = 0; apply_mode(); api->option_set(kName, "mode", "Frozen"); // the panel's row says so too - api->hud_hide(kName, set.hud ? 0 : 1); + api->hud_hide(kName, set.hud ? -1 : 1); post_look(); show_panel(true); api->log("photo mode: on (%s)", mode_name(st.mode)); @@ -613,7 +613,7 @@ void on_option(const char* key, const char* value, void*) { if (std::strcmp(key, "mode") == 0) { set_mode(set.mode); } else if (std::strcmp(key, "hud") == 0) { - if (st.on) api->hud_hide(kName, set.hud ? 0 : 1); + if (st.on) api->hud_hide(kName, set.hud ? -1 : 1); } else if (std::strcmp(key, "fov") == 0) { st.cam.fov = fov_of(st.game_fov, set.fov_offset); } else if (std::strcmp(key, "roll") == 0) { @@ -650,7 +650,9 @@ extern "C" BB_PLUGIN_EXPORT const BbOption bb_plugin_options[] = { "Frozen", 0, 0, "Frozen|Static|Live"}, LIVE_INT("fov", "Field of view", "Degrees more or less than the game's own view: 0 keeps it, less zooms in.", "0", -40, 60), LIVE_INT("roll", "Roll", "Tilts the camera, in degrees: 0 keeps it level.", "0", -90, 90), - {BB_OPT_BOOL | BB_OPT_LIVE, "hud", "HUD", "Shows the game's HUD, menus and prompts in photo mode. Off leaves them out of the picture.", + {BB_OPT_BOOL | BB_OPT_LIVE, "hud", "HUD", + "On shows the game's HUD in photo mode, even with the game's own HUD option off. Off leaves the HUD, menus and prompts " + "out of the picture.", "false", 0, 0, nullptr}, {BB_OPT_CHOICE | BB_OPT_LIVE, "vignette", "Vignette", "Darkens the picture's corners. Area's own keeps the area's (most have none).", "Area's own", 0, 0, diff --git a/src/engine/player_data.cpp b/src/engine/player_data.cpp index a982ea0b..0189d704 100755 --- a/src/engine/player_data.cpp +++ b/src/engine/player_data.cpp @@ -95,6 +95,36 @@ bool player_origin(int* origin) { return true; } +// The game's own HUD option: the byte at +9 of GameDataMan's game options +// (+0x48), 1 shown and 0 hidden, which the in-game HUD's update reads before +// it draws (sub_1ffb2a0 and its neighbours: cmp byte [options + 9], 0). A +// plugin's HUD shown (plugin API 29's hud_hide with -1) sets it to 1 while it +// asks, and the player's own value is put back when it stops. +void player_hud_option_hold(bool shown) { + static int saved = -1; // the player's value while it is held + static std::uint64_t held_at = 0; + if (!shown && saved < 0) return; // nothing asked, nothing to put back + const std::uint64_t man = manager(); + std::uint64_t options = 0; + if (!man || !host_read_safe(reinterpret_cast(static_cast(man + 0x48)), &options, 8)) options = 0; + const std::uint64_t at = options ? options + 9 : 0; + std::uint8_t v = 0; + const bool readable = at && host_read_safe(reinterpret_cast(static_cast(at)), &v, 1); + if (shown && readable) { + if (saved < 0 || held_at != at) { + saved = v; + held_at = at; + host_log("player data: the game's HUD option shown for a plugin (the player's is %s)", v ? "on" : "off"); + } + if (v != 1) *reinterpret_cast(static_cast(at)) = 1; + } else if (!shown && saved >= 0) { + if (readable && held_at == at) *reinterpret_cast(static_cast(at)) = static_cast(saved); + host_log("player data: the game's HUD option back to the player's (%s)", saved ? "on" : "off"); + saved = -1; + held_at = 0; + } +} + void player_data_tick() { if (g_said || !g_ok) return; std::int64_t level = 0; diff --git a/src/engine/player_data.h b/src/engine/player_data.h index 24e03350..fa49e1e2 100755 --- a/src/engine/player_data.h +++ b/src/engine/player_data.h @@ -32,3 +32,7 @@ bool player_origin(int* origin); // From the frame-time manager's hook: the one line with the loaded // character's numbers, once. void player_data_tick(); +// The game's own HUD option ([GameDataMan + 0x48] + 9: 1 shows the HUD, 0 +// hides it) held on while `shown`, the player's value put back after. Once a +// frame, from the main thread (plugins_frame). +void player_hud_option_hold(bool shown); diff --git a/src/host/plugins.cpp b/src/host/plugins.cpp index b2f16c84..2c4c0e67 100644 --- a/src/host/plugins.cpp +++ b/src/host/plugins.cpp @@ -1711,9 +1711,16 @@ int api_option_set(const char* name, const char* key, const char* value) { int api_hud_hide(const char* name, int hidden) { if (!plugin_named(name)) return 1; - const bool was = scene_look_hud_hidden(); - scene_look_set_hud_hidden(name, hidden != 0); - if (was != scene_look_hud_hidden()) host_log("plugin: the game's HUD %s (%s)", scene_look_hud_hidden() ? "left out of the picture" : "shown", name); + const bool was = scene_look_hud_hidden(), was_shown = scene_look_hud_shown(); + if (hidden < 0) scene_look_set_hud_shown(name, true); // shown, whatever the game's HUD option says + else scene_look_set_hud_hidden(name, hidden != 0); // left out, or let go (of either ask) + if (hidden == 0) scene_look_set_hud_shown(name, false); + if (was != scene_look_hud_hidden() || was_shown != scene_look_hud_shown()) + host_log("plugin: the game's HUD %s (%s)", + scene_look_hud_hidden() ? "left out of the picture" + : scene_look_hud_shown() ? "shown, its own option held on" + : "as the game has it", + name); return 0; } @@ -2078,6 +2085,10 @@ void plugins_image(ElfImage* image) { void plugins_frame() { speffect_test_tick(); // BBHOST_SPEFFECT_TEST chr_watch_tick(); // BBHOST_CHR_WATCH + // A plugin's HUD shown (hud_hide with -1): the game's own HUD option held + // on, and the player's put back once none asks (before the early return, + // so a plugin turned off lets it go). + player_hud_option_hold(scene_look_hud_shown()); std::vector now; std::vector loads; std::vector requests; diff --git a/src/host/scene_look.cpp b/src/host/scene_look.cpp index 7455abc3..6352346d 100644 --- a/src/host/scene_look.cpp +++ b/src/host/scene_look.cpp @@ -96,23 +96,43 @@ std::atomic g_dither{0}; void scene_look_set_dither(std::uint32_t bits) { g_dither.store(bits >= 1 && bits <= 8 ? bits : 0, std::memory_order_relaxed); } std::uint32_t scene_look_dither() { return g_dither.load(std::memory_order_relaxed); } -// The HUD left out (plugin API 29's hud_hide): the plugins that ask, by name. +// The HUD left out, or shown (plugin API 29's hud_hide): the plugins that +// ask, by name - each one's last ask. namespace { std::mutex g_hud_mu; -std::vector g_hud_owners; // under g_hud_mu -std::atomic g_hud_hidden{false}; +std::vector g_hud_owners; // under g_hud_mu: left out +std::vector g_hud_shown_owners; // under g_hud_mu: shown +std::atomic g_hud_hidden{false}, g_hud_shown{false}; + +void hud_ask_locked(std::vector& owners, const char* owner, bool on) { + const auto it = std::find(owners.begin(), owners.end(), owner); + if (on && it == owners.end()) owners.emplace_back(owner); + if (!on && it != owners.end()) owners.erase(it); +} } // namespace void scene_look_set_hud_hidden(const char* owner, bool hidden) { if (!owner || !owner[0]) return; std::lock_guard lk(g_hud_mu); - const auto it = std::find(g_hud_owners.begin(), g_hud_owners.end(), owner); - if (hidden && it == g_hud_owners.end()) g_hud_owners.emplace_back(owner); - if (!hidden && it != g_hud_owners.end()) g_hud_owners.erase(it); + hud_ask_locked(g_hud_owners, owner, hidden); + if (hidden) hud_ask_locked(g_hud_shown_owners, owner, false); + g_hud_hidden.store(!g_hud_owners.empty(), std::memory_order_relaxed); + g_hud_shown.store(!g_hud_shown_owners.empty(), std::memory_order_relaxed); +} +void scene_look_set_hud_shown(const char* owner, bool shown) { + if (!owner || !owner[0]) return; + std::lock_guard lk(g_hud_mu); + hud_ask_locked(g_hud_shown_owners, owner, shown); + if (shown) hud_ask_locked(g_hud_owners, owner, false); g_hud_hidden.store(!g_hud_owners.empty(), std::memory_order_relaxed); + g_hud_shown.store(!g_hud_shown_owners.empty(), std::memory_order_relaxed); } bool scene_look_hud_hidden() { return g_hud_hidden.load(std::memory_order_relaxed); } -void scene_look_drop_hud(const char* owner) { scene_look_set_hud_hidden(owner, false); } +bool scene_look_hud_shown() { return g_hud_shown.load(std::memory_order_relaxed) && !scene_look_hud_hidden(); } +void scene_look_drop_hud(const char* owner) { + scene_look_set_hud_hidden(owner, false); + scene_look_set_hud_shown(owner, false); +} bool scene_look_pixel_cut(PixelCut* out) { if (!g_pixel_cut_on.load(std::memory_order_acquire)) return false; diff --git a/src/host/scene_look.h b/src/host/scene_look.h index f00b2431..eb392c88 100644 --- a/src/host/scene_look.h +++ b/src/host/scene_look.h @@ -61,7 +61,13 @@ std::uint32_t scene_look_dither(); // game's own state - its HUD option - is untouched. void scene_look_set_hud_hidden(const char* owner, bool hidden); bool scene_look_hud_hidden(); -// Every hold of `owner` let go (the plugin turned off). +// The HUD shown even where the game's own HUD option hides it (hud_hide with +// -1), held by each plugin that asks: plugins_frame holds the option on +// (engine/player_data.h player_hud_option_hold) while any asks and none asks +// for it left out. An owner's ask replaces its last, of either kind. +void scene_look_set_hud_shown(const char* owner, bool shown); +bool scene_look_hud_shown(); +// Every ask of `owner` let go (the plugin turned off). void scene_look_drop_hud(const char* owner); // The scene's colour targets RGBA8. diff --git a/tests/photo_mode_plugin_test.cpp b/tests/photo_mode_plugin_test.cpp index cbbc63c4..23f9bca3 100644 --- a/tests/photo_mode_plugin_test.cpp +++ b/tests/photo_mode_plugin_test.cpp @@ -714,14 +714,23 @@ int main(int argc, char** argv) { CHECK(H.paused == 0 && H.hud_hidden == 0 && H.take_buttons == 0); } - // The HUD option shows the HUD in photo mode, live. + // The HUD option shows the HUD in photo mode, live - asked shown (-1), + // so the game's own HUD option off does not hide it - and Off leaves it + // out again; ending photo mode lets go of either. H.world.flags = BB_WORLD_IN; tap_key(kP); CHECK(H.hud_hidden == 1); H.option_fn("hud", "true", H.option_user); - CHECK(H.hud_hidden == 0); + CHECK(H.hud_hidden == -1); + H.option_fn("hud", "false", H.option_user); + CHECK(H.hud_hidden == 1); + H.option_fn("hud", "true", H.option_user); tap_key(kP); - CHECK(H.paused == 0); + CHECK(H.paused == 0 && H.hud_hidden == 0); + tap_key(kP); // started again with the row On: shown from the start + CHECK(H.paused == 1 && H.hud_hidden == -1); + tap_key(kP); + CHECK(H.hud_hidden == 0); H.config["photo_mode.hud"] = "true"; CHECK(H.unnamed_takes == 0); // every take its own (input_take_as), never another plugin's From dc14c23695a6f70f9c083513dba6bcf18da442b3 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:38:34 -0800 Subject: [PATCH 051/100] plugins: a plugin's panel keeps one size and looks like the game's own menus The panel fitted its contents each frame: a page with fewer rows, or a row's help a line longer, moved its top edge, so it jumped as the cursor moved and the pages turned. Its size is now fixed for the plugin: the rows of its longest page, the Defaults row below them at one place, and a help area the longest help fits in (two to four lines, wrapped), then the guide. It is drawn as the game's menus are (the System menu's pages): a dark plate between thin rules with a small ornament, the page's name in muted gold, the labels set against the middle and the values centred after it (a slider's number beside its bar, not under its mark), a faint line under each row, the row with the cursor lit by a golden band and its value between two arrows, the help in pale beige, in a serif near the game's letters (Times New Roman, Liberation Serif). Menu hue and Menu vibrance, which colour bbhost's menus, leave it as it is. Screenshots of photo mode's panel at 1280x720 (lavapipe): its six pages, the Camera page with the cursor moved down to its HUD row and the row turned On and Off, and the panel hidden and shown again - the panel 421x340 pixels at the same place in every one. Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 8 +- include/bbhost_plugin.h | 3 +- src/host/ingame_menu.cpp | 11 +- src/host/launcher_ui.cpp | 13 +- src/host/launcher_ui.h | 1 + src/host/plugin_panel.cpp | 365 +++++++++++++++++++++++++++++--------- 6 files changed, 313 insertions(+), 88 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index ad9be5d5..3d8ca1af 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -307,7 +307,13 @@ over the game. (`NULL`). Its pages are the plugin's own options table: a `BB_OPT_HEADING` with `BB_OPT_PANEL` or-ed in starts a page, the rows under it up to the next heading are on it, and neither shows in the menus. It is drawn over the game - at the bottom right with the rows' own widgets, its changes going to + at the bottom right in the look of the game's own menus - their serif + letters, a dark plate between thin rules, the page's name in gold, the row + with the cursor lit gold, a switch or a choice shown as its value between + two arrows - at one size for every page (its longest page's rows and room + for its longest help), so it never moves as rows or pages change; Menu hue + and Menu vibrance, which colour bbhost's menus, leave it as it is. Its rows' + changes go to `on_option` as the menus' do (so its rows want `BB_OPT_LIVE`), the help of the row in use under them, then `guide` or `guide_keys` - whichever device the player used last. The controller drives it (the d-pad up and down to a diff --git a/include/bbhost_plugin.h b/include/bbhost_plugin.h index 77dca187..ba6cd75d 100644 --- a/include/bbhost_plugin.h +++ b/include/bbhost_plugin.h @@ -1085,7 +1085,8 @@ typedef struct BbHostApi { int (*post_look)(const char* name, const BbLook* look, uint32_t* available); /* The plugin's panel up (BbPanel) or down (NULL): the pages of its options * table it marks with BB_OPT_PANEL, drawn over the game at the bottom - * right with the rows' own widgets, their changes going to on_option as + * right in the look of the game's own menus and at one size for every + * page (its longest page and its longest help), their changes going to on_option as * the menus' do (the rows want BB_OPT_LIVE). The controller drives it - * the d-pad up and down to a row, left and right to change it, Cross to * set a switch or press a button, L1 and R1 the pages, Circle closes it - diff --git a/src/host/ingame_menu.cpp b/src/host/ingame_menu.cpp index dff9fdec..6b8f74a0 100644 --- a/src/host/ingame_menu.cpp +++ b/src/host/ingame_menu.cpp @@ -943,14 +943,15 @@ void ingame_menu_shutdown() { namespace { // The frame's end, the menu's or a plugin's panel's: rendered to draw data, -// coloured, and ImGui's texture uploads done under the queue's lock. -bool finish_frame() { +// coloured (the menu's: a panel keeps the game's own colours), and ImGui's +// texture uploads done under the queue's lock. +bool finish_frame(bool menu) { ImGui::Render(); // Menu hue and Menu vibrance, on everything the menus draw. float hue = 0.0f, vibrance = 0.0f; host_opt_menu_colour(&hue, &vibrance); ui::set_colour(hue, vibrance); - ui::recolour(ImGui::GetDrawData()); + if (menu) ui::recolour(ImGui::GetDrawData()); // ImGui's own texture uploads - the font atlas when the menu first opens, // and again whenever 1.92 adds glyphs to it - submit on the renderer's // queue and then wait for that queue to go idle. Left to RenderDrawData @@ -1037,7 +1038,7 @@ bool build_frame(VkExtent2D extent) { ImGui::NewFrame(); if (panel) { plugin_panel_draw(ui::scale(), host_input_device() == InputDevice::Pad); - return finish_frame(); + return finish_frame(false); } const int n = static_cast(menu_pages().size()); if (const int p = g_test_page.exchange(-1); p >= 0 && p < n) g_page = p; @@ -1059,7 +1060,7 @@ bool build_frame(VkExtent2D extent) { close = draw_menu() || close; ImGui::PopStyleVar(); if (close) host_options_close(); - return finish_frame(); + return finish_frame(true); } } // namespace diff --git a/src/host/launcher_ui.cpp b/src/host/launcher_ui.cpp index 564ae3c8..5485ddcd 100644 --- a/src/host/launcher_ui.cpp +++ b/src/host/launcher_ui.cpp @@ -54,6 +54,7 @@ SDL_Renderer* g_ren = nullptr; ImFont* g_body = nullptr; ImFont* g_strong = nullptr; ImFont* g_title = nullptr; +ImFont* g_game = nullptr; // the serif nearest the game's own menus' letters struct Art { SDL_Texture* sharp = nullptr; // the painting in the palette @@ -214,6 +215,7 @@ void load_fonts() { add_font({"malgun.ttf", "gulim.ttc"}, true); g_strong = add_font({"seguisb.ttf", "segoeuib.ttf"}); g_title = add_font({"pala.ttf", "georgia.ttf", "constan.ttf"}); + g_game = add_font({"times.ttf", "pala.ttf", "georgia.ttf"}); #else g_body = add_font({"/usr/share/fonts/truetype/noto/NotoSans-Regular.ttf", "/usr/share/fonts/noto/NotoSans-Regular.ttf", "/usr/share/fonts/google-noto/NotoSans-Regular.ttf", "/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf", @@ -242,6 +244,14 @@ void load_fonts() { "/usr/share/fonts/dejavu-serif-fonts/DejaVuSerif.ttf", "/usr/share/fonts/truetype/liberation/LiberationSerif-Regular.ttf", "/usr/share/fonts/liberation/LiberationSerif-Regular.ttf"}); + // Liberation Serif is drawn to Times New Roman's measure, the face the + // game's menus' Latin letters are nearest. + g_game = add_font({"/usr/share/fonts/truetype/liberation/LiberationSerif-Regular.ttf", + "/usr/share/fonts/liberation/LiberationSerif-Regular.ttf", "/usr/share/fonts/TTF/LiberationSerif-Regular.ttf", + "/usr/share/fonts/liberation-serif/LiberationSerif-Regular.ttf", + "/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf", "/usr/share/fonts/TTF/DejaVuSerif.ttf", + "/usr/share/fonts/dejavu/DejaVuSerif.ttf", "/usr/share/fonts/truetype/noto/NotoSerif-Regular.ttf", + "/usr/share/fonts/noto/NotoSerif-Regular.ttf"}); #endif ImGui::GetIO().FontDefault = g_body; } @@ -522,13 +532,14 @@ void shutdown() { if (g_art.mild) SDL_DestroyTexture(g_art.mild); g_art = Art{}; g_motes.clear(); - g_body = g_strong = g_title = nullptr; + g_body = g_strong = g_title = g_game = nullptr; g_ren = nullptr; } float scale() { return g_scale; } ImFont* font_strong() { return g_strong ? g_strong : ImGui::GetFont(); } ImFont* font_title() { return g_title ? g_title : font_strong(); } +ImFont* font_game() { return g_game ? g_game : font_title(); } static bool g_animations = true; void set_animations(bool on) { g_animations = on; } diff --git a/src/host/launcher_ui.h b/src/host/launcher_ui.h index d23aeb7b..f29200e6 100644 --- a/src/host/launcher_ui.h +++ b/src/host/launcher_ui.h @@ -63,6 +63,7 @@ void set_scale(float scale); float scale(); ImFont* font_strong(); // semibold, for headings ImFont* font_title(); // the serif, for the name and the big buttons +ImFont* font_game(); // the serif nearest the game's own menus' letters (Times New Roman's measure): a plugin's panel // Each frame, first: the painting covering the window (drifting a little), // its veils, darker toward the sidebar and the bottom, and the motes. diff --git a/src/host/plugin_panel.cpp b/src/host/plugin_panel.cpp index a6b7e9ab..f2c10b79 100644 --- a/src/host/plugin_panel.cpp +++ b/src/host/plugin_panel.cpp @@ -6,6 +6,7 @@ #include "log.h" #include +#include #include #include #include @@ -17,6 +18,7 @@ #include #if defined(BBHOST_HAVE_SDL3) +#include "host/launcher_ui.h" #include "imgui.h" #include "imgui_internal.h" #endif @@ -160,8 +162,55 @@ int step_pressed() { // The value a number row shows while the pointer drags it: set when it lets go. std::map g_drag; -// One row: its label at the left, its widget at the right. Returns its help -// when it has the focus. +// The game's own menus' look - the System menu's pages, bbhost's PC pages +// among them (the options movie it makes from the game's): a dark plate +// between thin pale rules with an ornament at their middle, the page's name in +// muted gold, the rows in a warm off-white with the label set right against +// the middle and the value centred after it, a faint line under each row, the +// row with the cursor lit by a golden band and its value between two arrows, +// and the help under the rows in pale beige. Not recoloured by Menu hue and +// Menu vibrance, which are bbhost's menus' own (host/ingame_menu.cpp). +namespace look { +constexpr ImU32 kPlate = IM_COL32(7, 6, 5, 218); +constexpr ImU32 kPlateEdge = IM_COL32(0, 0, 0, 0); +constexpr ImU32 kRule = IM_COL32(184, 178, 164, 170); +constexpr ImU32 kTitle = IM_COL32(203, 172, 114, 255); +constexpr ImU32 kText = IM_COL32(228, 222, 209, 255); +constexpr ImU32 kTextLit = IM_COL32(255, 249, 230, 255); +constexpr ImU32 kTextDim = IM_COL32(150, 142, 127, 255); +constexpr ImU32 kHelp = IM_COL32(212, 202, 180, 255); +constexpr ImU32 kGuide = IM_COL32(170, 161, 142, 255); +constexpr ImU32 kGlow = IM_COL32(226, 172, 78, 120); +constexpr ImU32 kRowLine = IM_COL32(168, 160, 146, 64); +constexpr ImU32 kGold = IM_COL32(206, 172, 108, 255); +constexpr ImU32 kGoldLit = IM_COL32(236, 202, 136, 255); +constexpr ImU32 kGrab = IM_COL32(206, 172, 108, 150); // a slider's mark: thin, under its number +constexpr ImU32 kGrabLit = IM_COL32(236, 202, 136, 210); +constexpr ImU32 kFrame = IM_COL32(255, 244, 220, 16); +constexpr ImU32 kFrameHot = IM_COL32(255, 244, 220, 28); +} // namespace look + +// The panel's letters: the serif nearest the game's menus' (host/launcher_ui.h). +constexpr float kTextSize = 17.0f, kTitleSize = 22.0f, kSmallSize = 15.0f; // before the scale + +// A thin rule across [x0, x1] at y with the game's small ornament at its +// middle and its ends: a diamond, and short ticks. +void rule(ImDrawList* dl, float x0, float x1, float y, float s) { + const float mid = (x0 + x1) * 0.5f, d = 4.0f * s; + dl->AddLine(ImVec2(x0, y), ImVec2(mid - d * 2.2f, y), look::kRule, 1.0f); + dl->AddLine(ImVec2(mid + d * 2.2f, y), ImVec2(x1, y), look::kRule, 1.0f); + dl->AddQuad(ImVec2(mid - d, y), ImVec2(mid, y - d), ImVec2(mid + d, y), ImVec2(mid, y + d), look::kRule, 1.0f); + dl->AddCircleFilled(ImVec2(mid, y), 1.3f * s, look::kRule); + for (const float x : {x0, x1}) dl->AddLine(ImVec2(x, y - 2.5f * s), ImVec2(x, y + 2.5f * s), look::kRule, 1.0f); +} + +// The arrows either side of the row with the cursor's value (the game's < >). +void value_arrows(ImDrawList* dl, ImVec2 a, ImVec2 b, float s, ImU32 col) { + const float cy = (a.y + b.y) * 0.5f, h = 5.0f * s, w = 4.5f * s, in = 6.0f * s; + dl->AddTriangleFilled(ImVec2(a.x + in, cy), ImVec2(a.x + in + w, cy - h), ImVec2(a.x + in + w, cy + h), col); + dl->AddTriangleFilled(ImVec2(b.x - in, cy), ImVec2(b.x - in - w, cy - h), ImVec2(b.x - in - w, cy + h), col); +} + // The nav cursor onto the item just drawn, as the d-pad would put it there: // SetKeyboardFocusHere would open a slider's text field instead. void take_cursor(bool now) { @@ -170,31 +219,45 @@ void take_cursor(bool now) { ImGui::SetNavCursorVisible(true); } -void row(const PluginEntry& p, const PluginOptionDesc& o, float label_w, float widget_w, std::string* focused_help, bool cursor) { +// A value shown as text across the value column, a button the pointer, Cross +// and Enter press: choices, switches and the page's Defaults. +bool value_button(const char* id, const std::string& text, ImVec2 size, bool lit) { + ImGui::PushStyleColor(ImGuiCol_Text, lit ? look::kTextLit : look::kText); + const bool pressed = ImGui::Button((text + "###" + id).c_str(), size); + ImGui::PopStyleColor(); + return pressed; +} + +struct RowOut { + bool hot = false; // the cursor or the pointer on it: its help shows + bool focused = false; // the cursor on it: lit +}; + +// One row in [a, b]: its label right-aligned before `mid`, its widget across +// the value column after it. +RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, float mid, float s, bool cursor) { + RowOut out; ImGui::PushID(o.key.c_str()); const std::string value = plugins_option_value(p, o); const bool grey = greyed(p, o); + ImDrawList* dl = ImGui::GetWindowDrawList(); + const float frame_h = ImGui::GetFrameHeight(); + const float gap = 14.0f * s; + const ImVec2 val_a(mid + gap, a.y + (b.y - a.y - frame_h) * 0.5f); + const ImVec2 val_size(b.x - val_a.x, frame_h); ImGui::BeginDisabled(grey); - ImGui::AlignTextToFramePadding(); - if (o.type != BB_OPT_ACTION) { - ImGui::TextUnformatted(o.label.c_str()); - ImGui::SameLine(label_w); - } - ImGui::SetNextItemWidth(widget_w); - bool hot = false; // the row's widget has the cursor or the pointer: its help shows + ImGui::SetCursorScreenPos(val_a); + ImGui::SetNextItemWidth(val_size.x); + bool arrows = false; // the value is one of a list: arrows either side while it has the cursor switch (o.type) { case BB_OPT_BOOL: { - bool on = value == "true" || value == "1"; - bool flip = ImGui::Checkbox("##v", &on); + const bool on = value == "true" || value == "1"; + bool to = on; + if (value_button(o.key.c_str(), on ? "On" : "Off", val_size, false)) to = !on; take_cursor(cursor); - hot = ImGui::IsItemFocused() || ImGui::IsItemHovered(); - if (!flip && ImGui::IsItemFocused() && !grey && step_pressed() != 0) { - on = !on; - flip = true; - } - if (flip) plugins_set_option(p.name, o.key, on ? "true" : "false"); - ImGui::SameLine(); - ImGui::TextDisabled("%s", on ? "On" : "Off"); + if (ImGui::IsItemFocused() && !grey && step_pressed() != 0) to = !on; + if (to != on) plugins_set_option(p.name, o.key, to ? "true" : "false"); + arrows = true; break; } case BB_OPT_INT: @@ -203,17 +266,36 @@ void row(const PluginEntry& p, const PluginOptionDesc& o, float label_w, float w const auto it = g_drag.find(id); double v = it != g_drag.end() ? it->second : std::atof(value.c_str()); bool changed = false; + // The bar, and its number beside it on the right, as the game's + // sliders have theirs (not under the bar's mark). + const auto shown = [&](double x) { + char t[32]; + if (o.type == BB_OPT_INT) std::snprintf(t, sizeof(t), "%d", static_cast(std::lround(x))); + else std::snprintf(t, sizeof(t), "%.2f", x); + return std::string(t); + }; + ImFont* nf = ImGui::GetFont(); + const float nfs = ImGui::GetFontSize(); + const float num_w = std::max(nf->CalcTextSizeA(nfs, FLT_MAX, 0.0f, shown(o.min).c_str()).x, + nf->CalcTextSizeA(nfs, FLT_MAX, 0.0f, shown(o.max).c_str()).x) + + gap; + ImGui::SetNextItemWidth(std::max(val_size.x - num_w, 8.0f * s)); if (o.type == BB_OPT_INT) { int iv = static_cast(std::lround(v)); - if (ImGui::SliderInt("##v", &iv, static_cast(o.min), static_cast(o.max))) g_drag[id] = iv; + if (ImGui::SliderInt("##v", &iv, static_cast(o.min), static_cast(o.max), "")) g_drag[id] = iv; v = iv; } else { float fv = static_cast(v); - if (ImGui::SliderFloat("##v", &fv, static_cast(o.min), static_cast(o.max), "%.2f")) g_drag[id] = fv; + if (ImGui::SliderFloat("##v", &fv, static_cast(o.min), static_cast(o.max), "")) g_drag[id] = fv; v = fv; } + { + const std::string t = shown(v); + const ImVec2 ts = nf->CalcTextSizeA(nfs, FLT_MAX, 0.0f, t.c_str()); + const ImU32 col = grey ? look::kTextDim : ImGui::IsItemFocused() ? look::kTextLit : look::kText; + dl->AddText(nf, nfs, ImVec2(b.x - ts.x, val_a.y + (frame_h - ts.y) * 0.5f), col, t.c_str()); + } take_cursor(cursor); - hot = ImGui::IsItemFocused() || ImGui::IsItemHovered(); if (ImGui::IsItemDeactivatedAfterEdit()) { changed = true; g_drag.erase(id); @@ -236,28 +318,46 @@ void row(const PluginEntry& p, const PluginOptionDesc& o, float label_w, float w } const int n = static_cast(choices.size()); int to = cur; - const std::string shown = "< " + (n ? choices[static_cast(cur)] : std::string()) + " >"; - if (ImGui::Button(shown.c_str(), ImVec2(widget_w, 0)) && n) to = (cur + 1) % n; + if (value_button(o.key.c_str(), n ? choices[static_cast(cur)] : std::string(), val_size, false) && n) + to = (cur + 1) % n; take_cursor(cursor); - hot = ImGui::IsItemFocused() || ImGui::IsItemHovered(); if (ImGui::IsItemFocused() && !grey && n) { if (const int d = step_pressed()) to = (cur + d + n) % n; } if (to != cur) plugins_set_option(p.name, o.key, choices[static_cast(to)]); + arrows = true; break; } case BB_OPT_ACTION: - if (ImGui::Button(o.label.c_str(), ImVec2(label_w + widget_w, 0))) plugins_run_action(p.name, o.key); + ImGui::SetCursorScreenPos(ImVec2(a.x, val_a.y)); + if (value_button(o.key.c_str(), o.label, ImVec2(b.x - a.x, frame_h), false)) plugins_run_action(p.name, o.key); take_cursor(cursor); - hot = ImGui::IsItemFocused() || ImGui::IsItemHovered(); break; default: ImGui::TextDisabled("%s", value.c_str()); break; } - if (hot) *focused_help = o.help; + out.focused = ImGui::IsItemFocused(); + out.hot = out.focused || ImGui::IsItemHovered(); + if (arrows && out.focused) value_arrows(dl, val_a, val_a + val_size, s, grey ? look::kTextDim : look::kGold); + // The label, set against the middle, as the game's are. + if (o.type != BB_OPT_ACTION) { + ImFont* f = ImGui::GetFont(); + const float fs = ImGui::GetFontSize(); + const ImVec2 ts = f->CalcTextSizeA(fs, FLT_MAX, 0.0f, o.label.c_str()); + ImU32 col = out.focused ? look::kTextLit : look::kText; + if (grey) col = look::kTextDim; + dl->AddText(f, fs, ImVec2(mid - gap - ts.x, (a.y + b.y - ts.y) * 0.5f), col, o.label.c_str()); + } ImGui::EndDisabled(); ImGui::PopID(); + return out; +} + +// The height `text` takes wrapped to `width` in the current font at `size`. +float wrapped_height(const std::string& text, float size, float width) { + if (text.empty()) return 0.0f; + return ImGui::GetFont()->CalcTextSizeA(size, FLT_MAX, width, text.c_str()).y; } } // namespace @@ -302,74 +402,179 @@ void plugin_panel_draw(float scale, bool pad) { bool close = !ImGui::IsAnyItemActive() && (ImGui::IsKeyPressed(ImGuiKey_GamepadFaceRight, false) || ImGui::IsKeyPressed(ImGuiKey_Escape, false)); + const float s = scale; + ImGui::PushFont(launcher_ui::font_game(), kTextSize); + const float text_size = ImGui::GetFontSize(); + const float title_size = text_size * (kTitleSize / kTextSize), small_size = text_size * (kSmallSize / kTextSize); + // One size for every page, so that it never moves: the rows of its + // longest page, the Defaults row, and a help area the longest help fits + // in, whichever row it is. + const float width = 560.0f * s, pad_x = 26.0f * s, pad_y = 12.0f * s; + const float inner = width - 2.0f * pad_x; + const ImVec2 frame_pad(8.0f * s, 3.0f * s); + const float frame_h = text_size + 2.0f * frame_pad.y; + const float row_h = frame_h + 6.0f * s; + int most_rows = 0; + float help_h = 0.0f; + { + std::map rows; + for (const PluginOptionDesc& o : p.entry->options) { + if (o.page.empty()) continue; + if (o.type == BB_OPT_HEADING) { + help_h = std::max(help_h, wrapped_height(o.help, small_size, inner)); + continue; + } + most_rows = std::max(most_rows, ++rows[o.page]); + help_h = std::max(help_h, wrapped_height(o.help, small_size, inner)); + } + } + const float line_h = small_size * 1.25f; + help_h = std::clamp(help_h, 2.0f * line_h, 4.0f * line_h); + const float guide_h = std::max(wrapped_height(p.guide, small_size, inner), wrapped_height(p.guide_keys, small_size, inner)); + const float rule_gap = 12.0f * s; + const float title_h = title_size * 1.15f + (n > 1 ? small_size * 1.1f : 0.0f); + const float rows_h = static_cast(most_rows) * row_h + (p.defaults ? row_h + 6.0f * s : 0.0f); + const float height = pad_y + rule_gap + title_h + rule_gap + rows_h + rule_gap + help_h + 10.0f * s + guide_h + rule_gap + pad_y; + const ImGuiViewport* vp = ImGui::GetMainViewport(); - const float margin = 24.0f * scale; - const float width = 470.0f * scale; + const float margin = 24.0f * s; ImGui::SetNextWindowPos(vp->WorkPos + vp->WorkSize - ImVec2(margin, margin), ImGuiCond_Always, ImVec2(1.0f, 1.0f)); - ImGui::SetNextWindowSize(ImVec2(width, 0.0f), ImGuiCond_Always); - ImGui::SetNextWindowBgAlpha(0.86f); + ImGui::SetNextWindowSize(ImVec2(width, height), ImGuiCond_Always); if (refocus) ImGui::SetNextWindowFocus(); - const ImGuiWindowFlags flags = ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoSavedSettings | - ImGuiWindowFlags_NoMove; + const ImGuiWindowFlags flags = ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoMove | + ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse | ImGuiWindowFlags_NoBackground; + // The widgets in the game's colours: no frame but a faint one on the + // sliders, gold for what moves, nothing of ImGui's own cursor - the + // golden band is the cursor. + ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(0.0f, 0.0f)); + ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, frame_pad); + ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 0.0f); + ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize, 0.0f); + ImGui::PushStyleVar(ImGuiStyleVar_GrabRounding, 0.0f); + ImGui::PushStyleVar(ImGuiStyleVar_GrabMinSize, 3.0f * s); + ImGui::PushStyleColor(ImGuiCol_Text, look::kText); + ImGui::PushStyleColor(ImGuiCol_TextDisabled, look::kTextDim); + ImGui::PushStyleColor(ImGuiCol_FrameBg, look::kFrame); + ImGui::PushStyleColor(ImGuiCol_FrameBgHovered, look::kFrameHot); + ImGui::PushStyleColor(ImGuiCol_FrameBgActive, look::kFrameHot); + ImGui::PushStyleColor(ImGuiCol_SliderGrab, look::kGrab); + ImGui::PushStyleColor(ImGuiCol_SliderGrabActive, look::kGrabLit); + ImGui::PushStyleColor(ImGuiCol_Button, IM_COL32(0, 0, 0, 0)); + ImGui::PushStyleColor(ImGuiCol_ButtonHovered, look::kFrame); + ImGui::PushStyleColor(ImGuiCol_ButtonActive, look::kFrameHot); + ImGui::PushStyleColor(ImGuiCol_NavCursor, IM_COL32(0, 0, 0, 0)); + constexpr int kColours = 11, kVars = 6; int click = 0; // a page arrow clicked: the page turns from the next frame if (ImGui::Begin("##plugin_panel", nullptr, flags)) { - // The page's title between its turns, and where it is among them. The - // turns are the pointer's: the d-pad's cursor goes over the rows only - // (L1 and R1 turn the pages), so it starts on the first. - const float x0 = ImGui::GetCursorPosX(), full = ImGui::GetContentRegionAvail().x; - ImGui::PushItemFlag(ImGuiItemFlags_NoNav, true); - if (ImGui::ArrowButton("##prev", ImGuiDir_Left)) click = -1; - ImGui::SameLine(); - const float title_w = ImGui::CalcTextSize(title.c_str()).x; - ImGui::SetCursorPosX(x0 + std::max(0.0f, (full - title_w) * 0.5f)); - ImGui::AlignTextToFramePadding(); - ImGui::TextUnformatted(title.c_str()); - ImGui::SameLine(); - ImGui::SetCursorPosX(x0 + full - ImGui::GetFrameHeight()); - if (ImGui::ArrowButton("##next", ImGuiDir_Right)) click = 1; - ImGui::PopItemFlag(); - if (n > 1) { - char where[32]; - std::snprintf(where, sizeof(where), "%d / %d", p.page + 1, n); - ImGui::SetCursorPosX(x0 + std::max(0.0f, (full - ImGui::CalcTextSize(where).x) * 0.5f)); - ImGui::TextDisabled("%s", where); + ImDrawList* dl = ImGui::GetWindowDrawList(); + const ImVec2 o = ImGui::GetWindowPos(); + const float x0 = o.x + pad_x, x1 = o.x + width - pad_x, mid = o.x + width * 0.46f; + // The plate: darker at its top and foot, as the game's fades. + dl->AddRectFilled(o, o + ImVec2(width, height), look::kPlate); + dl->AddRectFilledMultiColor(o, o + ImVec2(width, height * 0.18f), IM_COL32(0, 0, 0, 70), IM_COL32(0, 0, 0, 70), + look::kPlateEdge, look::kPlateEdge); + dl->AddRectFilledMultiColor(o + ImVec2(0.0f, height * 0.82f), o + ImVec2(width, height), look::kPlateEdge, look::kPlateEdge, + IM_COL32(0, 0, 0, 70), IM_COL32(0, 0, 0, 70)); + float y = o.y + pad_y; + rule(dl, x0 - 8.0f * s, x1 + 8.0f * s, y, s); + y += rule_gap; + // The page's name in gold between its turns (the pointer's: the + // d-pad's cursor goes over the rows only - L1 and R1 turn the pages), + // and where it is among them. + { + ImFont* f = ImGui::GetFont(); + const ImVec2 ts = f->CalcTextSizeA(title_size, FLT_MAX, 0.0f, title.c_str()); + dl->AddText(f, title_size, ImVec2((x0 + x1 - ts.x) * 0.5f, y), look::kTitle, title.c_str()); + const float arrow = title_size * 0.9f; + ImGui::PushItemFlag(ImGuiItemFlags_NoNav, true); + ImGui::SetCursorScreenPos(ImVec2(x0, y + (title_size * 1.15f - arrow) * 0.5f)); + if (ImGui::InvisibleButton("##prev", ImVec2(arrow, arrow))) click = -1; + const bool prev_hot = ImGui::IsItemHovered(); + ImGui::SetCursorScreenPos(ImVec2(x1 - arrow, y + (title_size * 1.15f - arrow) * 0.5f)); + if (ImGui::InvisibleButton("##next", ImVec2(arrow, arrow))) click = 1; + const bool next_hot = ImGui::IsItemHovered(); + ImGui::PopItemFlag(); + const float cy = y + title_size * 0.58f, h = 6.0f * s, w = 6.0f * s; + dl->AddTriangleFilled(ImVec2(x0 + 2.0f * s, cy), ImVec2(x0 + 2.0f * s + w, cy - h), ImVec2(x0 + 2.0f * s + w, cy + h), + prev_hot ? look::kGoldLit : look::kGold); + dl->AddTriangleFilled(ImVec2(x1 - 2.0f * s, cy), ImVec2(x1 - 2.0f * s - w, cy - h), ImVec2(x1 - 2.0f * s - w, cy + h), + next_hot ? look::kGoldLit : look::kGold); + if (n > 1) { + char where[32]; + std::snprintf(where, sizeof(where), "%d / %d", p.page + 1, n); + const ImVec2 ws = f->CalcTextSizeA(small_size, FLT_MAX, 0.0f, where); + dl->AddText(f, small_size, ImVec2((x0 + x1 - ws.x) * 0.5f, y + title_size * 1.15f), look::kTextDim, where); + } } - ImGui::Separator(); - // Its rows. - const float label_w = width * 0.42f; - const float widget_w = width - label_w - ImGui::GetStyle().WindowPadding.x * 2.0f; + y += title_h; + rule(dl, x0, x1, y + rule_gap * 0.5f, s); + y += rule_gap; + // Its rows, a line under each, the one with the cursor lit; the + // band goes under the row's widget (the draw list's first channel). std::string help = page_help; + dl->ChannelsSplit(2); + dl->ChannelsSetCurrent(1); + const auto light = [&](float top) { + dl->ChannelsSetCurrent(0); + const float cx = (x0 + x1) * 0.5f; + dl->AddRectFilledMultiColor(ImVec2(x0 - pad_x * 0.5f, top), ImVec2(cx, top + row_h), IM_COL32(0, 0, 0, 0), look::kGlow, + look::kGlow, IM_COL32(0, 0, 0, 0)); + dl->AddRectFilledMultiColor(ImVec2(cx, top), ImVec2(x1 + pad_x * 0.5f, top + row_h), look::kGlow, IM_COL32(0, 0, 0, 0), + IM_COL32(0, 0, 0, 0), look::kGlow); + dl->ChannelsSetCurrent(1); + }; bool first = true; - for (const PluginOptionDesc& o : p.entry->options) { - if (o.page != page_key || o.type == BB_OPT_HEADING) continue; - row(*p.entry, o, label_w, widget_w, &help, first && refocus); + int i = 0; + for (const PluginOptionDesc& opt : p.entry->options) { + if (opt.page != page_key || opt.type == BB_OPT_HEADING) continue; + const float top = y + static_cast(i) * row_h; + const RowOut r = row(*p.entry, opt, ImVec2(x0, top), ImVec2(x1, top + row_h), mid, s, first && refocus); + if (r.focused) light(top); + if (r.hot) help = opt.help; + dl->AddLine(ImVec2(x0, top + row_h - 0.5f), ImVec2(x1, top + row_h - 0.5f), look::kRowLine, 1.0f); first = false; + ++i; } - // Defaults: the page's rows back to theirs. + // Defaults: the page's rows back to theirs, below them all, at the + // same place on every page. if (p.defaults) { - ImGui::Spacing(); - if (ImGui::Button("Defaults", ImVec2(label_w + widget_w, 0))) { - for (const PluginOptionDesc& o : p.entry->options) { - if (o.page == page_key && o.type != BB_OPT_HEADING && o.type != BB_OPT_ACTION) plugins_set_option(p.entry->name, o.key, o.def); + const float top = y + static_cast(most_rows) * row_h + 6.0f * s; + ImGui::SetCursorScreenPos(ImVec2(mid + 14.0f * s, top + (row_h - frame_h) * 0.5f)); + const bool pressed = value_button("defaults", "Defaults", ImVec2(x1 - mid - 14.0f * s, frame_h), false); + const bool focused = ImGui::IsItemFocused(); + if (focused) light(top); + if (focused || ImGui::IsItemHovered()) help = "Every row on this page back to its default."; + if (pressed) { + for (const PluginOptionDesc& opt : p.entry->options) { + if (opt.page == page_key && opt.type != BB_OPT_HEADING && opt.type != BB_OPT_ACTION) + plugins_set_option(p.entry->name, opt.key, opt.def); } } - if (ImGui::IsItemFocused() || ImGui::IsItemHovered()) help = "Every row on this page back to its default."; - } - // The help of the row with the focus, and the controls. - ImGui::Separator(); - if (!help.empty()) { - ImGui::PushTextWrapPos(0.0f); - ImGui::TextWrapped("%s", help.c_str()); - ImGui::PopTextWrapPos(); } - const std::string& guide = pad ? p.guide : p.guide_keys; - if (!guide.empty()) { - ImGui::PushTextWrapPos(0.0f); - ImGui::TextDisabled("%s", guide.c_str()); - ImGui::PopTextWrapPos(); + dl->ChannelsMerge(); + y += rows_h; + // The help of the row with the cursor (or the page's), then the controls. + rule(dl, x0, x1, y + rule_gap * 0.5f, s); + y += rule_gap; + { + ImGui::PushFont(nullptr, kSmallSize); + ImGui::PushClipRect(ImVec2(x0, y), ImVec2(x1, y + help_h), true); + ImGui::GetWindowDrawList()->AddText(ImGui::GetFont(), small_size, ImVec2(x0, y), look::kHelp, help.c_str(), nullptr, inner); + ImGui::PopClipRect(); + y += help_h + 10.0f * s; + const std::string& guide = pad ? p.guide : p.guide_keys; + if (!guide.empty()) + ImGui::GetWindowDrawList()->AddText(ImGui::GetFont(), small_size, ImVec2(x0, y), look::kGuide, guide.c_str(), nullptr, + inner); + ImGui::PopFont(); } + y += guide_h + rule_gap * 0.5f; + rule(dl, x0 - 8.0f * s, x1 + 8.0f * s, y, s); } ImGui::End(); + ImGui::PopStyleColor(kColours); + ImGui::PopStyleVar(kVars); + ImGui::PopFont(); if (click && n > 1) { std::lock_guard lk(g_mu); if (g_panel.owner == p.owner) { From 3f97e0c80d7f59cd26ba586c10d628dab8e7477f Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:38:43 -0800 Subject: [PATCH 052/100] plugins: a plugin's panel in the game's own menu letters, read from the player's dump The game's menus draw with a Scaleform font library, menu//font.gfx (engus: one DefineFont3, "TT-ReiMin Y10 B", 7,652 glyphs as quadratic outlines). host/game_font.h reads it from the dump at start - nothing of it is shipped - and an ImFontLoader rasterises its glyphs at the size ImGui asks for (the non-zero rule, 16 samples a pixel), so a plugin's panel is in the letters of the game's menus; the system's serif stays where the dump has no font. game_font_test reads the dump's font (skipped without one) and checks every printable letter's outline and an O's ring and hole. Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 8 + src/host/game_font.cpp | 404 +++++++++++++++++++++++++++++++++++++++ src/host/game_font.h | 59 ++++++ src/host/launcher_ui.cpp | 4 + tests/game_font_test.cpp | 131 +++++++++++++ 5 files changed, 606 insertions(+) create mode 100644 src/host/game_font.cpp create mode 100644 src/host/game_font.h create mode 100644 tests/game_font_test.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 1966c481..04c8394a 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -175,6 +175,7 @@ add_executable(bbhost src/host/present_pass.cpp src/host/ingame_menu.cpp src/host/plugin_panel.cpp + src/host/game_font.cpp src/host/controls_page.cpp src/host/framegen.cpp src/host/options.cpp @@ -1183,6 +1184,13 @@ if(UNIX) add_executable(look_math_test tests/look_math_test.cpp) target_include_directories(look_math_test PRIVATE src) add_test(NAME look_math_test COMMAND look_math_test) + # The game's menu font read from the dump and its glyphs rasterised + # (host/game_font.h); skipped without the dump (BBHOST_APP0). + add_executable(game_font_test tests/game_font_test.cpp src/host/game_font.cpp) + target_include_directories(game_font_test PRIVATE src) + target_compile_definitions(game_font_test PRIVATE BBHOST_GAME_FONT_NO_FS=1) + add_test(NAME game_font_test COMMAND game_font_test) + set_tests_properties(game_font_test PROPERTIES SKIP_RETURN_CODE 77) # Mouse sensitivity's scale and the old scale's settings read on it # (engine/mouse_camera_step.h). add_executable(mouse_sensitivity_test tests/mouse_sensitivity_test.cpp) diff --git a/src/host/game_font.cpp b/src/host/game_font.cpp new file mode 100644 index 00000000..2c5c41d6 --- /dev/null +++ b/src/host/game_font.cpp @@ -0,0 +1,404 @@ +#include "host/game_font.h" + +#if !defined(BBHOST_GAME_FONT_NO_FS) +#include "hle/fs.h" +#include "log.h" +#endif + +#include +#include +#include +#include +#include +#include + +namespace game_font { + +namespace { + +// Bits, most significant first, as SWF packs them. +struct Bits { + const std::uint8_t* p; + std::size_t size; // bytes + std::size_t bit = 0; + bool bad = false; + std::uint32_t ub(int n) { + std::uint32_t v = 0; + for (int i = 0; i < n; ++i, ++bit) { + if ((bit >> 3) >= size) { + bad = true; + return 0; + } + v = (v << 1) | ((p[bit >> 3] >> (7 - (bit & 7))) & 1u); + } + return v; + } + std::int32_t sb(int n) { + if (n <= 0) return 0; + std::uint32_t v = ub(n); + if (n < 32 && (v & (1u << (n - 1)))) v |= ~0u << n; + return static_cast(v); + } + void align() { bit = (bit + 7) & ~std::size_t{7}; } +}; + +std::uint16_t u16(const std::uint8_t* p) { return static_cast(p[0] | (p[1] << 8)); } +std::uint32_t u32(const std::uint8_t* p) { + return static_cast(p[0]) | static_cast(p[1]) << 8 | static_cast(p[2]) << 16 | + static_cast(p[3]) << 24; +} + +bool fail(std::string* why, const char* what) { + if (why) *why = what; + return false; +} + +// A DefineFont2 or DefineFont3 tag's body into `out`. +bool parse_font(const std::uint8_t* b, std::size_t n, bool font3, Font& out, std::string* why) { + if (n < 6) return fail(why, "a font tag too short"); + const std::uint8_t flags = b[2]; + const bool has_layout = flags & 0x80, wide_offsets = flags & 0x08, wide_codes = flags & 0x04; + std::size_t at = 4; + const std::size_t name_len = b[at++]; + if (at + name_len + 2 > n) return fail(why, "a font's name past its tag"); + out.name.assign(reinterpret_cast(b + at), name_len); + while (!out.name.empty() && out.name.back() == '\0') out.name.pop_back(); + at += name_len; + const std::size_t count = u16(b + at); + at += 2; + const std::size_t table = at, step = wide_offsets ? 4 : 2; + if (count == 0 || table + (count + 1) * step > n) return fail(why, "a font's offsets past its tag"); + std::vector offs(count + 1); + for (std::size_t i = 0; i <= count; ++i) offs[i] = wide_offsets ? u32(b + table + i * 4) : u16(b + table + i * 2); + const std::size_t codes_at = table + offs[count]; + const std::size_t code_size = wide_codes ? 2 : 1; + if (codes_at + count * code_size > n) return fail(why, "a font's codes past its tag"); + out.data.assign(b, b + n); + out.glyphs.assign(count, Glyph{}); + out.codes.assign(count, 0); + for (std::size_t i = 0; i < count; ++i) { + const std::uint32_t s = static_cast(table + offs[i]); + const std::uint32_t e = static_cast(i + 1 < count ? table + offs[i + 1] : codes_at); + if (s > e || e > n) return fail(why, "a glyph's shape past its tag"); + out.glyphs[i].shape = s; + out.glyphs[i].shape_end = e; + out.codes[i] = wide_codes ? u16(b + codes_at + i * 2) : b[codes_at + i]; + } + out.by_code.clear(); + for (std::size_t i = 0; i < count; ++i) out.by_code.emplace_back(out.codes[i], static_cast(i)); + std::sort(out.by_code.begin(), out.by_code.end()); + out.units_per_em = font3 ? 20480.0f : 1024.0f; + if (has_layout) { + std::size_t l = codes_at + count * code_size; + if (l + 6 + count * 2 > n) return fail(why, "a font's layout past its tag"); + out.ascent = static_cast(u16(b + l)); + out.descent = static_cast(u16(b + l + 2)); + l += 6; + for (std::size_t i = 0; i < count; ++i) out.glyphs[i].advance = static_cast(static_cast(u16(b + l + i * 2))); + } else { + out.ascent = out.units_per_em * 0.88f; + out.descent = out.units_per_em * 0.12f; + for (Glyph& g : out.glyphs) g.advance = out.units_per_em * 0.5f; + } + return true; +} + +} // namespace + +int Font::index_of(std::uint32_t code) const { + if (by_code.size() != codes.size()) { + for (std::size_t i = 0; i < codes.size(); ++i) { + if (codes[i] == code) return static_cast(i); + } + return -1; + } + const auto it = std::lower_bound(by_code.begin(), by_code.end(), std::make_pair(code, 0), + [](const std::pair& a, const std::pair& b) { return a.first < b.first; }); + return it != by_code.end() && it->first == code ? it->second : -1; +} + +bool parse(const std::vector& file, Font& out, std::string* why) { + if (file.size() < 9) return fail(why, "too short"); + const char s0 = static_cast(file[0]); + if (!((s0 == 'G' || s0 == 'F') && file[1] == 'F' && file[2] == 'X') && !(s0 == 'F' && file[1] == 'W' && file[2] == 'S')) { + if ((s0 == 'C' && file[1] == 'F' && file[2] == 'X') || (s0 == 'C' && file[1] == 'W' && file[2] == 'S')) + return fail(why, "compressed (the dump's are not)"); + return fail(why, "not a GFX or SWF file"); + } + const std::uint8_t* b = file.data() + 8; + const std::size_t n = file.size() - 8; + // The stage's RECT, the frame rate and count. + Bits r{b, n}; + const int nbits = static_cast(r.ub(5)); + r.bit += static_cast(nbits) * 4; + r.align(); + std::size_t at = (r.bit >> 3) + 4; + while (at + 2 <= n) { + const std::uint16_t head = u16(b + at); + const int code = head >> 6; + std::size_t len = head & 0x3f; + at += 2; + if (len == 0x3f) { + if (at + 4 > n) break; + len = u32(b + at); + at += 4; + } + if (at + len > n) return fail(why, "a tag past the file"); + if (code == 75 || code == 48) return parse_font(b + at, len, code == 75, out, why); + if (code == 0) break; + at += len; + } + return fail(why, "no font in it"); +} + +bool outline(const Font& font, int glyph, std::vector& out, float tolerance) { + out.clear(); + if (glyph < 0 || static_cast(glyph) >= font.glyphs.size()) return false; + const Glyph& g = font.glyphs[static_cast(glyph)]; + Bits r{font.data.data() + g.shape, g.shape_end - g.shape}; + const int fill_bits = static_cast(r.ub(4)), line_bits = static_cast(r.ub(4)); + float x = 0, y = 0; + Contour cur; + const auto close = [&]() { + if (cur.size() >= 6) out.push_back(cur); + cur.clear(); + }; + for (int guard = 0; guard < 100000 && !r.bad; ++guard) { + if (r.ub(1) == 0) { + // A style change, or the end. + const std::uint32_t f = r.ub(5); + if (f == 0) break; + if (f & 1) { // move to + close(); + const int mb = static_cast(r.ub(5)); + x = static_cast(r.sb(mb)); + y = static_cast(r.sb(mb)); + cur.push_back(x); + cur.push_back(y); + } + if (f & 2) r.ub(fill_bits); + if (f & 4) r.ub(fill_bits); + if (f & 8) r.ub(line_bits); + if (f & 16) return false; // new styles: not in a glyph + continue; + } + if (cur.empty()) { + cur.push_back(x); + cur.push_back(y); + } + if (r.ub(1) == 1) { // straight + const int nb = static_cast(r.ub(4)) + 2; + float dx = 0, dy = 0; + if (r.ub(1)) { + dx = static_cast(r.sb(nb)); + dy = static_cast(r.sb(nb)); + } else if (r.ub(1)) { + dy = static_cast(r.sb(nb)); + } else { + dx = static_cast(r.sb(nb)); + } + x += dx; + y += dy; + cur.push_back(x); + cur.push_back(y); + } else { // a quadratic curve + const int nb = static_cast(r.ub(4)) + 2; + const float cx = x + static_cast(r.sb(nb)), cy = y + static_cast(r.sb(nb)); + const float ax = cx + static_cast(r.sb(nb)), ay = cy + static_cast(r.sb(nb)); + const float ddx = x - 2 * cx + ax, ddy = y - 2 * cy + ay; + const float dd = std::sqrt(ddx * ddx + ddy * ddy); + const int steps = std::clamp(static_cast(std::ceil(std::sqrt(dd / std::max(tolerance, 1e-3f) * 0.25f))), 1, 32); + for (int i = 1; i <= steps; ++i) { + const float t = static_cast(i) / static_cast(steps), u = 1.0f - t; + cur.push_back(u * u * x + 2 * u * t * cx + t * t * ax); + cur.push_back(u * u * y + 2 * u * t * cy + t * t * ay); + } + x = ax; + y = ay; + } + } + close(); + return !r.bad; +} + +void rasterise(const std::vector& contours, float scale, float ox, float oy, int w, int h, std::uint8_t* out) { + std::fill(out, out + static_cast(w) * static_cast(h), std::uint8_t{0}); + if (w <= 0 || h <= 0) return; + struct Edge { + float x0, y0, x1, y1; + int dir; + }; + std::vector edges; + for (const Contour& c : contours) { + const std::size_t pts = c.size() / 2; + for (std::size_t i = 0; i < pts; ++i) { + const std::size_t j = (i + 1) % pts; + const float x0 = c[2 * i] * scale + ox, y0 = c[2 * i + 1] * scale + oy; + const float x1 = c[2 * j] * scale + ox, y1 = c[2 * j + 1] * scale + oy; + if (y0 == y1) continue; + edges.push_back(y0 < y1 ? Edge{x0, y0, x1, y1, 1} : Edge{x1, y1, x0, y0, -1}); + } + } + constexpr int kSub = 4; // 4 x 4 samples a pixel + std::vector count(static_cast(w)); + std::vector> xs; + for (int py = 0; py < h; ++py) { + std::fill(count.begin(), count.end(), 0); + for (int sy = 0; sy < kSub; ++sy) { + const float y = static_cast(py) + (static_cast(sy) + 0.5f) / kSub; + xs.clear(); + for (const Edge& e : edges) { + if (y < e.y0 || y >= e.y1) continue; + xs.emplace_back(e.x0 + (y - e.y0) * (e.x1 - e.x0) / (e.y1 - e.y0), e.dir); + } + std::sort(xs.begin(), xs.end()); + int wind = 0; + for (std::size_t k = 0; k + 1 < xs.size(); ++k) { + wind += xs[k].second; + if (wind == 0) continue; + // Samples at x = px + (sx + 0.5) / kSub inside [a, b). + const float a = xs[k].first, b = xs[k + 1].first; + const int first = std::max(0, static_cast(std::ceil(a * kSub - 0.5f))); + const int last = std::min(w * kSub - 1, static_cast(std::ceil(b * kSub - 0.5f)) - 1); + for (int s = first; s <= last; ++s) ++count[static_cast(s / kSub)]; + } + } + for (int px = 0; px < w; ++px) + out[static_cast(py) * static_cast(w) + static_cast(px)] = + static_cast(std::min(255, count[static_cast(px)] * 255 / (kSub * kSub))); + } +} + +#if !defined(BBHOST_GAME_FONT_NO_FS) +const Font* menu_font() { + static std::once_flag once; + static Font font; + static bool ok = false; + std::call_once(once, [] { + static const char* const kLanguages[] = {"engus", "enggb", "frafr", "deude", "itait", "spaes", "jpnjp"}; + for (const char* lang : kLanguages) { + const std::string path = hle_fs_map_path_base((std::string("/app0/dvdroot_ps4/menu/") + lang + "/font.gfx").c_str()); + std::ifstream f(path, std::ios::binary); + if (!f) continue; + std::vector bytes((std::istreambuf_iterator(f)), std::istreambuf_iterator()); + std::string why; + if (parse(bytes, font, &why)) { + ok = true; + host_log("menu: the game's menu font from menu/%s/font.gfx: %zu glyphs, ascent %g, descent %g", lang, + font.glyphs.size(), static_cast(font.ascent), static_cast(font.descent)); + return; + } + host_log("menu: menu/%s/font.gfx is not a font this reads (%s)", lang, why.c_str()); + } + host_log("menu: no menu font in the dump; a plugin's panel uses the system's serif"); + }); + return ok ? &font : nullptr; +} +#else +const Font* menu_font() { return nullptr; } // (the test reads the file itself) +#endif + +} // namespace game_font + +#if defined(BBHOST_HAVE_SDL3) + +#include "imgui.h" +#include "imgui_internal.h" + +namespace { + +// ImGui's sizes are a line's height, ascent and descent (stb_truetype's +// ScaleForPixelHeight): a font unit at `size` pixels. +float unit_px(const game_font::Font& f, float size) { return size / (f.ascent + f.descent); } + +bool src_init(ImFontAtlas*, ImFontConfig* src) { + src->FontLoaderData = src->FontData; // the game_font::Font, which outlives the atlas + return true; +} + +void src_destroy(ImFontAtlas*, ImFontConfig* src) { src->FontLoaderData = nullptr; } + +bool src_contains(ImFontAtlas*, ImFontConfig* src, ImWchar c) { + return static_cast(src->FontLoaderData)->index_of(c) >= 0; +} + +bool baked_init(ImFontAtlas*, ImFontConfig* src, ImFontBaked* baked, void*) { + const auto& f = *static_cast(src->FontLoaderData); + if (!src->MergeMode) { + const float k = unit_px(f, baked->Size); + baked->Ascent = ImCeil(f.ascent * k); + baked->Descent = ImFloor(-f.descent * k); + } + return true; +} + +bool load_glyph(ImFontAtlas* atlas, ImFontConfig* src, ImFontBaked* baked, void*, ImWchar codepoint, ImFontGlyph* out_glyph, + float* out_advance_x) { + const auto& f = *static_cast(src->FontLoaderData); + const int gi = f.index_of(codepoint); + if (gi < 0) return false; + const float k = unit_px(f, baked->Size); + const float advance = f.glyphs[static_cast(gi)].advance * k; + if (out_advance_x) { + *out_advance_x = advance; + return true; + } + out_glyph->Codepoint = codepoint; + out_glyph->AdvanceX = advance; + const float density = src->RasterizerDensity * baked->RasterizerDensity, kr = k * density; + std::vector contours; + if (!game_font::outline(f, gi, contours, 0.2f / kr) || contours.empty()) return true; // a space + float x0 = 1e30f, y0 = 1e30f, x1 = -1e30f, y1 = -1e30f; + for (const game_font::Contour& c : contours) { + for (std::size_t i = 0; i + 1 < c.size(); i += 2) { + x0 = std::min(x0, c[i]); + x1 = std::max(x1, c[i]); + y0 = std::min(y0, c[i + 1]); + y1 = std::max(y1, c[i + 1]); + } + } + const int bx0 = static_cast(std::floor(x0 * kr)), by0 = static_cast(std::floor(y0 * kr)); + const int w = static_cast(std::ceil(x1 * kr)) - bx0 + 1, h = static_cast(std::ceil(y1 * kr)) - by0 + 1; + if (w <= 0 || h <= 0 || w > 1024 || h > 1024) return true; + const ImFontAtlasRectId id = ImFontAtlasPackAddRect(atlas, w, h); + if (id == ImFontAtlasRectId_Invalid) return false; + ImTextureRect* r = ImFontAtlasPackGetRect(atlas, id); + std::vector px(static_cast(w) * static_cast(h)); + game_font::rasterise(contours, kr, static_cast(-bx0), static_cast(-by0), w, h, px.data()); + const float recip = 1.0f / density, top = IM_ROUND(baked->Ascent); + out_glyph->X0 = static_cast(bx0) * recip; + out_glyph->Y0 = static_cast(by0) * recip + top; + out_glyph->X1 = static_cast(bx0 + static_cast(r->w)) * recip; + out_glyph->Y1 = static_cast(by0 + static_cast(r->h)) * recip + top; + out_glyph->Visible = true; + out_glyph->PackId = id; + ImFontAtlasBakedSetFontGlyphBitmap(atlas, baked, src, out_glyph, r, px.data(), ImTextureFormat_Alpha8, w); + return true; +} + +} // namespace + +ImFont* game_font_add_to_imgui() { + const game_font::Font* f = game_font::menu_font(); + if (!f) return nullptr; + static ImFontLoader loader; + loader.Name = "the game's menu font"; + loader.FontSrcInit = &src_init; + loader.FontSrcDestroy = &src_destroy; + loader.FontSrcContainsGlyph = &src_contains; + loader.FontBakedInit = &baked_init; + loader.FontBakedLoadGlyph = &load_glyph; + ImFontConfig cfg; + cfg.FontData = const_cast(f); + cfg.FontDataSize = static_cast(sizeof(*f)); + cfg.FontDataOwnedByAtlas = false; + cfg.FontLoader = &loader; + std::snprintf(cfg.Name, sizeof(cfg.Name), "%s", "the game's menu font"); + return ImGui::GetIO().Fonts->AddFont(&cfg); +} + +#else + +ImFont* game_font_add_to_imgui() { return nullptr; } + +#endif diff --git a/src/host/game_font.h b/src/host/game_font.h new file mode 100644 index 00000000..a5afa4c0 --- /dev/null +++ b/src/host/game_font.h @@ -0,0 +1,59 @@ +#pragma once + +// The letters of the game's own menus, for ImGui (a plugin's panel, +// host/plugin_panel.cpp): the font the menus draw with is a Scaleform font +// library in the player's dump - menu//font.gfx, one DefineFont3 +// ("TT-ReiMin Y10 B" in engus's, 7,652 glyphs as quadratic outlines) - and its +// glyphs are rasterised here as ImGui asks for them, at the size it asks for +// (an ImFontLoader). Nothing of the font is shipped: it is read from the dump +// at start, as engine/menu_assets.cpp reads the menus it edits. + +#include +#include +#include +#include +#include + +namespace game_font { + +struct Glyph { + std::uint32_t shape = 0, shape_end = 0; // its SHAPE: offsets into Font::data + float advance = 0; // in font units +}; + +struct Font { + std::vector data; // the DefineFont tag's body + std::string name; + float units_per_em = 20480.0f; // DefineFont3: 1024 an em, in twentieths + float ascent = 0, descent = 0; // font units (both positive) + std::vector codes; // the glyphs' code points, as stored + std::vector> by_code; // (code, glyph), sorted + std::vector glyphs; + int index_of(std::uint32_t code) const; // -1: none +}; + +// The first DefineFont3 (or DefineFont2) in a GFX or SWF file's bytes (CFX and +// CWS zlib-compressed ones too): false, with the reason, when there is none or +// it is not whole. +bool parse(const std::vector& file, Font& out, std::string* why = nullptr); + +// A glyph's outline: closed contours of points (x, y pairs) in font units, y +// down from the baseline, the curves cut into lines no further than +// `tolerance` units from them. +using Contour = std::vector; +bool outline(const Font& font, int glyph, std::vector& out, float tolerance); + +// The contours' coverage (0-255) in a w x h bitmap, a point (x, y) of them at +// (x * scale + ox, y * scale + oy): the non-zero rule, 16 samples a pixel. +void rasterise(const std::vector& contours, float scale, float ox, float oy, int w, int h, std::uint8_t* out); + +// The font of the game's menus, read once from the dump (the first of the +// languages' font.gfx found): nullptr when there is none. +const Font* menu_font(); + +} // namespace game_font + +struct ImFont; +// The game's menu font as an ImFont in the current ImGui context (its own +// ImFontLoader); nullptr when the dump has none. The atlas lends it the font. +ImFont* game_font_add_to_imgui(); diff --git a/src/host/launcher_ui.cpp b/src/host/launcher_ui.cpp index 5485ddcd..d78cb546 100644 --- a/src/host/launcher_ui.cpp +++ b/src/host/launcher_ui.cpp @@ -1,5 +1,6 @@ #define IMGUI_DEFINE_MATH_OPERATORS #include "host/launcher_ui.h" +#include "host/game_font.h" #include "core/portable.h" #include "log.h" @@ -517,6 +518,9 @@ void init_ingame(float scale) { g_art = Art{}; g_scale = scale; load_fonts(); + // A plugin's panel in the game's own menu letters, read from the dump + // (host/game_font.h); the system's serif where it has none. + if (ImFont* f = game_font_add_to_imgui()) g_game = f; apply_style(scale); } diff --git a/tests/game_font_test.cpp b/tests/game_font_test.cpp new file mode 100644 index 00000000..3e4bbe47 --- /dev/null +++ b/tests/game_font_test.cpp @@ -0,0 +1,131 @@ +// host/game_font.h on the dump's own menu font (menu/engus/font.gfx under +// BBHOST_APP0): the DefineFont3 found and read whole, its letters' outlines +// closed and inside their advance, and the rasteriser's coverage where a +// letter's ink is - an O's ring filled and its middle empty (the non-zero rule +// keeps a hole a hole), an l a narrow upright bar. Skipped (77) without the dump. +#include "host/game_font.h" + +#include +#include +#include +#include +#include +#include +#include + +static int g_failures = 0; +#define CHECK(cond) \ + do { \ + if (!(cond)) { \ + std::fprintf(stderr, "%s:%d: CHECK failed: %s\n", __FILE__, __LINE__, #cond); \ + ++g_failures; \ + } \ + } while (0) + +int main() { + const char* app0 = std::getenv("BBHOST_APP0"); + std::vector bytes; + if (app0 && *app0) { + for (const char* rel : {"/dvdroot_ps4/menu/engus/font.gfx", "/menu/engus/font.gfx"}) { + std::ifstream f(std::string(app0) + rel, std::ios::binary); + if (!f) continue; + bytes.assign(std::istreambuf_iterator(f), std::istreambuf_iterator()); + break; + } + } + if (bytes.empty()) { + std::printf("game_font_test skipped: no menu font (BBHOST_APP0)\n"); + return 77; + } + // A file that is not one, and one cut short. + { + game_font::Font none; + std::string why; + CHECK(!game_font::parse(std::vector(64, 0), none, &why) && !why.empty()); + std::vector cut(bytes.begin(), bytes.begin() + 4096); + CHECK(!game_font::parse(cut, none, &why)); + } + game_font::Font font; + std::string why; + CHECK(game_font::parse(bytes, font, &why)); + if (g_failures) { + std::fprintf(stderr, "game_font_test: %s\n", why.c_str()); + return 1; + } + std::printf("font \"%s\": %zu glyphs, ascent %g, descent %g\n", font.name.c_str(), font.glyphs.size(), font.ascent, font.descent); + CHECK(font.glyphs.size() > 1000); + CHECK(font.ascent > 0 && font.descent > 0 && font.ascent > font.descent); + // Every printable ASCII letter is there, its outline closed and drawn + // inside the line, its advance positive. + for (char c = '!'; c <= '~'; ++c) { + const int g = font.index_of(static_cast(c)); + CHECK(g >= 0); + if (g < 0) continue; + std::vector cs; + CHECK(game_font::outline(font, g, cs, 4.0f) && !cs.empty()); + CHECK(font.glyphs[static_cast(g)].advance > 0); + // y down from the baseline: the tallest letters near the ascent, the + // descenders (g, y: 5,220 units) well past the font's own descent (2,460). + for (const game_font::Contour& k : cs) { + for (std::size_t i = 0; i + 1 < k.size(); i += 2) { + CHECK(k[i + 1] > -font.ascent * 1.2f && k[i + 1] < font.ascent * 0.45f); + } + } + } + CHECK(font.index_of(' ') >= 0); + CHECK(font.index_of(0x10ffff) < 0); + // 'O' at 64 pixels a line: ink on its ring, none at its middle. + const auto draw = [&](char c, int size, std::vector& px, int& w, int& h) { + const float k = static_cast(size) / (font.ascent + font.descent); + std::vector cs; + game_font::outline(font, font.index_of(static_cast(c)), cs, 0.2f / k); + w = size; + h = size; + px.assign(static_cast(w * h), 0); + game_font::rasterise(cs, k, 0.0f, font.ascent * k, w, h, px.data()); + }; + std::vector px; + int w = 0, h = 0; + draw('O', 64, px, w, h); + long ink = 0; + for (std::uint8_t v : px) ink += v; + CHECK(ink > 255 * 100); + // Its middle: the box of the ink, its centre empty. + int x0 = w, x1 = -1, y0 = h, y1 = -1; + for (int y = 0; y < h; ++y) { + for (int x = 0; x < w; ++x) { + if (px[static_cast(y * w + x)] > 128) { + x0 = std::min(x0, x); + x1 = std::max(x1, x); + y0 = std::min(y0, y); + y1 = std::max(y1, y); + } + } + } + CHECK(x1 > x0 + 10 && y1 > y0 + 10); + if (x1 > x0 && y1 > y0) { + CHECK(px[static_cast(((y0 + y1) / 2) * w + (x0 + x1) / 2)] < 32); + CHECK(px[static_cast(((y0 + y1) / 2) * w + x0 + 1)] > 128 || + px[static_cast(((y0 + y1) / 2) * w + x0)] > 128); + } + // 'l': taller than wide. + draw('l', 64, px, w, h); + x0 = w, x1 = -1, y0 = h, y1 = -1; + for (int y = 0; y < h; ++y) { + for (int x = 0; x < w; ++x) { + if (px[static_cast(y * w + x)] > 128) { + x0 = std::min(x0, x); + x1 = std::max(x1, x); + y0 = std::min(y0, y); + y1 = std::max(y1, y); + } + } + } + CHECK(y1 - y0 > 3 * (x1 - x0)); + if (g_failures) { + std::fprintf(stderr, "game_font_test: %d failure(s)\n", g_failures); + return 1; + } + std::printf("game_font_test: ok\n"); + return 0; +} From 140239d013b463d902d9fe21a0875e2f318c55b7 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:38:47 -0800 Subject: [PATCH 053/100] graphics: hud_hide's copy of the picture is made sampled as well, as the view every image is given requires make() gives each image it makes a view, and an image made for transfers alone may not have one: the Khronos layer reported VUID-VkImageViewCreateInfo-image-04441 once as photo mode started, from the copy hud_hide keeps the picture in. The copy is made with VK_IMAGE_USAGE_SAMPLED_BIT too; only copies still touch it. With the Khronos layer on the RTX (photo mode started, its motion blur at 8 samples, ended, a plugin's look asking 16): 04441 once before, at the start, as on lavapipe; after, only the two warnings every run has (Undefined-Value-ShaderOutputNotConsumed-DynamicRendering and WARNING-Shader-OutputNotConsumed). Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- src/host/upscale_pass.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/host/upscale_pass.cpp b/src/host/upscale_pass.cpp index 6d663192..03d43433 100644 --- a/src/host/upscale_pass.cpp +++ b/src/host/upscale_pass.cpp @@ -2452,7 +2452,11 @@ void hud_hide_save_locked(RtImage& target) { if (g_hud_copy.image && (g_hud_copy_format != target.format || g_hud_copy_w != target.width || g_hud_copy_h != target.height)) drop(g_hud_copy); if (!g_hud_copy.image) { - if (!make(g_hud_copy, target.format, VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT, target.width, + // Sampled too, though only copies touch it: make() gives every image a + // view, which an image of transfers alone may not have (the validation + // layer's VUID-VkImageViewCreateInfo-image-04441 as photo mode started). + if (!make(g_hud_copy, target.format, + VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_SAMPLED_BIT, target.width, target.height)) { static bool told = false; if (!told) host_log("plugin: no image to keep the picture in; the HUD stays"); From 59c9533633cc5df05b5507596a2a9d824cef9964 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 15:56:10 -0800 Subject: [PATCH 054/100] plugins: photo mode's Sharp from and Sharp to stop where a step still moves the blur - 40 m, then Beyond 50 m The distances went on to 1000 m, but the game reads the blur through a table of 2048 steps over the depth buffer, step i at n * 2047 / (2047 - i) metres for the camera's near plane n (its clip, 5 cm): steps centimetres apart up close, 9 m apart by 30 m, 17 m by 40 m and 51 m past 50 m, then the sky. With a sharp edge, 40 m and 50 m blurred from the same step, 75 m and 100 m from the next, and 150 m to 1000 m only the sky - dead travel, as the Field of view row's was. The rows now stop at 40 m, and the last choice, Beyond 50 m, is everything past about 50 m (60 m: between the steps at 51 m and 102 m); every choice blurs from a step of its own, behind and in front. A distance from an older config is kept within them, and the Sharp to row's help says why the last is Beyond 50 m. The plugin's test sets each choice and checks that each blurs from a later step of the table than the one before, behind and in front, and never from the sky alone; hand mutants that put 50 m or 75 m back, move Beyond 50 m to the sky, read it as a number or let an old 1000 m through all fail it. Screenshots of the Depth of field page on lavapipe (1280x720): Sharp to stepped from 10 m through 40 m to Beyond 50 m and round to 0.25 m, Sharp from from 1 m to 0.75 m, the row's help saying why the last is Beyond 50 m. Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- plugins/photo_mode/photo_mode.cpp | 27 ++++++++++++----- tests/photo_mode_plugin_test.cpp | 49 +++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 7 deletions(-) diff --git a/plugins/photo_mode/photo_mode.cpp b/plugins/photo_mode/photo_mode.cpp index effc2ed9..1759b5f7 100644 --- a/plugins/photo_mode/photo_mode.cpp +++ b/plugins/photo_mode/photo_mode.cpp @@ -287,12 +287,24 @@ void show_panel(bool up) { } // The Depth of field page's distances (metres) and fades (of the distance). -#define BB_DOF_DISTANCES \ - "0.25 m|0.5 m|0.75 m|1 m|1.5 m|2 m|2.5 m|3 m|4 m|5 m|6 m|8 m|10 m|12 m|15 m|20 m|25 m|30 m|40 m|50 m|75 m|100 m|150 m|" \ - "200 m|300 m|500 m|1000 m" +// The blur is read through the game's table of 2048 steps over the depth +// buffer, step i at n * 2047 / (2047 - i) metres for the camera's near plane +// n (5 cm): a few centimetres apart up close, but 9 m apart by 30 m, 17 m by +// 40 m and 51 m past 50 m, then the sky. The choices stop where each still +// moves the blur, at 40 m, and the last is everything past about 50 m (a +// distance between the steps at 51 m and 102 m) - no two alike. +#define BB_DOF_DISTANCES \ + "0.25 m|0.5 m|0.75 m|1 m|1.5 m|2 m|2.5 m|3 m|4 m|5 m|6 m|8 m|10 m|12 m|15 m|20 m|25 m|30 m|40 m|Beyond 50 m" +constexpr char kDofBeyond[] = "Beyond 50 m"; +constexpr float kDofBeyondMetres = 60.0f; #define BB_DOF_FADES "None|10%|25%|50%|100%" constexpr float kFades[] = {0.0f, 0.1f, 0.25f, 0.5f, 1.0f}; +float dof_distance(const std::string& v) { + if (v == kDofBeyond) return kDofBeyondMetres; + return std::clamp(static_cast(std::atof(v.c_str())), 0.1f, kDofBeyondMetres); +} + // The look the rows make (post_look): only what differs from the area's own. constexpr float kVignettePower[] = {0.0f, 0.0f, 0.3f, 0.6f, 1.0f, 1.5f}; // by the Vignette row, Area's own first void post_look() { @@ -584,8 +596,8 @@ bool take_option(const char* key, const char* value) { else if (k == "gamma") num(50, 150, &set.gamma); else if (k == "contrast") num(80, 120, &set.contrast); else if (k == "dof") choice(kSwitch, 3, &set.dof); - else if (k == "dof_from") set.dof_from = std::clamp(static_cast(std::atof(v.c_str())), 0.1f, 1000.0f); - else if (k == "dof_to") set.dof_to = std::clamp(static_cast(std::atof(v.c_str())), 0.1f, 1000.0f); + else if (k == "dof_from") set.dof_from = dof_distance(v); + else if (k == "dof_to") set.dof_to = dof_distance(v); else if (k == "dof_fade") choice(kFadeNames, 5, &set.dof_fade); else if (k == "dof_near") num(0, 7, &set.dof_near); else if (k == "dof_far") num(0, 7, &set.dof_far); @@ -679,8 +691,9 @@ extern "C" BB_PLUGIN_EXPORT const BbOption bb_plugin_options[] = { "With Depth of field On, where the blur in front ends: nearer than this is blurred, as Blur in front says.", "1 m", 0, 0, BB_DOF_DISTANCES}, {BB_OPT_CHOICE | BB_OPT_LIVE, "dof_to", "Sharp to", - "With Depth of field On, where the blur behind begins: further than this is blurred, as Blur behind says.", "10 m", 0, 0, - BB_DOF_DISTANCES}, + "With Depth of field On, where the blur behind begins: further than this is blurred, as Blur behind says. Far off the " + "game's blur moves in large steps, so the last is Beyond 50 m.", + "10 m", 0, 0, BB_DOF_DISTANCES}, LIVE_INT_WHEN("dof_near", "Blur in front", "How strongly what is nearer than Sharp from is blurred (0: not at all, up to 7).", "0", 0, 7, "dof=On"), LIVE_INT_WHEN("dof_far", "Blur behind", "How strongly what is further than Sharp to is blurred (0: not at all, up to 7).", "3", diff --git a/tests/photo_mode_plugin_test.cpp b/tests/photo_mode_plugin_test.cpp index 23f9bca3..73d348c9 100644 --- a/tests/photo_mode_plugin_test.cpp +++ b/tests/photo_mode_plugin_test.cpp @@ -403,6 +403,13 @@ int main(int argc, char** argv) { from = from || std::strcmp(o->key, "dof_from") == 0; to = to || std::strcmp(o->key, "dof_to") == 0; aperture = aperture || std::strcmp(o->key, "dof_aperture") == 0; + if (std::strcmp(o->key, "dof_from") == 0 || std::strcmp(o->key, "dof_to") == 0) { + // The distances stop where the game's table still tells them + // apart: 40 m, then everything past about 50 m. + const std::string c = o->choices; + CHECK(c.size() > 16 && c.compare(c.size() - 16, 16, "40 m|Beyond 50 m") == 0); + CHECK(c.find("1000 m") == std::string::npos && c.find("|50 m") == std::string::npos); + } if (std::strcmp(o->key, "blur_samples") == 0) CHECK(o->min == 2 && o->max == 8); if (std::strcmp(o->key, "fov") == 0) CHECK(o->min == -40 && o->max == 60); } @@ -501,6 +508,48 @@ int main(int argc, char** argv) { H.option_fn("dof_fade", "None", H.option_user); CHECK(H.look.dof_near_end == 2.5f && H.look.dof_far_start == 40.0f && H.look.dof_near_levels == 5); CHECK(H.look.dof_near_fade == 0.0f && H.look.dof_far_fade == 0.0f); + // No two distances alike: the game reads the blur through a table of + // 2048 steps over the depth buffer, step i at 0.05 * 2047 / (2047 - i) + // metres (the camera's near plane 5 cm), so with a sharp edge each choice + // must blur from a step of its own - behind, the first step past Sharp + // to; in front, the last step before Sharp from. + { + const auto step_past = [](float d) { return static_cast(std::floor(2047.0 - 0.05 * 2047.0 / d)) + 1; }; + const auto step_before = [](float d) { return static_cast(std::ceil(2047.0 - 0.05 * 2047.0 / d)) - 1; }; + const BbOption* to_row = nullptr; + for (const BbOption* o = p.options; o->type; ++o) { + if (o->key && std::strcmp(o->key, "dof_to") == 0) to_row = o; + } + CHECK(to_row != nullptr); + if (to_row) { + std::string all = to_row->choices, name; + int last_past = -1, last_before = -1, n = 0; + for (std::size_t at = 0; at <= all.size(); ++at) { + if (at < all.size() && all[at] != '|') { + name += all[at]; + continue; + } + H.option_fn("dof_to", name.c_str(), H.option_user); + H.option_fn("dof_from", name.c_str(), H.option_user); + const int past = step_past(H.look.dof_far_start), before = step_before(H.look.dof_near_end); + CHECK(past > last_past && before > last_before); // further: a later step each time + CHECK(past <= 2046); // and never the sky alone + last_past = past; + last_before = before; + name.clear(); + ++n; + } + CHECK(n == 20); + // The last, everything past about 50 m: between the steps at 51 m + // and 102 m. + H.option_fn("dof_to", "Beyond 50 m", H.option_user); + CHECK(H.look.dof_far_start > 0.05f * 2047.0f / 2.0f && H.look.dof_far_start < 0.05f * 2047.0f); + H.option_fn("dof_to", "1000 m", H.option_user); // a config from before: kept within the choices + CHECK(H.look.dof_far_start < 0.05f * 2047.0f); + } + H.option_fn("dof_from", "2.5 m", H.option_user); + H.option_fn("dof_to", "40 m", H.option_user); + } H.option_fn("dof", "Off", H.option_user); CHECK((H.look.set & BB_LOOK_DOF) && H.look.dof == 0 && !(H.look.set & BB_LOOK_DOF_RANGE)); H.option_fn("dof", "On", H.option_user); From 7f068624c5226d83113c354cb546f8df89ac83f4 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 16:34:27 -0800 Subject: [PATCH 055/100] host: the game's menu art read from the player's dump - its options dialog's pieces decoded from BC7 and packed for ImGui A plugin's panel imitated the game's menus with drawn lines and bands; the game's own art is in the dump. The options dialog (menu/optionsetting.gfx) names its textures in DefineExternalImage2 tags - MENU_Common_00001, 00003, 00090 and 00111 and its key guide's KG_* icons - and its shapes fill from regions of them, all in menu/common.tpf.dcx. host/game_menu_art.h reads it once, as host/game_font.h reads the menus' letters; nothing of it is shipped. A DCX "DFLT" is one zlib stream after its DCA header; the game's TPF lists its textures in 0x24-byte entries; a texture is BC blocks in 8x8-block tiles, Morton order inside a tile, the tiles row-major, both dimensions padded to 8 blocks; the art is BC7, whose partition and anchor tables are the ones Pillow's decoder draws with, read back from it with blocks made for it. Only the blocks under the pieces are decoded: the dialog's ornament (a crest over a rule with scrolled ends) and the band under it, the filigree where its inner rules meet the column rule, a stretch of plain rule, a label's line, a value line's scrolled end, the cursor's gold glow, a choice's arrow, a slider's track and filling (MENU_Common_00001), thirteen key guide icons, and the slate the game's other menus lie on (MENU_Common_00002, kept at half its size, each 2x2 averaged by its alpha) - the dialog has none of its own, it dims the screen behind it. The art drawn on black and added (the ornaments, the glow) is turned to straight alpha by its brightest channel; the pieces are packed in shelves into one 1024x512 RGBA texture, each piece's edge repeated into its 2-px gaps, and registered as a user texture of the menus' ImGui context, and again in any context that does not have it (the in-game menus' context is remade with the swapchain, and the old backend lets the texture go with it). Reading, inflating (31 MB) and decoding take a fifth of a second, so preload() does it on a thread of its own; menu_art() waits for it. BBHOST_MENU_ART=0 leaves the art out (a test of the drawn look). game_menu_art_test checks the BC7 decoder against Pillow's on three random blocks of each of its eight modes and on every partition and anchor of two and three subsets, a reserved block transparent as the format has it (Pillow makes it opaque), the tiling's block order, a region of a tiled texture whose blocks say where they are, a TPF and a DCX made in the test, the halving's weighting, the additive art's alpha, the five-part stretch the ornament is drawn with and the packing (in bounds, apart, the edges repeated); with the dump (BBHOST_APP0) every piece's pixels against Pillow's decode of menu/common.tpf.dcx, hashed, and the atlas built whole. All 20 hand mutants of the decoder and the layout fail it (a weight, the endpoints' expansion, a rotation, the index selection, the anchors' bits, the p-bits, one partition entry, the reserved mode, the tile's Morton order, the tiles' order, a region's last block, the additive alpha, the stretch's split and scale, the gap, its fill, the DCX offset, a TPF entry's width and height, an unweighted halving, the slate kept whole). Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- CMakeLists.txt | 9 + src/host/game_menu_art.cpp | 543 +++++++++++++++++++++++++++++++++++ src/host/game_menu_art.h | 151 ++++++++++ tests/game_menu_art_test.cpp | 450 +++++++++++++++++++++++++++++ 4 files changed, 1153 insertions(+) create mode 100644 src/host/game_menu_art.cpp create mode 100644 src/host/game_menu_art.h create mode 100644 tests/game_menu_art_test.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 04c8394a..3d8e43c6 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -176,6 +176,7 @@ add_executable(bbhost src/host/ingame_menu.cpp src/host/plugin_panel.cpp src/host/game_font.cpp + src/host/game_menu_art.cpp src/host/controls_page.cpp src/host/framegen.cpp src/host/options.cpp @@ -1191,6 +1192,14 @@ if(UNIX) target_compile_definitions(game_font_test PRIVATE BBHOST_GAME_FONT_NO_FS=1) add_test(NAME game_font_test COMMAND game_font_test) set_tests_properties(game_font_test PROPERTIES SKIP_RETURN_CODE 77) + # The game's menu art: its BC7 decoder against Pillow's, the tiling, the + # TPF, DCX, the five-part stretch and the packing (host/game_menu_art.h); with + # the dump (BBHOST_APP0) every piece of menu/common.tpf.dcx too. + add_executable(game_menu_art_test tests/game_menu_art_test.cpp src/host/game_menu_art.cpp) + target_include_directories(game_menu_art_test PRIVATE src) + target_compile_definitions(game_menu_art_test PRIVATE BBHOST_GAME_MENU_ART_NO_FS=1) + target_link_libraries(game_menu_art_test PRIVATE ZLIB::ZLIB) + add_test(NAME game_menu_art_test COMMAND game_menu_art_test) # Mouse sensitivity's scale and the old scale's settings read on it # (engine/mouse_camera_step.h). add_executable(mouse_sensitivity_test tests/mouse_sensitivity_test.cpp) diff --git a/src/host/game_menu_art.cpp b/src/host/game_menu_art.cpp new file mode 100644 index 00000000..17df47a7 --- /dev/null +++ b/src/host/game_menu_art.cpp @@ -0,0 +1,543 @@ +#include "host/game_menu_art.h" + +#if !defined(BBHOST_GAME_MENU_ART_NO_FS) +#include "hle/fs.h" +#include "log.h" +#endif + +#include + +#include +#include +#include +#include +#include +#include +#include + +namespace game_menu_art { + +namespace { + +std::uint32_t u32(const std::vector& b, std::size_t i) { + return static_cast(b[i]) | static_cast(b[i + 1]) << 8 | static_cast(b[i + 2]) << 16 | + static_cast(b[i + 3]) << 24; +} +std::uint16_t u16(const std::vector& b, std::size_t i) { + return static_cast(b[i] | b[i + 1] << 8); +} + +// ---- BC7 (the format's tables; the partitions and anchors as Pillow's +// decoder has them, which tests/game_menu_art_test.cpp's vectors come from) + +struct Mode { + int subsets, partition_bits, rotation_bits, index_select_bits, colour_bits, alpha_bits, endpoint_pbits, shared_pbits, + index_bits, index2_bits; +}; +constexpr Mode kModes[8] = { + {3, 4, 0, 0, 4, 0, 1, 0, 3, 0}, {2, 6, 0, 0, 6, 0, 0, 1, 3, 0}, {3, 6, 0, 0, 5, 0, 0, 0, 2, 0}, + {2, 6, 0, 0, 7, 0, 1, 0, 2, 0}, {1, 0, 2, 1, 5, 6, 0, 0, 2, 3}, {1, 0, 2, 0, 7, 8, 0, 0, 2, 2}, + {1, 0, 0, 0, 7, 7, 1, 0, 4, 0}, {2, 6, 0, 0, 5, 5, 1, 0, 2, 0}, +}; +constexpr std::uint16_t kPartition2[64] = { + 0xcccc, 0x8888, 0xeeee, 0xecc8, 0xc880, 0xfeec, 0xfec8, 0xec80, + 0xc800, 0xffec, 0xfe80, 0xe800, 0xffe8, 0xff00, 0xfff0, 0xf000, + 0xf710, 0x008e, 0x7100, 0x08ce, 0x008c, 0x7310, 0x3100, 0x8cce, + 0x088c, 0x3110, 0x6666, 0x366c, 0x17e8, 0x0ff0, 0x718e, 0x399c, + 0xaaaa, 0xf0f0, 0x5a5a, 0x33cc, 0x3c3c, 0x55aa, 0x9696, 0xa55a, + 0x73ce, 0x13c8, 0x324c, 0x3bdc, 0x6996, 0xc33c, 0x9966, 0x0660, + 0x0272, 0x04e4, 0x4e40, 0x2720, 0xc936, 0x936c, 0x39c6, 0x639c, + 0x9336, 0x9cc6, 0x817e, 0xe718, 0xccf0, 0x0fcc, 0x7744, 0xee22, +}; +constexpr char kPartition3[64][17] = { + "0011001102212222", "0001001122112221", "0000200122112211", "0222002200110111", + "0000000011221122", "0011001100220022", "0022002211111111", "0011001122112211", + "0000000011112222", "0000111111112222", "0000111122222222", "0012001200120012", + "0112011201120112", "0122012201220122", "0011011211221222", "0011200122002220", + "0001001101121122", "0111001120012200", "0000112211221122", "0022002200221111", + "0111011102220222", "0001000122212221", "0000001101220122", "0000110022102210", + "0122012200110000", "0012001211222222", "0110122112210110", "0000011012211221", + "0022110211020022", "0110011020022222", "0011012201220011", "0000200022112221", + "0000000211221222", "0222002200120011", "0011001200220222", "0120012001200120", + "0000111122220000", "0120120120120120", "0120201212010120", "0011220011220011", + "0011112222000011", "0101010122222222", "0000000021212121", "0022112200221122", + "0022001100220011", "0220122102201221", "0101222222220101", "0000212121212121", + "0101010101012222", "0222011102220111", "0002111200021112", "0000211221122112", + "0222011101110222", "0002111211120002", "0110011001102222", "0000000021122112", + "0110011022222222", "0022001100110022", "0022112211220022", "0000000000002112", + "0002000100020001", "0222122202221222", "0101222222222222", "0111201122012220", +}; +constexpr std::uint8_t kAnchor2[64] = { + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 2, 8, 2, 2, 8, 8, 15, 2, 8, 2, 2, 8, 8, 2, 2, + 15, 15, 6, 8, 2, 8, 15, 15, 2, 8, 2, 2, 2, 15, 15, 6, + 6, 2, 6, 8, 15, 15, 2, 2, 15, 15, 15, 15, 15, 2, 2, 15, +}; +constexpr std::uint8_t kAnchor3a[64] = { + 3, 3, 15, 15, 8, 3, 15, 15, 8, 8, 6, 6, 6, 5, 3, 3, + 3, 3, 8, 15, 3, 3, 6, 10, 5, 8, 8, 6, 8, 5, 15, 15, + 8, 15, 3, 5, 6, 10, 8, 15, 15, 3, 15, 5, 15, 15, 15, 15, + 3, 15, 5, 5, 5, 8, 5, 10, 5, 10, 8, 13, 15, 12, 3, 3, +}; +constexpr std::uint8_t kAnchor3b[64] = { + 15, 8, 8, 3, 15, 15, 3, 8, 15, 15, 15, 15, 15, 15, 15, 8, + 15, 8, 15, 3, 15, 8, 15, 8, 3, 15, 6, 10, 15, 15, 10, 8, + 15, 3, 15, 10, 10, 8, 9, 10, 6, 15, 8, 15, 3, 6, 6, 8, + 15, 3, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 3, 15, 15, 8, +}; +constexpr std::uint8_t kWeights2[4] = {0, 21, 43, 64}; +constexpr std::uint8_t kWeights3[8] = {0, 9, 18, 27, 37, 46, 55, 64}; +constexpr std::uint8_t kWeights4[16] = {0, 4, 9, 13, 17, 21, 26, 30, 34, 38, 43, 47, 51, 55, 60, 64}; + +// The block's bits, least significant first. +struct Bits { + const std::uint8_t* b; + int at; + std::uint32_t take(int n) { + std::uint32_t v = 0; + for (int i = 0; i < n; ++i, ++at) v |= static_cast((b[at >> 3] >> (at & 7)) & 1) << i; + return v; + } +}; + +int subset_of(int subsets, int partition, int pixel) { + if (subsets == 2) return (kPartition2[partition] >> pixel) & 1; + if (subsets == 3) return kPartition3[partition][pixel] - '0'; + return 0; +} + +int anchor_of(int subsets, int partition, int subset) { + if (subset == 0) return 0; + if (subsets == 2) return kAnchor2[partition]; + return subset == 1 ? kAnchor3a[partition] : kAnchor3b[partition]; +} + +std::uint8_t expand(std::uint32_t v, int bits) { + v <<= 8 - bits; + return static_cast(v | (v >> bits)); +} + +std::uint8_t weight(int bits, std::uint32_t index) { + return bits == 2 ? kWeights2[index] : bits == 3 ? kWeights3[index] : kWeights4[index]; +} + +std::uint8_t mix(std::uint8_t e0, std::uint8_t e1, std::uint8_t w) { + return static_cast(((64 - w) * e0 + w * e1 + 32) >> 6); +} + +} // namespace + +void decode_bc7(const std::uint8_t block[16], std::uint8_t out[64]) { + int mode = 0; + while (mode < 8 && !(block[0] & (1 << mode))) ++mode; + if (mode == 8) { + std::memset(out, 0, 64); + return; + } + const Mode& m = kModes[mode]; + Bits r{block, mode + 1}; + const int partition = static_cast(r.take(m.partition_bits)); + const int rotation = static_cast(r.take(m.rotation_bits)); + const int index_select = static_cast(r.take(m.index_select_bits)); + std::uint32_t ep[3][2][4] = {}; // subset, endpoint, channel + for (int c = 0; c < 3; ++c) + for (int s = 0; s < m.subsets; ++s) + for (int e = 0; e < 2; ++e) ep[s][e][c] = r.take(m.colour_bits); + if (m.alpha_bits) + for (int s = 0; s < m.subsets; ++s) + for (int e = 0; e < 2; ++e) ep[s][e][3] = r.take(m.alpha_bits); + int colour_bits = m.colour_bits, alpha_bits = m.alpha_bits; + if (m.endpoint_pbits) { + for (int s = 0; s < m.subsets; ++s) + for (int e = 0; e < 2; ++e) { + const std::uint32_t p = r.take(1); + for (int c = 0; c < 4; ++c) ep[s][e][c] = (ep[s][e][c] << 1) | p; + } + ++colour_bits; + if (alpha_bits) ++alpha_bits; + } + if (m.shared_pbits) { + for (int s = 0; s < m.subsets; ++s) { + const std::uint32_t p = r.take(1); + for (int e = 0; e < 2; ++e) + for (int c = 0; c < 3; ++c) ep[s][e][c] = (ep[s][e][c] << 1) | p; + } + ++colour_bits; + } + std::uint8_t col[3][2][4]; + for (int s = 0; s < m.subsets; ++s) + for (int e = 0; e < 2; ++e) { + for (int c = 0; c < 3; ++c) col[s][e][c] = expand(ep[s][e][c], colour_bits); + col[s][e][3] = alpha_bits ? expand(ep[s][e][3], alpha_bits) : 255; + } + std::uint32_t index[16], index2[16] = {}; + for (int i = 0; i < 16; ++i) { + const int s = subset_of(m.subsets, partition, i); + index[i] = r.take(m.index_bits - (i == anchor_of(m.subsets, partition, s) ? 1 : 0)); + } + if (m.index2_bits) + for (int i = 0; i < 16; ++i) index2[i] = r.take(m.index2_bits - (i == 0 ? 1 : 0)); + for (int i = 0; i < 16; ++i) { + const int s = subset_of(m.subsets, partition, i); + std::uint8_t* px = out + i * 4; + if (m.index2_bits) { + const bool swap = index_select != 0; + const std::uint8_t wc = swap ? weight(m.index2_bits, index2[i]) : weight(m.index_bits, index[i]); + const std::uint8_t wa = swap ? weight(m.index_bits, index[i]) : weight(m.index2_bits, index2[i]); + for (int c = 0; c < 3; ++c) px[c] = mix(col[s][0][c], col[s][1][c], wc); + px[3] = mix(col[s][0][3], col[s][1][3], wa); + } else { + const std::uint8_t w = weight(m.index_bits, index[i]); + for (int c = 0; c < 4; ++c) px[c] = mix(col[s][0][c], col[s][1][c], w); + } + if (rotation) std::swap(px[3], px[rotation - 1]); + } +} + +bool inflate_dcx(const std::vector& file, std::vector& out) { + if (file.size() < 0x4c || std::memcmp(file.data(), "DCX\0", 4) != 0) return false; + std::size_t at = 0; + for (std::size_t i = 4; i + 8 <= file.size() && i < 0x100; ++i) { + if (std::memcmp(file.data() + i, "DCA\0", 4) == 0) { + at = i + 8; + break; + } + } + if (!at) return false; + z_stream z{}; + if (inflateInit(&z) != Z_OK) return false; + z.next_in = const_cast(file.data() + at); + z.avail_in = static_cast(file.size() - at); + out.clear(); + std::uint8_t chunk[1 << 16]; + int rc = Z_OK; + while (rc == Z_OK) { + z.next_out = chunk; + z.avail_out = sizeof(chunk); + rc = inflate(&z, Z_NO_FLUSH); + if (rc != Z_OK && rc != Z_STREAM_END) break; + out.insert(out.end(), chunk, chunk + (sizeof(chunk) - z.avail_out)); + } + inflateEnd(&z); + return rc == Z_STREAM_END; +} + +bool parse_tpf(const std::vector& tpf, std::vector& out) { + out.clear(); + if (tpf.size() < 0x10 || std::memcmp(tpf.data(), "TPF\0", 4) != 0 || tpf[12] != 4) return false; + const std::uint32_t count = u32(tpf, 8); + if (count > 4096 || 0x10 + static_cast(count) * 0x24 > tpf.size()) return false; + for (std::uint32_t k = 0; k < count; ++k) { + const std::size_t o = 0x10 + static_cast(k) * 0x24; + TpfTexture t; + t.offset = u32(tpf, o); + t.size = u32(tpf, o + 4); + t.format = tpf[o + 8]; + t.width = u16(tpf, o + 12); + t.height = u16(tpf, o + 14); + std::size_t name = u32(tpf, o + 0x18); + if (t.offset + t.size > tpf.size() || name >= tpf.size()) return false; + for (; name + 1 < tpf.size() && (tpf[name] || tpf[name + 1]); name += 2) { + const std::uint16_t ch = u16(tpf, name); + t.name.push_back(ch < 0x80 ? static_cast(ch) : '?'); + } + out.push_back(std::move(t)); + } + return true; +} + +std::size_t tiled_block_offset(int bx, int by, int blocks_w, int bytes_per_block) { + const int tiles_w = (blocks_w + 7) / 8; + const int tile = (by / 8) * tiles_w + bx / 8; + int morton = 0; + for (int bit = 0; bit < 3; ++bit) { + morton |= ((bx >> bit) & 1) << (2 * bit); + morton |= ((by >> bit) & 1) << (2 * bit + 1); + } + return (static_cast(tile) * 64 + static_cast(morton)) * static_cast(bytes_per_block); +} + +bool decode_region(const std::uint8_t* data, std::size_t size, int width, int height, int x0, int y0, int x1, int y1, + std::vector& out) { + if (x0 < 0 || y0 < 0 || x1 > width || y1 > height || x0 >= x1 || y0 >= y1) return false; + const int bw = (width + 3) / 4, bh = (height + 3) / 4; + const std::size_t need = static_cast((bw + 7) / 8 * 8) * static_cast((bh + 7) / 8 * 8) * 16; + if (size < need) return false; + const int w = x1 - x0, h = y1 - y0; + out.assign(static_cast(w) * h * 4, 0); + std::uint8_t px[64]; + for (int by = y0 / 4; by <= (y1 - 1) / 4; ++by) { + for (int bx = x0 / 4; bx <= (x1 - 1) / 4; ++bx) { + decode_bc7(data + tiled_block_offset(bx, by, bw, 16), px); + for (int j = 0; j < 4; ++j) { + const int y = by * 4 + j; + if (y < y0 || y >= y1) continue; + for (int i = 0; i < 4; ++i) { + const int x = bx * 4 + i; + if (x < x0 || x >= x1) continue; + std::memcpy(&out[(static_cast(y - y0) * w + (x - x0)) * 4], px + (j * 4 + i) * 4, 4); + } + } + } + } + return true; +} + +std::vector halve(const std::vector& rgba, int w, int h) { + const int hw = w / 2, hh = h / 2; + std::vector out(static_cast(hw) * hh * 4, 0); + for (int y = 0; y < hh; ++y) + for (int x = 0; x < hw; ++x) { + int sum[4] = {0, 0, 0, 0}; + for (int j = 0; j < 2; ++j) + for (int i = 0; i < 2; ++i) { + const std::uint8_t* p = &rgba[(static_cast(y * 2 + j) * w + (x * 2 + i)) * 4]; + for (int c = 0; c < 3; ++c) sum[c] += p[c] * p[3]; + sum[3] += p[3]; + } + std::uint8_t* o = &out[(static_cast(y) * hw + x) * 4]; + for (int c = 0; c < 3; ++c) o[c] = static_cast(sum[3] ? (sum[c] + sum[3] / 2) / sum[3] : 0); + o[3] = static_cast((sum[3] + 2) / 4); + } + return out; +} + +void additive_to_alpha(std::uint8_t* rgba, std::size_t pixels) { + for (std::size_t i = 0; i < pixels; ++i) { + std::uint8_t* p = rgba + i * 4; + const int a = std::max({p[0], p[1], p[2]}); + if (a == 0) { + p[0] = p[1] = p[2] = p[3] = 0; + continue; + } + for (int c = 0; c < 3; ++c) p[c] = static_cast(std::min(255, (p[c] * 255 + a / 2) / a)); + p[3] = static_cast(a); + } +} + +// The options dialog's art (menu/optionsetting.gfx's shapes fill from these +// regions of the textures its DefineExternalImage2 tags name); the slate the +// game's other menus (the inventory, equipment, level up) lay their panels on, +// MENU_Common_00002's landscape one, as the dialog itself has none (it dims +// the screen behind it) and MENU_Common_00003's portrait slate fades out to +// its left; and the key guide's icons whole, KG_OK drawn as the circle and +// KG_Cancel as the cross. +const Source& source(Piece p) { + static const Source kSources[kPieceCount] = { + {"MENU_Common_00003", 75, 57, 406, 85, true}, // kOrnament: crest 194..286, the rule at y 83..84 + {"MENU_Common_00003", 52, 85, 429, 106, true}, // kBand + {"MENU_Common_00003", 110, 4, 269, 46, true}, // kFiligree: its finial at x 188..190, the rule at y 29..30 + {"MENU_Common_00003", 40, 27, 116, 33, true}, // kRule: the rule at y 29..30 + {"MENU_Common_00003", 20, 238, 185, 242, true}, // kLabelLine + {"MENU_Common_00003", 75, 74, 121, 85, true}, // kValueEnd: the ornament's left end, its rule at y 83..84 + {"MENU_Common_00003", 7, 814, 364, 908, true}, // kGlow: brightest at x 359 + {"MENU_Common_00003", 197, 110, 210, 133, false}, // kArrow + {"MENU_Common_00002", 0, 0, 1154, 676, false, 2}, // kSlate: the menus' landscape slate, opaque + {"MENU_Common_00001", 1566, 1533, 1877, 1547, false}, // kSliderTrack + {"MENU_Common_00001", 1566, 1551, 1871, 1558, false}, // kSliderFill + {"KG_OK", 0, 0, 32, 32, false}, + {"KG_Cancel", 0, 0, 32, 32, false}, + {"KG_R_U", 0, 0, 32, 32, false}, + {"KG_R_L", 0, 0, 32, 32, false}, + {"KG_L1", 0, 0, 32, 32, false}, + {"KG_R1", 0, 0, 32, 32, false}, + {"KG_L2", 0, 0, 32, 32, false}, + {"KG_R2", 0, 0, 32, 32, false}, + {"KG_L3", 0, 0, 32, 32, false}, + {"KG_R3", 0, 0, 32, 32, false}, + {"KG_L_UDLR", 0, 0, 32, 32, false}, + {"KG_L_UD", 0, 0, 32, 32, false}, + {"KG_L_LR", 0, 0, 32, 32, false}, + }; + return kSources[p]; +} + +const Slices& slices(Piece p) { + // kOrnament: its scrolled ends (75..119, 361..406 of the texture), the + // rule between them and the crest's curls (166..314, the crest itself + // 194..286); kBand: its faded ends and its even middle; others whole. + static const Slices kOrnamentSlices{{0, 44, 91, 239, 286, 331}}; + static const Slices kBandSlices{{0, 48, 188, 189, 329, 377}}; + static const Slices kWhole{{0, 0, 0, 0, 0, 0}}; + return p == kOrnament ? kOrnamentSlices : p == kBand ? kBandSlices : kWhole; +} + +bool stretch(const Slices& s, float width, float scale, Span& out) { + const float fixed = ((s.x[1] - s.x[0]) + (s.x[3] - s.x[2]) + (s.x[5] - s.x[4])) * scale; + const float each = (width - fixed) * 0.5f; + if (each < 0.0f || scale <= 0.0f) return false; + const float w[5] = {(s.x[1] - s.x[0]) * scale, each, (s.x[3] - s.x[2]) * scale, each, (s.x[5] - s.x[4]) * scale}; + float x = 0.0f; + for (int i = 0; i < 5; ++i) { + out.x0[i] = x; + x += w[i]; + out.x1[i] = x; + } + return true; +} + +bool pack(const std::vector>& pixels, const std::vector& widths, const std::vector& heights, + int width, int height, Atlas& out) { + constexpr int kGap = 2; + const std::size_t n = std::min({pixels.size(), widths.size(), heights.size(), static_cast(kPieceCount)}); + out = Atlas{}; + out.width = width; + out.height = height; + out.rgba.assign(static_cast(width) * height * 4, 0); + // Tallest first, in shelves left to right. + std::vector order; + for (std::size_t i = 0; i < n; ++i) + if (widths[i] > 0 && heights[i] > 0) order.push_back(i); + std::stable_sort(order.begin(), order.end(), [&](std::size_t a, std::size_t b) { return heights[a] > heights[b]; }); + int x = kGap, y = kGap, shelf = 0; + for (const std::size_t i : order) { + const int w = widths[i], h = heights[i]; + if (pixels[i].size() < static_cast(w) * h * 4) return false; + if (x + w + kGap > width) { + x = kGap; + y += shelf + kGap; + shelf = 0; + } + if (x + w + kGap > width || y + h + kGap > height) return false; + // The piece, and its edge repeated a gap's width around it. + for (int j = -kGap; j < h + kGap; ++j) { + const int sj = std::clamp(j, 0, h - 1); + for (int k = -kGap; k < w + kGap; ++k) { + const int sk = std::clamp(k, 0, w - 1); + std::memcpy(&out.rgba[(static_cast(y + j) * width + (x + k)) * 4], + &pixels[i][(static_cast(sj) * w + sk) * 4], 4); + } + } + Placed& p = out.piece[i]; + p.present = true; + p.w = w; + p.h = h; + p.u0 = static_cast(x) / width; + p.v0 = static_cast(y) / height; + p.u1 = static_cast(x + w) / width; + p.v1 = static_cast(y + h) / height; + x += w + kGap * 2; + shelf = std::max(shelf, h + kGap); + } + return true; +} + +bool build(const std::vector& tpf, Atlas& out, std::string* why) { + std::vector textures; + if (!parse_tpf(tpf, textures)) { + if (why) *why = "not a PS4 TPF"; + return false; + } + std::vector> pixels(kPieceCount); + std::vector widths(kPieceCount, 0), heights(kPieceCount, 0); + int found = 0; + for (int p = 0; p < kPieceCount; ++p) { + const Source& s = source(static_cast(p)); + const auto t = std::find_if(textures.begin(), textures.end(), [&](const TpfTexture& x) { return x.name == s.texture; }); + if (t == textures.end() || t->format != 102) continue; + if (!decode_region(tpf.data() + t->offset, t->size, t->width, t->height, s.x0, s.y0, s.x1, s.y1, pixels[p])) continue; + if (s.additive) additive_to_alpha(pixels[p].data(), pixels[p].size() / 4); + widths[p] = s.x1 - s.x0; + heights[p] = s.y1 - s.y0; + if (s.shrink == 2) { + pixels[p] = halve(pixels[p], widths[p], heights[p]); + widths[p] /= 2; + heights[p] /= 2; + } + ++found; + } + if (!found) { + if (why) *why = "none of the pieces' textures in it"; + return false; + } + if (!pack(pixels, widths, heights, 1024, 512, out)) { + if (why) *why = "the pieces do not fit the atlas"; + return false; + } + return true; +} + +#if !defined(BBHOST_GAME_MENU_ART_NO_FS) +namespace { + +std::once_flag g_once; +// Never freed: a preload's thread may still be filling it as the process ends. +Atlas* g_atlas = nullptr; + +void load() { + if (const char* e = std::getenv("BBHOST_MENU_ART"); e && e[0] == '0') { + host_log("menu: the game's menu art left out (BBHOST_MENU_ART=0): a plugin's panel is drawn without it"); + return; + } + const std::string path = hle_fs_map_path_base("/app0/dvdroot_ps4/menu/common.tpf.dcx"); + std::ifstream f(path, std::ios::binary | std::ios::ate); + if (!f) { + host_log("menu: no menu/common.tpf.dcx in the dump; a plugin's panel is drawn without the game's art"); + return; + } + std::vector file(static_cast(std::max(0, f.tellg()))); + f.seekg(0); + f.read(reinterpret_cast(file.data()), static_cast(file.size())); + std::vector tpf; + std::string why; + auto* atlas = new Atlas; + if (!f || !inflate_dcx(file, tpf)) { + why = "it does not inflate"; + } else if (build(tpf, *atlas, &why)) { + int n = 0; + for (const Placed& p : atlas->piece) n += p.present; + g_atlas = atlas; + host_log("menu: the game's menu art from menu/common.tpf.dcx: %d of %d pieces in a %dx%d texture", n, + static_cast(kPieceCount), atlas->width, atlas->height); + return; + } + delete atlas; + host_log("menu: menu/common.tpf.dcx is not menu art this reads (%s); a plugin's panel is drawn without it", why.c_str()); +} + +} // namespace + +const Atlas* menu_art() { + std::call_once(g_once, load); + return g_atlas; +} + +void preload() { + static std::atomic started{false}; + if (started.exchange(true)) return; + std::thread([] { menu_art(); }).detach(); +} +#else +const Atlas* menu_art() { return nullptr; } // (the test reads the file itself) +void preload() {} +#endif + +} // namespace game_menu_art + +#if !defined(BBHOST_GAME_MENU_ART_NO_FS) && defined(BBHOST_HAVE_SDL3) +#include "imgui.h" +#include "imgui_internal.h" + +ImTextureData* game_menu_art_texture() { + const game_menu_art::Atlas* art = game_menu_art::menu_art(); + if (!art) return nullptr; + static ImTextureData* tex = nullptr; + if (!tex) { + tex = IM_NEW(ImTextureData)(); + tex->Create(ImTextureFormat_RGBA32, art->width, art->height); + std::memcpy(tex->GetPixels(), art->rgba.data(), art->rgba.size()); + tex->UseColors = true; + } + // Once a context: the in-game menus remade with the swapchain (a new + // context and backend, which may well sit where the old one did; the old + // backend let the texture go with it) make it again from its pixels. + if (ImGuiContext* now = ImGui::GetCurrentContext(); now && !now->UserTextures.contains(tex)) { + tex->RefCount = 0; + tex->SetStatus(ImTextureStatus_WantCreate); + ImGui::RegisterUserTexture(tex); + } + return tex; +} +#else +ImTextureData* game_menu_art_texture() { return nullptr; } +#endif diff --git a/src/host/game_menu_art.h b/src/host/game_menu_art.h new file mode 100644 index 00000000..e844db0d --- /dev/null +++ b/src/host/game_menu_art.h @@ -0,0 +1,151 @@ +#pragma once + +// The game's own menu art for a plugin's panel (host/plugin_panel.cpp): pieces +// of the textures the game's options dialog draws with (menu/optionsetting.gfx +// names them: MENU_Common_00003 and MENU_Common_00001 of menu/common.tpf.dcx, +// and its key guide's KG_* icons) and the slate its other menus lie on +// (MENU_Common_00002), read from the player's dump the first time a panel is +// drawn, as host/game_font.h reads the menus' letters. Nothing of them is +// shipped. +// +// The formats, as read from the files: DCX "DFLT" is one zlib stream after the +// DCA header; a PS4 TPF lists its textures in 0x24-byte entries (data offset, +// size, format, ..., width, height, name offset in UTF-16); a texture is BC +// blocks in 8x8-block tiles, Morton order inside a tile, the tiles row-major +// and both dimensions padded to 8 blocks. The art is BC7 (format 102). + +#include +#include +#include +#include + +namespace game_menu_art { + +// ---- the formats + +// A DCX "DFLT" file's contents (the zlib stream after "DCA\0" and its size). +bool inflate_dcx(const std::vector& file, std::vector& out); + +struct TpfTexture { + std::string name; + int format = 0; // 102 BC7, 0 and 1 BC1, 3 BC2, 5 BC3 + int width = 0, height = 0; + std::size_t offset = 0, size = 0; // its blocks in the TPF +}; +// A PS4 TPF's textures (platform byte 4); false when it is not one or an entry +// lies outside it. +bool parse_tpf(const std::vector& tpf, std::vector& out); + +// The byte offset of block (bx, by) in a PS4-tiled texture blocks_w blocks wide. +std::size_t tiled_block_offset(int bx, int by, int blocks_w, int bytes_per_block); + +// One BC7 block as 4x4 RGBA pixels, row-major (64 bytes). A reserved mode +// (a first byte of 0) is transparent black, as the format has it. +void decode_bc7(const std::uint8_t block[16], std::uint8_t out[64]); + +// The pixels [x0, x1) x [y0, y1) of a PS4-tiled BC7 texture as RGBA, row-major; +// only the blocks under them are decoded. False when the region or the data +// does not fit. +bool decode_region(const std::uint8_t* data, std::size_t size, int width, int height, int x0, int y0, int x1, int y1, + std::vector& out); + +// RGBA pixels w x h at half their size (each 2x2 block averaged by its +// alpha); a last odd row or column is left out. +std::vector halve(const std::vector& rgba, int w, int h); + +// Art drawn on black and added to the picture (the game's ornaments and glows) +// as straight alpha: the brightest channel the alpha, the colour divided by it, +// so that blending it over the picture adds the same light. +void additive_to_alpha(std::uint8_t* rgba, std::size_t pixels); + +// ---- the pieces + +enum Piece : int { + kOrnament, // the dialog's top and foot: a rule with scrolled ends and a crest at its middle + kBand, // the shaded band beside that rule + kFiligree, // the small filigree where the inner rules meet the column rule + kRule, // a plain stretch of rule, drawn as long as it is needed + kLabelLine, // the line under a row's label, fading out to the left + kValueEnd, // the scrolled end of a value's underline (the left one; mirrored for the right) + kGlow, // the cursor's golden glow, brightest at its right end + kArrow, // a choice's arrow, pointing right + kSlate, // the menus' slate (MENU_Common_00002's, at half its size) + kSliderTrack, // a slider's track + kSliderFill, // a slider's filled part + kIconCircle, // the key guide's icons, by the button they show + kIconCross, + kIconTriangle, + kIconSquare, + kIconL1, + kIconR1, + kIconL2, + kIconR2, + kIconL3, + kIconR3, + kIconDpad, + kIconDpadUpDown, + kIconDpadLeftRight, + kPieceCount +}; + +struct Source { + const char* texture; // in menu/common.tpf.dcx + int x0, y0, x1, y1; // its pixels there + bool additive; // drawn added on black: turned to straight alpha + int shrink = 1; // 2: kept at half its size (the slate, whose grain survives it) +}; +const Source& source(Piece p); + +// Where the 5-part pieces may stretch (kOrnament: the rule between its ends +// and its crest): the piece's own x of the ends of its five parts - an end, +// a stretch, the middle, a stretch, an end - from 0 to its width. +struct Slices { + float x[6]; +}; +const Slices& slices(Piece p); + +// A 5-part piece drawn across a span `width` wide at `scale` (its pixels to +// the screen's): the ends and the middle keep their size, the two stretches +// share what is left, equally. part[i] is the screen x span of part i from +// the span's left; false when the span is narrower than the fixed parts. +struct Span { + float x0[5], x1[5]; +}; +bool stretch(const Slices& s, float width, float scale, Span& out); + +// The atlas: every piece the dump had, packed into one RGBA texture. +struct Placed { + bool present = false; + int w = 0, h = 0; // the piece's own size in pixels + float u0 = 0, v0 = 0, u1 = 0, v1 = 0; // its texels in the atlas +}; +struct Atlas { + int width = 0, height = 0; + std::vector rgba; + Placed piece[kPieceCount]; +}; + +// The pieces packed in shelves (sizes in pixels; a size of 0 x 0 is a piece +// left out), 2 px apart with each piece's edge repeated into the gap so that +// filtering never reaches a neighbour, in a width x height atlas; false when +// they do not all fit. +bool pack(const std::vector>& pixels, const std::vector& widths, + const std::vector& heights, int width, int height, Atlas& out); + +// The pieces from a TPF's contents (common.tpf, inflated): the ones it has. +bool build(const std::vector& tpf, Atlas& out, std::string* why = nullptr); + +// The art, read once from the dump (menu/common.tpf.dcx): nullptr when the +// dump has none, or with BBHOST_MENU_ART=0 (a test of the panel without it). +// A call while a preload reads it waits for it. +const Atlas* menu_art(); +// Reads it on a thread of its own (the read, the inflating and the decoding +// take a fifth of a second): a panel's first frame then has it at hand. +void preload(); + +} // namespace game_menu_art + +struct ImTextureData; +// The atlas as a texture of the current ImGui context, registered with it the +// first time it is asked for there; nullptr when the dump has no art. +ImTextureData* game_menu_art_texture(); diff --git a/tests/game_menu_art_test.cpp b/tests/game_menu_art_test.cpp new file mode 100644 index 00000000..b04b0f24 --- /dev/null +++ b/tests/game_menu_art_test.cpp @@ -0,0 +1,450 @@ +// host/game_menu_art.h: the BC7 decoder against Pillow's on three blocks of +// each mode and on every partition and anchor of its two and three subsets, a reserved block transparent as the format says; the PS4 tiling's +// block order; a region of a tiled texture whose blocks each say where they +// are; a TPF and a DCX made here; the additive art's alpha; the five-part +// stretch; the packing (in bounds, apart, each piece's edge repeated around +// it). With the dump (BBHOST_APP0): every piece's pixels as Pillow decodes +// menu/common.tpf.dcx, and the atlas built whole from it. +#include "host/game_menu_art.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +static int g_failures = 0; +#define CHECK(cond) \ + do { \ + if (!(cond)) { \ + std::fprintf(stderr, "%s:%d: CHECK failed: %s\n", __FILE__, __LINE__, #cond); \ + ++g_failures; \ + } \ + } while (0) + +namespace { + +// BC7 blocks and their pixels as Pillow decodes them (seed 20261113): three of each mode. +struct Bc7Vector { int mode; std::uint8_t block[16]; std::uint8_t rgba[64]; }; +const Bc7Vector kBc7Vectors[] = { + {0, {0x77, 0x1c, 0xbc, 0x2d, 0xab, 0xcd, 0xab, 0x04, 0x21, 0x23, 0x84, 0xd5, 0x10, 0x93, 0x70, 0x21}, + {0x39, 0x9c, 0x5a, 0xff, 0x9e, 0x71, 0x39, 0xff, 0xa6, 0x83, 0x25, 0xff, 0xb8, 0xbf, 0x71, 0xff, 0x82, 0x7d, 0x42, 0xff, 0x39, 0x9c, 0x5a, 0xff, 0x20, 0xc6, 0x71, 0xff, 0x98, 0x95, 0x4c, 0xff, 0x51, 0x92, 0x52, 0xff, 0x51, 0x92, 0x52, 0xff, 0x20, 0xc6, 0x71, 0xff, 0x98, 0x95, 0x4c, 0xff, 0x82, 0x7d, 0x42, 0xff, 0x51, 0x92, 0x52, 0xff, 0x86, 0x94, 0x38, 0xff, 0xd6, 0xe7, 0x94, 0xff}}, + {0, {0xa3, 0x37, 0x34, 0x5d, 0xa6, 0x95, 0x49, 0xeb, 0x5e, 0x44, 0x2f, 0xa3, 0xef, 0x6b, 0x68, 0xe9}, + {0xd2, 0x24, 0x9a, 0xff, 0xd2, 0x24, 0x9a, 0xff, 0xcb, 0x2b, 0x85, 0xff, 0x10, 0xd6, 0x73, 0xff, 0xc4, 0x32, 0x6f, 0xff, 0xbd, 0x39, 0x5a, 0xff, 0x81, 0xb9, 0xd8, 0xff, 0xad, 0xad, 0xff, 0xff, 0xa8, 0xbb, 0x29, 0xff, 0xd8, 0x6f, 0x29, 0xff, 0x26, 0xd0, 0x87, 0xff, 0x6b, 0xbe, 0xc4, 0xff, 0xe3, 0x5d, 0x29, 0xff, 0xb3, 0xa9, 0x29, 0xff, 0xb3, 0xa9, 0x29, 0xff, 0xad, 0xad, 0xff, 0xff}}, + {0, {0x9b, 0x96, 0x76, 0x02, 0xac, 0x4f, 0x3b, 0x75, 0x58, 0x39, 0xd1, 0x10, 0x6e, 0xeb, 0xee, 0x83}, + {0x68, 0x22, 0x9f, 0xff, 0xac, 0x88, 0xb8, 0xff, 0x31, 0xa5, 0xa5, 0xff, 0x28, 0xb3, 0xae, 0xff, 0x4a, 0x08, 0x9c, 0xff, 0x76, 0xb0, 0x73, 0xff, 0x19, 0xc8, 0xbd, 0xff, 0x19, 0xc8, 0xbd, 0xff, 0x97, 0x49, 0xa2, 0xff, 0xac, 0x88, 0xb8, 0xff, 0x19, 0xc8, 0xbd, 0xff, 0x23, 0xba, 0xb3, 0xff, 0xb5, 0x63, 0xa5, 0xff, 0x76, 0xb0, 0x73, 0xff, 0x31, 0xa5, 0xa5, 0xff, 0x28, 0xb3, 0xae, 0xff}}, + {1, {0x3a, 0xea, 0xeb, 0x21, 0x46, 0x23, 0x54, 0x18, 0xb6, 0x7b, 0x65, 0x0c, 0x03, 0x4f, 0x37, 0x64}, + {0xae, 0x1e, 0x62, 0xff, 0xbc, 0x32, 0x62, 0xff, 0xab, 0x1a, 0x62, 0xff, 0xb3, 0x26, 0x62, 0xff, 0x78, 0x08, 0xed, 0xff, 0x53, 0x28, 0xbc, 0xff, 0x78, 0x08, 0xed, 0xff, 0x45, 0x34, 0xa9, 0xff, 0x20, 0x54, 0x78, 0xff, 0x45, 0x34, 0xa9, 0xff, 0x2c, 0x49, 0x88, 0xff, 0x39, 0x3f, 0x99, 0xff, 0x6c, 0x13, 0xdd, 0xff, 0x45, 0x34, 0xa9, 0xff, 0x45, 0x34, 0xa9, 0xff, 0x6c, 0x13, 0xdd, 0xff}}, + {1, {0x2e, 0x46, 0x57, 0x0d, 0xf4, 0x3f, 0x6e, 0x8d, 0x2a, 0x0b, 0x16, 0x1c, 0x06, 0xfa, 0xa4, 0x99}, + {0x25, 0xd7, 0x44, 0xff, 0x25, 0xd7, 0x44, 0xff, 0x18, 0xd1, 0x34, 0xff, 0x74, 0xfd, 0xa9, 0xff, 0x18, 0xd1, 0x34, 0xff, 0x67, 0xf7, 0x99, 0xff, 0x18, 0xd1, 0x34, 0xff, 0x18, 0xd1, 0x34, 0xff, 0x5a, 0xf1, 0x88, 0xff, 0x74, 0xfd, 0xa9, 0xff, 0x25, 0xd7, 0x44, 0xff, 0x4c, 0x8a, 0xb0, 0xff, 0x5a, 0xf1, 0x88, 0xff, 0x4c, 0x8a, 0xb0, 0xff, 0x38, 0x81, 0x7a, 0xff, 0x42, 0x86, 0x95, 0xff}}, + {1, {0xee, 0xb4, 0x08, 0x4e, 0x1d, 0x65, 0xf4, 0x07, 0xe7, 0x7b, 0xae, 0x4c, 0x4a, 0x9e, 0xd4, 0xe2}, + {0xb3, 0x65, 0x3f, 0xff, 0xbd, 0x6a, 0x34, 0xff, 0xc7, 0x6f, 0x28, 0xff, 0x6d, 0x77, 0xc5, 0xff, 0x74, 0x58, 0xd7, 0xff, 0xbd, 0x6a, 0x34, 0xff, 0xc7, 0x6f, 0x28, 0xff, 0xc7, 0x6f, 0x28, 0xff, 0x4e, 0xf7, 0x7a, 0xff, 0x7c, 0x39, 0xe9, 0xff, 0x7c, 0x39, 0xe9, 0xff, 0x9d, 0x5a, 0x58, 0xff, 0x93, 0x55, 0x64, 0xff, 0x74, 0x58, 0xd7, 0xff, 0x64, 0x9a, 0xb0, 0xff, 0x6d, 0x77, 0xc5, 0xff}}, + {2, {0xfc, 0x08, 0xec, 0x7f, 0x42, 0x25, 0x97, 0x03, 0x0a, 0x6c, 0x17, 0xa7, 0xc6, 0xd6, 0xf5, 0xad}, + {0x21, 0x52, 0x00, 0xff, 0x21, 0x52, 0x00, 0xff, 0x84, 0x94, 0xde, 0xff, 0x64, 0x7e, 0x95, 0xff, 0x94, 0x1b, 0xaf, 0xff, 0x41, 0x68, 0x49, 0xff, 0x84, 0x94, 0xde, 0xff, 0x41, 0x68, 0x49, 0xff, 0x94, 0x1b, 0xaf, 0xff, 0x8c, 0x37, 0xc3, 0xff, 0xff, 0x73, 0x8c, 0xff, 0xff, 0x73, 0x8c, 0xff, 0x8c, 0x37, 0xc3, 0xff, 0x94, 0x1b, 0xaf, 0xff, 0x94, 0x1b, 0xaf, 0xff, 0xf4, 0x62, 0x7b, 0xff}}, + {2, {0xf4, 0xa7, 0x51, 0xbe, 0xe4, 0x68, 0x8f, 0xdc, 0x8d, 0x7d, 0xc4, 0xaf, 0x29, 0xda, 0xb6, 0x4d}, + {0x79, 0x99, 0x96, 0xff, 0xc1, 0x76, 0xb1, 0xff, 0x9c, 0x8c, 0x63, 0xff, 0x52, 0x39, 0x42, 0xff, 0x5f, 0xb8, 0x8f, 0xff, 0xce, 0x6b, 0x31, 0xff, 0x98, 0x91, 0x5f, 0xff, 0x5f, 0xb8, 0x8f, 0xff, 0xce, 0x6b, 0x31, 0xff, 0x98, 0x91, 0x5f, 0xff, 0x5f, 0xb8, 0x8f, 0xff, 0xce, 0x6b, 0x31, 0xff, 0x98, 0x91, 0x5f, 0xff, 0x5f, 0xb8, 0x8f, 0xff, 0x98, 0x91, 0x5f, 0xff, 0x29, 0xde, 0xbd, 0xff}}, + {2, {0xfc, 0xd3, 0x18, 0x81, 0xd5, 0x45, 0x50, 0xb3, 0x8d, 0x2c, 0x72, 0xf1, 0xed, 0x36, 0x21, 0x6f}, + {0x3a, 0x47, 0x34, 0xff, 0x0d, 0x5e, 0x8a, 0xff, 0x08, 0x6b, 0xbd, 0xff, 0x18, 0x42, 0x21, 0xff, 0xad, 0x6b, 0xbd, 0xff, 0x28, 0x34, 0x47, 0xff, 0x13, 0x4f, 0x54, 0xff, 0x0d, 0x5e, 0x8a, 0xff, 0x63, 0xb5, 0xc6, 0xff, 0x63, 0xb5, 0xc6, 0xff, 0x28, 0x34, 0x47, 0xff, 0x18, 0x42, 0x21, 0xff, 0xad, 0x6b, 0xbd, 0xff, 0xad, 0x6b, 0xbd, 0xff, 0x95, 0x83, 0xc0, 0xff, 0x3a, 0x47, 0x34, 0xff}}, + {3, {0xf8, 0x41, 0x11, 0xf9, 0x71, 0x39, 0xfa, 0x42, 0x7b, 0xf0, 0x28, 0xcd, 0xb1, 0x32, 0x00, 0x0c}, + {0xa1, 0xcb, 0x3d, 0xff, 0x40, 0xb0, 0xb6, 0xff, 0xe4, 0x84, 0x47, 0xff, 0xd5, 0xab, 0x3e, 0xff, 0xd5, 0xab, 0x3e, 0xff, 0xa1, 0xcb, 0x3d, 0xff, 0x11, 0xa3, 0xf1, 0xff, 0xf3, 0x5f, 0x51, 0xff, 0xf3, 0x5f, 0x51, 0xff, 0xa1, 0xcb, 0x3d, 0xff, 0xa1, 0xcb, 0x3d, 0xff, 0xf3, 0x5f, 0x51, 0xff, 0xf3, 0x5f, 0x51, 0xff, 0xc6, 0xd0, 0x34, 0xff, 0xa1, 0xcb, 0x3d, 0xff, 0xa1, 0xcb, 0x3d, 0xff}}, + {3, {0xc8, 0x86, 0xe0, 0x7c, 0x0e, 0x7d, 0xf6, 0xd8, 0xb2, 0xdf, 0x14, 0xc3, 0x5a, 0x9d, 0xf9, 0x64}, + {0x43, 0xe9, 0xd9, 0xff, 0x39, 0xb7, 0x0d, 0xff, 0xf8, 0x1e, 0x28, 0xff, 0x77, 0xbe, 0xdb, 0xff, 0xb9, 0x50, 0x1f, 0xff, 0xe1, 0x67, 0xdf, 0xff, 0x77, 0xbe, 0xdb, 0xff, 0x78, 0x85, 0x16, 0xff, 0xb9, 0x50, 0x1f, 0xff, 0xad, 0x92, 0xdd, 0xff, 0xe1, 0x67, 0xdf, 0xff, 0x39, 0xb7, 0x0d, 0xff, 0x43, 0xe9, 0xd9, 0xff, 0xb9, 0x50, 0x1f, 0xff, 0x78, 0x85, 0x16, 0xff, 0x77, 0xbe, 0xdb, 0xff}}, + {3, {0xb8, 0xe8, 0x1b, 0x55, 0xa9, 0xcb, 0x28, 0xaf, 0x87, 0xa5, 0x44, 0xba, 0xb0, 0xbc, 0x63, 0x48}, + {0xf4, 0x5c, 0xc2, 0xff, 0x62, 0x7d, 0xaf, 0xff, 0xad, 0x6c, 0xb8, 0xff, 0xad, 0x6c, 0xb8, 0xff, 0x62, 0x7d, 0xaf, 0xff, 0x1b, 0x8d, 0xa5, 0xff, 0xad, 0x6c, 0xb8, 0xff, 0x1b, 0x8d, 0xa5, 0xff, 0xad, 0x6c, 0xb8, 0xff, 0xf4, 0x5c, 0xc2, 0xff, 0x1b, 0x8d, 0xa5, 0xff, 0xaa, 0xe4, 0x88, 0xff, 0xf4, 0x5c, 0xc2, 0xff, 0xa8, 0xe6, 0xa8, 0xff, 0xa6, 0xe8, 0xc9, 0xff, 0xaa, 0xe4, 0x88, 0xff}}, + {4, {0xd0, 0xdc, 0x5c, 0x22, 0xfe, 0x70, 0xe7, 0xcd, 0x03, 0x34, 0x76, 0x2a, 0x32, 0xce, 0x36, 0xe6}, + {0x9a, 0x51, 0x75, 0x7b, 0x4b, 0x0c, 0xdd, 0x37, 0xcd, 0xdf, 0x32, 0xa7, 0x64, 0xdf, 0xbc, 0x4d, 0xb4, 0x9a, 0x53, 0x91, 0x7e, 0x51, 0x9a, 0x63, 0x7e, 0x9a, 0x9a, 0x63, 0xcd, 0xdf, 0x32, 0xa7, 0x4b, 0x51, 0xdd, 0x37, 0xcd, 0x0c, 0x32, 0xa7, 0x9a, 0x0c, 0x75, 0x7b, 0x9a, 0x0c, 0x75, 0x7b, 0x9a, 0x9a, 0x75, 0x7b, 0x7e, 0x9a, 0x9a, 0x63, 0xcd, 0x51, 0x32, 0xa7, 0x31, 0x0c, 0xff, 0x21}}, + {4, {0x30, 0x9d, 0xd9, 0xdb, 0xce, 0xf8, 0x76, 0xe0, 0x13, 0x09, 0x55, 0x12, 0x08, 0x52, 0x7c, 0x5b}, + {0x9c, 0xb8, 0x5b, 0xc1, 0x9c, 0xba, 0x49, 0x91, 0x95, 0xbd, 0x39, 0x63, 0x95, 0xb5, 0x6b, 0xef, 0x95, 0xb5, 0x6b, 0xef, 0x8e, 0xb5, 0x6b, 0xef, 0x9c, 0xbd, 0x39, 0x63, 0x8e, 0xbd, 0x39, 0x63, 0x9c, 0xb8, 0x5b, 0xc1, 0x9c, 0xba, 0x49, 0x91, 0x95, 0xb5, 0x6b, 0xef, 0xb7, 0xba, 0x49, 0x91, 0xbe, 0xb5, 0x6b, 0xef, 0xb7, 0xb8, 0x5b, 0xc1, 0xb7, 0xb5, 0x6b, 0xef, 0x9c, 0xba, 0x49, 0x91}}, + {4, {0x70, 0x47, 0x59, 0x7b, 0x62, 0xb8, 0x55, 0xc0, 0x50, 0x04, 0x54, 0xcc, 0x4b, 0x28, 0x3b, 0xec}, + {0x41, 0xb5, 0x7f, 0x54, 0x4a, 0xb5, 0x7f, 0x71, 0x4a, 0xb5, 0x82, 0x71, 0x39, 0xb5, 0x71, 0x39, 0x39, 0xb5, 0x78, 0x39, 0x39, 0xb5, 0x6d, 0x39, 0x4a, 0xb5, 0x7f, 0x71, 0x41, 0xb5, 0x7f, 0x54, 0x39, 0xb5, 0x86, 0x39, 0x4a, 0xb5, 0x74, 0x71, 0x4a, 0xb5, 0x78, 0x71, 0x39, 0xb5, 0x74, 0x39, 0x4a, 0xb5, 0x7b, 0x71, 0x39, 0xb5, 0x86, 0x39, 0x39, 0xb5, 0x7b, 0x39, 0x39, 0xb5, 0x6d, 0x39}}, + {5, {0xe0, 0x00, 0xe1, 0x64, 0xbd, 0x8b, 0x0e, 0x45, 0xad, 0x67, 0x76, 0xc9, 0xf3, 0x22, 0x2c, 0x65}, + {0x2c, 0x60, 0x48, 0x85, 0x2c, 0x60, 0x43, 0x85, 0x2c, 0x60, 0x51, 0x85, 0x85, 0xd7, 0x51, 0xa3, 0x85, 0xd7, 0x4c, 0xa3, 0x00, 0x26, 0x43, 0x76, 0x85, 0xd7, 0x4c, 0xa3, 0x00, 0x26, 0x43, 0x76, 0x85, 0xd7, 0x43, 0xa3, 0x59, 0x9d, 0x51, 0x94, 0x85, 0xd7, 0x4c, 0xa3, 0x59, 0x9d, 0x43, 0x94, 0x00, 0x26, 0x48, 0x76, 0x2c, 0x60, 0x48, 0x85, 0x59, 0x9d, 0x4c, 0x94, 0x85, 0xd7, 0x48, 0xa3}}, + {5, {0x20, 0x62, 0x52, 0x50, 0x0e, 0xc1, 0x60, 0x86, 0xc9, 0x45, 0xc8, 0x0c, 0x5d, 0xa8, 0x8a, 0x84}, + {0xc5, 0x83, 0x20, 0x98, 0x9c, 0xa3, 0x25, 0x61, 0x71, 0xc5, 0x2b, 0x86, 0x48, 0xe5, 0x30, 0x86, 0x71, 0xc5, 0x2b, 0x98, 0xc5, 0x83, 0x20, 0x73, 0x71, 0xc5, 0x2b, 0x73, 0xc5, 0x83, 0x20, 0x73, 0xc5, 0x83, 0x20, 0x73, 0x9c, 0xa3, 0x25, 0x73, 0x71, 0xc5, 0x2b, 0x98, 0x9c, 0xa3, 0x25, 0x73, 0x71, 0xc5, 0x2b, 0x98, 0x9c, 0xa3, 0x25, 0x86, 0xc5, 0x83, 0x20, 0x98, 0x71, 0xc5, 0x2b, 0x73}}, + {5, {0xe0, 0xb6, 0x88, 0x70, 0x75, 0xd6, 0x66, 0xa9, 0xf5, 0xb3, 0xb2, 0xbc, 0x7f, 0x8a, 0xf6, 0x6a}, + {0x54, 0x76, 0x5f, 0xc6, 0x3a, 0x65, 0x6a, 0xbe, 0x22, 0x56, 0x6a, 0xb5, 0x22, 0x56, 0x5f, 0xb5, 0x54, 0x76, 0x64, 0xc6, 0x3a, 0x65, 0x64, 0xbe, 0x54, 0x76, 0x59, 0xc6, 0x54, 0x76, 0x64, 0xc6, 0x54, 0x76, 0x64, 0xc6, 0x3a, 0x65, 0x5f, 0xbe, 0x54, 0x76, 0x6a, 0xc6, 0x54, 0x76, 0x6a, 0xc6, 0x3a, 0x65, 0x64, 0xbe, 0x22, 0x56, 0x64, 0xb5, 0x54, 0x76, 0x64, 0xc6, 0x22, 0x56, 0x5f, 0xb5}}, + {6, {0xc0, 0x9b, 0x0e, 0x5a, 0xcb, 0x3a, 0xfd, 0x8a, 0x32, 0x16, 0x66, 0x77, 0xc8, 0x28, 0x46, 0x19}, + {0x6f, 0x9e, 0xb2, 0xee, 0x70, 0x96, 0xae, 0xce, 0x71, 0x8b, 0xaa, 0x9e, 0x6f, 0x9e, 0xb2, 0xee, 0x71, 0x8b, 0xaa, 0x9e, 0x71, 0x8b, 0xaa, 0x9e, 0x71, 0x87, 0xa8, 0x90, 0x71, 0x87, 0xa8, 0x90, 0x72, 0x84, 0xa7, 0x81, 0x73, 0x75, 0xa1, 0x43, 0x72, 0x84, 0xa7, 0x81, 0x70, 0x99, 0xb0, 0xdc, 0x71, 0x8b, 0xaa, 0x9e, 0x70, 0x92, 0xad, 0xbf, 0x72, 0x80, 0xa5, 0x73, 0x6f, 0x9e, 0xb2, 0xee}}, + {6, {0xc0, 0x1d, 0x46, 0x49, 0x9b, 0x72, 0x6d, 0xd6, 0x20, 0x7f, 0x68, 0x46, 0xce, 0x6a, 0xcb, 0x06}, + {0x77, 0x95, 0xa7, 0x6d, 0x6d, 0x8f, 0xa9, 0x76, 0x30, 0x68, 0xb8, 0xac, 0x56, 0x80, 0xaf, 0x8b, 0x51, 0x7d, 0xb0, 0x8e, 0x5a, 0x83, 0xae, 0x87, 0x5a, 0x83, 0xae, 0x87, 0x64, 0x89, 0xac, 0x7e, 0x34, 0x6b, 0xb7, 0xa8, 0x3e, 0x71, 0xb5, 0x9f, 0x47, 0x77, 0xb2, 0x97, 0x5a, 0x83, 0xae, 0x87, 0x43, 0x74, 0xb3, 0x9b, 0x3e, 0x71, 0xb5, 0x9f, 0x5a, 0x83, 0xae, 0x87, 0x77, 0x95, 0xa7, 0x6d}}, + {6, {0xc0, 0x93, 0x31, 0x00, 0x9e, 0x6b, 0xdd, 0xbd, 0x8e, 0xb6, 0x4d, 0x28, 0x65, 0x25, 0x44, 0xb3}, + {0x6c, 0x5c, 0xcf, 0xaf, 0x6f, 0x67, 0xcc, 0xa8, 0x68, 0x50, 0xd2, 0xb5, 0x7c, 0x8e, 0xc2, 0x94, 0x83, 0xa5, 0xbb, 0x88, 0x5f, 0x35, 0xd9, 0xc3, 0x6f, 0x67, 0xcc, 0xa8, 0x58, 0x1e, 0xe0, 0xcf, 0x63, 0x41, 0xd6, 0xbd, 0x68, 0x50, 0xd2, 0xb5, 0x63, 0x41, 0xd6, 0xbd, 0x58, 0x1e, 0xe0, 0xcf, 0x5f, 0x35, 0xd9, 0xc3, 0x5f, 0x35, 0xd9, 0xc3, 0x5b, 0x29, 0xdd, 0xc9, 0x7c, 0x8e, 0xc2, 0x94}}, + {7, {0x80, 0x78, 0xa4, 0x29, 0x67, 0x26, 0xf3, 0xac, 0x16, 0x5a, 0x57, 0xac, 0x65, 0x4e, 0x29, 0xf4}, + {0x93, 0xaa, 0xa1, 0x9e, 0x4d, 0x96, 0xb6, 0x2c, 0xcb, 0xcb, 0x82, 0xb2, 0x8a, 0xcb, 0x9a, 0xb2, 0xcb, 0xcb, 0x82, 0xb2, 0x76, 0xa7, 0xa5, 0x58, 0x9d, 0x86, 0xa7, 0x89, 0x9d, 0x86, 0xa7, 0x89, 0x4d, 0x96, 0xb6, 0x2c, 0x76, 0xa7, 0xa5, 0x58, 0x93, 0xaa, 0xa1, 0x9e, 0x8a, 0xcb, 0x9a, 0xb2, 0xa2, 0xba, 0x93, 0x86, 0x9d, 0x86, 0xa7, 0x89, 0xa6, 0x65, 0xae, 0x75, 0x76, 0xa7, 0xa5, 0x58}}, + {7, {0x80, 0x1f, 0x2b, 0xd9, 0x30, 0x7f, 0x13, 0x20, 0xf1, 0xbe, 0x76, 0x13, 0x8f, 0x0b, 0x61, 0x79}, + {0x4e, 0x91, 0x0b, 0x74, 0x4e, 0x91, 0x0b, 0x74, 0xcf, 0xbe, 0x8e, 0xbe, 0x67, 0x72, 0xae, 0x72, 0x34, 0x4d, 0xbe, 0x4d, 0x3b, 0xc3, 0x16, 0x6e, 0x61, 0x61, 0x00, 0x79, 0xcf, 0xbe, 0x8e, 0xbe, 0x9c, 0x99, 0x9e, 0x99, 0x61, 0x61, 0x00, 0x79, 0x3b, 0xc3, 0x16, 0x6e, 0x9c, 0x99, 0x9e, 0x99, 0x9c, 0x99, 0x9e, 0x99, 0x67, 0x72, 0xae, 0x72, 0x28, 0xf3, 0x20, 0x69, 0x4e, 0x91, 0x0b, 0x74}}, + {7, {0x80, 0x32, 0x31, 0xf9, 0xa7, 0x02, 0x1d, 0x5f, 0x8a, 0x2f, 0xa1, 0xf9, 0x1b, 0xf3, 0xfe, 0x24}, + {0x24, 0x4d, 0xe7, 0x5d, 0x34, 0x2c, 0x5d, 0x14, 0x24, 0x4d, 0xe7, 0x5d, 0x2f, 0x37, 0x8a, 0x2c, 0x29, 0x42, 0xba, 0x45, 0x2f, 0x37, 0x8a, 0x2c, 0xdf, 0x80, 0x85, 0xdc, 0x34, 0x2c, 0x5d, 0x14, 0x2f, 0x37, 0x8a, 0x2c, 0xff, 0x75, 0xe7, 0xe7, 0xff, 0x75, 0xe7, 0xe7, 0xff, 0x75, 0xe7, 0xe7, 0x24, 0x4d, 0xe7, 0x5d, 0x29, 0x42, 0xba, 0x45, 0xef, 0x7b, 0xb7, 0xe2, 0x24, 0x4d, 0xe7, 0x5d}}, +}; +// The pieces' pixels in the dump's menu/common.tpf.dcx, hashed (FNV-1a 64) as Pillow decodes them. +struct PieceHash { game_menu_art::Piece piece; std::uint64_t fnv; }; +const PieceHash kPieceHashes[] = { + {game_menu_art::kOrnament, 0x185641c21db136ddull}, + {game_menu_art::kBand, 0x37a4c490c3c677d4ull}, + {game_menu_art::kFiligree, 0x8ebf0aea281facccull}, + {game_menu_art::kRule, 0x42c5785178cb5cd5ull}, + {game_menu_art::kLabelLine, 0x4775bce0771f768aull}, + {game_menu_art::kValueEnd, 0xa67f2d4efc953c17ull}, + {game_menu_art::kGlow, 0x3f5320eaf1a7b1e5ull}, + {game_menu_art::kArrow, 0xa86c7909265a8e2full}, + {game_menu_art::kSlate, 0xbceff330ac318063ull}, + {game_menu_art::kSliderTrack, 0x3d362437cdfd3bddull}, + {game_menu_art::kSliderFill, 0xb89aec36cb7447d1ull}, + {game_menu_art::kIconCircle, 0xdaa08782ff5f2524ull}, + {game_menu_art::kIconDpad, 0x70572e1c4b7f99e4ull}, +}; + +// BC7's partitions and anchors as Pillow's decoder draws them (each read back from it with blocks made for it). +const std::uint16_t kWantPartition2[64] = { + 0xcccc, 0x8888, 0xeeee, 0xecc8, 0xc880, 0xfeec, 0xfec8, 0xec80, + 0xc800, 0xffec, 0xfe80, 0xe800, 0xffe8, 0xff00, 0xfff0, 0xf000, + 0xf710, 0x008e, 0x7100, 0x08ce, 0x008c, 0x7310, 0x3100, 0x8cce, + 0x088c, 0x3110, 0x6666, 0x366c, 0x17e8, 0x0ff0, 0x718e, 0x399c, + 0xaaaa, 0xf0f0, 0x5a5a, 0x33cc, 0x3c3c, 0x55aa, 0x9696, 0xa55a, + 0x73ce, 0x13c8, 0x324c, 0x3bdc, 0x6996, 0xc33c, 0x9966, 0x0660, + 0x0272, 0x04e4, 0x4e40, 0x2720, 0xc936, 0x936c, 0x39c6, 0x639c, + 0x9336, 0x9cc6, 0x817e, 0xe718, 0xccf0, 0x0fcc, 0x7744, 0xee22, +}; +const char kWantPartition3[64][17] = { + "0011001102212222", "0001001122112221", "0000200122112211", "0222002200110111", + "0000000011221122", "0011001100220022", "0022002211111111", "0011001122112211", + "0000000011112222", "0000111111112222", "0000111122222222", "0012001200120012", + "0112011201120112", "0122012201220122", "0011011211221222", "0011200122002220", + "0001001101121122", "0111001120012200", "0000112211221122", "0022002200221111", + "0111011102220222", "0001000122212221", "0000001101220122", "0000110022102210", + "0122012200110000", "0012001211222222", "0110122112210110", "0000011012211221", + "0022110211020022", "0110011020022222", "0011012201220011", "0000200022112221", + "0000000211221222", "0222002200120011", "0011001200220222", "0120012001200120", + "0000111122220000", "0120120120120120", "0120201212010120", "0011220011220011", + "0011112222000011", "0101010122222222", "0000000021212121", "0022112200221122", + "0022001100220011", "0220122102201221", "0101222222220101", "0000212121212121", + "0101010101012222", "0222011102220111", "0002111200021112", "0000211221122112", + "0222011101110222", "0002111211120002", "0110011001102222", "0000000021122112", + "0110011022222222", "0022001100110022", "0022112211220022", "0000000000002112", + "0002000100020001", "0222122202221222", "0101222222222222", "0111201122012220", +}; +const std::uint8_t kWantAnchor2[64] = { + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 2, 8, 2, 2, 8, 8, 15, 2, 8, 2, 2, 8, 8, 2, 2, + 15, 15, 6, 8, 2, 8, 15, 15, 2, 8, 2, 2, 2, 15, 15, 6, + 6, 2, 6, 8, 15, 15, 2, 2, 15, 15, 15, 15, 15, 2, 2, 15, +}; +const std::uint8_t kWantAnchor3a[64] = { + 3, 3, 15, 15, 8, 3, 15, 15, 8, 8, 6, 6, 6, 5, 3, 3, + 3, 3, 8, 15, 3, 3, 6, 10, 5, 8, 8, 6, 8, 5, 15, 15, + 8, 15, 3, 5, 6, 10, 8, 15, 15, 3, 15, 5, 15, 15, 15, 15, + 3, 15, 5, 5, 5, 8, 5, 10, 5, 10, 8, 13, 15, 12, 3, 3, +}; +const std::uint8_t kWantAnchor3b[64] = { + 15, 8, 8, 3, 15, 15, 3, 8, 15, 15, 15, 15, 15, 15, 15, 8, + 15, 8, 15, 3, 15, 8, 15, 8, 3, 15, 6, 10, 15, 15, 10, 8, + 15, 3, 15, 10, 10, 8, 9, 10, 6, 15, 8, 15, 3, 6, 6, 8, + 15, 3, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 3, 15, 15, 8, +}; + +// Bits written least significant first, as BC7 reads them. +struct BitWriter { + std::uint8_t b[16] = {}; + int at = 0; + void put(std::uint32_t v, int n) { + for (int i = 0; i < n; ++i, ++at) + if ((v >> i) & 1) b[at >> 3] |= static_cast(1 << (at & 7)); + } +}; + +// A mode 6 block of one colour: both endpoints (r, g, b, a) as 7 bits and a +// p-bit of 1, every index 0 - the colour (v << 1 | 1) in each channel. +void solid_block(std::uint8_t out[16], int r, int g, int b, int a) { + BitWriter w; + w.put(1 << 6, 7); + for (const int c : {r, g, b, a}) { + w.put(static_cast(c), 7); + w.put(static_cast(c), 7); + } + w.put(1, 1); + w.put(1, 1); + std::memcpy(out, w.b, 16); +} + +// A mode 1 (two subsets) or mode 2 (three) block of partition part: each +// subset's endpoints e0 and e1, every index 0, or every bit after the +// endpoints 1 (the anchors' indices then one bit short, so a step lower). +void partition_block(std::uint8_t out[16], int mode, int part, const int (*e)[2][3], bool ones) { + BitWriter w; + const int subsets = mode == 1 ? 2 : 3, bits = mode == 1 ? 6 : 5; + w.put(1u << mode, mode + 1); + w.put(static_cast(part), 6); + for (int c = 0; c < 3; ++c) + for (int s = 0; s < subsets; ++s) + for (int k = 0; k < 2; ++k) w.put(static_cast(e[s][k][c]), bits); + if (mode == 1) w.put(0, 2); // its shared p-bits + if (ones) + while (w.at < 128) w.put(1, 1); + std::memcpy(out, w.b, 16); +} + +std::uint64_t fnv(const std::vector& v) { + std::uint64_t h = 0xcbf29ce484222325ull; + for (const std::uint8_t x : v) { + h ^= x; + h *= 0x100000001b3ull; + } + return h; +} + +void put32(std::vector& b, std::size_t at, std::uint32_t v) { + for (int i = 0; i < 4; ++i) b[at + i] = static_cast(v >> (8 * i)); +} + +} // namespace + +int main() { + using namespace game_menu_art; + // ---- BC7 against Pillow's decoder + for (const Bc7Vector& v : kBc7Vectors) { + std::uint8_t px[64]; + decode_bc7(v.block, px); + const bool same = std::memcmp(px, v.rgba, 64) == 0; + if (!same) std::fprintf(stderr, "mode %d block differs\n", v.mode); + CHECK(same); + } + { + const std::uint8_t reserved[16] = {}; + std::uint8_t px[64]; + std::memset(px, 0xab, sizeof(px)); + decode_bc7(reserved, px); + bool zero = true; + for (const std::uint8_t x : px) zero = zero && x == 0; + CHECK(zero); // transparent black (Pillow gives it opaque) + std::uint8_t solid[16]; + solid_block(solid, 100, 50, 25, 127); + decode_bc7(solid, px); + CHECK(px[0] == 201 && px[1] == 101 && px[2] == 51 && px[3] == 255 && std::memcmp(px, px + 60, 4) == 0); + } + // ---- every partition and anchor of two and three subsets, as Pillow's + // decoder has them: each subset its own colour (red, green, blue) and + // all indices 0; then each subset dark to bright and every index bit 1, + // which leaves its anchor a step darker than the rest. + for (int part = 0; part < 64; ++part) { + for (const int mode : {1, 2}) { + const int top = mode == 1 ? 63 : 31; + const int flat[3][2][3] = {{{top, 0, 0}, {top, 0, 0}}, {{0, top, 0}, {0, top, 0}}, {{0, 0, top}, {0, 0, top}}}; + const int ramp[3][2][3] = {{{0, 0, 0}, {top, 0, 0}}, {{0, 0, 0}, {0, top, 0}}, {{0, 0, 0}, {0, 0, top}}}; + std::uint8_t b[16], px[64]; + partition_block(b, mode, part, flat, false); + decode_bc7(b, px); + bool same = true; + int subset_of[16]; + for (int i = 0; i < 16; ++i) { + const std::uint8_t* q = px + i * 4; + subset_of[i] = q[1] > q[0] && q[1] > q[2] ? 1 : q[2] > q[0] && q[2] > q[1] ? 2 : 0; + const int want = mode == 1 ? (kWantPartition2[part] >> i) & 1 : kWantPartition3[part][i] - '0'; + same = same && subset_of[i] == want; + } + partition_block(b, mode, part, ramp, true); + decode_bc7(b, px); + int anchors[3] = {-1, -1, -1}; + for (int i = 0; i < 16; ++i) { + const std::uint8_t* q = px + i * 4; + const int lit = std::max({q[0], q[1], q[2]}); + if (lit < 200) anchors[subset_of[i]] = anchors[subset_of[i]] < 0 ? i : 99; // one a subset + } + same = same && anchors[0] == 0; + if (mode == 1) same = same && anchors[1] == kWantAnchor2[part]; + else same = same && anchors[1] == kWantAnchor3a[part] && anchors[2] == kWantAnchor3b[part]; + if (!same) std::fprintf(stderr, "partition %d of mode %d differs from Pillow's\n", part, mode); + CHECK(same); + } + } + // ---- the tiling: 8x8-block tiles row-major, Morton order inside + CHECK(tiled_block_offset(0, 0, 8, 16) == 0); + CHECK(tiled_block_offset(1, 0, 8, 16) == 16); + CHECK(tiled_block_offset(0, 1, 8, 16) == 32); + CHECK(tiled_block_offset(2, 0, 8, 16) == 4 * 16); + CHECK(tiled_block_offset(7, 7, 8, 16) == 63 * 16); + CHECK(tiled_block_offset(8, 0, 16, 16) == 64 * 16); + CHECK(tiled_block_offset(0, 8, 16, 16) == 128 * 16); + CHECK(tiled_block_offset(9, 9, 16, 8) == (192 + 3) * 8); + // A 64 x 40 texture (16 x 10 blocks: tiles 2 x 2) whose blocks each hold + // their own (bx, by) as red and green; a region across the tiles' seams. + { + const int bw = 16, bh = 10; + std::vector tex(static_cast(16) * 16 * 16, 0); // padded to 16 x 16 blocks + for (int by = 0; by < bh; ++by) + for (int bx = 0; bx < bw; ++bx) solid_block(&tex[tiled_block_offset(bx, by, bw, 16)], bx * 4, by * 4, 0, 127); + std::vector out; + CHECK(decode_region(tex.data(), tex.size(), 64, 40, 30, 3, 37, 35, out)); + CHECK(out.size() == static_cast(7) * 32 * 4); + bool right = out.size() == static_cast(7) * 32 * 4; + for (int y = 3; right && y < 35; ++y) + for (int x = 30; x < 37; ++x) { + const std::uint8_t* p = &out[((y - 3) * 7 + (x - 30)) * 4]; + right = right && p[0] == ((x / 4) * 4 << 1 | 1) && p[1] == ((y / 4) * 4 << 1 | 1); + } + CHECK(right); + CHECK(!decode_region(tex.data(), tex.size(), 64, 40, 30, 3, 65, 35, out)); // outside it + CHECK(!decode_region(tex.data(), tex.size() - 16, 64, 40, 0, 0, 4, 4, out)); // its data cut short + } + // ---- a TPF and a DCX made here + { + std::vector tpf(0x10 + 0x24 + 16 + 64, 0); + std::memcpy(tpf.data(), "TPF\0", 4); + put32(tpf, 8, 1); + tpf[12] = 4; + const std::size_t e = 0x10, name = 0x10 + 0x24, data = name + 16; + put32(tpf, e, static_cast(data)); + put32(tpf, e + 4, 64); + tpf[e + 8] = 102; + tpf[e + 12] = 8; // 8 x 4 + tpf[e + 14] = 4; + put32(tpf, e + 0x18, static_cast(name)); + const char* n = "KG_OK"; + for (int i = 0; n[i]; ++i) tpf[name + 2 * i] = static_cast(n[i]); + std::vector t; + CHECK(parse_tpf(tpf, t)); + CHECK(t.size() == 1 && t[0].name == "KG_OK" && t[0].format == 102 && t[0].width == 8 && t[0].height == 4 && + t[0].offset == data && t[0].size == 64); + std::vector other = tpf; + other[12] = 1; // not a PS4 one + CHECK(!parse_tpf(other, t)); + other = tpf; + put32(other, e + 4, 4096); // its data beyond the file + CHECK(!parse_tpf(other, t)); + // The same TPF as a DCX: "DCX\0" ... "DCA\0", the stream's size, zlib. + uLongf zn = compressBound(static_cast(tpf.size())); + std::vector z(zn); + CHECK(compress(z.data(), &zn, tpf.data(), static_cast(tpf.size())) == Z_OK); + std::vector dcx(0x4c, 0); + std::memcpy(dcx.data(), "DCX\0", 4); + std::memcpy(dcx.data() + 0x18, "DCS\0", 4); + std::memcpy(dcx.data() + 0x24, "DCP\0DFLT", 8); + std::memcpy(dcx.data() + 0x44, "DCA\0", 4); + put32(dcx, 0x48, 8); + dcx.insert(dcx.end(), z.begin(), z.begin() + static_cast(zn)); + std::vector back; + CHECK(inflate_dcx(dcx, back) && back == tpf); + dcx[0] = 'X'; + CHECK(!inflate_dcx(dcx, back)); + } + // ---- halving: each 2x2 block averaged by its alpha, an odd last column dropped + { + std::vector px = { + 200, 0, 0, 255, 100, 0, 0, 255, 9, 9, 9, 9, // a 3 x 2 picture + 255, 255, 255, 0, 100, 0, 0, 255, 9, 9, 9, 9, + }; + const std::vector h = halve(px, 3, 2); + CHECK(h.size() == 4); + // (200*255 + 100*255 + 100*255) / (3 * 255) = 133, the transparent (white) texel adding nothing; alpha 765 / 4 + CHECK(h.size() == 4 && h[0] == 133 && h[1] == 0 && h[2] == 0 && h[3] == 191); + } + // ---- additive art as straight alpha + { + std::uint8_t px[12] = {0, 0, 0, 255, 128, 64, 0, 255, 255, 255, 255, 255}; + additive_to_alpha(px, 3); + CHECK(px[0] == 0 && px[1] == 0 && px[2] == 0 && px[3] == 0); + CHECK(px[4] == 255 && px[5] == 128 && px[6] == 0 && px[7] == 128); + CHECK(px[8] == 255 && px[9] == 255 && px[10] == 255 && px[11] == 255); + } + // ---- the five-part stretch: the ends and the middle keep their size + { + const Slices& s = slices(kOrnament); + Span sp{}; + CHECK(stretch(s, 500.0f, 1.0f, sp)); + CHECK(sp.x0[0] == 0.0f && sp.x1[4] == 500.0f); + CHECK(sp.x1[0] - sp.x0[0] == 44.0f && sp.x1[2] - sp.x0[2] == 148.0f && sp.x1[4] - sp.x0[4] == 45.0f); + CHECK(sp.x1[1] - sp.x0[1] == sp.x1[3] - sp.x0[3]); + for (int i = 0; i < 4; ++i) CHECK(sp.x1[i] == sp.x0[i + 1]); + CHECK(stretch(s, 237.0f, 1.0f, sp) && sp.x1[1] == sp.x0[1]); // just the fixed parts + CHECK(!stretch(s, 236.0f, 1.0f, sp)); + CHECK(stretch(s, 300.0f, 0.5f, sp) && sp.x1[0] == 22.0f && sp.x1[2] - sp.x0[2] == 74.0f); + CHECK(slices(kSlate).x[5] == 0.0f); // a whole piece: no parts + } + // ---- the packing + { + std::vector> pixels(kPieceCount); + std::vector w(kPieceCount, 0), h(kPieceCount, 0); + for (int i = 0; i < 6; ++i) { + w[i] = 10 + i * 7; + h[i] = 3 + i * 5; + pixels[i].assign(static_cast(w[i]) * h[i] * 4, static_cast(i + 1)); + pixels[i][0] = 200; // the top-left texel: repeated into the gap above and left of it + pixels[i][pixels[i].size() - 4] = 201; // and the bottom-right one into the gap below and right of it + } + Atlas a; + constexpr int A = 128; + CHECK(pack(pixels, w, h, A, A, a)); + int placed = 0; + for (int i = 0; i < kPieceCount; ++i) { + const Placed& p = a.piece[i]; + if (i >= 6) { + CHECK(!p.present); + continue; + } + CHECK(p.present && p.w == w[i] && p.h == h[i]); + const int x = static_cast(p.u0 * A + 0.5f), y = static_cast(p.v0 * A + 0.5f); + CHECK(x >= 2 && y >= 2 && x + p.w + 2 <= A && y + p.h + 2 <= A); + CHECK(p.u1 * A == static_cast(x + p.w) && p.v1 * A == static_cast(y + p.h)); + CHECK(a.rgba[(static_cast(y + 1) * A + x + 1) * 4] == static_cast(i + 1)); + CHECK(a.rgba[(static_cast(y - 2) * A + x - 2) * 4] == 200); // the corner's texel, out in the gap + CHECK(a.rgba[(static_cast(y + p.h + 1) * A + x + p.w + 1) * 4] == 201); + for (int j = 0; j < i; ++j) { // apart, their gaps too + const Placed& q = a.piece[j]; + const int qx = static_cast(q.u0 * A + 0.5f), qy = static_cast(q.v0 * A + 0.5f); + const bool apart = x + p.w + 2 <= qx - 2 || qx + q.w + 2 <= x - 2 || y + p.h + 2 <= qy - 2 || qy + q.h + 2 <= y - 2; + CHECK(apart); + } + ++placed; + } + CHECK(placed == 6); + CHECK(!pack(pixels, w, h, 40, 40, a)); // too small for them + } + // ---- the dump's own art + const char* app0 = std::getenv("BBHOST_APP0"); + std::vector file; + if (app0 && *app0) { + for (const char* rel : {"/dvdroot_ps4/menu/common.tpf.dcx", "/menu/common.tpf.dcx"}) { + std::ifstream f(std::string(app0) + rel, std::ios::binary); + if (!f) continue; + file.assign(std::istreambuf_iterator(f), std::istreambuf_iterator()); + break; + } + } + if (file.empty()) { + std::printf("game_menu_art_test: the dump's part skipped (no menu/common.tpf.dcx under BBHOST_APP0)\n"); + } else { + std::vector tpf; + CHECK(inflate_dcx(file, tpf)); + std::vector t; + CHECK(parse_tpf(tpf, t)); + for (const PieceHash& want : kPieceHashes) { + const Source& s = source(want.piece); + const TpfTexture* tex = nullptr; + for (const TpfTexture& x : t) + if (x.name == s.texture) tex = &x; + CHECK(tex != nullptr); + if (!tex) continue; + std::vector px; + CHECK(decode_region(tpf.data() + tex->offset, tex->size, tex->width, tex->height, s.x0, s.y0, s.x1, s.y1, px)); + const bool same = fnv(px) == want.fnv; + if (!same) std::fprintf(stderr, "piece %d (%s) differs from Pillow's\n", static_cast(want.piece), s.texture); + CHECK(same); + } + Atlas a; + std::string why; + CHECK(build(tpf, a, &why)); + for (int i = 0; i < kPieceCount; ++i) CHECK(a.piece[i].present); + CHECK(a.width == 1024 && a.height == 512 && a.rgba.size() == static_cast(1024) * 512 * 4); + std::printf("game_menu_art_test: %zu textures in common.tpf; every piece as Pillow decodes it\n", t.size()); + } + if (g_failures) { + std::fprintf(stderr, "game_menu_art_test: %d failure(s)\n", g_failures); + return 1; + } + std::printf("game_menu_art_test: ok\n"); + return 0; +} From d29f9494b0a9bad63cfe607f0c2f751152592ef2 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 16:34:34 -0800 Subject: [PATCH 056/100] plugins: a plugin's panel drawn with the game's own menu art - the options dialog's ornaments, rules, glow, arrows, slider and key guide icons on the menus' slate Beside the game's own options dialog (bbhost's PC Settings page, the dialog the original photo mode opened its pages in) the panel had the same letters but a look of its own: a flat dark plate between thin drawn rules with a diamond, where the dialog has its ornament - a crest over a rule with scrolled ends - at its top and foot; no column rule, the labels ending short of the middle and a faint line across each row, where the dialog has its column rule and filigree, each label's line fading out to the left and each value's line with scrolled ends; a flat gold band across the row with the cursor, where the dialog has its textured gold glow behind the label and on the value; drawn gold triangles for its grey arrows; ImGui's slider frames; the help and the guide set left, not centred, and the guide in words, not the key guide's icons. It now draws as the dialog does, with its art (host/game_menu_art.h): the slate of the game's menus behind it (the dialog dims the screen instead, and a panel over the world needs a plate); at its top and foot the ornament and its band, the rule stretched between the ends and the crest, which keep their size; under the title and over the help the plain rule with the filigree where the column rule meets them, its finial down and up; the column rule down the middle between the labels and the values; under each label its line, fading out to the left; under each value its line with the scrolled ends hanging from it; the gold glow behind the row with the cursor, brightest at the column rule and on the value, and no plate under a value - the row under the pointer a fainter glow; the dialog's arrows either side of a choice and at the title's page turns; a slider's track and filling with a thin gold mark at the value; the help and the guide centred; the controller's guide with the key guide's icons for the buttons it names (L1, R1, L2, R2, L3, R3, Circle, Cross, Triangle, Square, the d-pad). The ornaments at 0.53 of their pixels to a unit of the menus' scale - 0.4 in a 720-line picture, as the dialog draws them. It stays an overlay: up while the camera flies, never in the game's menu stack, one size for every page. Each piece the dump lacks is drawn as before; BBHOST_MENU_ART=0 shows that look whole. A plugin with panel pages has the art read as it loads, on a thread of its own, so the panel's first frame does not wait for it. BBHOST_PANEL_PREVIEW=[:] (a test aid) puts a plugin's panel up from the first frame the menus draw, at the title too, with BBHOST_PANEL_PREVIEW_GUIDE, _GUIDE_KEYS and _PAD for its guide. Screenshots on lavapipe at 1280x720 beside the PC Settings dialog: all 24 pieces found; photo mode's six pages one size (446x395); the cursor on a slider, a switch, a choice and Defaults, a switch changed, the pointer on another row; the controller's guide with its icons; and with BBHOST_MENU_ART=0 the drawn look as before. Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 39 ++-- include/bbhost_plugin.h | 3 +- src/host/ingame_menu.cpp | 1 + src/host/plugin_panel.cpp | 472 +++++++++++++++++++++++++++++++++----- src/host/plugin_panel.h | 11 + src/host/plugins.cpp | 11 + 6 files changed, 465 insertions(+), 72 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index 3d8ca1af..b1c4ad57 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -307,23 +307,28 @@ over the game. (`NULL`). Its pages are the plugin's own options table: a `BB_OPT_HEADING` with `BB_OPT_PANEL` or-ed in starts a page, the rows under it up to the next heading are on it, and neither shows in the menus. It is drawn over the game - at the bottom right in the look of the game's own menus - their serif - letters, a dark plate between thin rules, the page's name in gold, the row - with the cursor lit gold, a switch or a choice shown as its value between - two arrows - at one size for every page (its longest page's rows and room - for its longest help), so it never moves as rows or pages change; Menu hue - and Menu vibrance, which colour bbhost's menus, leave it as it is. Its rows' - changes go to - `on_option` as the menus' do (so its rows want `BB_OPT_LIVE`), the help of - the row in use under them, then `guide` or `guide_keys` - whichever device - the player used last. The controller drives it (the d-pad up and down to a - row, left and right to change it, Cross to set a switch or press a button, - L1 and R1 the pages, Circle closes it), as do the keyboard (the arrows, - Enter, Page Up and Page Down or Q and E, Escape) and the pointer, which is - free while it is up. While it is up neither the game nor the plugins' `pad` - and `input` read those buttons and keys; everything else is as it was. - `BB_PANEL_DEFAULTS` ends each page with a Defaults row. One panel at a time; - turning the plugin off takes it down. + at the bottom right as the game's own options dialog draws its pages, with + the game's own art read from the player's dump at start (nothing of it is + shipped): its menu letters, the slate its menus lie on, the dialog's + ornament at the top and foot, the filigree and the column rule between the + labels and the values, each label's line and each value's scrolled line, the + golden glow on the row with the cursor, the arrows either side of a choice, + the sliders' track, and the key guide's button icons in the controller's + guide. A piece the dump lacks is drawn plainly instead (thin rules, a dark + plate, a gold band, drawn arrows). It keeps one size for every page (its + longest page's rows and room for its longest help), so it never moves as + rows or pages change; Menu hue and Menu vibrance, which colour bbhost's + menus, leave it as it is. Its rows' changes go to `on_option` as the menus' + do (so its rows want `BB_OPT_LIVE`), the help of the row in use under them, + then `guide` or `guide_keys` - whichever device the player used last. The + controller drives it (the d-pad up and down to a row, left and right to + change it, Cross to set a switch or press a button, L1 and R1 the pages, + Circle closes it), as do the keyboard (the arrows, Enter, Page Up and Page + Down or Q and E, Escape) and the pointer, which is free while it is up. + While it is up neither the game nor the plugins' `pad` and `input` read + those buttons and keys; everything else is as it was. `BB_PANEL_DEFAULTS` + ends each page with a Defaults row. One panel at a time; turning the plugin + off takes it down. - `panel_state(name, &state)`: `BbPanelState` (set `state.size` first) - whether the panel is up, whether the player closed it (Circle, Escape) since the last call, and the page shown or shown last, by its heading's key. diff --git a/include/bbhost_plugin.h b/include/bbhost_plugin.h index ba6cd75d..5f528465 100644 --- a/include/bbhost_plugin.h +++ b/include/bbhost_plugin.h @@ -1085,7 +1085,8 @@ typedef struct BbHostApi { int (*post_look)(const char* name, const BbLook* look, uint32_t* available); /* The plugin's panel up (BbPanel) or down (NULL): the pages of its options * table it marks with BB_OPT_PANEL, drawn over the game at the bottom - * right in the look of the game's own menus and at one size for every + * right as the game's options dialog draws its pages - its art and + * letters, read from the player's dump - and at one size for every * page (its longest page and its longest help), their changes going to on_option as * the menus' do (the rows want BB_OPT_LIVE). The controller drives it - * the d-pad up and down to a row, left and right to change it, Cross to diff --git a/src/host/ingame_menu.cpp b/src/host/ingame_menu.cpp index 6b8f74a0..70764df9 100644 --- a/src/host/ingame_menu.cpp +++ b/src/host/ingame_menu.cpp @@ -985,6 +985,7 @@ bool finish_frame(bool menu) { // presenter nothing but this check). bool build_frame(VkExtent2D extent) { const bool menu = host_options_open(); + if (g_vk_ready) plugin_panel_preview_tick(); // BBHOST_PANEL_PREVIEW (a test aid) const bool panel = !menu && plugin_panel_shown(); // a plugin's panel (host/plugin_panel.h) while no menu is up if (!g_vk_ready || (!menu && !panel)) { g_ui.scanned = false; // read the files again when it next opens diff --git a/src/host/plugin_panel.cpp b/src/host/plugin_panel.cpp index f2c10b79..c14a7298 100644 --- a/src/host/plugin_panel.cpp +++ b/src/host/plugin_panel.cpp @@ -2,6 +2,7 @@ #include "host/plugin_panel.h" #include "bbhost_plugin.h" +#include "host/game_menu_art.h" #include "host/plugins.h" #include "log.h" @@ -39,9 +40,38 @@ std::map g_closed; // under g_mu: closed by the std::map g_last_page; // under g_mu: the page each plugin's panel showed last std::atomic g_shown{false}; std::atomic g_appeared{false}; // shown since the last frame drew it: give it the focus - } // namespace +void plugin_panel_preload() { game_menu_art::preload(); } + +void plugin_panel_preview_tick() { + static const std::string want = [] { + const char* e = std::getenv("BBHOST_PANEL_PREVIEW"); + return std::string(e ? e : ""); + }(); + static bool done = want.empty(); + static int tries = 0; + if (done) return; + if (++tries > 3600) { // a minute of frames and no such plugin + done = true; + host_log("plugin: no panel to preview for BBHOST_PANEL_PREVIEW=%s", want.c_str()); + return; + } + PluginPanelShow how; + const std::size_t colon = want.find(':'); + const std::string name = want.substr(0, colon); + if (colon != std::string::npos) how.page = want.substr(colon + 1); + const char* g = std::getenv("BBHOST_PANEL_PREVIEW_GUIDE"); + const char* gk = std::getenv("BBHOST_PANEL_PREVIEW_GUIDE_KEYS"); + how.guide = g ? g : ""; + how.guide_keys = gk ? gk : ""; + how.defaults = true; + if (plugin_panel_show(name, how)) { + done = true; + host_log("plugin: %s's panel shown for a preview (BBHOST_PANEL_PREVIEW)", name.c_str()); + } +} + bool plugin_panel_show(const std::string& name, const PluginPanelShow& how) { PluginEntry entry; bool found = false; @@ -211,6 +241,66 @@ void value_arrows(ImDrawList* dl, ImVec2 a, ImVec2 b, float s, ImU32 col) { dl->AddTriangleFilled(ImVec2(b.x - in, cy), ImVec2(b.x - in - w, cy - h), ImVec2(b.x - in - w, cy + h), col); } +// The game's own menu art (host/game_menu_art.h), where the dump has it: the +// options dialog's pieces drawn as it draws them, at `k` of their pixels to a +// screen pixel. Each piece the dump lacks is drawn as above instead. +struct Art { + const game_menu_art::Atlas* atlas = nullptr; + ImTextureRef tex; + float k = 1.0f; + bool has(game_menu_art::Piece p) const { return atlas && atlas->piece[p].present; } + float w(game_menu_art::Piece p) const { return static_cast(atlas->piece[p].w) * k; } + float h(game_menu_art::Piece p) const { return static_cast(atlas->piece[p].h) * k; } + // The piece's columns [px0, px1) of its own pixels (all of it by default) + // over [a, b], mirrored across x and/or y. + void image(ImDrawList* dl, game_menu_art::Piece p, ImVec2 a, ImVec2 b, ImU32 tint, bool flip_x = false, bool flip_y = false, + float px0 = 0.0f, float px1 = -1.0f) const { + const game_menu_art::Placed& q = atlas->piece[p]; + if (px1 < 0.0f) px1 = static_cast(q.w); + float u0 = q.u0 + (q.u1 - q.u0) * px0 / static_cast(q.w), u1 = q.u0 + (q.u1 - q.u0) * px1 / static_cast(q.w); + float v0 = q.v0, v1 = q.v1; + if (flip_x) std::swap(u0, u1); + if (flip_y) std::swap(v0, v1); + dl->AddImage(tex, a, b, ImVec2(u0, v0), ImVec2(u1, v1), tint); + } + // A five-part piece (the ornament, the band) across [x0, x1] from `top`: + // its ends and middle at their size, the rule between them stretched. + bool span(ImDrawList* dl, game_menu_art::Piece p, float x0, float x1, float top, ImU32 tint, bool flip_y) const { + game_menu_art::Span sp{}; + const game_menu_art::Slices& s = game_menu_art::slices(p); + if (!game_menu_art::stretch(s, x1 - x0, k, sp)) return false; + for (int i = 0; i < 5; ++i) { + if (sp.x1[i] <= sp.x0[i]) continue; + image(dl, p, ImVec2(x0 + sp.x0[i], top), ImVec2(x0 + sp.x1[i], top + h(p)), tint, false, flip_y, s.x[i], s.x[i + 1]); + } + return true; + } + // A plain rule across [x0, x1] centred on y, its thin line at least a + // pixel high. + void rule(ImDrawList* dl, float x0, float x1, float y, ImU32 tint) const { + const float hh = std::max(h(game_menu_art::kRule), 3.0f); + image(dl, game_menu_art::kRule, ImVec2(x0, y - hh * 0.5f), ImVec2(x1, y + hh * 0.5f), tint); + } +}; + +// The art at this frame's scale, or none: the atlas and its texture in the +// menus' context (registered with it the first time). +Art menu_art(float s) { + Art a; + a.atlas = game_menu_art::menu_art(); + if (!a.atlas) return a; + ImTextureData* t = game_menu_art_texture(); + if (!t) { + a.atlas = nullptr; + return a; + } + a.tex = t->GetTexRef(); + // The options dialog draws its ornaments at about 0.4 of their pixels in + // a 720-line picture; the panel is 560 wide at a scale of 1, 420 at 720. + a.k = 0.53f * s; + return a; +} + // The nav cursor onto the item just drawn, as the d-pad would put it there: // SetKeyboardFocusHere would open a slider's text field instead. void take_cursor(bool now) { @@ -234,8 +324,11 @@ struct RowOut { }; // One row in [a, b]: its label right-aligned before `mid`, its widget across -// the value column after it. -RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, float mid, float s, bool cursor) { +// the value column after it. With the game's art: the label's line fading out +// to the left, the value's line with its scrolled ends, a slider's track and +// its filled part (all under the widget, the draw list's first channel), and +// the choice's arrows the dialog's own. +RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, float mid, float s, bool cursor, const Art& art) { RowOut out; ImGui::PushID(o.key.c_str()); const std::string value = plugins_option_value(p, o); @@ -245,10 +338,12 @@ RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, const float gap = 14.0f * s; const ImVec2 val_a(mid + gap, a.y + (b.y - a.y - frame_h) * 0.5f); const ImVec2 val_size(b.x - val_a.x, frame_h); + const ImU32 art_tint = grey ? IM_COL32(255, 255, 255, 110) : IM_COL32(255, 255, 255, 235); ImGui::BeginDisabled(grey); ImGui::SetCursorScreenPos(val_a); ImGui::SetNextItemWidth(val_size.x); - bool arrows = false; // the value is one of a list: arrows either side while it has the cursor + bool arrows = false; // the value is one of a list: arrows either side while it has the cursor + bool underline = false; // its value's line under it (the game's art) switch (o.type) { case BB_OPT_BOOL: { const bool on = value == "true" || value == "1"; @@ -256,8 +351,10 @@ RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, if (value_button(o.key.c_str(), on ? "On" : "Off", val_size, false)) to = !on; take_cursor(cursor); if (ImGui::IsItemFocused() && !grey && step_pressed() != 0) to = !on; - if (to != on) plugins_set_option(p.name, o.key, to ? "true" : "false"); - arrows = true; + if (to != on) { + plugins_set_option(p.name, o.key, to ? "true" : "false"); + } + arrows = underline = true; break; } case BB_OPT_INT: @@ -279,7 +376,16 @@ RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, const float num_w = std::max(nf->CalcTextSizeA(nfs, FLT_MAX, 0.0f, shown(o.min).c_str()).x, nf->CalcTextSizeA(nfs, FLT_MAX, 0.0f, shown(o.max).c_str()).x) + gap; - ImGui::SetNextItemWidth(std::max(val_size.x - num_w, 8.0f * s)); + const float bar_w = std::max(val_size.x - num_w, 8.0f * s); + const bool track = art.has(game_menu_art::kSliderTrack) && art.has(game_menu_art::kSliderFill); + if (track) { // the game's track and filling, a thin mark of ours: none of the widget's own + ImGui::PushStyleColor(ImGuiCol_FrameBg, IM_COL32(0, 0, 0, 0)); + ImGui::PushStyleColor(ImGuiCol_FrameBgHovered, IM_COL32(0, 0, 0, 0)); + ImGui::PushStyleColor(ImGuiCol_FrameBgActive, IM_COL32(0, 0, 0, 0)); + ImGui::PushStyleColor(ImGuiCol_SliderGrab, IM_COL32(0, 0, 0, 0)); + ImGui::PushStyleColor(ImGuiCol_SliderGrabActive, IM_COL32(0, 0, 0, 0)); + } + ImGui::SetNextItemWidth(bar_w); if (o.type == BB_OPT_INT) { int iv = static_cast(std::lround(v)); if (ImGui::SliderInt("##v", &iv, static_cast(o.min), static_cast(o.max), "")) g_drag[id] = iv; @@ -289,6 +395,22 @@ RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, if (ImGui::SliderFloat("##v", &fv, static_cast(o.min), static_cast(o.max), "")) g_drag[id] = fv; v = fv; } + if (track) { + ImGui::PopStyleColor(5); + const float th = std::max(frame_h * 0.42f, 4.0f), fh = th * 0.5f; + const float cy = val_a.y + frame_h * 0.5f; + const float f = o.max > o.min ? static_cast((v - o.min) / (o.max - o.min)) : 0.0f; + dl->ChannelsSetCurrent(0); + art.image(dl, game_menu_art::kSliderTrack, ImVec2(val_a.x, cy - th * 0.5f), ImVec2(val_a.x + bar_w, cy + th * 0.5f), art_tint); + const float fx = val_a.x + 2.0f * s + (bar_w - 4.0f * s) * std::clamp(f, 0.0f, 1.0f); + if (fx > val_a.x + 2.0f * s) + art.image(dl, game_menu_art::kSliderFill, ImVec2(val_a.x + 2.0f * s, cy - fh * 0.5f), ImVec2(fx, cy + fh * 0.5f), + art_tint, false, false, 0.0f, std::max(1.0f, art.atlas->piece[game_menu_art::kSliderFill].w * std::clamp(f, 0.0f, 1.0f))); + dl->ChannelsSetCurrent(1); + const bool lit = ImGui::IsItemFocused() || ImGui::IsItemActive(); + const ImU32 mark = grey ? look::kTextDim : lit ? look::kGoldLit : look::kGold; + dl->AddRectFilled(ImVec2(fx - 1.5f * s, cy - th * 0.8f), ImVec2(fx + 1.5f * s, cy + th * 0.8f), mark); + } { const std::string t = shown(v); const ImVec2 ts = nf->CalcTextSizeA(nfs, FLT_MAX, 0.0f, t.c_str()); @@ -307,7 +429,9 @@ RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, changed = true; } } - if (changed) plugins_set_option(p.name, o.key, number_text(o, v)); + if (changed) { + plugins_set_option(p.name, o.key, number_text(o, v)); + } break; } case BB_OPT_CHOICE: { @@ -324,13 +448,17 @@ RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, if (ImGui::IsItemFocused() && !grey && n) { if (const int d = step_pressed()) to = (cur + d + n) % n; } - if (to != cur) plugins_set_option(p.name, o.key, choices[static_cast(to)]); - arrows = true; + if (to != cur) { + plugins_set_option(p.name, o.key, choices[static_cast(to)]); + } + arrows = underline = true; break; } case BB_OPT_ACTION: ImGui::SetCursorScreenPos(ImVec2(a.x, val_a.y)); - if (value_button(o.key.c_str(), o.label, ImVec2(b.x - a.x, frame_h), false)) plugins_run_action(p.name, o.key); + if (value_button(o.key.c_str(), o.label, ImVec2(b.x - a.x, frame_h), false)) { + plugins_run_action(p.name, o.key); + } take_cursor(cursor); break; default: @@ -339,7 +467,37 @@ RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, } out.focused = ImGui::IsItemFocused(); out.hot = out.focused || ImGui::IsItemHovered(); - if (arrows && out.focused) value_arrows(dl, val_a, val_a + val_size, s, grey ? look::kTextDim : look::kGold); + // The value's line, its scrolled ends hanging under it (the art's left + // end turned over, mirrored on the right), and the label's. + if (underline && art.has(game_menu_art::kValueEnd) && art.has(game_menu_art::kRule)) { + const float y = b.y - 4.0f * s; + const float ew = art.w(game_menu_art::kValueEnd), eh = art.h(game_menu_art::kValueEnd); + const float x0 = val_a.x + 2.0f * s, x1 = b.x - 2.0f * s; + dl->ChannelsSetCurrent(0); + art.image(dl, game_menu_art::kValueEnd, ImVec2(x0, y - 1.0f), ImVec2(x0 + ew, y - 1.0f + eh), art_tint, false, true); + art.image(dl, game_menu_art::kValueEnd, ImVec2(x1 - ew, y - 1.0f), ImVec2(x1, y - 1.0f + eh), art_tint, true, true); + art.rule(dl, x0 + ew - 1.0f, x1 - ew + 1.0f, y, art_tint); + dl->ChannelsSetCurrent(1); + } + if (o.type != BB_OPT_ACTION && art.has(game_menu_art::kLabelLine)) { + const float lh = std::max(art.h(game_menu_art::kLabelLine), 2.0f); + dl->ChannelsSetCurrent(0); + art.image(dl, game_menu_art::kLabelLine, ImVec2(a.x, b.y - 2.0f * s - lh * 0.5f), ImVec2(mid - 3.0f * s, b.y - 2.0f * s + lh * 0.5f), + art_tint); + dl->ChannelsSetCurrent(1); + } + if (arrows && out.focused) { + if (art.has(game_menu_art::kArrow)) { + const float ah = std::round(ImGui::GetFontSize() * 1.05f), aw = ah * art.atlas->piece[game_menu_art::kArrow].w / + static_cast(art.atlas->piece[game_menu_art::kArrow].h); + const float cy = val_a.y + frame_h * 0.5f, in = 4.0f * s; + const ImU32 t = grey ? IM_COL32(255, 255, 255, 110) : IM_COL32(255, 255, 255, 255); + art.image(dl, game_menu_art::kArrow, ImVec2(val_a.x + in, cy - ah * 0.5f), ImVec2(val_a.x + in + aw, cy + ah * 0.5f), t, true); + art.image(dl, game_menu_art::kArrow, ImVec2(b.x - in - aw, cy - ah * 0.5f), ImVec2(b.x - in, cy + ah * 0.5f), t); + } else { + value_arrows(dl, val_a, val_a + val_size, s, grey ? look::kTextDim : look::kGold); + } + } // The label, set against the middle, as the game's are. if (o.type != BB_OPT_ACTION) { ImFont* f = ImGui::GetFont(); @@ -360,10 +518,97 @@ float wrapped_height(const std::string& text, float size, float width) { return ImGui::GetFont()->CalcTextSizeA(size, FLT_MAX, width, text.c_str()).y; } +// Text across [x0, x1] from `top`, wrapped at the width and each line centred, +// as the game's dialogs set their help: the height it took. +float centred_text(ImDrawList* dl, ImFont* f, float size, float x0, float x1, float top, ImU32 col, const std::string& text) { + const char* at = text.c_str(); + const char* end = at + text.size(); + float y = top; + const float line = f->CalcTextSizeA(size, FLT_MAX, 0.0f, "A").y; + while (at < end) { + const char* brk = f->CalcWordWrapPosition(size, at, end, x1 - x0); + if (brk == at) brk = at + 1; + const char* stop = brk; + while (stop > at && (stop[-1] == ' ' || stop[-1] == '\n')) --stop; + const ImVec2 ts = f->CalcTextSizeA(size, FLT_MAX, 0.0f, at, stop); + dl->AddText(f, size, ImVec2((x0 + x1 - ts.x) * 0.5f, y), col, at, stop); + y += line; + at = brk; + while (at < end && (*at == ' ' || *at == '\n')) ++at; + } + return y - top; +} + +// The controller's guide with the game's key guide icons for the buttons it +// names (L1, R1, L3, R3, Circle, Cross, Triangle, Square, d-pad), centred; +// false, and nothing drawn, when the art lacks one it names. +bool guide_with_icons(ImDrawList* dl, ImFont* f, float size, float x0, float x1, float y, ImU32 col, const std::string& text, + const Art& art) { + using game_menu_art::Piece; + static const std::pair kButtons[] = { + {"L1", game_menu_art::kIconL1}, {"R1", game_menu_art::kIconR1}, {"L2", game_menu_art::kIconL2}, + {"R2", game_menu_art::kIconR2}, {"L3", game_menu_art::kIconL3}, {"R3", game_menu_art::kIconR3}, + {"Circle", game_menu_art::kIconCircle}, {"Cross", game_menu_art::kIconCross}, {"Triangle", game_menu_art::kIconTriangle}, + {"Square", game_menu_art::kIconSquare}, {"d-pad", game_menu_art::kIconDpad}, + }; + struct Bit { + std::string text; + int icon = -1; + }; + std::vector bits; + std::size_t i = 0; + while (i < text.size()) { + std::size_t j = i; + if (text[i] == ' ') { + while (j < text.size() && text[j] == ' ') ++j; + bits.push_back({text.substr(i, j - i), -1}); + } else { + while (j < text.size() && text[j] != ' ') ++j; + std::string word = text.substr(i, j - i), after; + if (!word.empty() && word.back() == ':') { + after = ":"; + word.pop_back(); + } + int icon = -1; + for (const auto& b : kButtons) + if (word == b.first) icon = b.second; + if (icon >= 0) { + if (!art.has(static_cast(icon))) return false; + bits.push_back({"", icon}); + if (!after.empty()) bits.push_back({after, -1}); + } else { + bits.push_back({text.substr(i, j - i), -1}); + } + } + i = j; + } + const float icon = std::round(size * 1.35f), pad = std::round(size * 0.12f); + float w = 0.0f; + for (const Bit& b : bits) w += b.icon >= 0 ? icon + pad : f->CalcTextSizeA(size, FLT_MAX, 0.0f, b.text.c_str()).x; + float x = (x0 + x1 - w) * 0.5f; + const float th = f->CalcTextSizeA(size, FLT_MAX, 0.0f, "A").y; + for (const Bit& b : bits) { + if (b.icon >= 0) { + const float iy = y + (th - icon) * 0.5f; + art.image(dl, static_cast(b.icon), ImVec2(x, iy), ImVec2(x + icon, iy + icon), IM_COL32(255, 255, 255, 255)); + x += icon + pad; + } else { + dl->AddText(f, size, ImVec2(x, y), col, b.text.c_str()); + x += f->CalcTextSizeA(size, FLT_MAX, 0.0f, b.text.c_str()).x; + } + } + return true; +} + } // namespace void plugin_panel_draw(float scale, bool pad) { if (!g_shown.load(std::memory_order_relaxed)) return; + static const bool preview_pad = [] { // BBHOST_PANEL_PREVIEW_PAD=1: the controller's guide in a preview + const char* e = std::getenv("BBHOST_PANEL_PREVIEW_PAD"); + return e && e[0] == '1'; + }(); + pad = pad || preview_pad; Panel p; { std::lock_guard lk(g_mu); @@ -403,6 +648,11 @@ void plugin_panel_draw(float scale, bool pad) { (ImGui::IsKeyPressed(ImGuiKey_GamepadFaceRight, false) || ImGui::IsKeyPressed(ImGuiKey_Escape, false)); const float s = scale; + const Art art = menu_art(s); + using game_menu_art::kOrnament; + using game_menu_art::kBand; + const bool ornate = art.has(kOrnament) && art.has(kBand); // the dialog's own top and foot + const bool inner_art = art.has(game_menu_art::kRule) && art.has(game_menu_art::kFiligree); ImGui::PushFont(launcher_ui::font_game(), kTextSize); const float text_size = ImGui::GetFontSize(); const float title_size = text_size * (kTitleSize / kTextSize), small_size = text_size * (kSmallSize / kTextSize); @@ -430,11 +680,18 @@ void plugin_panel_draw(float scale, bool pad) { } const float line_h = small_size * 1.25f; help_h = std::clamp(help_h, 2.0f * line_h, 4.0f * line_h); - const float guide_h = std::max(wrapped_height(p.guide, small_size, inner), wrapped_height(p.guide_keys, small_size, inner)); + const float guide_h = std::max(wrapped_height(p.guide, small_size, inner), wrapped_height(p.guide_keys, small_size, inner)) + + (art.atlas ? small_size * 0.3f : 0.0f); const float rule_gap = 12.0f * s; + // The game's top and foot are its ornament over its band; the rules about + // the title and the help carry the filigree, which wants more room. + const float outer_h = ornate ? art.h(kOrnament) + art.h(kBand) + 2.0f * s : rule_gap; + const float inner_gap = inner_art ? 18.0f * s : rule_gap; + // Under the help's rule the filigree's curls hang 17 of its 42 rows: the help starts below them. + const float help_drop = inner_art ? std::max(0.0f, 17.0f * art.k * 0.75f + 4.0f * s - inner_gap * 0.5f) : 0.0f; const float title_h = title_size * 1.15f + (n > 1 ? small_size * 1.1f : 0.0f); const float rows_h = static_cast(most_rows) * row_h + (p.defaults ? row_h + 6.0f * s : 0.0f); - const float height = pad_y + rule_gap + title_h + rule_gap + rows_h + rule_gap + help_h + 10.0f * s + guide_h + rule_gap + pad_y; + const float height = pad_y + outer_h + title_h + inner_gap + rows_h + inner_gap + help_drop + help_h + 10.0f * s + guide_h + outer_h + pad_y; const ImGuiViewport* vp = ImGui::GetMainViewport(); const float margin = 24.0f * s; @@ -460,24 +717,42 @@ void plugin_panel_draw(float scale, bool pad) { ImGui::PushStyleColor(ImGuiCol_SliderGrab, look::kGrab); ImGui::PushStyleColor(ImGuiCol_SliderGrabActive, look::kGrabLit); ImGui::PushStyleColor(ImGuiCol_Button, IM_COL32(0, 0, 0, 0)); - ImGui::PushStyleColor(ImGuiCol_ButtonHovered, look::kFrame); - ImGui::PushStyleColor(ImGuiCol_ButtonActive, look::kFrameHot); + // With the game's art, no plate under a value either: its glow is the + // cursor, as in the game's dialog, and a fainter one the pointer's. + ImGui::PushStyleColor(ImGuiCol_ButtonHovered, art.atlas ? IM_COL32(0, 0, 0, 0) : look::kFrame); + ImGui::PushStyleColor(ImGuiCol_ButtonActive, art.atlas ? IM_COL32(0, 0, 0, 0) : look::kFrameHot); ImGui::PushStyleColor(ImGuiCol_NavCursor, IM_COL32(0, 0, 0, 0)); constexpr int kColours = 11, kVars = 6; int click = 0; // a page arrow clicked: the page turns from the next frame if (ImGui::Begin("##plugin_panel", nullptr, flags)) { ImDrawList* dl = ImGui::GetWindowDrawList(); const ImVec2 o = ImGui::GetWindowPos(); - const float x0 = o.x + pad_x, x1 = o.x + width - pad_x, mid = o.x + width * 0.46f; - // The plate: darker at its top and foot, as the game's fades. - dl->AddRectFilled(o, o + ImVec2(width, height), look::kPlate); - dl->AddRectFilledMultiColor(o, o + ImVec2(width, height * 0.18f), IM_COL32(0, 0, 0, 70), IM_COL32(0, 0, 0, 70), - look::kPlateEdge, look::kPlateEdge); - dl->AddRectFilledMultiColor(o + ImVec2(0.0f, height * 0.82f), o + ImVec2(width, height), look::kPlateEdge, look::kPlateEdge, - IM_COL32(0, 0, 0, 70), IM_COL32(0, 0, 0, 70)); + // The column rule down the middle where the game draws its; without + // the art, the labels end a little before it. + const float x0 = o.x + pad_x, x1 = o.x + width - pad_x, mid = o.x + width * (inner_art ? 0.5f : 0.46f); + const ImU32 art_tint = IM_COL32(255, 255, 255, 235); + // The plate: the dialog's slate, or a dark one darker at its top and foot. + if (art.has(game_menu_art::kSlate)) { + dl->AddRectFilled(o, o + ImVec2(width, height), IM_COL32(0, 0, 0, 90)); // over a bright world too + art.image(dl, game_menu_art::kSlate, o, o + ImVec2(width, height), IM_COL32(255, 255, 255, 250)); + } else { + dl->AddRectFilled(o, o + ImVec2(width, height), look::kPlate); + dl->AddRectFilledMultiColor(o, o + ImVec2(width, height * 0.18f), IM_COL32(0, 0, 0, 70), IM_COL32(0, 0, 0, 70), + look::kPlateEdge, look::kPlateEdge); + dl->AddRectFilledMultiColor(o + ImVec2(0.0f, height * 0.82f), o + ImVec2(width, height), look::kPlateEdge, + look::kPlateEdge, IM_COL32(0, 0, 0, 70), IM_COL32(0, 0, 0, 70)); + } float y = o.y + pad_y; - rule(dl, x0 - 8.0f * s, x1 + 8.0f * s, y, s); - y += rule_gap; + // Its top: the ornament (a crest over its rule), the band under it. + if (ornate) { + const float ox0 = x0 - 14.0f * s, ox1 = x1 + 14.0f * s; + art.span(dl, kOrnament, ox0, ox1, y, art_tint, false); + art.span(dl, kBand, ox0, ox1, y + art.h(kOrnament), art_tint, false); + y += outer_h; + } else { + rule(dl, x0 - 8.0f * s, x1 + 8.0f * s, y, s); + y += rule_gap; + } // The page's name in gold between its turns (the pointer's: the // d-pad's cursor goes over the rows only - L1 and R1 turn the pages), // and where it is among them. @@ -494,11 +769,21 @@ void plugin_panel_draw(float scale, bool pad) { if (ImGui::InvisibleButton("##next", ImVec2(arrow, arrow))) click = 1; const bool next_hot = ImGui::IsItemHovered(); ImGui::PopItemFlag(); - const float cy = y + title_size * 0.58f, h = 6.0f * s, w = 6.0f * s; - dl->AddTriangleFilled(ImVec2(x0 + 2.0f * s, cy), ImVec2(x0 + 2.0f * s + w, cy - h), ImVec2(x0 + 2.0f * s + w, cy + h), - prev_hot ? look::kGoldLit : look::kGold); - dl->AddTriangleFilled(ImVec2(x1 - 2.0f * s, cy), ImVec2(x1 - 2.0f * s - w, cy - h), ImVec2(x1 - 2.0f * s - w, cy + h), - next_hot ? look::kGoldLit : look::kGold); + const float cy = y + title_size * 0.58f; + if (art.has(game_menu_art::kArrow)) { + const float ah = std::round(title_size * 0.85f), aw = ah * art.atlas->piece[game_menu_art::kArrow].w / + static_cast(art.atlas->piece[game_menu_art::kArrow].h); + art.image(dl, game_menu_art::kArrow, ImVec2(x0 + 2.0f * s, cy - ah * 0.5f), ImVec2(x0 + 2.0f * s + aw, cy + ah * 0.5f), + prev_hot ? look::kGoldLit : look::kGold, true); + art.image(dl, game_menu_art::kArrow, ImVec2(x1 - 2.0f * s - aw, cy - ah * 0.5f), ImVec2(x1 - 2.0f * s, cy + ah * 0.5f), + next_hot ? look::kGoldLit : look::kGold); + } else { + const float h = 6.0f * s, w = 6.0f * s; + dl->AddTriangleFilled(ImVec2(x0 + 2.0f * s, cy), ImVec2(x0 + 2.0f * s + w, cy - h), ImVec2(x0 + 2.0f * s + w, cy + h), + prev_hot ? look::kGoldLit : look::kGold); + dl->AddTriangleFilled(ImVec2(x1 - 2.0f * s, cy), ImVec2(x1 - 2.0f * s - w, cy - h), ImVec2(x1 - 2.0f * s - w, cy + h), + next_hot ? look::kGoldLit : look::kGold); + } if (n > 1) { char where[32]; std::snprintf(where, sizeof(where), "%d / %d", p.page + 1, n); @@ -507,20 +792,53 @@ void plugin_panel_draw(float scale, bool pad) { } } y += title_h; - rule(dl, x0, x1, y + rule_gap * 0.5f, s); - y += rule_gap; - // Its rows, a line under each, the one with the cursor lit; the - // band goes under the row's widget (the draw list's first channel). + // The rule under the title: the filigree over the column rule, its + // finial pointing down it. + const float kf = art.k * 0.75f; + const auto inner_rule = [&](float ly, bool finial_down) { + if (!inner_art) { + rule(dl, x0, x1, ly, s); + return; + } + art.rule(dl, x0, x1, ly, art_tint); + const game_menu_art::Placed& fq = art.atlas->piece[game_menu_art::kFiligree]; + const float fw = fq.w * kf, fh = fq.h * kf; + // The filigree's own rule runs at its pixel row 25 of 42 (29..30 of the texture's 4..46). + const float line_at = (finial_down ? fq.h - 25.5f : 25.5f) * kf; + art.image(dl, game_menu_art::kFiligree, ImVec2(mid - fw * 0.5f, ly - line_at), ImVec2(mid + fw * 0.5f, ly - line_at + fh), + art_tint, false, finial_down); + }; + const float rule_top = y + inner_gap * 0.5f; + inner_rule(rule_top, true); + y += inner_gap; + // Its rows, the one with the cursor lit; the glow and the lines go + // under the row's widget (the draw list's first channel). std::string help = page_help; dl->ChannelsSplit(2); dl->ChannelsSetCurrent(1); - const auto light = [&](float top) { + const bool glow_art = art.has(game_menu_art::kGlow); + // `strength` 1 for the cursor's row; less for the one under the + // pointer (the art's glow only). + const auto light = [&](float top, bool label_side, float strength) { dl->ChannelsSetCurrent(0); - const float cx = (x0 + x1) * 0.5f; - dl->AddRectFilledMultiColor(ImVec2(x0 - pad_x * 0.5f, top), ImVec2(cx, top + row_h), IM_COL32(0, 0, 0, 0), look::kGlow, - look::kGlow, IM_COL32(0, 0, 0, 0)); - dl->AddRectFilledMultiColor(ImVec2(cx, top), ImVec2(x1 + pad_x * 0.5f, top + row_h), look::kGlow, IM_COL32(0, 0, 0, 0), - IM_COL32(0, 0, 0, 0), look::kGlow); + if (glow_art) { + // The game's glow: brightest at the column rule, fading to the + // left behind the label; on the value, brightest at its middle. + const float cy = top + row_h * 0.5f, gh = row_h * 2.4f; + const ImU32 label_tint = IM_COL32(255, 255, 255, static_cast(215.0f * strength)); + const ImU32 value_tint = IM_COL32(255, 255, 255, static_cast(170.0f * strength)); + if (label_side) + art.image(dl, game_menu_art::kGlow, ImVec2(x0 - pad_x * 0.6f, cy - gh * 0.5f), ImVec2(mid, cy + gh * 0.5f), label_tint); + const float vx = (mid + 14.0f * s + x1) * 0.5f, hw = (x1 - mid - 14.0f * s) * 0.45f, vh = row_h * 2.0f; + art.image(dl, game_menu_art::kGlow, ImVec2(vx - hw, cy - vh * 0.5f), ImVec2(vx, cy + vh * 0.5f), value_tint); + art.image(dl, game_menu_art::kGlow, ImVec2(vx, cy - vh * 0.5f), ImVec2(vx + hw, cy + vh * 0.5f), value_tint, true); + } else if (strength >= 1.0f) { + const float cx = (x0 + x1) * 0.5f; + dl->AddRectFilledMultiColor(ImVec2(x0 - pad_x * 0.5f, top), ImVec2(cx, top + row_h), IM_COL32(0, 0, 0, 0), look::kGlow, + look::kGlow, IM_COL32(0, 0, 0, 0)); + dl->AddRectFilledMultiColor(ImVec2(cx, top), ImVec2(x1 + pad_x * 0.5f, top + row_h), look::kGlow, IM_COL32(0, 0, 0, 0), + IM_COL32(0, 0, 0, 0), look::kGlow); + } dl->ChannelsSetCurrent(1); }; bool first = true; @@ -528,10 +846,15 @@ void plugin_panel_draw(float scale, bool pad) { for (const PluginOptionDesc& opt : p.entry->options) { if (opt.page != page_key || opt.type == BB_OPT_HEADING) continue; const float top = y + static_cast(i) * row_h; - const RowOut r = row(*p.entry, opt, ImVec2(x0, top), ImVec2(x1, top + row_h), mid, s, first && refocus); - if (r.focused) light(top); + const RowOut r = row(*p.entry, opt, ImVec2(x0, top), ImVec2(x1, top + row_h), mid, s, first && refocus, art); + if (r.focused) { + light(top, opt.type != BB_OPT_ACTION, 1.0f); + } else if (r.hot) { + light(top, opt.type != BB_OPT_ACTION, 0.4f); + } if (r.hot) help = opt.help; - dl->AddLine(ImVec2(x0, top + row_h - 0.5f), ImVec2(x1, top + row_h - 0.5f), look::kRowLine, 1.0f); + if (!art.has(game_menu_art::kLabelLine)) + dl->AddLine(ImVec2(x0, top + row_h - 0.5f), ImVec2(x1, top + row_h - 0.5f), look::kRowLine, 1.0f); first = false; ++i; } @@ -541,9 +864,22 @@ void plugin_panel_draw(float scale, bool pad) { const float top = y + static_cast(most_rows) * row_h + 6.0f * s; ImGui::SetCursorScreenPos(ImVec2(mid + 14.0f * s, top + (row_h - frame_h) * 0.5f)); const bool pressed = value_button("defaults", "Defaults", ImVec2(x1 - mid - 14.0f * s, frame_h), false); - const bool focused = ImGui::IsItemFocused(); - if (focused) light(top); - if (focused || ImGui::IsItemHovered()) help = "Every row on this page back to its default."; + const bool focused = ImGui::IsItemFocused(), hovered = ImGui::IsItemHovered(); + if (focused) { + light(top, false, 1.0f); + } else if (hovered) { + light(top, false, 0.4f); + } + if (focused || hovered) help = "Every row on this page back to its default."; + if (art.has(game_menu_art::kValueEnd) && art.has(game_menu_art::kRule)) { + const float ly = top + row_h - 4.0f * s, ew = art.w(game_menu_art::kValueEnd), eh = art.h(game_menu_art::kValueEnd); + const float vx0 = mid + 16.0f * s, vx1 = x1 - 2.0f * s; + dl->ChannelsSetCurrent(0); + art.image(dl, game_menu_art::kValueEnd, ImVec2(vx0, ly - 1.0f), ImVec2(vx0 + ew, ly - 1.0f + eh), art_tint, false, true); + art.image(dl, game_menu_art::kValueEnd, ImVec2(vx1 - ew, ly - 1.0f), ImVec2(vx1, ly - 1.0f + eh), art_tint, true, true); + art.rule(dl, vx0 + ew - 1.0f, vx1 - ew + 1.0f, ly, art_tint); + dl->ChannelsSetCurrent(1); + } if (pressed) { for (const PluginOptionDesc& opt : p.entry->options) { if (opt.page == page_key && opt.type != BB_OPT_HEADING && opt.type != BB_OPT_ACTION) @@ -553,23 +889,51 @@ void plugin_panel_draw(float scale, bool pad) { } dl->ChannelsMerge(); y += rows_h; + // The rule over the help (its finial up the column rule), and the + // column rule itself between the two. + const float rule_foot = y + inner_gap * 0.5f; + if (inner_art) { + const game_menu_art::Placed& q = art.atlas->piece[game_menu_art::kRule]; + const float t = std::max(art.h(game_menu_art::kRule), 3.0f), ya = rule_top + 6.0f * s, yb = rule_foot - 6.0f * s; + dl->AddImageQuad(art.tex, ImVec2(mid - t * 0.5f, ya), ImVec2(mid + t * 0.5f, ya), ImVec2(mid + t * 0.5f, yb), + ImVec2(mid - t * 0.5f, yb), ImVec2(q.u0, q.v0), ImVec2(q.u0, q.v1), ImVec2(q.u1, q.v1), ImVec2(q.u1, q.v0), + IM_COL32(255, 255, 255, 150)); + } + inner_rule(rule_foot, false); + // The help clear of the filigree's curls under that rule (17 of its 42 rows, times its scale). + y = std::max(y + inner_gap, inner_art ? rule_foot + 17.0f * kf + 4.0f * s : 0.0f); // The help of the row with the cursor (or the page's), then the controls. - rule(dl, x0, x1, y + rule_gap * 0.5f, s); - y += rule_gap; { ImGui::PushFont(nullptr, kSmallSize); + ImFont* f = ImGui::GetFont(); ImGui::PushClipRect(ImVec2(x0, y), ImVec2(x1, y + help_h), true); - ImGui::GetWindowDrawList()->AddText(ImGui::GetFont(), small_size, ImVec2(x0, y), look::kHelp, help.c_str(), nullptr, inner); + if (art.atlas) + centred_text(dl, f, small_size, x0, x1, y, look::kHelp, help); + else + dl->AddText(f, small_size, ImVec2(x0, y), look::kHelp, help.c_str(), nullptr, inner); ImGui::PopClipRect(); y += help_h + 10.0f * s; const std::string& guide = pad ? p.guide : p.guide_keys; - if (!guide.empty()) - ImGui::GetWindowDrawList()->AddText(ImGui::GetFont(), small_size, ImVec2(x0, y), look::kGuide, guide.c_str(), nullptr, - inner); + if (!guide.empty()) { + if (!(art.atlas && pad && guide_with_icons(dl, f, small_size, x0, x1, y, look::kGuide, guide, art))) { + if (art.atlas) + centred_text(dl, f, small_size, x0, x1, y, look::kGuide, guide); + else + dl->AddText(f, small_size, ImVec2(x0, y), look::kGuide, guide.c_str(), nullptr, inner); + } + } ImGui::PopFont(); } - y += guide_h + rule_gap * 0.5f; - rule(dl, x0 - 8.0f * s, x1 + 8.0f * s, y, s); + y += guide_h; + // Its foot: the band over the ornament, both turned over. + if (ornate) { + const float ox0 = x0 - 14.0f * s, ox1 = x1 + 14.0f * s; + art.span(dl, kBand, ox0, ox1, y, art_tint, true); + art.span(dl, kOrnament, ox0, ox1, y + art.h(kBand), art_tint, true); + } else { + y += rule_gap * 0.5f; + rule(dl, x0 - 8.0f * s, x1 + 8.0f * s, y, s); + } } ImGui::End(); ImGui::PopStyleColor(kColours); diff --git a/src/host/plugin_panel.h b/src/host/plugin_panel.h index f40746ad..409e9050 100644 --- a/src/host/plugin_panel.h +++ b/src/host/plugin_panel.h @@ -44,7 +44,18 @@ constexpr std::uint32_t kPanelPadButtons = 0x10u | 0x20u | 0x40u | 0x80u | 0x400 // Page Down, Q, E and Escape. bool plugin_panel_key(int scancode); +// The game's menu art (host/game_menu_art.h) read now, on a thread of its +// own: a plugin with panel pages is loaded, and its panel's first frame then +// does not wait the fifth of a second the art takes to read. +void plugin_panel_preload(); + // Draws it into the current ImGui frame (the menus' context), at `scale`: // the presenter's thread, while no menu is up. `pad` is the controller in use // (the guide for it). void plugin_panel_draw(float scale, bool pad); + +// BBHOST_PANEL_PREVIEW=[:] (a test aid): that plugin's panel up +// from the first frame the menus draw, wherever the game is - at the title +// too - with BBHOST_PANEL_PREVIEW_GUIDE and BBHOST_PANEL_PREVIEW_GUIDE_KEYS +// as its guide. Nothing without the variable. The presenter's thread. +void plugin_panel_preview_tick(); diff --git a/src/host/plugins.cpp b/src/host/plugins.cpp index 2c4c0e67..c3a940b9 100644 --- a/src/host/plugins.cpp +++ b/src/host/plugins.cpp @@ -2038,6 +2038,17 @@ void plugins_load() { g_plugins.push_back(p); } aa_update(); + // A plugin with a panel (BB_OPT_PANEL pages): the game's menu art read now, + // on a thread of its own, not on the presenter's at the panel's first frame. + for (const Plugin& p : g_plugins) { + bool panel = false; + for (const BbOption* o = p.options; o && o->type != BB_OPT_END && !panel; ++o) + panel = (o->type & 0xffu) == BB_OPT_HEADING && (o->type & BB_OPT_PANEL) != 0; + if (panel) { + plugin_panel_preload(); + break; + } + } g_early = false; } From 6e20f53359e65c37442bb65a4cb939977a365e82 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 16:34:38 -0800 Subject: [PATCH 057/100] plugins: a plugin's panel plays the game's own menu sounds The game's widgets post a menu sound as a request - {id, priority} at 0x597fc60 and a debug label - which sub_1ee9bc0 plays once a frame (through sub_1b74690) and clears to -1: 0 the cursor's move, 100 decide and 200 cancel at priority 1, 1000 a menu opening. Their poster (sub_1ee9b90) keeps a louder one already pending; so do the pick lists that post them (sub_1f26b00, sub_1f72860). The panel asks for them as the game's own dialog makes them: the cursor's move as the cursor goes to another row, a value changes or a page turns; decide for Defaults and a button row; cancel as it is closed; a menu opening as it comes up. The game's thread posts the loudest asked for each frame (plugins_frame, engine/menu_pointer.h's menu_sound_post) by the same rule. The plugin API needs nothing new: the panel is the host's. The first sound is logged once with its fate: at the title on lavapipe, "taken by the game's sound request" - the request read and cleared by the game's frame, which plays it. Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- docs/plugins.md | 31 +++++++++++++------------- include/bbhost_plugin.h | 4 ++-- src/engine/menu_pointer.cpp | 23 +++++++++++++++++++ src/engine/menu_pointer.h | 10 +++++++++ src/host/plugin_panel.cpp | 44 ++++++++++++++++++++++++++++++++++++- src/host/plugin_panel.h | 6 +++++ src/host/plugins.cpp | 7 ++++++ 7 files changed, 107 insertions(+), 18 deletions(-) diff --git a/docs/plugins.md b/docs/plugins.md index b1c4ad57..9c732eba 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -314,21 +314,22 @@ over the game. labels and the values, each label's line and each value's scrolled line, the golden glow on the row with the cursor, the arrows either side of a choice, the sliders' track, and the key guide's button icons in the controller's - guide. A piece the dump lacks is drawn plainly instead (thin rules, a dark - plate, a gold band, drawn arrows). It keeps one size for every page (its - longest page's rows and room for its longest help), so it never moves as - rows or pages change; Menu hue and Menu vibrance, which colour bbhost's - menus, leave it as it is. Its rows' changes go to `on_option` as the menus' - do (so its rows want `BB_OPT_LIVE`), the help of the row in use under them, - then `guide` or `guide_keys` - whichever device the player used last. The - controller drives it (the d-pad up and down to a row, left and right to - change it, Cross to set a switch or press a button, L1 and R1 the pages, - Circle closes it), as do the keyboard (the arrows, Enter, Page Up and Page - Down or Q and E, Escape) and the pointer, which is free while it is up. - While it is up neither the game nor the plugins' `pad` and `input` read - those buttons and keys; everything else is as it was. `BB_PANEL_DEFAULTS` - ends each page with a Defaults row. One panel at a time; turning the plugin - off takes it down. + guide; the game's own menu sounds as the cursor moves, a value changes, a + page turns and the panel opens and closes. A piece the dump lacks is drawn + plainly instead (thin rules, a dark plate, a gold band, drawn arrows). It + keeps one size for every page (its longest page's rows and room for its + longest help), so it never moves as rows or pages change; Menu hue and Menu + vibrance, which colour bbhost's menus, leave it as it is. Its rows' changes + go to `on_option` as the menus' do (so its rows want `BB_OPT_LIVE`), the + help of the row in use under them, then `guide` or `guide_keys` - whichever + device the player used last. The controller drives it (the d-pad up and down + to a row, left and right to change it, Cross to set a switch or press a + button, L1 and R1 the pages, Circle closes it), as do the keyboard (the + arrows, Enter, Page Up and Page Down or Q and E, Escape) and the pointer, + which is free while it is up. While it is up neither the game nor the + plugins' `pad` and `input` read those buttons and keys; everything else is + as it was. `BB_PANEL_DEFAULTS` ends each page with a Defaults row. One panel + at a time; turning the plugin off takes it down. - `panel_state(name, &state)`: `BbPanelState` (set `state.size` first) - whether the panel is up, whether the player closed it (Circle, Escape) since the last call, and the page shown or shown last, by its heading's key. diff --git a/include/bbhost_plugin.h b/include/bbhost_plugin.h index 5f528465..8575793d 100644 --- a/include/bbhost_plugin.h +++ b/include/bbhost_plugin.h @@ -1085,8 +1085,8 @@ typedef struct BbHostApi { int (*post_look)(const char* name, const BbLook* look, uint32_t* available); /* The plugin's panel up (BbPanel) or down (NULL): the pages of its options * table it marks with BB_OPT_PANEL, drawn over the game at the bottom - * right as the game's options dialog draws its pages - its art and - * letters, read from the player's dump - and at one size for every + * right as the game's options dialog draws its pages - its art, letters + * and menu sounds, read from the player's dump - and at one size for every * page (its longest page and its longest help), their changes going to on_option as * the menus' do (the rows want BB_OPT_LIVE). The controller drives it - * the d-pad up and down to a row, left and right to change it, Cross to diff --git a/src/engine/menu_pointer.cpp b/src/engine/menu_pointer.cpp index 8d4c7a0d..7a557820 100644 --- a/src/engine/menu_pointer.cpp +++ b/src/engine/menu_pointer.cpp @@ -120,6 +120,9 @@ constexpr std::uint64_t kInputBlockB = 0x5962878; // ptr; blocked if *(u32*)(+0 constexpr std::uint64_t kMenuSe = 0x597fc60; constexpr std::uint64_t kMenuSeLabel = 0x597fc68; constexpr std::uint64_t kCursorMoveLabel = 0x4d344e4; // "カーソル移動" +constexpr std::uint64_t kDecideLabel = 0x4d3451b; // "決定" +constexpr std::uint64_t kCancelLabel = 0x4d3450b; // "キャンセル" +constexpr std::uint64_t kOpenLabel = 0x4d33d56; // "メニュー開く" constexpr std::size_t kListener = 0x30; constexpr std::size_t kCount = 0x70; @@ -974,3 +977,23 @@ bool menu_pointer_in_menu() { // few frames means none has. return menu_open() || now_ms() - g_focus_ms.load(std::memory_order_relaxed) < 400; } + +void menu_sound_post(int id, int priority) { + static int said = 0; // 0: none posted yet; 1: the first posted, its fate not yet logged; 2: logged + static std::int64_t first_ms = 0; + if (!g_slide) return; + auto* se = static_cast(guest_fn(kMenuSe)); + if (said == 1 && (se[0] < 0 || now_ms() - first_ms > 1000)) { + host_log("menu: a plugin's panel's first menu sound %s", se[0] < 0 ? "taken by the game's sound request" : "still pending a second on"); + said = 2; + } + if (id < 0 || se[1] > priority) return; + se[0] = id; + se[1] = priority; + *static_cast(guest_fn(kMenuSeLabel)) = + guest(id == kMenuSoundDecide ? kDecideLabel : id == kMenuSoundCancel ? kCancelLabel : id == kMenuSoundOpen ? kOpenLabel : kCursorMoveLabel); + if (said == 0) { + said = 1; + first_ms = now_ms(); + } +} diff --git a/src/engine/menu_pointer.h b/src/engine/menu_pointer.h index f38240bc..1f44c7c5 100644 --- a/src/engine/menu_pointer.h +++ b/src/engine/menu_pointer.h @@ -57,3 +57,13 @@ std::uint64_t menu_pointer_tick(); // CSMouseMan switches the same way - a pointer while UI owns the input, // mouse-look otherwise - and the camera and the pointer both key off this. bool menu_pointer_in_menu(); + +// The game's menu sounds for a menu the host draws (a plugin's panel): the +// request its own widgets post ({id, priority} at 0x597fc60, which +// sub_1ee9bc0 plays once a frame and clears) - 0 the cursor's move, 100 +// decide, 200 cancel, 1000 a menu opening - kept unless a louder one is +// pending, as theirs are. From the game's thread (plugins_frame); nothing +// before menu_pointer_install. The first one's fate is logged: taken (played) +// or still pending a second later. +constexpr int kMenuSoundMove = 0, kMenuSoundDecide = 100, kMenuSoundCancel = 200, kMenuSoundOpen = 1000; +void menu_sound_post(int id, int priority); diff --git a/src/host/plugin_panel.cpp b/src/host/plugin_panel.cpp index c14a7298..658051fb 100644 --- a/src/host/plugin_panel.cpp +++ b/src/host/plugin_panel.cpp @@ -2,6 +2,7 @@ #include "host/plugin_panel.h" #include "bbhost_plugin.h" +#include "engine/menu_pointer.h" #include "host/game_menu_art.h" #include "host/plugins.h" #include "log.h" @@ -40,8 +41,28 @@ std::map g_closed; // under g_mu: closed by the std::map g_last_page; // under g_mu: the page each plugin's panel showed last std::atomic g_shown{false}; std::atomic g_appeared{false}; // shown since the last frame drew it: give it the focus +std::atomic g_opened{false}; // shown, not just a page turned: the game's menu-opening sound +// The menu sound asked for since plugins_frame last took one: (priority << 16) | id + 1, 0 none. +std::atomic g_sound{0}; + +// The game's menu sound for something the player did on the panel: the +// loudest asked for since the game's thread last took one. +void ask_sound(int id) { + const std::uint32_t priority = id == kMenuSoundDecide || id == kMenuSoundCancel ? 1 : 0; + const std::uint32_t want = (priority << 16) | static_cast(id + 1); + std::uint32_t was = g_sound.load(std::memory_order_relaxed); + while ((was == 0 || (was >> 16) <= priority) && !g_sound.compare_exchange_weak(was, want, std::memory_order_relaxed)) { + } +} + } // namespace +int plugin_panel_take_sound(int* priority) { + const std::uint32_t s = g_sound.exchange(0, std::memory_order_relaxed); + if (priority) *priority = static_cast(s >> 16); + return s ? static_cast(s & 0xffffu) - 1 : -1; +} + void plugin_panel_preload() { game_menu_art::preload(); } void plugin_panel_preview_tick() { @@ -110,6 +131,7 @@ bool plugin_panel_show(const std::string& name, const PluginPanelShow& how) { g_last_page[name] = g_panel.pages[static_cast(page)]; if (!was) { g_appeared.store(true); + g_opened.store(true); host_log("plugin: %s's panel up at its page %s", name.c_str(), g_last_page[name].c_str()); } g_shown.store(true); @@ -353,6 +375,7 @@ RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, if (ImGui::IsItemFocused() && !grey && step_pressed() != 0) to = !on; if (to != on) { plugins_set_option(p.name, o.key, to ? "true" : "false"); + ask_sound(kMenuSoundMove); } arrows = underline = true; break; @@ -431,6 +454,7 @@ RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, } if (changed) { plugins_set_option(p.name, o.key, number_text(o, v)); + ask_sound(kMenuSoundMove); } break; } @@ -450,6 +474,7 @@ RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, } if (to != cur) { plugins_set_option(p.name, o.key, choices[static_cast(to)]); + ask_sound(kMenuSoundMove); } arrows = underline = true; break; @@ -458,6 +483,7 @@ RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, ImGui::SetCursorScreenPos(ImVec2(a.x, val_a.y)); if (value_button(o.key.c_str(), o.label, ImVec2(b.x - a.x, frame_h), false)) { plugins_run_action(p.name, o.key); + ask_sound(kMenuSoundDecide); } take_cursor(cursor); break; @@ -625,9 +651,11 @@ void plugin_panel_draw(float scale, bool pad) { ImGui::IsKeyPressed(ImGuiKey_E, false)) turn = 1; bool refocus = g_appeared.exchange(false); + if (g_opened.exchange(false)) ask_sound(kMenuSoundOpen); if (turn && n > 1) { p.page = (p.page + turn + n) % n; refocus = true; + ask_sound(kMenuSoundMove); std::lock_guard lk(g_mu); if (g_panel.owner == p.owner) { g_panel.page = p.page; @@ -842,13 +870,14 @@ void plugin_panel_draw(float scale, bool pad) { dl->ChannelsSetCurrent(1); }; bool first = true; - int i = 0; + int i = 0, focus = -1; for (const PluginOptionDesc& opt : p.entry->options) { if (opt.page != page_key || opt.type == BB_OPT_HEADING) continue; const float top = y + static_cast(i) * row_h; const RowOut r = row(*p.entry, opt, ImVec2(x0, top), ImVec2(x1, top + row_h), mid, s, first && refocus, art); if (r.focused) { light(top, opt.type != BB_OPT_ACTION, 1.0f); + focus = i; } else if (r.hot) { light(top, opt.type != BB_OPT_ACTION, 0.4f); } @@ -867,6 +896,7 @@ void plugin_panel_draw(float scale, bool pad) { const bool focused = ImGui::IsItemFocused(), hovered = ImGui::IsItemHovered(); if (focused) { light(top, false, 1.0f); + focus = most_rows; } else if (hovered) { light(top, false, 0.4f); } @@ -885,9 +915,19 @@ void plugin_panel_draw(float scale, bool pad) { if (opt.page == page_key && opt.type != BB_OPT_HEADING && opt.type != BB_OPT_ACTION) plugins_set_option(p.entry->name, opt.key, opt.def); } + ask_sound(kMenuSoundDecide); } } dl->ChannelsMerge(); + // The cursor moved to another row of the same page: the game's sound + // for it (a page turned has made its own). + { + static std::string last_page; + static int last_focus = -1; + if (focus >= 0 && last_focus >= 0 && focus != last_focus && last_page == page_key && !turn) ask_sound(kMenuSoundMove); + if (focus >= 0) last_focus = focus; + last_page = page_key; + } y += rows_h; // The rule over the help (its finial up the column rule), and the // column rule itself between the two. @@ -940,6 +980,7 @@ void plugin_panel_draw(float scale, bool pad) { ImGui::PopStyleVar(kVars); ImGui::PopFont(); if (click && n > 1) { + ask_sound(kMenuSoundMove); std::lock_guard lk(g_mu); if (g_panel.owner == p.owner) { g_panel.page = (p.page + click + n) % n; @@ -948,6 +989,7 @@ void plugin_panel_draw(float scale, bool pad) { } } if (close) { + ask_sound(kMenuSoundCancel); std::lock_guard lk(g_mu); if (g_panel.owner == p.owner) { g_closed[p.owner] = true; diff --git a/src/host/plugin_panel.h b/src/host/plugin_panel.h index 409e9050..2fb1d17a 100644 --- a/src/host/plugin_panel.h +++ b/src/host/plugin_panel.h @@ -54,6 +54,12 @@ void plugin_panel_preload(); // (the guide for it). void plugin_panel_draw(float scale, bool pad); +// The game's menu sound the panel asks for since the last call (the cursor +// moved, a value changed, a page turned, Defaults pressed, the panel up or +// closed: engine/menu_pointer.h's ids), the loudest of them, with its +// priority; -1 when none. For the game's thread to post (plugins_frame). +int plugin_panel_take_sound(int* priority); + // BBHOST_PANEL_PREVIEW=[:] (a test aid): that plugin's panel up // from the first frame the menus draw, wherever the game is - at the title // too - with BBHOST_PANEL_PREVIEW_GUIDE and BBHOST_PANEL_PREVIEW_GUIDE_KEYS diff --git a/src/host/plugins.cpp b/src/host/plugins.cpp index c3a940b9..d3814230 100644 --- a/src/host/plugins.cpp +++ b/src/host/plugins.cpp @@ -2100,6 +2100,13 @@ void plugins_frame() { // on, and the player's put back once none asks (before the early return, // so a plugin turned off lets it go). player_hud_option_hold(scene_look_hud_shown()); + // A plugin's panel's sounds (the cursor, a change, a page, opening and + // closing): the game's own menu sounds, posted as its widgets post them. + { + int priority = 0; + const int id = plugin_panel_take_sound(&priority); + menu_sound_post(id, priority); + } std::vector now; std::vector loads; std::vector requests; From c35c7670ea210ef605a5fbae7a2d9c69fb47e825 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 20:57:34 -0800 Subject: [PATCH 058/100] plugins: a plugin's panel sets its help a line and the game's leading apart with room for its descenders, and lights a slider's track as the game does The help's lines were set a line's height apart - the font's ascent and descent, a whole em - and the area kept for it ended at its last line's box. The game's menu font gives a descent of an eighth of an em, but its g, j, p, q and y reach a quarter of an em under the baseline: one line's descenders touched the next line's capitals, and the last line's were cut off by the area's clip ("again" and "always" on the Camera page at 1920x1080). The game's own multi-line texts - nearly all its menus' fields, its dialogs' help and its item descriptions among them - are set a line's height plus their field's leading apart, 2 px on its 1080-line stage. The help and the guide now are too, at the panel's scale (1.11 em at its letters' size), and the help's area - and with it the panel's one size, from its longest help - keeps room under its last line for the font's deepest descender at that size, read from the font's own glyphs (the clip lets an accented capital of the first line rise as far). A help is two to five lines, as before. The row with the cursor lit a slider's value with the glow at the middle of the value column, over the track: a bright smudge beside the mark. The game's own lit slider has a broad glow centred on its track and behind it, the track dark in its halo. The cursor's glow now goes under the rows' tracks and lines (the draw list's first of three channels), centred on a slider's track. Screenshots on lavapipe of every row's help on photo mode's six pages at 1280x720 and 1920x1080, among them helps whose last line has descenders. Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- src/host/plugin_panel.cpp | 145 +++++++++++++++++++++++--------------- 1 file changed, 88 insertions(+), 57 deletions(-) diff --git a/src/host/plugin_panel.cpp b/src/host/plugin_panel.cpp index 658051fb..f44120d4 100644 --- a/src/host/plugin_panel.cpp +++ b/src/host/plugin_panel.cpp @@ -13,10 +13,12 @@ #include #include #include +#include #include #include #include #include +#include #include #if defined(BBHOST_HAVE_SDL3) @@ -340,9 +342,15 @@ bool value_button(const char* id, const std::string& text, ImVec2 size, bool lit return pressed; } +// The rows' layers in the draw list's channels: the cursor's glow under the +// rows' tracks and lines, as the game's dialog lights a row behind them, and +// those under the widgets and the letters. +constexpr int kGlowLayer = 0, kLineLayer = 1, kWidgetLayer = 2; + struct RowOut { bool hot = false; // the cursor or the pointer on it: its help shows bool focused = false; // the cursor on it: lit + float glow_x = -1.0f; // a slider's: its value's glow centred on its track, as the game's are (not on the mark) }; // One row in [a, b]: its label right-aligned before `mid`, its widget across @@ -400,6 +408,7 @@ RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, nf->CalcTextSizeA(nfs, FLT_MAX, 0.0f, shown(o.max).c_str()).x) + gap; const float bar_w = std::max(val_size.x - num_w, 8.0f * s); + out.glow_x = val_a.x + bar_w * 0.5f; const bool track = art.has(game_menu_art::kSliderTrack) && art.has(game_menu_art::kSliderFill); if (track) { // the game's track and filling, a thin mark of ours: none of the widget's own ImGui::PushStyleColor(ImGuiCol_FrameBg, IM_COL32(0, 0, 0, 0)); @@ -423,13 +432,13 @@ RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, const float th = std::max(frame_h * 0.42f, 4.0f), fh = th * 0.5f; const float cy = val_a.y + frame_h * 0.5f; const float f = o.max > o.min ? static_cast((v - o.min) / (o.max - o.min)) : 0.0f; - dl->ChannelsSetCurrent(0); + dl->ChannelsSetCurrent(kLineLayer); art.image(dl, game_menu_art::kSliderTrack, ImVec2(val_a.x, cy - th * 0.5f), ImVec2(val_a.x + bar_w, cy + th * 0.5f), art_tint); const float fx = val_a.x + 2.0f * s + (bar_w - 4.0f * s) * std::clamp(f, 0.0f, 1.0f); if (fx > val_a.x + 2.0f * s) art.image(dl, game_menu_art::kSliderFill, ImVec2(val_a.x + 2.0f * s, cy - fh * 0.5f), ImVec2(fx, cy + fh * 0.5f), art_tint, false, false, 0.0f, std::max(1.0f, art.atlas->piece[game_menu_art::kSliderFill].w * std::clamp(f, 0.0f, 1.0f))); - dl->ChannelsSetCurrent(1); + dl->ChannelsSetCurrent(kWidgetLayer); const bool lit = ImGui::IsItemFocused() || ImGui::IsItemActive(); const ImU32 mark = grey ? look::kTextDim : lit ? look::kGoldLit : look::kGold; dl->AddRectFilled(ImVec2(fx - 1.5f * s, cy - th * 0.8f), ImVec2(fx + 1.5f * s, cy + th * 0.8f), mark); @@ -499,18 +508,18 @@ RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, const float y = b.y - 4.0f * s; const float ew = art.w(game_menu_art::kValueEnd), eh = art.h(game_menu_art::kValueEnd); const float x0 = val_a.x + 2.0f * s, x1 = b.x - 2.0f * s; - dl->ChannelsSetCurrent(0); + dl->ChannelsSetCurrent(kLineLayer); art.image(dl, game_menu_art::kValueEnd, ImVec2(x0, y - 1.0f), ImVec2(x0 + ew, y - 1.0f + eh), art_tint, false, true); art.image(dl, game_menu_art::kValueEnd, ImVec2(x1 - ew, y - 1.0f), ImVec2(x1, y - 1.0f + eh), art_tint, true, true); art.rule(dl, x0 + ew - 1.0f, x1 - ew + 1.0f, y, art_tint); - dl->ChannelsSetCurrent(1); + dl->ChannelsSetCurrent(kWidgetLayer); } if (o.type != BB_OPT_ACTION && art.has(game_menu_art::kLabelLine)) { const float lh = std::max(art.h(game_menu_art::kLabelLine), 2.0f); - dl->ChannelsSetCurrent(0); + dl->ChannelsSetCurrent(kLineLayer); art.image(dl, game_menu_art::kLabelLine, ImVec2(a.x, b.y - 2.0f * s - lh * 0.5f), ImVec2(mid - 3.0f * s, b.y - 2.0f * s + lh * 0.5f), art_tint); - dl->ChannelsSetCurrent(1); + dl->ChannelsSetCurrent(kWidgetLayer); } if (arrows && out.focused) { if (art.has(game_menu_art::kArrow)) { @@ -538,31 +547,55 @@ RowOut row(const PluginEntry& p, const PluginOptionDesc& o, ImVec2 a, ImVec2 b, return out; } -// The height `text` takes wrapped to `width` in the current font at `size`. -float wrapped_height(const std::string& text, float size, float width) { - if (text.empty()) return 0.0f; - return ImGui::GetFont()->CalcTextSizeA(size, FLT_MAX, width, text.c_str()).y; +// The help's and the guide's lines. The game sets its multi-line texts (its +// dialogs' help, its item descriptions) a line's height apart plus their +// fields' leading - 2 px on its 1080-line stage, in nearly all of them - and +// so does the panel, at its scale (900 lines at a scale of 1). +constexpr float kLeading = 2.0f * 900.0f / 1080.0f; + +// How far the font's descenders (g j p q y, the brackets) reach under a line's +// box at `size`: the game's letters go a quarter of an em under the baseline, +// twice the descent the font gives, which is all a line's height keeps. +float descender_overhang(ImFont* f, float size) { + ImFontBaked* b = f->GetFontBaked(size); + float bottom = size; + for (const char* c = "gjpqy()[]{},;"; *c; ++c) { + if (const ImFontGlyph* g = b->FindGlyphNoFallback(static_cast(*c))) bottom = std::max(bottom, g->Y1); + } + return bottom - size; } -// Text across [x0, x1] from `top`, wrapped at the width and each line centred, -// as the game's dialogs set their help: the height it took. -float centred_text(ImDrawList* dl, ImFont* f, float size, float x0, float x1, float top, ImU32 col, const std::string& text) { +// `text` wrapped at `width` in `f` at `size`, line by line (ImGui's word wrap, +// an explicit new line kept): each line's [begin, end) without its trailing +// spaces. +std::vector> wrap_lines(ImFont* f, float size, const std::string& text, float width) { + std::vector> lines; const char* at = text.c_str(); const char* end = at + text.size(); - float y = top; - const float line = f->CalcTextSizeA(size, FLT_MAX, 0.0f, "A").y; while (at < end) { - const char* brk = f->CalcWordWrapPosition(size, at, end, x1 - x0); + const char* brk = f->CalcWordWrapPosition(size, at, end, width); + if (const char* nl = static_cast(std::memchr(at, '\n', static_cast(brk - at)))) brk = nl + 1; if (brk == at) brk = at + 1; const char* stop = brk; while (stop > at && (stop[-1] == ' ' || stop[-1] == '\n')) --stop; - const ImVec2 ts = f->CalcTextSizeA(size, FLT_MAX, 0.0f, at, stop); - dl->AddText(f, size, ImVec2((x0 + x1 - ts.x) * 0.5f, y), col, at, stop); - y += line; + lines.emplace_back(at, stop); at = brk; - while (at < end && (*at == ' ' || *at == '\n')) ++at; + while (at < end && *at == ' ') ++at; + } + return lines; +} + +// Text across [x0, x1] from `top`, wrapped at the width, a line every +// `advance`; each line centred (as the game's dialogs set their help) or +// from x0. +void text_lines(ImDrawList* dl, ImFont* f, float size, float x0, float x1, float top, float advance, ImU32 col, const std::string& text, + bool centred) { + float y = top; + for (const auto& [a, b] : wrap_lines(f, size, text, x1 - x0)) { + const float w = centred ? f->CalcTextSizeA(size, FLT_MAX, 0.0f, a, b).x : 0.0f; + dl->AddText(f, size, ImVec2(centred ? (x0 + x1 - w) * 0.5f : x0, y), col, a, b); + y += advance; } - return y - top; } // The controller's guide with the game's key guide icons for the buttons it @@ -692,24 +725,25 @@ void plugin_panel_draw(float scale, bool pad) { const ImVec2 frame_pad(8.0f * s, 3.0f * s); const float frame_h = text_size + 2.0f * frame_pad.y; const float row_h = frame_h + 6.0f * s; - int most_rows = 0; - float help_h = 0.0f; + // The help and the guide in the font at the small size: their lines a + // line's height and the game's leading apart. + ImFont* const font = ImGui::GetFont(); + const float leading = kLeading * s, advance = small_size + leading; + const auto lines_of = [&](const std::string& t) { return t.empty() ? 0 : static_cast(wrap_lines(font, small_size, t, inner).size()); }; + int most_rows = 0, help_lines = 0; { std::map rows; for (const PluginOptionDesc& o : p.entry->options) { if (o.page.empty()) continue; - if (o.type == BB_OPT_HEADING) { - help_h = std::max(help_h, wrapped_height(o.help, small_size, inner)); - continue; - } - most_rows = std::max(most_rows, ++rows[o.page]); - help_h = std::max(help_h, wrapped_height(o.help, small_size, inner)); + help_lines = std::max(help_lines, lines_of(o.help)); + if (o.type != BB_OPT_HEADING) most_rows = std::max(most_rows, ++rows[o.page]); } } - const float line_h = small_size * 1.25f; - help_h = std::clamp(help_h, 2.0f * line_h, 4.0f * line_h); - const float guide_h = std::max(wrapped_height(p.guide, small_size, inner), wrapped_height(p.guide_keys, small_size, inner)) + - (art.atlas ? small_size * 0.3f : 0.0f); + // Room for two to five lines, and under the last for its descenders. + help_lines = std::clamp(help_lines, 2, 5); + const float help_h = static_cast(help_lines) * advance - leading + descender_overhang(font, small_size); + const int guide_lines = std::max(lines_of(p.guide), lines_of(p.guide_keys)); + const float guide_h = (guide_lines ? static_cast(guide_lines) * advance - leading : 0.0f) + (art.atlas ? small_size * 0.3f : 0.0f); const float rule_gap = 12.0f * s; // The game's top and foot are its ornament over its band; the rules about // the title and the help carry the filigree, which wants more room. @@ -842,13 +876,14 @@ void plugin_panel_draw(float scale, bool pad) { // Its rows, the one with the cursor lit; the glow and the lines go // under the row's widget (the draw list's first channel). std::string help = page_help; - dl->ChannelsSplit(2); - dl->ChannelsSetCurrent(1); + dl->ChannelsSplit(3); + dl->ChannelsSetCurrent(kWidgetLayer); const bool glow_art = art.has(game_menu_art::kGlow); // `strength` 1 for the cursor's row; less for the one under the - // pointer (the art's glow only). - const auto light = [&](float top, bool label_side, float strength) { - dl->ChannelsSetCurrent(0); + // pointer (the art's glow only). `value_x` the value's centre (a + // slider's track); < 0 the value column's. + const auto light = [&](float top, bool label_side, float strength, float value_x) { + dl->ChannelsSetCurrent(kGlowLayer); if (glow_art) { // The game's glow: brightest at the column rule, fading to the // left behind the label; on the value, brightest at its middle. @@ -857,7 +892,8 @@ void plugin_panel_draw(float scale, bool pad) { const ImU32 value_tint = IM_COL32(255, 255, 255, static_cast(170.0f * strength)); if (label_side) art.image(dl, game_menu_art::kGlow, ImVec2(x0 - pad_x * 0.6f, cy - gh * 0.5f), ImVec2(mid, cy + gh * 0.5f), label_tint); - const float vx = (mid + 14.0f * s + x1) * 0.5f, hw = (x1 - mid - 14.0f * s) * 0.45f, vh = row_h * 2.0f; + const float vx = value_x >= 0.0f ? value_x : (mid + 14.0f * s + x1) * 0.5f, hw = (x1 - mid - 14.0f * s) * 0.45f, + vh = row_h * 2.0f; art.image(dl, game_menu_art::kGlow, ImVec2(vx - hw, cy - vh * 0.5f), ImVec2(vx, cy + vh * 0.5f), value_tint); art.image(dl, game_menu_art::kGlow, ImVec2(vx, cy - vh * 0.5f), ImVec2(vx + hw, cy + vh * 0.5f), value_tint, true); } else if (strength >= 1.0f) { @@ -867,7 +903,7 @@ void plugin_panel_draw(float scale, bool pad) { dl->AddRectFilledMultiColor(ImVec2(cx, top), ImVec2(x1 + pad_x * 0.5f, top + row_h), look::kGlow, IM_COL32(0, 0, 0, 0), IM_COL32(0, 0, 0, 0), look::kGlow); } - dl->ChannelsSetCurrent(1); + dl->ChannelsSetCurrent(kWidgetLayer); }; bool first = true; int i = 0, focus = -1; @@ -876,10 +912,10 @@ void plugin_panel_draw(float scale, bool pad) { const float top = y + static_cast(i) * row_h; const RowOut r = row(*p.entry, opt, ImVec2(x0, top), ImVec2(x1, top + row_h), mid, s, first && refocus, art); if (r.focused) { - light(top, opt.type != BB_OPT_ACTION, 1.0f); + light(top, opt.type != BB_OPT_ACTION, 1.0f, r.glow_x); focus = i; } else if (r.hot) { - light(top, opt.type != BB_OPT_ACTION, 0.4f); + light(top, opt.type != BB_OPT_ACTION, 0.4f, r.glow_x); } if (r.hot) help = opt.help; if (!art.has(game_menu_art::kLabelLine)) @@ -895,20 +931,20 @@ void plugin_panel_draw(float scale, bool pad) { const bool pressed = value_button("defaults", "Defaults", ImVec2(x1 - mid - 14.0f * s, frame_h), false); const bool focused = ImGui::IsItemFocused(), hovered = ImGui::IsItemHovered(); if (focused) { - light(top, false, 1.0f); + light(top, false, 1.0f, -1.0f); focus = most_rows; } else if (hovered) { - light(top, false, 0.4f); + light(top, false, 0.4f, -1.0f); } if (focused || hovered) help = "Every row on this page back to its default."; if (art.has(game_menu_art::kValueEnd) && art.has(game_menu_art::kRule)) { const float ly = top + row_h - 4.0f * s, ew = art.w(game_menu_art::kValueEnd), eh = art.h(game_menu_art::kValueEnd); const float vx0 = mid + 16.0f * s, vx1 = x1 - 2.0f * s; - dl->ChannelsSetCurrent(0); + dl->ChannelsSetCurrent(kLineLayer); art.image(dl, game_menu_art::kValueEnd, ImVec2(vx0, ly - 1.0f), ImVec2(vx0 + ew, ly - 1.0f + eh), art_tint, false, true); art.image(dl, game_menu_art::kValueEnd, ImVec2(vx1 - ew, ly - 1.0f), ImVec2(vx1, ly - 1.0f + eh), art_tint, true, true); art.rule(dl, vx0 + ew - 1.0f, vx1 - ew + 1.0f, ly, art_tint); - dl->ChannelsSetCurrent(1); + dl->ChannelsSetCurrent(kWidgetLayer); } if (pressed) { for (const PluginOptionDesc& opt : p.entry->options) { @@ -946,21 +982,16 @@ void plugin_panel_draw(float scale, bool pad) { { ImGui::PushFont(nullptr, kSmallSize); ImFont* f = ImGui::GetFont(); - ImGui::PushClipRect(ImVec2(x0, y), ImVec2(x1, y + help_h), true); - if (art.atlas) - centred_text(dl, f, small_size, x0, x1, y, look::kHelp, help); - else - dl->AddText(f, small_size, ImVec2(x0, y), look::kHelp, help.c_str(), nullptr, inner); + // Its area holds its last line's descenders; the clip lets an + // accented capital of its first line rise as far. + ImGui::PushClipRect(ImVec2(x0, y - (help_h - static_cast(help_lines) * advance + leading)), ImVec2(x1, y + help_h), true); + text_lines(dl, f, small_size, x0, x1, y, advance, look::kHelp, help, art.atlas != nullptr); ImGui::PopClipRect(); y += help_h + 10.0f * s; const std::string& guide = pad ? p.guide : p.guide_keys; if (!guide.empty()) { - if (!(art.atlas && pad && guide_with_icons(dl, f, small_size, x0, x1, y, look::kGuide, guide, art))) { - if (art.atlas) - centred_text(dl, f, small_size, x0, x1, y, look::kGuide, guide); - else - dl->AddText(f, small_size, ImVec2(x0, y), look::kGuide, guide.c_str(), nullptr, inner); - } + if (!(art.atlas && pad && guide_with_icons(dl, f, small_size, x0, x1, y, look::kGuide, guide, art))) + text_lines(dl, f, small_size, x0, x1, y, advance, look::kGuide, guide, art.atlas != nullptr); } ImGui::PopFont(); } From 474a5f8bb2debda622e6bad873778ad9a17bec6c Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 21:12:19 -0800 Subject: [PATCH 059/100] plugins: BB_PANEL_CORNER asks for a plugin's panel at the bottom right, and photo mode asks for it Plugin API 29's panel is drawn at the bottom right, the world in view, as photo mode wants its own: the picture being framed stays visible beside the rows. In-game menus that plugins build from their tables will be the game's dialogs - centred, the screen dimmed behind them - by default, so the corner gets a flag of its own, BB_PANEL_CORNER, and photo mode passes it. The host draws every panel in the corner until those menus arrive; photo mode's test checks it asks for the corner. Co-authored-by: Nox- <70549780+Noxde@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012spzva3mKy1BjhbWqsFL7w --- include/bbhost_plugin.h | 1 + plugins/photo_mode/photo_mode.cpp | 2 +- tests/photo_mode_plugin_test.cpp | 2 +- tests/plugin_abi_test.c | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/bbhost_plugin.h b/include/bbhost_plugin.h index 8575793d..a6efda23 100644 --- a/include/bbhost_plugin.h +++ b/include/bbhost_plugin.h @@ -457,6 +457,7 @@ typedef struct BbLook { /* Version 29: a plugin's panel (panel_show, panel_state). */ #define BB_PANEL_DEFAULTS 1u /* each page ends with a Defaults row: its rows back to their defaults */ +#define BB_PANEL_CORNER 2u /* at the bottom right, the world in view (photo mode's): where every panel is drawn for now */ typedef struct BbPanel { uint32_t size; /* sizeof(BbPanel) as the plugin knows it */ uint32_t flags; /* BB_PANEL_* */ diff --git a/plugins/photo_mode/photo_mode.cpp b/plugins/photo_mode/photo_mode.cpp index 1759b5f7..85acb494 100644 --- a/plugins/photo_mode/photo_mode.cpp +++ b/plugins/photo_mode/photo_mode.cpp @@ -275,7 +275,7 @@ void show_panel(bool up) { if (up) { BbPanel p{}; p.size = sizeof(p); - p.flags = BB_PANEL_DEFAULTS; + p.flags = BB_PANEL_DEFAULTS | BB_PANEL_CORNER; // at the bottom right, the picture in view p.page = nullptr; // the page it showed last p.guide = kGuide; p.guide_keys = kGuideKeys; diff --git a/tests/photo_mode_plugin_test.cpp b/tests/photo_mode_plugin_test.cpp index 73d348c9..c3076fd2 100644 --- a/tests/photo_mode_plugin_test.cpp +++ b/tests/photo_mode_plugin_test.cpp @@ -490,7 +490,7 @@ int main(int argc, char** argv) { // Its panel opened with it, the Mode row back to Frozen, and no look over // the area's until a row says otherwise. - CHECK(H.panel_up && (H.panel_flags & BB_PANEL_DEFAULTS)); + CHECK(H.panel_up && (H.panel_flags & BB_PANEL_DEFAULTS) && (H.panel_flags & BB_PANEL_CORNER)); // in the corner: the picture in view CHECK(!H.sets.empty() && H.sets.back().first == "mode" && H.sets.back().second == "Frozen"); CHECK(H.looks >= 1 && !H.look_on); // The rows' look, as they change. diff --git a/tests/plugin_abi_test.c b/tests/plugin_abi_test.c index 10d1407c..76e171a5 100755 --- a/tests/plugin_abi_test.c +++ b/tests/plugin_abi_test.c @@ -56,7 +56,7 @@ _Static_assert(offsetof(BbHostApi, option_set) == offsetof(BbHostApi, panel_stat _Static_assert(offsetof(BbHostApi, input_take_as) == offsetof(BbHostApi, option_set) + sizeof(void*), "input_take_as after option_set"); _Static_assert(offsetof(BbHostApi, input_as) == offsetof(BbHostApi, input_take_as) + sizeof(void*), "input_as after input_take_as"); _Static_assert(sizeof(BbHostApi) == offsetof(BbHostApi, input_as) + sizeof(void*), "input_as ends the API table"); -_Static_assert(BB_OPT_PANEL == 0x400u && BB_PANEL_DEFAULTS == 1u, "the panel's flags"); +_Static_assert(BB_OPT_PANEL == 0x400u && BB_PANEL_DEFAULTS == 1u && BB_PANEL_CORNER == 2u, "the panel's flags"); _Static_assert(offsetof(BbPanel, page) == 8 && sizeof(BbPanel) == 8 + 3 * sizeof(void*), "BbPanel"); _Static_assert(sizeof(BbPanelState) == 44 && offsetof(BbPanelState, page) == 12, "BbPanelState"); _Static_assert(sizeof(BbLook) == 128 && BB_LOOK_DOF_RANGE == 64u, "BbLook"); From 04676448f036c606502282a684336ecfb9d11e34 Mon Sep 17 00:00:00 2001 From: droogie <1254882+droogie@users.noreply.github.com> Date: Fri, 13 Nov 2026 21:12:24 -0800 Subject: [PATCH 060/100] plugins: in-game menus in the game's look - named menus from a plugin's table, an Open button in F10, sub-pages, rows set at run time, info, text and confirm rows, the game's dialog centred Plugin API 29's panel let a plugin show pages of its options table over the game in the look of the game's options dialog, at the bottom right. Plugin authors can now build whole in-game menus that look and sound like the game's, with no input code; API 29 is not yet released, so it grows in place - fields appended to BbPanel, calls added at the end of BbHostApi, nothing renamed. docs/plugins.md's new section, In-game menus, has the rules and a complete example (examples/plugins/menu, built with bbhost; a test fails when the docs' copy differs from the file). - The table: BB_OPT_MENU on a page's heading starts a menu named by its def; the pages after it are that menu's, in L1/R1 order. F10's entry of a loaded plugin has an "Open " button for each, which closes the overlay and shows the menu. A plugin without one keeps one unnamed menu of all its pages, shown by panel_show (photo mode). BB_OPT_SUBPAGE keeps a page out of the L1/R1 order: a row opens it, BB_OPT_ACTION | BB_OPT_OPEN (its def the page), or panel_open; Circle there goes back to the row that opened it, and on a page of the menu closes it. - New rows: BB_OPT_INFO, a label and a value the player cannot change; BB_OPT_TEXT rows open the host's text box (the game's name dialog's) on Cross or Enter; BB_OPT_ACTION | BB_OPT_CONFIRM asks first in a yes/no dialog drawn with the game's art ("