LEONIDA_ACTIVATE_RAYS |
see the code |
|
yes |
|
leonida-gpu/pipeline/make.rs +1 |
|
LEONIDA_ADAPTER |
see the code |
|
yes |
|
leonida-gpu/host.rs +3 |
LOCAL: the card LEONIDA_ADAPTER names, for a PC with more than one. |
LEONIDA_AHEAD_INDEX |
on, 0 turns it off |
yes |
|
|
leonida-gpu/watch.rs |
Whether the page ranges asked ahead ([Journal::ahead]) are kept in order, so that the one that holds a range is found in a few steps (LEONIDA_AHEAD_INDEX=0: a list looked through from its start, as before). |
LEONIDA_AHEAD_KEPT_THREAD |
on, 0 turns it off |
yes |
|
|
leonida-gpu/queue.rs |
LEONIDA_AHEAD_KEPT_THREAD (on; 0: off, LEONIDA_AB can switch it): the textures' half of a split list ahead ([crate::draw::ahead_split]) is recorded by one thread kept for the run ([AHEAD_BESIDE]), instead of by... |
LEONIDA_AHEAD_SPLIT |
off unless set and not 0 |
yes |
yes |
yes |
leonida-gpu/draw.rs +1 |
LEONIDA_AHEAD_SPLIT=1: the list ahead of a frame is recorded as two lists by two threads at once, the buffer views' pass and the textures' pass (sent in that order), instead of one after the other into one list. |
LEONIDA_ALIAS_CAST |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/descriptor/host.rs +2 |
..., with no copy on the card and no host texture of its own (LEONIDA_ALIAS_CAST=0: copied as before; LEONIDA_AB can name it).... |
LEONIDA_ALIAS_COPY |
see the code |
|
|
|
leonida-gpu/resource.rs |
LEONIDA_ALIAS_COPY=0: none is found, as before; =1: only textures of one level and one layer, as at first. |
LEONIDA_ALIAS_COUNT |
off unless set and not 0 |
|
|
|
leonida-gpu/texture.rs |
Whether the copies behind aliased views are counted by view, with how often each source is written (LEONIDA_ALIAS_COUNT=1, diagnostics; off by default: a lock for every change of a texture's state to a written one). |
LEONIDA_ALIAS_DIRECT |
off unless set and not 0 |
yes |
yes |
yes |
leonida-gpu/resource.rs +2 |
...wo formats ([direct_pair]), instead of through a buffer (LEONIDA_ALIAS_DIRECT=1; off by default: through the buffer, as before; LEONIDA_AB can name it).... |
LEONIDA_ALIAS_LATER |
on, 0 turns it off |
yes |
|
|
leonida-gpu/queue.rs |
Whether the title's page-mapping copies are done by a thread of ours behind its call (LEONIDA_ALIAS_LATER=0: in the call, as before; needs the line of submissions). |
LEONIDA_ALIAS_QUICK |
off unless set and not 0 |
yes |
|
yes |
leonida-gpu/resource.rs |
Off unless LEONIDA_ALIAS_QUICK=1; by turns under A/B. |
LEONIDA_ALLOCATOR_TRIM |
see the code |
|
|
yes |
leonida-gpu/host.rs +1 |
Whether host command allocators are taken anew now and then (LEONIDA_ALLOCATOR_TRIM=1; off by default), and after how many seconds (LEONIDA_ALLOCATOR_TRIM_S, 30, 5 to 3600). |
LEONIDA_ALLOCATOR_TRIM_S |
see the code |
|
|
|
leonida-gpu/host.rs |
Whether host command allocators are taken anew now and then (LEONIDA_ALLOCATOR_TRIM=1; off by default), and after how many seconds (LEONIDA_ALLOCATOR_TRIM_S, 30, 5 to 3600). |
LEONIDA_AMBIENT |
see the code |
|
yes |
|
leonida-gpu/ambient.rs +3 |
LEONIDA_AMBIENT: - unset or 0/off: the title's own output. - a number: that share of the estimate (1: all of it). - constant:<level>: the constant, as beloooo's fork has it. |
LEONIDA_AMBIENT_AIR |
see the code |
|
yes |
|
leonida-gpu/ambient.rs +2 |
LEONIDA_AMBIENT_AIR bounds what the air scatters by a multiple of the light around. |
LEONIDA_AMBIENT_ALPHA |
see the code |
yes |
yes |
|
leonida-gpu/ambient.rs +1 |
The most light transparent surfaces and particles get from around them, as a multiple of the light around (LEONIDA_AMBIENT_ALPHA=<multiple>; unset or 0: what the title has). |
LEONIDA_AMBIENT_BLUE |
off unless set and not 0 |
|
|
|
leonida-gpu/ambient.rs |
The same for a neon green far above red and blue (LEONIDA_AMBIENT_GREEN=1) and a blue far above green and above red (LEONIDA_AMBIENT_BLUE=1). |
LEONIDA_AMBIENT_FLOOR |
see the code |
yes |
|
|
leonida-gpu/ambient.rs |
The least diffuse light the estimate gives (LEONIDA_AMBIENT_FLOOR=<level>, with LEONIDA_AMBIENT a number; unset or 0: no floor), a warm fill shaded in creases as the constant stand-in is. |
LEONIDA_AMBIENT_GREEN |
off unless set and not 0 |
|
|
|
leonida-gpu/ambient.rs |
The same for a neon green far above red and blue (LEONIDA_AMBIENT_GREEN=1) and a blue far above green and above red (LEONIDA_AMBIENT_BLUE=1). |
LEONIDA_AMBIENT_MAGENTA |
on, 0 turns it off |
yes |
|
|
leonida-gpu/ambient.rs |
Leonida: which other colours of garbage the light pass drops from what the title's probe resolve left, as it drops magenta (LEONIDA_AMBIENT_MAGENTA): neon green (LEONIDA_AMBIENT_GREEN=1) and blue (`LEONIDA_AMBIENT_BL... |
LEONIDA_AMBIENT_MOST |
see the code |
|
yes |
|
leonida-gpu/ambient.rs +1 |
Fresh seconds (default 0: none): for that long after such a jump the light the title's own resolve left is bounded by the estimate, not LEONIDA_AMBIENT_MOST times it. |
LEONIDA_AMBIENT_NEAR |
off unless set and not 0 |
|
|
yes |
leonida-gpu/ambient.rs |
Leonida (LEONIDA_AMBIENT_NEAR): without ray tracing the title's probe resolve leaves stale tiles of 16x16 where its probes found nothing, and max kept them as a mosaic on faces and hair; near surfaces take the estima... |
LEONIDA_AMBIENT_ON |
on, 0 turns it off |
yes |
|
|
leonida-gpu/ambient.rs |
LEONIDA_AB=<s>,LEONIDA_AMBIENT_ON measures what the passes cost on the card in one run (off: the title's shading as it is with the rays off); unset, as LEONIDA_AMBIENT says. |
LEONIDA_AMBIENT_SETTLE |
see the code |
yes |
|
|
leonida-gpu/ambient.rs |
How the slow mean of the light around follows the frames (LEONIDA_AMBIENT_SETTLE=<time constant in ms>[,<jump factor>[,<fresh seconds>]], or LEONIDA_AMBIENT_SETTLE=1: 250,3; unset or 0: 0.04 of the way a frame, as be... |
LEONIDA_AMBIENT_SHADE |
see the code |
|
|
|
leonida-gpu/ambient.rs |
LEONIDA_AMBIENT_SHADE=<strength>,<radius in metres> sets the creases. |
LEONIDA_AMBIENT_TRUE_DEPTH |
see the code |
|
|
|
leonida-gpu/ambient.rs +1 |
Whether the resolve's depth is looked for at [TRUE_DEPTH] first (LEONIDA_AMBIENT_TRUE_DEPTH=1; off by default: [DEPTH] alone, as before). |
LEONIDA_ASK_EARLY |
see the code |
|
|
|
leonida-gpu/watch.rs |
Whether a thread asks, between a submission's askings, about the memory they found written (LEONIDA_ASK_EARLY=<ms> between its rounds; off unless given: in run cpu-2 the submissions' own askings were none the cheaper f... |
LEONIDA_ASK_GAP_KB |
see the code |
yes |
|
|
leonida-gpu/watch.rs |
...ritten pages costs 30-70 microseconds whatever the range). LEONIDA_ASK_GAP_KB=<KiB>, 8192 by default.... |
LEONIDA_ASK_GAP_KB_AB |
see the code |
|
|
yes |
leonida-gpu/watch.rs |
Named in LEONIDA_AB, the gap asked for against LEONIDA_ASK_GAP_KB_AB (256 when not set). |
LEONIDA_ASK_ONCE |
see the code |
|
|
|
leonida-gpu/host.rs +1 |
Whether a submission asks the kernel once, before its first refresh, about every range its lists refresh (LEONIDA_ASK_ONCE=1; off by default). |
LEONIDA_ASK_RANGES |
on, 0 turns it off |
yes |
|
|
leonida-gpu/watch.rs |
Whether an asking for a submission holds the page ranges it asks the kernel about and no others (LEONIDA_ASK_RANGES=0: all of memory, as before). [ask_ahead] and [ask_rest] held everything ([Asking::hold_all]) wh... |
LEONIDA_ASPECT |
see the code |
|
yes |
|
leonida-gpu/aspect.rs +4 |
Two settings, the ones docs/ultrawide.md gives the Vulkan runtime: - LEONIDA_ASPECT=21:9|32:9|16:9|W:H|<decimal>|auto: the shape the title's window is made in (auto: the primary monitor's). |
LEONIDA_ASYNC_SUBMIT |
see the code |
yes |
|
yes |
leonida-gpu/queue.rs +1 |
Submissions prepared and sent by a thread of ours, in order, instead of by the thread of the title that submits them (LEONIDA_ASYNC_SUBMIT=1). |
LEONIDA_BACK_RENEW |
on, 0 turns it off |
yes |
|
|
leonida-gpu/host.rs +1 |
LEONIDA_BACK_RENEW=0: a stale one is kept, as before. |
LEONIDA_BAKE_AHEAD |
see the code |
yes |
|
yes |
leonida-gpu/draw.rs |
...e air, waiting for the uploads and showing the slots then (LEONIDA_BAKE_AHEAD=1, or by turns with LEONIDA_AB; off by default).... |
LEONIDA_BAKE_EXACT |
see the code |
|
|
|
leonida-gpu/draw.rs |
Whether a draw of the title's bake finds the textures it picks by index as title memory has them at that moment (LEONIDA_BAKE_EXACT=0: as the pass leaves them, as before). |
LEONIDA_BAKE_TEXTURES_MS |
see the code |
|
|
|
leonida-gpu/draw.rs |
...ay take just before a draw of the title's decoration bake (LEONIDA_BAKE_TEXTURES_MS, 1500; 0: nothing special).... |
LEONIDA_BARRIER_MERGE |
off unless set and not 0 |
yes |
|
yes |
leonida-gpu/draw.rs +1 |
... no command since that can write through unordered access (LEONIDA_BARRIER_MERGE=1; off by default; LEONIDA_AB can name it).... |
LEONIDA_BARRIER_TEST |
see the code |
|
|
|
leonida-gpu/copystat.rs +2 |
Whether an experiment on barriers is on (LEONIDA_BARRIER_TEST): bit 0 for groups (the title's barrier groups record no wait for earlier shader writes), bit 1 for indirect (the pass that bounds an indirect command r... |
LEONIDA_BARRIER_WAITS |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/copystat.rs |
LEONIDA_AB=<s>,LEONIDA_BARRIER_WAITS (off: both kinds of waits left out, as both). |
LEONIDA_BATCH_DESCRIPTORS |
see the code |
yes |
|
yes |
leonida-gpu/descriptor/host.rs +2 |
... table instead of one CopyDescriptorsSimple call a slot (LEONIDA_BATCH_DESCRIPTORS=1, or by turns with LEONIDA_AB; off by default).... |
LEONIDA_BATCH_HEAP_READS |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/draw.rs |
...stores_declared], LEONIDA_INDIRECT_BATCH=4): on unless LEONIDA_BATCH_HEAP_READS=0 (nameable in LEONIDA_AB).... |
LEONIDA_BATCH_KEPT |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/host.rs |
(LEONIDA_BATCH_KEPT: read once, so that the whole submission goes one way while LEONIDA_AB flips it.) |
LEONIDA_BATCH_SCRATCH_POOL |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/host.rs |
Whether the scratch buffers of the batched clamps ([HostList::batch_place]) are shared by the lists (LEONIDA_BATCH_SCRATCH_POOL=0: a list keeps every one it ever took for as long as it lives, as before; LEONIDA_AB... |
LEONIDA_BATCH_TEXTURE_DISPATCHES |
on, 0 turns it off |
yes |
|
|
leonida-gpu/draw.rs |
LEONIDA_BATCH_TEXTURE_DISPATCHES=0: every dispatch ends the batch, as before (an A/B switch, LEONIDA_AB). |
LEONIDA_BATCH_WHY |
off unless set and not 0 |
|
|
yes |
leonida-gpu/draw.rs +2 |
... frame with it against 928 without (run d311 against d275, LEONIDA_BATCH_WHY): what ended them, 793 a frame "views picked from the heap" (the meshlet culling passes and the 934 CS_RaytracingResolve dispatches a frame... |
LEONIDA_BIND_CACHE |
see the code |
|
|
|
leonida-gpu/draw.rs |
LEONIDA_BIND_CACHE=0 sets them every time. |
LEONIDA_BOOK |
see the code |
|
|
|
leonida-gpu/book.rs |
The book is kept with device-removed data on (LEONIDA_D3D12_DRED) or the check; LEONIDA_BOOK=0 keeps none. |
LEONIDA_BURY_LAG |
see the code |
|
|
|
leonida-gpu/host.rs |
Objects let go while nothing runs wait as well: lists recorded and not yet sent may name them. LEONIDA_BURY_LAG=0: not. |
LEONIDA_BVH_BOUNDS |
see the code |
|
|
|
leonida-gpu/shader_cache.rs +1 |
Whether the structure builder's accesses through its root views stay near them, and a size in a structure's header that cannot be one counts as none (LEONIDA_BVH_BOUNDS=0: neither). |
LEONIDA_BVH_BUILDER |
see the code |
|
yes |
|
leonida-gpu/fg.rs +9 |
With LEONIDA_BVH_BUILDER=1 too, hardware ray tracing is kept and the title's builder does not run (crate::pipeline::builder_allowed). |
LEONIDA_BVH_FENCES |
see the code |
|
|
|
leonida-gpu/shader_cache.rs +1 |
Whether buffer atomics of the ray-tracing structure builder stand between two fences (LEONIDA_BVH_FENCES=0: they do not). |
LEONIDA_BVH_MISS |
see the code |
|
yes |
|
leonida-gpu/hwrt.rs +6 |
The tests' way to translate as with LEONIDA_BVH_MISS=1 ([bvh_miss]). |
LEONIDA_BVH_QUARANTINE |
see the code |
|
|
|
leonida-gpu/pipeline.rs |
LEONIDA_BVH_QUARANTINE=1: what the structure builder's stages store stays in the host's copies and is not copied back into title memory. |
LEONIDA_BVH_SIZES_WAIT |
see the code |
|
|
|
leonida-gpu/memory.rs |
Whether a submission that asks for the sizes of structures is waited for, and landed, before the title goes on (LEONIDA_BVH_SIZES_WAIT=1; off). |
LEONIDA_BVH_TRACE |
see the code |
|
|
|
leonida-gpu/memory.rs |
LEONIDA_BVH_TRACE=1: the sizes the builder is asked for (its program of one thread that stores a structure's compacted size) and when title memory has them, and the copies to a place of that size. |
LEONIDA_CAPTURE_ALL |
see the code |
|
|
|
leonida-gpu/capture.rs +1 |
LEONIDA_CAPTURE_ALL=1: every frame for as long as the title runs. |
LEONIDA_CAPTURE_FRAMES |
see the code |
|
|
|
leonida-gpu/capture.rs |
Frames listed in LEONIDA_CAPTURE_FRAMES (comma-separated): saved too, and their draws traced at debug level. |
LEONIDA_CAPTURE_SHOWN |
see the code |
|
|
yes |
leonida-gpu/host.rs +1 |
With LEONIDA_CAPTURE=<folder> and LEONIDA_CAPTURE_SHOWN=1, every buffer the native swap chain presents while a file named rec is in the folder is saved as shown-<n>.png (half size), and shown-times.txt gets a l... |
LEONIDA_CAPTURE_WORLD |
see the code |
|
|
|
leonida-gpu/capture.rs |
LEONIDA_CAPTURE_WORLD: also the 2nd and the 6th frame after the first one that ran 500 draws or more (a title's first 3D frames: their numbers depend on how long the menus were shown), and the 30th and the 80th (the ti... |
LEONIDA_CAPTURE_WORLD_ALSO |
see the code |
|
|
|
leonida-gpu/capture.rs |
LEONIDA_CAPTURE_WORLD_ALSO (comma-separated): more frames counted from that first one (the title's blue patches show from about the 118th frame on, when the window's model has arrived and the reflections hold values: n... |
LEONIDA_CARD_ACCOUNTING |
see the code |
|
|
|
leonida-gpu/draw.rs +1 |
Off unless LEONIDA_CARD_ACCOUNTING=1; then at the first pass that finds the card without room, and every five seconds after it. |
LEONIDA_CARD_ALL |
see the code |
|
|
|
leonida-gpu/host/place.rs +2 |
One in the card's memory, one in the PC's (one side without LEONIDA_CARD_ALL). |
LEONIDA_CARD_BUFFERS |
see the code |
|
|
|
leonida-gpu/shadow.rs |
LEONIDA_CARD_BUFFERS=0 keeps every copy in the PC's memory, as before. |
LEONIDA_CARD_BUFFERS_MB |
see the code |
|
yes |
|
leonida-gpu/host/menu.rs +2 |
Resolve (min_bytes, max_bytes) from the adapter's local VRAM budget and optional explicit MiB overrides from LEONIDA_CARD_BUFFERS_MIN_MB / LEONIDA_CARD_BUFFERS_MB. |
LEONIDA_CARD_BUFFERS_MIN_KB |
see the code |
|
yes |
yes |
leonida-gpu/shadow.rs +1 |
With the title's buffers of a megabyte and more on the card that is a hundred copies; with the small ones too (LEONIDA_CARD_BUFFERS_MIN_KB=64) it was 3,540 copies times 29 submissions, 2.4 ms a frame of the submitting... |
LEONIDA_CARD_BUFFERS_MIN_MB |
see the code |
|
yes |
|
leonida-gpu/shadow.rs +1 |
Resolve (min_bytes, max_bytes) from the adapter's local VRAM budget and optional explicit MiB overrides from LEONIDA_CARD_BUFFERS_MIN_MB / LEONIDA_CARD_BUFFERS_MB. |
LEONIDA_CARD_COMPARE_JOIN |
on, 0 turns it off |
yes |
|
|
leonida-gpu/host.rs |
Whether the compares of ranges of one copy in the card's memory whose pieces and result places follow each other go in one pass (LEONIDA_CARD_COMPARE_JOIN=0: a pass each, as before). |
LEONIDA_CARD_HASH_LEN |
see the code |
|
|
|
leonida-gpu/shadow.rs |
LEONIDA_CARD_HASH_LEN=0: the whole buffer. |
LEONIDA_CARD_QUEUE |
on, 0 turns it off |
yes |
|
|
leonida-gpu/shadow.rs |
Whether [card_dirty] takes the copies that changed from that queue (LEONIDA_CARD_QUEUE=0: it goes through every copy in the card's memory, as before). |
LEONIDA_CARD_REHASH_RUNS |
see the code |
|
yes |
|
leonida-gpu/host.rs +3 |
... are hashed in runs of pieces that touch, each piece once (LEONIDA_CARD_REHASH_RUNS=1; off by default), and not in a pass per range sent up.... |
LEONIDA_CARD_RESERVE_BUDGETS |
see the code |
|
|
yes |
leonida-gpu/shadow.rs |
Whether the texture queue keeps the card room of the budgets as they are set, and windows go to the card up to the line title buffers do (LEONIDA_CARD_RESERVE_BUDGETS=1; off by default: unset or anything else is as bef... |
LEONIDA_CARD_ROOM_FOR_BUFFERS |
see the code |
|
|
|
leonida-gpu/shadow.rs |
Whether the texture queue leaves room on the card for the card copies of title buffers that are not made yet (LEONIDA_CARD_ROOM_FOR_BUFFERS=1; off by default). |
LEONIDA_CARD_ROOM_FOR_TARGETS_MB |
see the code |
|
|
|
leonida-gpu/resource.rs |
LEONIDA_CARD_ROOM_FOR_TARGETS_MB (3,072; 0: none, as before) less what such copies hold now. |
LEONIDA_CARD_ROOM_FOR_TARGETS_SETTLE_MS |
see the code |
|
|
|
leonida-gpu/resource.rs |
With LEONIDA_CARD_ROOM_FOR_TARGETS_SETTLE_MS set (0, the default: kept for the run, as before; 20,000 is the value measured), nothing is kept once the world's targets are made (half of the reserve or more) and have not... |
LEONIDA_CARD_SPANS |
see the code |
|
|
|
leonida-gpu/host/spans.rs |
Diagnostics: how long the card itself works on our submissions, by its own timestamps (LEONIDA_CARD_SPANS=1). |
LEONIDA_CARD_STEPS |
see the code |
|
yes |
yes |
leonida-gpu/host/card_steps.rs +3 |
Steps of a submission that read title memory flights in the air may still write, done on the card in the flights' order instead of on the CPU after a wait for them (LEONIDA_CARD_STEPS, see [stage]). |
LEONIDA_CARD_STEPS_ON |
on, 0 turns it off |
yes |
|
|
leonida-gpu/host/card_steps.rs |
LEONIDA_AB=<s>,LEONIDA_CARD_STEPS_ON measures what the planning costs against what it saves (off: no plan, the old wait for the flights where a step reads what they write). |
LEONIDA_CARD_WINDOWS_MB |
see the code |
|
|
yes |
leonida-gpu/shadow.rs |
... says 1,536), and nothing for the windows outside buffers (LEONIDA_CARD_WINDOWS_MB, [window_card_most]), which are turned down from eight tenths of the card's budget on ([window_room_for]).... |
LEONIDA_CLAIM_READ_FIRST |
on, 0 turns it off |
yes |
|
|
leonida-gpu/texture.rs |
A change after the load is claimed by the next list. LEONIDA_CLAIM_READ_FIRST=0 restores the swaps. |
LEONIDA_CLOSED_AHEAD |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/list.rs |
LEONIDA_CLOSED_AHEAD=0: closed there, as before. |
LEONIDA_COMMITTED_QUERY |
see the code |
|
|
|
leonida-gpu/texture.rs |
Whether the two questions above and below are put to VirtualQuery, as they were (LEONIDA_COMMITTED_QUERY=1). |
LEONIDA_COMMIT_FLOOR |
see the code |
yes |
|
yes |
leonida-gpu/resource.rs |
LEONIDA_COMMIT_FLOOR=1 (off by default; LEONIDA_AB can name it), and less left than LEONIDA_COMMIT_FLOOR_MB megabytes (4096 where it is unset: where crate::residency begins to speak of pressure by commit). |
LEONIDA_COMMIT_FLOOR_MB |
see the code |
|
|
yes |
leonida-gpu/resource.rs |
LEONIDA_COMMIT_FLOOR=1 (off by default; LEONIDA_AB can name it), and less left than LEONIDA_COMMIT_FLOOR_MB megabytes (4096 where it is unset: where crate::residency begins to speak of pressure by commit). |
LEONIDA_COMPOSE_NAN |
see the code |
|
|
|
leonida-gpu/compose.rs |
A clamp to [0,1] that is safe for NaN and infinity (CLEAN, set when the pass is made from LEONIDA_COMPOSE_NAN): saturate() makes a NaN 0, which showed as black specks and a black sun where the upscaler or frame generatio... |
LEONIDA_CONSTANTS_ONCE |
on, 0 turns it off |
yes |
|
|
leonida-gpu/host.rs +1 |
... whose slots any other table showing the same bytes joins (LEONIDA_CONSTANTS_ONCE).... |
LEONIDA_CONSTANT_MARKS |
see the code |
|
|
|
leonida-gpu/shader_cache.rs +1 |
LEONIDA_CONSTANT_MARKS=1 turns it on. |
LEONIDA_CONSTANT_SLOT_INLINE |
off unless set and not 0 |
yes |
|
|
leonida-gpu/host.rs |
|
LEONIDA_CONTENT_TABLES |
off unless set and not 0 |
yes |
|
yes |
leonida-gpu/draw.rs |
Off unless LEONIDA_CONTENT_TABLES=1; by turns under A/B. |
LEONIDA_COPIES_IN_PLACE |
see the code |
|
|
|
leonida-gpu/host/place.rs |
The title's buffer copies, done on the card at their place in the list (LEONIDA_COPIES_IN_PLACE, on by default; 0: all at submission, on the CPU, as before). |
LEONIDA_COPYBACK_ELIDE |
see the code |
yes |
|
yes |
leonida-gpu/shadow.rs +1 |
Copy-back elision (LEONIDA_COPYBACK_ELIDE): a big host copy in the card's memory that only the card ever changes is not copied back into title memory. |
LEONIDA_COPYBACK_ELIDE_MIN_MB |
see the code |
|
|
|
leonida-gpu/shadow/elide.rs |
The smallest copy that is watched (LEONIDA_COPYBACK_ELIDE_MIN_MB, 4: a small buffer is the likely read back or query result). |
LEONIDA_COPY_ASK |
see the code |
|
|
|
leonida-gpu/host.rs |
LEONIDA_COPY_ASK=1 asks first, as before. |
LEONIDA_COPY_BACK |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/host.rs +2 |
Copies and resolves into textures the title fills go back the same way (LEONIDA_COPY_BACK; 0: they stay on the host, as before): the title streams the small levels of a texture into memory by a copy, then samples the... |
LEONIDA_COPY_BESIDE |
see the code |
yes |
|
yes |
leonida-gpu/titlewrite.rs |
...]: the title's memcpy, memmoveandmemset are ours (LEONIDA_COPY_BESIDE=1`; off unless asked for).... |
LEONIDA_COPY_CLIP |
see the code |
|
|
|
leonida-gpu/list.rs |
Whether a texture to texture copy whose region does not fit its destination level is cut to what fits (on; LEONIDA_COPY_CLIP=0: passed on whole, as before). |
LEONIDA_COPY_MODE |
see the code |
|
|
|
leonida-gpu/copystat.rs |
LEONIDA_COPY_MODE=plain copies without the mapped-page guard, none skips the copies (both for timing only). |
LEONIDA_COPY_OVER_TITLE |
see the code |
|
|
|
leonida-gpu/list.rs |
The first copy into a texture of the title's: what it does not write is zeros, as in a texture that was an allocation of its own (LEONIDA_COPY_OVER_TITLE=title: what title memory holds, which may be another texture's:... |
LEONIDA_COPY_SCOPED |
see the code |
yes |
yes |
yes |
leonida-gpu/host.rs +1 |
...t its place and wherever else the title shows their pages (LEONIDA_COPY_SCOPED=1; off by default; LEONIDA_AB can name it).... |
LEONIDA_CROSS_COPY |
see the code |
yes |
|
yes |
leonida-gpu/host/cross.rs |
Leonida: copies in the card's memory that a submission refreshes while a flight in the air writes the same title memory through another copy of it (LEONIDA_CROSS_COPY, on by default; 0 off; LEONIDA_AB can name it). |
LEONIDA_CROSS_PC |
see the code |
|
|
|
leonida-gpu/host/cross.rs |
With LEONIDA_CROSS_PC=0 only copies whose both sides are in the card's memory. |
LEONIDA_CUT_WAITS |
see the code |
|
|
|
leonida-gpu/queue.rs |
LEONIDA_CUT_WAITS=0 holds whole lists, as before. |
LEONIDA_CUT_WRITES |
see the code |
|
|
|
leonida-gpu/list.rs |
The title wrote a value at the bottom of the pipe (not a timestamp, not a query result): listed (diagnostics), and with LEONIDA_CUT_WRITES=1 the host list is cut right behind it, so that the value is stored when the ca... |
LEONIDA_D3D12_BACKGROUND |
see the code |
|
|
yes |
leonida-gpu/host.rs |
LEONIDA_D3D12_BACKGROUND=0: the runtime's background work (the driver compiling shaders again on the "D3D Background Thread"s, for minutes after pipelines were made or loaded) is switched off. |
LEONIDA_D3D12_DEBUG |
off unless set and not 0 |
|
|
|
leonida-gpu/host.rs +7 |
With LEONIDA_D3D12_DEBUG set (diagnostics builds): the debug layer's messages. |
LEONIDA_D3D12_GBV |
off unless set and not 0 |
|
|
|
leonida-gpu/host.rs |
GPU-based validation (LEONIDA_D3D12_GBV): out-of-range descriptor heap indices and the like become messages naming the command instead of page faults. |
LEONIDA_D3D12_WARP |
off unless set and not 0 |
|
|
|
leonida-gpu/host.rs +2 |
A switch used to be on whenever its variable existed, so LEONIDA_D3D12_WARP=0 (typed to switch it off, or left over from comparing two runs) still selected the software adapter. |
LEONIDA_DECLARE_ONCE |
see the code |
|
|
|
leonida-gpu/host.rs |
Declared once until the list next writes title memory (but with LEONIDA_DECLARE_ONCE=0): the dispatches of a frame declared the same ranges thousands of times, each a step of its own. |
LEONIDA_DEPTH_TWINS |
see the code |
|
|
|
leonida-gpu/resource.rs |
LEONIDA_DEPTH_TWINS=0 makes none (such views stay null), LEONIDA_DEPTH_TWINS=stencil only those of formats with a stencil plane, LEONIDA_DEPTH_TWINS=nodepth none for the depth planes of such formats. |
LEONIDA_DIRECT_WRITES |
see the code |
|
|
|
leonida-gpu/host.rs |
LEONIDA_DIRECT_WRITES=0 writes as before. |
LEONIDA_DISPLAY_MODE |
see the code |
|
|
|
leonida-gpu/dxgi.rs |
LEONIDA_DISPLAY_MODE=WxH if set (as a console reports the television it is plugged into: a Series X on a 1080p set lists a 1080p mode), else 3840x2160. shortcut: not yet the host display's own size by default; make it... |
LEONIDA_DLSS_DEPTH_INVERTED |
see the code |
|
|
|
leonida-gpu/dlss.rs |
..., LEONIDA_DLSS_HDR=0|1(default: by the colour format),LEONIDA_DLSS_DEPTH_INVERTED=0|1(default: by near > far),LEONIDA_DLSS_SHARPNESS=<0..1>`.... |
LEONIDA_DLSS_HDR |
see the code |
|
|
|
leonida-gpu/dlss.rs |
...ion vectors the other way), LEONIDA_DLSS_JITTER_SIGN=-1, LEONIDA_DLSS_HDR=0|1 (default: by the colour format), LEONIDA_DLSS_DEPTH_INVERTED=0|1 (default: by near > far), LEONIDA_DLSS_SHARPNESS=<0..1>.... |
LEONIDA_DLSS_JITTER_SIGN |
see the code |
|
|
|
leonida-gpu/dlss.rs |
... LEONIDA_DLSS_MV_SIGN=-1 (motion vectors the other way), LEONIDA_DLSS_JITTER_SIGN=-1, LEONIDA_DLSS_HDR=0|1 (default: by the colour format), LEONIDA_DLSS_DEPTH_INVERTED=0|1 (default: by near > far), `LEONIDA_DLSS_... |
LEONIDA_DLSS_MV_SIGN |
see the code |
|
|
|
leonida-gpu/dlss.rs |
..., which the render scale decides: LEONIDA_RENDER_SCALE), LEONIDA_DLSS_MV_SIGN=-1 (motion vectors the other way), LEONIDA_DLSS_JITTER_SIGN=-1, LEONIDA_DLSS_HDR=0|1 (default: by the colour format), `LEONIDA_DLSS_DE... |
LEONIDA_DLSS_PRESET |
see the code |
|
|
|
leonida-gpu/dlss.rs +1 |
LEONIDA_DLSS_PRESET=J|K|L|M: the model, for every mode (unset: the DLL's default; 310.9.16 uses K, the DLSS 4 transformer model, for Quality). |
LEONIDA_DLSS_QUALITY |
see the code |
|
|
|
leonida-gpu/dlss.rs |
LEONIDA_DLSS_QUALITY (0 performance, 1 balanced, 2 quality, 3 ultra performance, 5 DLAA; unset: by the sizes, crate::list::dlss_mode, which the render scale decides: LEONIDA_RENDER_SCALE), LEONIDA_DLSS_MV_SIGN=-1... |
LEONIDA_DLSS_SDK |
see the code |
|
|
|
leonida-gpu/build.rs +2 |
The dlss feature links the DLSS SDK's loader (nvsdk_ngx_d.lib, the dynamic-CRT one) from LEONIDA_DLSS_SDK. |
LEONIDA_DLSS_SHARPNESS |
see the code |
|
|
|
leonida-gpu/dlss.rs +3 |
...LEONIDA_DLSS_DEPTH_INVERTED=0|1(default: by near > far),LEONIDA_DLSS_SHARPNESS=<0..1>`.... |
LEONIDA_DUMP_SIZE |
see the code |
|
|
yes |
leonida-gpu/capture.rs |
The sizes of the targets saved (LEONIDA_DUMP_SIZE=<w>x<h>[,<w>x<h>..]; unset: every size): a frame renders some 380 targets, 61 of them at the screen's size, and saving all of them took 11 s a frame, so a run of frames... |
LEONIDA_DUMP_TARGETS |
off unless set and not 0 |
|
yes |
yes |
leonida-gpu/capture.rs +1 |
LOCAL: with a capture folder, F9 captures the next frame as a listed one (its picture, its ops and, with LEONIDA_DUMP_TARGETS=1, every target it drew): to catch a picture fault the moment it shows. |
LEONIDA_DUMP_VOLUMES |
off unless set and not 0 |
|
|
|
leonida-gpu/capture.rs |
With LEONIDA_DUMP_VOLUMES set (and LEONIDA_CAPTURE=<folder>): the first time each 33x33x33 or 64x64x64 R16G16B16A16_FLOAT 3D texture is sampled by a list, and again [VOLUME_AGAIN] frames later, its texels are read... |
LEONIDA_DYNAMIC_BITS |
on, 0 turns it off |
yes |
|
|
leonida-gpu/descriptor.rs +1 |
Whether free dynamic slots are searched for a word of the set at a time, and a list's tables given back under one taking of the locks (LEONIDA_DYNAMIC_BITS=0: the search looks at slot after slot and each table is given... |
LEONIDA_DYNAMIC_LEASE |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs |
Whether dynamic slots come out of per-thread leases (LEONIDA_DYNAMIC_LEASE=0: one search under the lock each, as before). |
LEONIDA_DYNAMIC_SLOTS |
see the code |
|
yes |
|
leonida-gpu/descriptor/host.rs +2 |
... the room (a host that takes more than [PORTABLE_VIEWS]; LEONIDA_DYNAMIC_SLOTS sets the most). 2^18 ran out in the title's bigger places (session play-1125-0127: 27,000 to 35,000 tables a frame, up to 3,285 of them r... |
LEONIDA_DYNAMIC_WAIT |
see the code |
yes |
|
|
leonida-gpu/host.rs |
(Counts the wait, and with LEONIDA_DYNAMIC_WAIT=1 waits for the next landing without the submission lock before it settles everything.) |
LEONIDA_E5_TARGETS |
see the code |
|
|
|
leonida-gpu/resource.rs |
R16G16B16A16_FLOAT (10), 64 bits a texel, or with LEONIDA_E5_TARGETS=r11g11b10 R11G11B10_FLOAT (26): 32 bits a texel as on the console, unsigned and without alpha as R9G9B9E5 is, with 6, 6 and 5 bits of mantissa agains... |
LEONIDA_EARLY_ALL |
see the code |
|
|
|
leonida-gpu/pipeline/known.rs +1 |
LEONIDA_EARLY_ALL=1: every title pipeline is started at creation, requested before or not, so that the driver's own cache holds it for later runs. |
LEONIDA_EARLY_DEPTH |
see the code |
|
yes |
yes |
leonida-gpu/queue.rs +3 |
LEONIDA_EARLY_DEPTH=1 (off unless asked for): a pixel program whose console code tests depth and stencil before it runs ([DEPTH_BEFORE_SHADER]) gets D3D12's early depth-stencil test too (the DXIL shader flag ForceEar... |
LEONIDA_EARLY_TEXTURES_MS |
see the code |
|
|
|
leonida-gpu/draw.rs |
The milliseconds of every frame the pass that uploads textures picked by index takes before a shader that picks by index has asked for it (LEONIDA_EARLY_TEXTURES_MS, 12; 0: never, as before), and the milliseconds it ma... |
LEONIDA_ENTRY_ONCE |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/draw.rs |
LEONIDA_ENTRY_ONCE=0: every entry is brought up to date at every draw, as before; by turns under A/B. |
LEONIDA_EXACT_BACK |
see the code |
|
|
|
leonida-gpu/shadow.rs |
Whether what shaders wrote goes into title memory run by run ([put_changed]; on by default, LEONIDA_EXACT_BACK=0 writes the whole stretch from the first changed byte to the last, as before). |
LEONIDA_EXCHANGE_SITES |
see the code |
|
|
yes |
leonida-gpu/shader_cache.rs +1 |
How many exchanges of a console wave64 program in two host waves get dwords of their own (LEONIDA_EXCHANGE_SITES, 24 unless set; 0: all share one pair, as before). |
LEONIDA_EXP_BATCH_NO_WAIT |
see the code |
yes |
|
|
leonida-gpu/indirect.rs +1 |
Timing experiments (LEONIDA_AB=<s>,LEONIDA_EXP_BATCH_NO_WAIT and ..._WAIT_SOURCES): nothing, or only the unordered access to the buffers the records are read from. |
LEONIDA_EXP_BATCH_WAIT_SOURCES |
see the code |
yes |
|
yes |
leonida-gpu/indirect.rs |
|
LEONIDA_EXP_EMPTY_DISPATCHES |
see the code |
yes |
|
|
leonida-gpu/indirect/batch.rs |
...e), LEONIDA_EXP_EMPTY_DRAWS (bit 1: draws of no vertex), LEONIDA_EXP_EMPTY_DISPATCHES (bit 2: indirect dispatches of no group; what the title's compute passes make is stale or missing).... |
LEONIDA_EXP_EMPTY_DRAWS |
see the code |
yes |
|
|
leonida-gpu/indirect/batch.rs |
LEONIDA_EXP_EMPTY_MESH (bit 0: mesh dispatches of no group; the world's geometry is gone), LEONIDA_EXP_EMPTY_DRAWS (bit 1: draws of no vertex), LEONIDA_EXP_EMPTY_DISPATCHES (bit 2: indirect dispatches of no group;... |
LEONIDA_EXP_EMPTY_INDIRECT |
see the code |
yes |
|
yes |
leonida-gpu/draw.rs |
A buffer of 256 zeros on the card, for the empty indirect executions of LEONIDA_EXP_EMPTY_INDIRECT ([State::execute_indirect]). |
LEONIDA_EXP_EMPTY_MESH |
see the code |
yes |
|
|
leonida-gpu/indirect/batch.rs |
LEONIDA_EXP_EMPTY_MESH (bit 0: mesh dispatches of no group; the world's geometry is gone), LEONIDA_EXP_EMPTY_DRAWS (bit 1: draws of no vertex), LEONIDA_EXP_EMPTY_DISPATCHES (bit 2: indirect dispatches of no group;... |
LEONIDA_EXP_MESH_ONE_PIXEL |
see the code |
yes |
|
|
leonida-gpu/draw.rs |
LEONIDA_EXP_MESH_SKIP (what the mesh draws cost the card in all) and LEONIDA_EXP_MESH_ONE_PIXEL (what is left of it without their pixels: the mesh programs' own share). |
LEONIDA_EXP_MESH_SKIP |
see the code |
yes |
|
yes |
leonida-gpu/draw.rs |
LEONIDA_EXP_MESH_SKIP (what the mesh draws cost the card in all) and LEONIDA_EXP_MESH_ONE_PIXEL (what is left of it without their pixels: the mesh programs' own share). |
LEONIDA_EXP_NO_ALIAS_COPY |
see the code |
yes |
|
yes |
leonida-gpu/texture.rs |
Timing experiment (LEONIDA_AB=<s>,LEONIDA_EXP_NO_ALIAS_COPY): no copy is recorded while it is on (the views show what they were last given), so a phase's frame time against the next one's says what the copies cost the... |
LEONIDA_EXP_NO_PIXELS |
see the code |
yes |
|
|
leonida-gpu/draw.rs |
Timing experiment (LEONIDA_AB=<s>,LEONIDA_EXP_NO_PIXELS): every scissor is empty while it is on, so the title's draws run their vertex and mesh programs and shade no pixel: a phase's frame time against the next one's i... |
LEONIDA_F16_NEAREST |
see the code |
|
|
|
leonida-gpu/shader_cache.rs +2 |
LEONIDA_F16_NEAREST=1: the results of 16-bit float operations (v_add_f16, v_mul_f16, v_cvt_f16_f32 ...) are rounded to nearest as the console rounds them ([Lower::f16_nearest]) instead of as the host's `f32tof1... |
LEONIDA_FAIR_DUE |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs |
Whether due texture slots are served in turns, a slot looked at before and one never looked at ([TextureQueue::due]; on unless LEONIDA_FAIR_DUE=0). |
LEONIDA_FAST_CORES |
see the code |
|
|
|
leonida-gpu/cores.rs |
LEONIDA_FAST_CORES: 0: no thread asks; 1: the threads a frame waits for one by one; 2 (the default): the threads they share their work with too; 3: those that work beside the rest as well (lists translated, descriptors... |
LEONIDA_FAULT_BOOK |
see the code |
|
|
|
leonida-gpu/faultbook.rs |
A book of the title's write faults on guarded view memory (LEONIDA_FAULT_BOOK=<file>; builds with diagnostics): which block, when in the frame, what it waited for, and what else happened to the block (taken by a refres... |
LEONIDA_FAULT_BOOK_AT |
see the code |
|
|
|
leonida-gpu/faultbook.rs |
...efresh, asked about), for 40 frames from each of the times LEONIDA_FAULT_BOOK_AT gives (seconds after the start; 150,210,270 unless given).... |
LEONIDA_FENCE_CHECK |
see the code |
|
|
|
leonida-gpu/host.rs |
LEONIDA_FENCE_CHECK=0: goes on, as before. |
LEONIDA_FETCH_CHECK |
see the code |
|
yes |
yes |
leonida-gpu/host/menu.rs +3 |
Pieces of card copies that came down while a later flight was writing them (LEONIDA_FETCH_CHECK, with LEONIDA_RELAY_COPY). |
LEONIDA_FG_GBUFFER |
see the code |
|
|
yes |
leonida-gpu/fg.rs +1 |
Whether the G-buffer pass's depth and velocity targets are frame generation's inputs where no upscale hands any over (LEONIDA_FG_GBUFFER=0: not, as before). |
LEONIDA_FG_HUDLESS |
see the code |
|
|
|
leonida-gpu/fg.rs |
...s Present. - [before_target_draw] (from crate::draw; LEONIDA_FG_HUDLESS, on, 0 off): the picture without the interface.... |
LEONIDA_FG_LIMIT_FPS |
see the code |
|
yes |
|
leonida-gpu/fg.rs +1 |
LEONIDA_FG_LIMIT_FPS=<n>: Reflex holds the frames shown to n a second (its frame limit, frameLimitUs), so that they come evenly; unset or 0: no limit, as before. |
LEONIDA_FG_MARKERS |
see the code |
|
|
|
leonida-gpu/fg.rs +3 |
...E_COMPOSITE, before_target_draw, hudless_for). - With LEONIDA_FG_MARKERS=1, Reflex's frames at the title's own events ([frame_begins], [title_submits], [title_presents`]): its sleep where the title begins a f... |
LEONIDA_FG_REFLEX |
see the code |
|
|
|
leonida-gpu/fg.rs |
LEONIDA_FG_REFLEX=0: Reflex left off and its sleep not taken (to tell its cost from the rest). |
LEONIDA_FG_RESET_STALE |
see the code |
|
|
yes |
leonida-gpu/fg.rs |
Each is told as a reset (LEONIDA_FG_RESET_STALE, on; 0: only the upscale's own), so that no frame is made between two pictures the vectors do not join. |
LEONIDA_FG_TURNS |
see the code |
yes |
|
yes |
leonida-gpu/fg.rs |
Leonida: by turns, for what generation costs a rendered frame (LEONIDA_AB=<s>,LEONIDA_FG_TURNS, diagnostics builds): off in the phases the switch is off, as the F1 menu turns it off (its resources kept). |
LEONIDA_FG_WITH_RT |
see the code |
|
|
|
leonida-gpu/fg.rs +1 |
LEONIDA_FG_WITH_RT=1 starts it anyway. |
LEONIDA_FIDELITYFX_DIR |
see the code |
|
yes |
|
leonida-gpu/fsr.rs +1 |
... the swap chain stays FidelityFX's until the next start. - LEONIDA_FIDELITYFX_DIR: the folder of AMD's signed amd_fidelityfx_loader_dx12.dll and amd_fidelityfx_framegeneration_dx12.dll (the FidelityFX SDK's bin;... |
LEONIDA_FILL_TITLE |
see the code |
yes |
yes |
|
leonida-gpu/host.rs +2 |
Whether a small fill of upload memory, or copy of a title buffer, goes on without waiting for flights when the title itself wrote the memory since they were given it (LEONIDA_FILL_TITLE=1; off by default). |
LEONIDA_FIRSTLANE_OWN |
see the code |
|
|
|
leonida-gpu/shader_cache.rs +1 |
LEONIDA_FIRSTLANE_OWN=1 takes the host wave's own first lane, exact when the value is the same in every lane of the console wave (the ray-tracing builder's scans read a sum of scalars this way, inside a loop whose exit... |
LEONIDA_FIRST_HALF |
see the code |
|
|
|
leonida-gpu/shader_cache.rs +1 |
Runs translate with first halves of interpolations evaluated as the pair they start: the translation of a program refused with [FIRST_HALF] (LEONIDA_FIRST_HALF=0: refused again, as before). |
LEONIDA_FPS_CAP |
see the code |
|
|
|
leonida-gpu/frame.rs +6 |
What LEONIDA_FPS_CAP says, read as crate::frame reads it. |
LEONIDA_FPS_LINE |
see the code |
|
|
|
leonida-gpu/host/menu.rs |
Whether the frame-rate line is shown at the top while the menu is closed (LEONIDA_FPS_LINE=0: not; the menu changes it). |
LEONIDA_FRAME_GEN |
see the code |
|
yes |
yes |
leonida-gpu/dlss.rs +4 |
LEONIDA_FRAME_GEN=2|3|4 (frames shown per rendered one; unset or 1: off) with the SDK's signed DLLs in LEONIDA_STREAMLINE_DIR (sl.interposer, sl.common, sl.dlss_g, sl.reflex, sl.pcl, nvngx_dlssg). |
LEONIDA_FRAME_PEEK |
see the code |
|
|
|
leonida-gpu/draw.rs |
With peek the shared word is read first and written only when the frame changed (LEONIDA_FRAME_PEEK=0: swapped at every ask, as before). |
LEONIDA_FRAME_TIMES |
see the code |
|
|
yes |
leonida-gpu/capture.rs +1 |
Leonida: with LEONIDA_FRAME_TIMES=<file>, every present's number and time (microseconds since 1970) as a line <frame> <us>, written a second's worth at a time: the frame-rate line gives averages over five seconds, an... |
LEONIDA_FRONTS_LEAN |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/host.rs |
... thread ([fronts_let_go]), not on the submitting thread (LEONIDA_FRONTS_LEAN=0: as before; LEONIDA_AB can turn it on and off while the title runs).... |
LEONIDA_FSR_FRAMEGEN |
see the code |
|
yes |
|
leonida-gpu/fsr.rs +4 |
... tree's presenter and to the inputs [crate::fg] keeps. - LEONIDA_FSR_FRAMEGEN=1 at the start: the presenter's swap chain is FidelityFX's frame interpolation swap chain, and each present is told the depth and motion v... |
LEONIDA_FSR_FRAMEGEN_DEBUG |
see the code |
|
|
|
leonida-gpu/fsr.rs |
Their signatures are checked before they are loaded. - LEONIDA_FSR_FRAMEGEN_DEBUG=1: FidelityFX draws its tear and pacing lines. |
LEONIDA_FULLSCREEN |
see the code |
|
yes |
|
leonida-gpu/host/menu.rs +2 |
LEONIDA_FULLSCREEN=1 (the launcher's -Fullscreen, or the F1 menu): the title's window starts borderless. |
LEONIDA_FULL_CARD_PASS |
see the code |
|
|
|
leonida-gpu/draw.rs |
Whether a pass over the textures picked by index on a full card holds back the slots that need a new host copy (LEONIDA_FULL_CARD_PASS=0: no, as before: they stay due, each pass looks at the same ones again and stops a... |
LEONIDA_GPU_LOAD_MS |
see the code |
|
|
|
leonida-gpu/queue.rs |
What the title's GPU time is made to look like, in ticks (LEONIDA_GPU_LOAD_MS; unset: as it is). |
LEONIDA_GPU_READ_ONLY_NO_BACK |
see the code |
yes |
|
yes |
leonida-gpu/shadow.rs +1 |
Whether shader writes declared over GPU read-only title memory are left out of the copy-back (LEONIDA_GPU_READ_ONLY_NO_BACK, on unless 0; LEONIDA_AB switches it by turns): the console cannot have a shader write the... |
LEONIDA_GPU_TIMING |
off unless set and not 0 |
|
|
yes |
leonida-gpu/copystat.rs +1 |
With LEONIDA_GPU_TIMING: a GPU timestamp before each noted command and at the end, and where they are read back. |
LEONIDA_GPU_TIMING_KINDS |
see the code |
|
|
|
leonida-gpu/copystat.rs |
(LEONIDA_GPU_TIMING_KINDS=<n>: so many of the heaviest are listed instead of forty.) |
LEONIDA_GPU_TIMING_SLOW_MS |
see the code |
|
|
|
leonida-gpu/host.rs |
From how many milliseconds a list of the timing run is logged as slow, with what its time is made of (LEONIDA_GPU_TIMING_SLOW_MS, 50). |
LEONIDA_GROUP_PACK |
see the code |
|
|
yes |
leonida-gpu/draw.rs +7 |
LEONIDA_GROUP_PACK=<K>: the most console groups of 32 threads a host group runs (2, 4 or 8; 0, 1 or unset: one to a group, as the console does). |
LEONIDA_GUARD_ASK |
see the code |
|
|
|
leonida-gpu/watch.rs |
LEONIDA_GUARD_ASK=1 asks every time, as before. |
LEONIDA_GUARD_HOLES |
see the code |
|
|
|
leonida-gpu/watch.rs |
LEONIDA_GUARD_HOLES=0 looks at the first address only, as before. |
LEONIDA_GUARD_HOT |
see the code |
yes |
|
|
leonida-gpu/watch.rs |
Also with the switch: - a block the title writes again soon after each time it was taken rests longer ([hot_rest]; LEONIDA_GUARD_HOT=0: 3 ms as before); - view memory is not asked of the kernel, which refuses it ([`V... |
LEONIDA_GUARD_REST |
on, 0 turns it off |
yes |
|
|
leonida-gpu/watch.rs |
How long a block the title has just opened by a write is left open by those that take it (LEONIDA_GUARD_REST=<microseconds>, 3,000 unless given; 0: not at all, as before). 220 of a frame's 586 faults came within 3 ms... |
LEONIDA_HEAP_ID_GUARD |
on, 0 turns it off |
yes |
|
|
leonida-gpu/descriptor.rs +1 |
Runs of dynamic slots a release refused since the last call (LEONIDA_HEAP_ID_GUARD), logged with the recording line. |
LEONIDA_HEAP_PASS_ASIDE |
see the code |
|
|
|
leonida-gpu/host/aside.rs |
LEONIDA_HEAP_PASS_ASIDE=0: done where it is needed, as before. |
LEONIDA_HEAP_PRINT_SPREAD |
see the code |
|
|
yes |
leonida-gpu/draw.rs +1 |
Leonida: how many more places of a texture's memory [fingerprint] reads, 256 bytes each, spread over its 64 KiB steps (LEONIDA_HEAP_PRINT_SPREAD=<places>, 1: 64; unset or 0: none, as before). |
LEONIDA_HEAP_RECHECK |
see the code |
|
|
|
leonida-gpu/draw.rs |
Whether textures picked by index are looked at again after their upload (LEONIDA_HEAP_RECHECK=0: no). |
LEONIDA_HEAP_RECHECK_EVERY |
see the code |
|
|
|
leonida-gpu/draw.rs +1 |
Leonida: frames between further looks at an uploaded texture picked by index once [RECHECK_FRAMES] is through (LEONIDA_HEAP_RECHECK_EVERY, 300; 0: never again, as before). |
LEONIDA_HEAP_SPREAD |
see the code |
|
|
|
leonida-gpu/draw.rs |
Whether the slots looked at again for no write are a part of them at every pass, each slot at every sixteenth (LEONIDA_HEAP_SPREAD=0: all of them at every sixteenth pass, as before). |
LEONIDA_HEAP_SYNC |
see the code |
|
|
|
leonida-gpu/descriptor.rs +1 |
Whether [sync_heaps] is done (LEONIDA_HEAP_SYNC=0: not). |
LEONIDA_HEAP_SYNC_ASIDE |
see the code |
|
|
|
leonida-gpu/descriptor.rs |
Whether a submission's [sync_heaps] is done by a thread of its own beside the rest of the preparing (LEONIDA_HEAP_SYNC_ASIDE=0: in front of it, as before). |
LEONIDA_HEAP_SYNC_EARLY |
see the code |
|
|
|
leonida-gpu/descriptor.rs |
How long that thread waits for a submission before it makes a round of its own (LEONIDA_HEAP_SYNC_EARLY=<ms>, 4 if not given; 0: none). |
LEONIDA_HEAP_TEXTURES |
see the code |
|
|
|
leonida-gpu/draw.rs |
LEONIDA_HEAP_TEXTURES=0 turns it off. |
LEONIDA_HELD_GREY |
off unless set and not 0 |
yes |
|
|
leonida-gpu/descriptor/host.rs +1 |
LEONIDA_HELD_GREY=1; off by default (unset or 0: null, as before). |
LEONIDA_HELD_LEVELS |
see the code |
|
|
|
leonida-gpu/resource.rs |
Whether a texture the title places in memory is read, kept and uploaded from the first level its views show on (LEONIDA_HELD_LEVELS=0: whole, as before). |
LEONIDA_HELD_RESCHEDULE |
on, 0 turns it off |
yes |
|
|
leonida-gpu/descriptor/host.rs |
...ken by [TextureQueue::room] before its own look was due (LEONIDA_HELD_RESCHEDULE=0: left in, as before).... |
LEONIDA_HELPER_OWN |
see the code |
|
|
|
leonida-gpu/shader_cache.rs +1 |
Whether a pixel shader's helper lane reads its own value where the console reads the first lane's (lower.rs first_lane); on unless LEONIDA_HELPER_OWN=0. |
LEONIDA_HELPER_PRIORITY |
on, 0 turns it off |
yes |
|
|
leonida-gpu/cores.rs +5 |
Whether the threads the submitting thread waits for run at its priority (LEONIDA_HELPER_PRIORITY, on unless 0; LEONIDA_AB can flip it while the title runs): above normal, ahead of the title's threads and of the thr... |
LEONIDA_HURRY |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/list/thin.rs |
Whether what the thread that prepares submissions stands at is translated first, and above normal priority while it is (LEONIDA_HURRY, on unless 0: in turn, as before; LEONIDA_AB can flip it while the title runs). |
LEONIDA_HW_RT |
see the code |
|
yes |
|
leonida-gpu/descriptor/host.rs +19 |
Hardware ray-tracing support (DXR 1.1: native BLAS/TLAS builds via ID3D12Device5 / ID3D12GraphicsCommandList4 and SM 6.6 RayQuery execution on the host GPU's RT cores). Gated behind LEONIDA_HW_RT=1. |
LEONIDA_HW_RT_COPY_BACK |
see the code |
|
|
|
leonida-gpu/shadow.rs |
With hardware ray tracing and LEONIDA_HW_RT_COPY_BACK=1: off, every shader write is copied back (trustno1-coder/VIctory-NVIDIA 9a427c14 did so always: with writes left on the card its lighting swapped between two state... |
LEONIDA_HW_RT_REFIT |
see the code |
|
|
|
leonida-gpu/hwrt.rs |
Whether per-frame dynamic BLAS PERFORM_UPDATE refits are enabled (on by default when LEONIDA_HW_RT=1; set LEONIDA_HW_RT_REFIT=0 to force full BLAS rebuilds). |
LEONIDA_INDEX_HEAP_SPANS |
off unless set and not 0 |
yes |
yes |
yes |
leonida-gpu/draw.rs +1 |
|
LEONIDA_INDIRECT_BATCH_2 |
see the code |
yes |
|
|
leonida-gpu/draw.rs |
(LEONIDA_AB=<s>,LEONIDA_INDIRECT_BATCH_2, ..._3 or ..._4: that setting while the switch is on, so that one run measures it against the setting in one scene.) |
LEONIDA_INDIRECT_BATCH_3 |
see the code |
yes |
|
|
leonida-gpu/draw.rs |
|
LEONIDA_INDIRECT_BATCH_4 |
see the code |
yes |
|
|
leonida-gpu/draw.rs |
|
LEONIDA_INDIRECT_CARD_BUDGET |
see the code |
|
|
|
leonida-gpu/host.rs +1 |
Whether a list's indirect-work budget lives in the card's own memory (LEONIDA_INDIRECT_CARD_BUDGET=0 keeps it in memory the CPU maps, as before). |
LEONIDA_INDIRECT_REST |
see the code |
|
|
yes |
leonida-gpu/indirect.rs |
Whether a record that does not fit in what is left of its list's budget takes the rest, so that every record after it runs empty too (LEONIDA_INDIRECT_REST=1; off by default so one oversized record takes nothing and la... |
LEONIDA_INDIRECT_RUNS |
off unless set and not 0 |
|
|
yes |
leonida-gpu/draw.rs |
LEONIDA_INDIRECT_RUNS=1 (diagnostics; off): [INDIRECT_RUNS] counted, which copies every indirect execution's root arguments. |
LEONIDA_INDIRECT_WIDE |
see the code |
|
|
yes |
leonida-gpu/indirect.rs |
...h, 2^20 ([SOURCE]'s GROUPS) what is bounded here anyway (LEONIDA_INDIRECT_WIDE=0: 65,535; a record that asks for more still runs 65,535).... |
LEONIDA_INDIRECT_WINDOW |
see the code |
|
yes |
|
leonida-gpu/draw.rs +3 |
Whether indirect draws that read record after record of one argument buffer are clamped a window at a time (LEONIDA_INDIRECT_WINDOW=1; off by default). |
LEONIDA_INPLACE |
see the code |
|
|
|
leonida-gpu/inplace.rs |
LEONIDA_INPLACE: 0 (unset) off. 1: a window of title memory outside buffers that lies in private memory committed whole is not copied: a part of the title's allocation is opened as a host heap and the window is a buffe... |
LEONIDA_INPLACE_MB |
see the code |
|
|
|
leonida-gpu/inplace.rs |
The most title memory in place at once, in bytes (LEONIDA_INPLACE_MB, 4096): opening locks the pages into the PC's memory, also those the title never touched. |
LEONIDA_INPLACE_PROBE |
see the code |
|
|
|
leonida-gpu/host.rs +1 |
This file holds the two openings Direct3D has, a probe that says what this PC's driver makes of them (LEONIDA_INPLACE_PROBE), and a census of which title memory could be opened. |
LEONIDA_INPLACE_PROBE_MB |
see the code |
|
|
|
leonida-gpu/inplace.rs |
|
LEONIDA_JOIN_COPIES |
see the code |
|
yes |
|
leonida-gpu/host.rs +3 |
Whether a title buffer copy that continues the one recorded before it in its list becomes one step with it (LEONIDA_JOIN_COPIES=1; off by default). |
LEONIDA_JOIN_LISTS |
see the code |
|
|
|
leonida-gpu/host.rs |
How many parts of submissions, and lists, the line's thread gives to the host as one (LEONIDA_JOIN_PARTS=<n>; off by default, 1; LEONIDA_JOIN_LISTS, 48). |
LEONIDA_JOIN_PARTS |
see the code |
yes |
yes |
yes |
leonida-gpu/host.rs +4 |
How many parts of submissions, and lists, the line's thread gives to the host as one (LEONIDA_JOIN_PARTS=<n>; off by default, 1; LEONIDA_JOIN_LISTS, 48). |
LEONIDA_JOIN_PARTS_AB |
see the code |
|
|
yes |
leonida-gpu/host.rs |
Named in LEONIDA_AB: the parts asked for (8 when not asked) against LEONIDA_JOIN_PARTS_AB (1 when not set). |
LEONIDA_KEEP_BY_LIST |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/descriptor/host.rs |
LEONIDA_KEEP_BY_LIST=0: each slot keeps its own, as before; by turns under A/B (a slot keeps what it showed during a phase without it until it is made again without it). |
LEONIDA_KEEP_FREED |
see the code |
|
|
|
leonida-gpu/host.rs |
Whether memory the card was given stays with it while there is room (on by default; LEONIDA_KEEP_FREED=0: it is given back as before). |
LEONIDA_KEEP_SHOWN |
see the code |
yes |
|
|
leonida-gpu/descriptor/host.rs +1 |
...it shows until the new one is made and its upload has run (LEONIDA_KEEP_SHOWN): 0: never, it reads as zeros, then as the neutral texture; 1: one of the same kind in another place or size; 2: any of the same dimension.... |
LEONIDA_KEEP_SNAPSHOTS |
see the code |
|
|
|
leonida-gpu/shadow.rs |
Whether a copy's snapshot is kept from one submission to the next and only the pieces that changed in between are taken again (LEONIDA_KEEP_SNAPSHOTS=1; off by default). |
LEONIDA_KEEP_SNAPSHOTS_MB |
see the code |
|
|
|
leonida-gpu/shadow.rs |
LEONIDA_KEEP_SNAPSHOTS_MB, 256 unless set (it was 768: run 80, with kept snapshots beside copies in the card's memory, ran the PC out of memory in 27 s; kept snapshots are the PC's memory, all of it resident). |
LEONIDA_KEEP_VIEWS |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs |
LEONIDA_KEEP_VIEWS=0 makes it null at once, as before. |
LEONIDA_KNOWN_HOLES |
see the code |
|
|
|
leonida-gpu/watch.rs |
Whether placeholders are known for what they are (LEONIDA_KNOWN_HOLES=0: every hole is looked at at every asking, as before). |
LEONIDA_LAND |
see the code |
|
|
|
leonida-gpu/land.rs +1 |
What shaders wrote goes into title memory on a few threads (LEONIDA_LAND, on by default; =0 merges piece by piece on the thread that lands flights, as before). |
LEONIDA_LANDED_EXACT |
see the code |
yes |
|
|
leonida-gpu/host.rs |
Whether a shader's write went into [at, at + len) lately: into a 4 KiB page of them in the last 600 frames, or with LEONIDA_LANDED_EXACT=1 into those bytes, by cells of 8 (crate::watch::landed_lately_exact: this sp... |
LEONIDA_LAND_ANYTIME |
see the code |
|
|
|
leonida-gpu/land.rs |
Whether a piece is put through a view of ours while the runtime changes a mapping too (LEONIDA_LAND_ANYTIME=0: through the title's address, as before). |
LEONIDA_LAND_BESIDE |
see the code |
|
|
|
leonida-gpu/land.rs |
With LEONIDA_LAND_BESIDE (on by default) title memory that is a view of the title's physical pages is written through a view of our own of the same pages ([crate::inplace::beside]). |
LEONIDA_LAND_ECHO |
on, 0 turns it off |
yes |
|
|
leonida-gpu/shadow.rs +1 |
Whether a refresh looks if what counts as written is only what a landing put there, and then sends nothing of it up (LEONIDA_LAND_ECHO=0: it copies and sends it, as before). |
LEONIDA_LAND_SAME |
on, 0 turns it off |
yes |
|
|
leonida-gpu/land.rs |
LEONIDA_LAND_SAME=0: put and noted as before. |
LEONIDA_LAND_SKIP |
see the code |
|
|
|
leonida-gpu/land.rs |
Whether pieces an earlier fetch holds as they are now are left out ([Had]; LEONIDA_LAND_SKIP=1, off by default: counted either way). |
LEONIDA_LAND_TAKEN |
see the code |
|
|
|
leonida-gpu/land.rs |
Whether a copy a landing went through is noted as up to date with it (LEONIDA_LAND_TAKEN=0: it is not, and the next refresh copies the 64 KiB again and sends them up to the card, as before). |
LEONIDA_LAND_THREADS |
see the code |
|
|
|
leonida-gpu/land.rs |
How many threads land, the relay's own counted (LEONIDA_LAND_THREADS). |
LEONIDA_LATE_WAIT |
see the code |
|
|
yes |
leonida-gpu/host.rs +2 |
...ission is waited for, so CPU and GPU never overlap (unless LEONIDA_LATE_WAIT=1, see [late]); overlap them with per-submission fences once more than clears run.... |
LEONIDA_LATE_WAITS |
see the code |
|
|
|
leonida-gpu/frame.rs |
LEONIDA_LATE_WAITS=1 sleeps to the next tick, as before. |
LEONIDA_LATE_WAIT_LISTS |
see the code |
|
|
|
leonida-gpu/host.rs |
The most host lists in the air before the flights are settled (LEONIDA_LATE_WAIT_LISTS, 256; =128 is the value before: with the relay it stopped the submitting thread twice a frame for 92-103 ms in all while the card... |
LEONIDA_LATE_WAIT_WRITES |
see the code |
|
|
|
leonida-gpu/host.rs |
Whether a submission with bottom-of-pipe writes may fly (LEONIDA_LATE_WAIT_WRITES=0: it is settled as soon as it is sent, so the title is told at once, as before; for telling a title that polls such a value from one th... |
LEONIDA_LAZY_PRELUDE |
see the code |
|
|
|
leonida-gpu/host.rs |
LEONIDA_LAZY_PRELUDE=0: made with the list, as before. |
LEONIDA_LAZY_TEXTURES |
see the code |
|
|
|
leonida-gpu/resource.rs |
LEONIDA_LAZY_TEXTURES=0 makes each when the title creates its texture, as before. |
LEONIDA_LDS_BOUNDS |
see the code |
|
|
yes |
leonida-gpu/shader_cache.rs +2 |
LEONIDA_LDS_BOUNDS=0: every address taken as in bounds, as before (a compare and a select fewer per access). |
LEONIDA_LDS_BOUNDS_EXEMPT |
see the code |
|
|
yes |
leonida-gpu/shader_cache.rs +1 |
And LEONIDA_LDS_BOUNDS_EXEMPT=<hash>,<hash>: the programs whose LDS accesses are taken as in bounds (FormsFor::lds_unbounded); unset, the face programs ([FACE_PROGRAMS]); 0 or empty, none. |
LEONIDA_LDS_FLAGS |
see the code |
|
|
|
leonida-gpu/shader_cache.rs +1 |
LEONIDA_LDS_FLAGS=0 turns this off. |
LEONIDA_LENT_HEAP |
see the code |
|
|
|
leonida-gpu/descriptor.rs |
LEONIDA_LENT_HEAP=0: none, such a dispatch is dropped, as before. |
LEONIDA_LEVELS_MIN_KB |
see the code |
|
|
|
leonida-gpu/tiles.rs |
The bytes from which a texture is made this way: a megabyte, or LEONIDA_LEVELS_MIN_KB. |
LEONIDA_LEVELS_ON_DEMAND |
see the code |
|
|
|
leonida-gpu/tiles.rs |
...osted); every other texture is made as before. Off unless LEONIDA_LEVELS_ON_DEMAND=1`.... |
LEONIDA_LIBRARY_HANDLE |
see the code |
|
|
|
leonida-gpu/pipeline/library.rs |
LEONIDA_LIBRARY_HANDLE=0: closed, as before. |
LEONIDA_LIBRARY_LOCK |
see the code |
|
|
|
leonida-gpu/pipeline/library.rs |
LEONIDA_LIBRARY_LOCK=1: one call at a time, as before. |
LEONIDA_LIBRARY_MAP |
see the code |
|
|
|
leonida-gpu/pipeline/library.rs |
LEONIDA_LIBRARY_MAP=0: read and written through buffers, as before. |
LEONIDA_LIBRARY_PLAY_SAVE_MB |
see the code |
|
|
|
leonida-gpu/pipeline/library.rs |
The largest library ([save]) written while the title runs, in bytes (LEONIDA_LIBRARY_PLAY_SAVE_MB, 256 when unset; a large value writes it whatever its size, as before). |
LEONIDA_LIBRARY_STATIC_SAMPLERS |
see the code |
|
|
yes |
leonida-gpu/pipeline/library.rs +2 |
LEONIDA_LIBRARY_STATIC_SAMPLERS=1: under their plain names on NVIDIA too, for comparison. |
LEONIDA_LIBRARY_TRIM |
see the code |
|
|
|
leonida-gpu/pipeline/library.rs |
LEONIDA_LIBRARY_TRIM=0: the pages stay until Windows takes them. |
LEONIDA_LIGHT_REFRESH |
see the code |
|
|
|
leonida-gpu/host.rs +1 |
Whether the refreshes of host copies go the light way (LEONIDA_LIGHT_REFRESH=0: as before): view memory nothing wrote since it was last asked about is known by its bits ([PUBLISHED]), a copy nothing of whose range ch... |
LEONIDA_LIST_ALIAS_EXACT |
on, 0 turns it off |
yes |
|
|
leonida-gpu/descriptor/host.rs +1 |
On by default; LEONIDA_LIST_ALIAS_EXACT=0: as before. |
LEONIDA_LIST_FRONTS |
see the code |
yes |
|
yes |
leonida-gpu/host.rs |
Whether a list's steps are gone through for what they refresh once, when the list is closed, by the thread that closes it (LEONIDA_LIST_FRONTS=0: by the thread that prepares the submission, for every submission, as bef... |
LEONIDA_LIST_LOCK_FAST |
on, 0 turns it off |
yes |
|
|
leonida-gpu/descriptor.rs +1 |
LEONIDA_LIST_LOCK_FAST=0 takes the locks as before; by turns under A/B (the table is published either way, so a reader finds all of it whenever this comes on). |
LEONIDA_LIST_POOL |
see the code |
|
|
|
leonida-gpu/list.rs |
Whether host lists that have run are used again (on by default; LEONIDA_LIST_POOL=0: each is made new and thrown away, as before). |
LEONIDA_LIST_SLOTS |
see the code |
|
|
|
leonida-gpu/draw.rs |
For the frame listing, after a draw whose shader LEONIDA_LIST_SLOTS names: the heap slots it will pick textures from by index, and what the title and the host hold there (one ~slot line each), with the words they wer... |
LEONIDA_LIST_VIEWS |
on, 0 turns it off |
yes |
|
|
leonida-gpu/descriptor/host.rs |
Whether a list makes a view its tables hold once (LEONIDA_LIST_VIEWS=0: for every table). |
LEONIDA_MAPPED_BY_PAGE |
see the code |
|
|
|
leonida-gpu/texture.rs |
... pass over the heap's views at 90-160 ms a frame (run 81). LEONIDA_MAPPED_BY_PAGE=1: by page.... |
LEONIDA_MAPPED_BY_VIEWS |
see the code |
|
|
|
leonida-gpu/texture.rs |
LEONIDA_MAPPED_BY_VIEWS=0: the host is asked, as before. |
LEONIDA_MAP_THREADS |
see the code |
yes |
yes |
|
leonida-gpu/host/menu.rs +3 |
With LEONIDA_MAP_THREADS=1 (the NVIDIA launcher's) the GPU's page mappings came here range by range, a page after the other at 0.2-4 ms each in the world: single holds of 23-69 ms from this function, and 110 ms a frame... |
LEONIDA_MEMORY_CARD_MB |
see the code |
|
|
|
leonida-gpu/shadow.rs |
At most so much on the card's own memory (4 GiB unless LEONIDA_MEMORY_CARD_MB says otherwise), and while it has room; past that the side shaders see is in the PC's memory. |
LEONIDA_MEMORY_DUMP |
see the code |
|
|
|
leonida-gpu/memory.rs |
LEONIDA_MEMORY_DUMP=<folder>: when a file go appears there, the arenas as the card holds them are copied out and written (arena-<n>.bin), with pages.txt (title page, arena, offset) and the structures the walking... |
LEONIDA_MEMORY_MAP |
see the code |
|
yes |
yes |
leonida-gpu/copystat.rs +1 |
LEONIDA_MEMORY_MAP=0 leaves the walk out. |
LEONIDA_MENU |
see the code |
|
|
|
leonida-gpu/host/trainer.rs +3 |
Whether the menu is on: unless LEONIDA_MENU=0. |
LEONIDA_MENU_ARGS |
see the code |
|
yes |
|
leonida-gpu/host/menu.rs +1 |
... RESTART" starts play.ps1 again (LEONIDA_MENU_PLAY, with LEONIDA_MENU_ARGS) and ends this run.... |
LEONIDA_MENU_CONSOLE |
see the code |
|
yes |
|
leonida-gpu/host/menu.rs +1 |
|
LEONIDA_MENU_FILE |
see the code |
|
yes |
|
leonida-gpu/host/menu.rs +1 |
Most settings are read once at start, so a change is saved to the file LEONIDA_MENU_FILE names (play.ps1 sets it to the play folder's settings.txt and applies it at every start) and takes effect at the next start; "SAV... |
LEONIDA_MENU_PLAY |
see the code |
|
yes |
|
leonida-gpu/host/menu.rs +1 |
... the next start; "SAVE AND RESTART" starts play.ps1 again (LEONIDA_MENU_PLAY, with LEONIDA_MENU_ARGS) and ends this run.... |
LEONIDA_MENU_SMOOTH_MOTION |
see the code |
|
yes |
|
leonida-gpu/host/menu.rs +1 |
|
LEONIDA_MERGE_CARD_COPIES |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/shadow.rs |
LEONIDA_MERGE_CARD_COPIES=0 / LEONIDA_MERGE_PC_COPIES=0 (or off in a LEONIDA_AB phase): that kind of copy is settled instead of merged under the flights' writes. |
LEONIDA_MERGE_PC_COPIES |
on, 0 turns it off |
yes |
|
|
leonida-gpu/shadow.rs |
LEONIDA_MERGE_CARD_COPIES=0 / LEONIDA_MERGE_PC_COPIES=0 (or off in a LEONIDA_AB phase): that kind of copy is settled instead of merged under the flights' writes. |
LEONIDA_MESH_AMPLIFY |
see the code |
yes |
|
yes |
leonida-gpu/indirect/amplify.rs +2 |
An amplification stage in front of the title's mesh pipelines, which launches an indirect execution of one record itself (LEONIDA_MESH_AMPLIFY; off by default, LEONIDA_AB can name it): no clamp pass ahead of the draw... |
LEONIDA_MESH_AMPLIFY_DXIL |
see the code |
|
|
|
leonida-gpu/indirect/amplify.rs |
LEONIDA_MESH_AMPLIFY_DXIL=<file> takes another build of it from that file, to try one. |
LEONIDA_MESH_OUTPUT_STRICT |
see the code |
|
|
|
leonida-gpu/shader_cache.rs +1 |
Experiment (LEONIDA_MESH_OUTPUT_STRICT=1): they are refused. |
LEONIDA_MESH_TEST |
see the code |
|
|
|
leonida-gpu/draw.rs |
An experiment on mesh draws (LEONIDA_MESH_TEST): 1 for skip (none is issued), 2 for scissor (each runs its shaders but rasterises one pixel), 0 otherwise. |
LEONIDA_METER_BESIDE |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/host.rs |
LEONIDA_METER_BESIDE (on unless 0): the frame meter's lines of each second are made on a thread of their own instead of in the present, on the line's thread, which the frame waits for. |
LEONIDA_MIN_LOD_KEPT |
on, 0 turns it off |
yes |
|
|
leonida-gpu/tiles.rs |
LEONIDA_MIN_LOD_KEPT=0: reduced by as many levels as the view's start moved, as before (LEONIDA_AB can flip it for the views made from then on). |
LEONIDA_NAN_SCRUB |
see the code |
|
yes |
|
leonida-gpu/host/menu.rs +4 |
LEONIDA_NAN_SCRUB=1 (off by default): see Lower::scrub_nan. |
LEONIDA_NULL_SAMPLER_LINEAR |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs +1 |
LOCAL (11/26, LEONIDA_NULL_SAMPLER_LINEAR=1): a linear one instead. |
LEONIDA_OPEN_ONE_VIEW |
on, 0 turns it off |
yes |
|
|
leonida-gpu/watch.rs |
Whether a write fault opens the view that was written and leaves the page's other views read-only, not clean any more (LEONIDA_OPEN_ONE_VIEW=0: opens them all, as before). |
LEONIDA_OUTPUT |
see the code |
|
yes |
|
leonida-gpu/aspect.rs +2 |
Neither makes the title draw a wider view: that is the title's output size (LEONIDA_OUTPUT, leonida-loader's hooks.rs, and docs/ultrawide.md for what is known of it). |
LEONIDA_OWN_STAMPS |
see the code |
|
|
yes |
leonida-gpu/host.rs +1 |
Diagnostics (LEONIDA_OWN_STAMPS=1; off by default): what our own lists in the card's queue take of the card, per frame: the sends to copies in the card's memory with their hash passes ([Host::card_before]'s list), th... |
LEONIDA_PAGE_ASK |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/watch.rs |
Whether a fault asks Windows about its one page before it asks about the region around it (LEONIDA_PAGE_ASK=0: the region only, as before). |
LEONIDA_PAGE_PARTS |
see the code |
|
|
|
leonida-gpu/watch.rs |
Whether the parts of a page that the kernel names are kept, and a refresh copies those (LEONIDA_PAGE_PARTS=0: the 64 KiB page, as before). |
LEONIDA_PAGE_WRITES |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs +2 |
What LEONIDA_PAGE_WRITES asks to be done with a write the guards do not see once its bytes are there ([title_memory_written]), as bits: 1, the guarded blocks under it are opened and count as written (host copies of b... |
LEONIDA_PAINTED_EVERY |
see the code |
|
|
yes |
leonida-gpu/draw.rs |
How many frames apart a texture picked by index is looked at once a look found it changed with nothing to tell of it (LEONIDA_PAINTED_EVERY=<frames>, 8 unless said, at most 120; 0: as before, by [RECHECK_FRAMES] and... |
LEONIDA_PAIRED_FOR |
see the code |
|
yes |
yes |
leonida-gpu/shader_cache.rs +3 |
The programs a LEONIDA_PAIRED_FOR or LEONIDA_WAVE_WIDE_FOR list names: hashes as the log and the frame listings name shaders (the first 16 hex digits of the container's BLAKE3), or their beginnings from 8 digits on,... |
LEONIDA_PAIRED_LANES |
see the code |
|
|
yes |
leonida-gpu/shader_cache.rs +2 |
LEONIDA_PAIRED_LANES: - unset or 1: right before the wave-wide form, for any console wave64 compute program every earlier form refused (the 2-D tile groups of one console wave as well as 1-D groups with divergent cro... |
LEONIDA_PAIRED_SHADER_DIR |
see the code |
|
|
|
leonida-gpu/shader_cache.rs |
|
LEONIDA_PANEL |
off unless set and not 0 |
|
|
yes |
leonida-gpu/host/menu.rs +3 |
Diagnostics: the run's numbers on the picture (LEONIDA_PANEL=1; off by default; F3 shows and hides it while our window has the focus): white text on a black box in the upper left corner of what is shown, so that a scre... |
LEONIDA_PARTIAL_WRITTEN |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/texture.rs |
Whether a write the guards see makes a partly mapped texture read again the next frame ([partial_due]; LEONIDA_PARTIAL_WRITTEN=0: every 30th frame only, as before; LEONIDA_AB can turn it while the title runs). |
LEONIDA_PASSES_AHEAD |
see the code |
yes |
|
|
leonida-gpu/draw.rs +1 |
...f ours that is sent ahead of the frame's first submission (LEONIDA_PASSES_AHEAD: 1 or 0, or 2 for [passes_ahead_where_sent]; unset: with LEONIDA_THIN=1).... |
LEONIDA_PENDING_FAST |
on, 0 turns it off |
yes |
|
|
leonida-gpu/shadow.rs |
Whether a copy that no submission's shaders may be writing says so without the lock of its declared ranges (LEONIDA_PENDING_FAST=0: the lock is taken to find the list empty, as before). |
LEONIDA_PICKED_MB |
see the code |
|
|
|
leonida-gpu/picked.rs |
Bytes looked at in turn per frame (LEONIDA_PICKED_MB). |
LEONIDA_PICKED_WRITES |
see the code |
yes |
|
yes |
leonida-gpu/picked.rs |
Buffers shaders write through views they pick from the heap by an index they compute (LEONIDA_PICKED_WRITES; on, stage 1, by default: [stage]). |
LEONIDA_PIPELINE_AWAIT_FIRST |
see the code |
|
|
|
leonida-gpu/pipeline/make.rs |
LEONIDA_PIPELINE_AWAIT_FIRST=0: in the order asked, as before. |
LEONIDA_PIPELINE_LOWEST |
see the code |
|
|
|
leonida-gpu/pipeline/make.rs |
Below the title's own threads (loading, recording), and the streaming one, which is below normal itself (LEONIDA_PIPELINE_LOWEST=0: level with it, as before). |
LEONIDA_PIPELINE_PANIC_CATCH |
see the code |
|
|
|
leonida-gpu/pipeline/make.rs |
LEONIDA_PIPELINE_PANIC_CATCH=0: the panic goes on, as before. |
LEONIDA_PIPELINE_SLOW |
see the code |
|
|
|
leonida-gpu/pipeline/make.rs |
LEONIDA_PIPELINE_SLOW=0: in the order the title creates them, as before. |
LEONIDA_PIPELINE_WAIT_DEADLINE |
on, 0 turns it off |
yes |
|
|
leonida-gpu/pipeline/make.rs |
LEONIDA_PIPELINE_WAIT_DEADLINE=0 reserves the frame's budget as before (only the frame's: a pipeline's own budget is counted in real time in every mode, [wait_once]; with LEONIDA_AB, on and off while the title runs... |
LEONIDA_PIPELINE_WAIT_MS |
see the code |
|
yes |
yes |
leonida-gpu/host/menu.rs +2 |
...e budget in every frame in which a draw asked for it: with LEONIDA_PIPELINE_WAIT_MS=10000 the picture stood still while the thing drawn with it was in view, and moved again when the camera turned away.... |
LEONIDA_PIPELINE_WAIT_ONCE |
see the code |
|
|
|
leonida-gpu/pipeline/make.rs |
LEONIDA_PIPELINE_WAIT_ONCE=0 waits as before. |
LEONIDA_PIPELINE_WAIT_SHARED |
see the code |
|
|
|
leonida-gpu/pipeline/make.rs |
LEONIDA_PIPELINE_WAIT_SHARED=0 counts the frame's budget as before (a pipeline's own budget is counted in real time in every mode, [wait_once]). |
LEONIDA_PIPELINE_WORKERS |
see the code |
|
|
|
leonida-gpu/pipeline/make.rs |
asked (LEONIDA_PIPELINE_WORKERS, 1 to 64), else two thirds of the logical processors, 2 to 16. |
LEONIDA_PLACED_FILLER |
see the code |
|
|
|
leonida-gpu/resource.rs |
LEONIDA_PLACED_FILLER=1: kept in the key, as before. |
LEONIDA_PLACED_LEFT_READERS |
see the code |
yes |
|
|
leonida-gpu/host/card_steps.rs |
...ne of its lists waits for them and the CPU still needs it (LEONIDA_PLACED_LEFT_READERS=1; off by default; LEONIDA_AB can name it). [Host::card_steps] is asked when something keeps a submission from being prepared.... |
LEONIDA_PLACED_NORMAL |
see the code |
|
|
|
leonida-gpu/descriptor.rs |
LEONIDA_PLACED_NORMAL=0 keeps them as the title gave them, as before. |
LEONIDA_PLACED_ORDER |
off unless set and not 0 |
yes |
|
|
leonida-gpu/host/card_steps.rs |
...rd in front of the lists if that stands behind it in them (LEONIDA_PLACED_ORDER=1; off: wherever it stands), and a submission where it does is cut behind the copy's list ([cut_for]).... |
LEONIDA_PLACED_READERS |
on, 0 turns it off |
yes |
|
|
leonida-gpu/host/place.rs |
Whether only the steps behind a copy at its place in a list count as its readers (on unless LEONIDA_PLACED_READERS=0: every step of the submission that reads its destination, wherever it stands, as before; LEONIDA_AB... |
LEONIDA_PLACED_SHARDS |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/resource.rs |
LEONIDA_PLACED_SHARDS (on unless 0; LEONIDA_AB can switch it): a placed texture found before ([texture_at]) is found again in one of [PLACED_SHARD_COUNT] tables read under a shared lock, in front of [`PLACED_TE... |
LEONIDA_PLACED_TITLE |
see the code |
yes |
yes |
|
leonida-gpu/host.rs +1 |
...ad its destination on the CPU do not wait for the flights (LEONIDA_PLACED_TITLE=1; off by default).... |
LEONIDA_PLACED_TWINS |
see the code |
|
|
|
leonida-gpu/resource.rs |
...ee's search on most calls besides (with this on, only with LEONIDA_PLACED_TWINS=1).... |
LEONIDA_PLACED_UNDECLARED |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/host.rs |
LEONIDA_PLACED_UNDECLARED=0: asked of every destination, as before. |
LEONIDA_PLACE_TAKEN |
see the code |
|
|
|
leonida-gpu/memory.rs |
Whether a page given its place at a submission ([Memory::place]) remembers the write-watch asking it was taken at (on; LEONIDA_PLACE_TAKEN=0: it counts as never taken, as before). |
LEONIDA_POOL_GROW_UNLOCKED |
see the code |
|
|
|
leonida-gpu/pool.rs |
Whether a new block is made with its pool's lock released (LEONIDA_POOL_GROW_UNLOCKED, on; 0: under it, as before). |
LEONIDA_POP_ALL |
see the code |
|
|
|
leonida-gpu/popwatch.rs |
LEONIDA_POP_FOLDER=<folder>: the three pictures around a frame with blips (at most 200 times) are saved there, 640 wide; with LEONIDA_POP_ALL=1 every frame's is. |
LEONIDA_POP_FOLDER |
see the code |
|
|
|
leonida-gpu/popwatch.rs |
LEONIDA_POP_FOLDER=<folder>: the three pictures around a frame with blips (at most 200 times) are saved there, 640 wide; with LEONIDA_POP_ALL=1 every frame's is. |
LEONIDA_POP_WATCH |
see the code |
|
|
|
leonida-gpu/popwatch.rs |
LEONIDA_POP_WATCH=<from>-<to>[,<from>-<to>..] (seconds since the start): every presented frame in those times is read back, made small on a thread of its own and compared with its neighbours, block by block. |
LEONIDA_PORT_CBV |
see the code |
|
|
|
leonida-gpu/port_cbv.rs +3 |
Renderer port 5 (LEONIDA_PORT_CBV=1; off by default): constant buffers are read as raw bytes, a table's through the raw twin of its slot ([raw_views]), a root one as a root SRV, so the host can give the card the titl... |
LEONIDA_PORT_CBV_PLACE |
on, 0 turns it off |
yes |
|
|
leonida-gpu/port_cbv.rs |
Whether a table's constant buffer in title memory in place is given to the card where it is (on with the port; LEONIDA_PORT_CBV_PLACE=0: copied as before, and read through the raw twin all the same). |
LEONIDA_PORT_CONSTANTS |
see the code |
|
|
yes |
leonida-gpu/draw.rs +4 |
Renderer port #1: the title's 32-bit graphics heap as the card's own memory (LEONIDA_PORT_CONSTANTS, off by default). |
LEONIDA_PORT_CONSTANTS_ORDER |
on, 0 turns it off |
yes |
|
|
leonida-gpu/draw.rs |
...RT_CONSTANTS=1) are clamped alone, right before they run (LEONIDA_PORT_CONSTANTS_ORDER; =0`: in batches and windows as any other; it matters only with port 1 on).... |
LEONIDA_PORT_DESCRIPTORS_CHECK |
see the code |
|
|
|
leonida-gpu/port_descriptors.rs |
Pages the fallback looks at a frame (LEONIDA_PORT_DESCRIPTORS_CHECK=<pages>, 16 if not given; 0: none, and the write watch is not asked at all). |
LEONIDA_PORT_DESCRIPTORS_EVERY |
see the code |
|
|
|
leonida-gpu/port_descriptors.rs |
Frames between askings of the write watch for the fallback (LEONIDA_PORT_DESCRIPTORS_EVERY=<frames>, 8 if not given). |
LEONIDA_PORT_GUARD |
see the code |
yes |
yes |
yes |
leonida-gpu/watch.rs +1 |
Renderer port #6 (LEONIDA_PORT_GUARD=1, off by default; read here, and A/B-able in one run with LEONIDA_AB=<s>,LEONIDA_PORT_GUARD): the guards' one lock no longer makes the title's write faults, and the refreshes' lo... |
LEONIDA_PORT_GUARD_PLAN |
see the code |
yes |
|
|
leonida-gpu/watch.rs |
...itting one, as it already was for more than 256 refreshes (LEONIDA_PORT_GUARD_PLAN=0: on the submitting thread, as before; A/B-able by that name).... |
LEONIDA_PORT_JOURNAL |
see the code |
yes |
|
yes |
leonida-gpu/port_journal.rs +1 |
Renderer port #7: the submitting lane's last waits (LEONIDA_PORT_JOURNAL=1, off by default; the switch is [crate::watch::port_journal]). |
LEONIDA_PRELUDE_UPLOAD |
see the code |
yes |
|
|
leonida-gpu/texture.rs |
...sion once the check of the texture's memory is done there (LEONIDA_PRELUDE_UPLOAD=0: by the list itself, where it was recorded, as before).... |
LEONIDA_PRESENT_10BIT |
see the code |
|
|
|
leonida-gpu/host.rs |
LEONIDA_PRESENT_10BIT=0: 8 bits, as before. |
LEONIDA_PRESENT_SCALE |
see the code |
|
yes |
|
leonida-gpu/aspect.rs +4 |
Read by leonida-hle's lifecycle.rs, which widens the window the title asks for. - LEONIDA_PRESENT_SCALE=fit|stretch: fit keeps the picture's shape in a window of another one, centred, with black bars beside it (or... |
LEONIDA_PRESENT_SMOOTH |
see the code |
yes |
|
yes |
leonida-gpu/host.rs +1 |
LEONIDA_PRESENT_SMOOTH=<fraction>: each host present is held until at least that fraction of the recent mean interval between presents has passed since the one before, so a quick frame after a slow one waits a little i... |
LEONIDA_PROFILE |
see the code |
|
|
yes |
leonida-gpu/copystat.rs +1 |
LEONIDA_PROFILE=<from>,<to>,<ms>,<file> samples the stacks of the busiest threads every <ms> milliseconds between two times (seconds, as LEONIDA_STACKS), and writes them counted to <file> at the end (several of t... |
LEONIDA_QUEUE_MARKS |
off unless set and not 0 |
yes |
|
yes |
leonida-gpu/descriptor/host.rs |
Off by default (LEONIDA_QUEUE_MARKS=1; LEONIDA_AB can name it): here no one waited for that lock, and by turns the submitting thread worked +0.27 and +0.06 ms a frame with the marks (runs d41). |
LEONIDA_QUEUE_WAIT |
see the code |
|
|
|
leonida-gpu/queue.rs |
LEONIDA_QUEUE_WAIT=0: they do not, and every submission runs when it is made (as before). |
LEONIDA_QUICK_FIND |
on, 0 turns it off |
yes |
|
|
leonida-gpu/shadow.rs |
Whether [FOUND] is kept (LEONIDA_QUICK_FIND=0: not). |
LEONIDA_QUICK_FIND_WINDOWS |
see the code |
yes |
yes |
yes |
leonida-gpu/shadow.rs +1 |
Whether a thread also remembers what its asks for memory outside buffers found (LEONIDA_QUICK_FIND_WINDOWS=1; off by default, and only on the 4 MiB grid without tails: with finer windows the answer depends on the other... |
LEONIDA_QUICK_MIRROR |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs |
Whether a slot already made from its record is told so without the lock (LEONIDA_QUICK_MIRROR=0: with it, as before). |
LEONIDA_RAW_VIEWS |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs +1 |
... they compute (leonida_shader::emit::raw_views says why; LEONIDA_RAW_VIEWS=0: they read the title's slots themselves, as before).... |
LEONIDA_RAW_VIEW_CLAMP |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs |
LEONIDA_RAW_VIEW_CLAMP=0 makes it from the range asked for, as before (what would have been cut is still counted). |
LEONIDA_READY_ONCE |
on, 0 turns it off |
yes |
|
|
leonida-gpu/draw.rs |
Whether a table a list reads again, with nothing changed in the list since, is left as it is (LEONIDA_READY_ONCE=0: every entry is gone through again at every draw). |
LEONIDA_READ_BACK |
see the code |
|
|
|
leonida-gpu/list.rs |
LEONIDA_READ_BACK=0 leaves them unmade, as before. |
LEONIDA_READ_BACK_POOL |
on, 0 turns it off |
yes |
|
|
leonida-gpu/host.rs |
Whether a list's read-back buffers are kept, when the list is reset, for the next read backs of their sizes (LEONIDA_READ_BACK_POOL=0: each is made for its read back and let go with its list, as before; LEONIDA_AB ca... |
LEONIDA_READ_ZERO_GAPS |
see the code |
|
|
|
leonida-gpu/host.rs |
...ite over all of a texture's bytes less at each read of it (LEONIDA_READ_ZERO_GAPS=0: the whole buffer first, as before).... |
LEONIDA_REAPER |
see the code |
yes |
|
|
leonida-gpu/host.rs +1 |
Whether what the host is done with is let go of on a thread of its own ([reaper]; on by default, LEONIDA_REAPER=0 turns it off; LEONIDA_AB can turn it on and off while the title runs). |
LEONIDA_REAPER_LIMIT |
see the code |
yes |
|
|
leonida-gpu/host.rs +1 |
The bound on the reaper thread's line, as [REAPING] counts it (LEONIDA_REAPER_LIMIT=<things>, 4,096 by default; 0: no bound, as before; LEONIDA_AB can turn the bound on and off while the title runs). |
LEONIDA_RECHECK_SOON |
see the code |
|
|
|
leonida-gpu/draw.rs |
Whether a texture found changed with nothing to tell of it is looked at again in the next frame (LEONIDA_RECHECK_SOON=0: after four, as before). |
LEONIDA_RECORD_ALWAYS |
see the code |
|
|
|
leonida-gpu/replay/record.rs |
From LEONIDA_RECORD, LEONIDA_RECORD_AT (seconds, or f<frame>), LEONIDA_RECORD_FRAMES and LEONIDA_RECORD_ALWAYS=1. |
LEONIDA_RECORD_AT |
see the code |
|
|
|
leonida-gpu/replay/record.rs |
From LEONIDA_RECORD, LEONIDA_RECORD_AT (seconds, or f<frame>), LEONIDA_RECORD_FRAMES and LEONIDA_RECORD_ALWAYS=1. |
LEONIDA_RECORD_FRAMES |
see the code |
|
|
|
leonida-gpu/replay/record.rs |
From LEONIDA_RECORD, LEONIDA_RECORD_AT (seconds, or f<frame>), LEONIDA_RECORD_FRAMES and LEONIDA_RECORD_ALWAYS=1. |
LEONIDA_RECORD_THREADS_WIDE |
see the code |
yes |
|
yes |
leonida-gpu/land.rs |
Threads of the pool for the heaps' records ([each_view]): as before, and with LEONIDA_RECORD_THREADS_WIDE=1. |
LEONIDA_REFLECT_MOST |
see the code |
yes |
yes |
|
leonida-gpu/ambient.rs +2 |
Leonida: the brightest a reflection may be, as a multiple of the light around (LEONIDA_REFLECT_MOST=<multiple>; unset or 0: reflections as the title left them). |
LEONIDA_REFRESH_AHEAD |
see the code |
|
|
|
leonida-gpu/host.rs |
Whether the copies that a submission's shaders write are brought up to date together, on several threads, ahead of its steps (LEONIDA_REFRESH_AHEAD=0: each before the step that gives it to them). 580 copies a frame, on... |
LEONIDA_REFRESH_CHECK |
see the code |
|
|
|
leonida-gpu/host.rs +1 |
Diagnostic (LEONIDA_REFRESH_CHECK=1; off by default): after a refresh of [from, to) that trusted the write watch or the guards, the first 256 bytes of every 64 KiB block of it are read from title memory and compared... |
LEONIDA_REFRESH_DIRTY |
on, 0 turns it off |
yes |
|
|
leonida-gpu/shadow.rs |
...ss, and the lists of a card side read without their locks (LEONIDA_REFRESH_DIRTY=0: every page of the range looked at one by one, as before).... |
LEONIDA_REFRESH_FRONT |
off unless set and not 0 |
|
|
|
leonida-gpu/host.rs |
Whether everything a submission refreshes is brought up to date in one go, on several threads, ahead of its steps (LEONIDA_REFRESH_FRONT=1, and with LEONIDA_JOIN_PARTS, which needs it; else in groups where the steps... |
LEONIDA_RELAY_COPY |
see the code |
|
yes |
|
leonida-gpu/host.rs +5 |
Whether the pieces the relay fetches from the card's memory come over the card's copy queue (LEONIDA_RELAY_COPY=1) and not over the queue that draws. |
LEONIDA_RELAY_CROSS |
see the code |
|
|
yes |
leonida-gpu/host/upcheck.rs |
LOCAL (11/26, LEONIDA_RELAY_CROSS=1): whether a refresh of runs reads title memory that a flight in the air may be writing through another copy of it ([reads] counts those). |
LEONIDA_RELAY_EACH |
off unless set and not 0 |
yes |
|
yes |
leonida-gpu/host.rs |
Leonida: whether the relay lands at a time only up to and with the first signal the title waits for, of the flights the card has run (LEONIDA_RELAY_EACH=1; off by default; LEONIDA_AB can name it): the title learns of... |
LEONIDA_RELOOK_MS |
see the code |
|
|
|
leonida-gpu/draw.rs |
LEONIDA_RELOOK_MS (20,000 unless said; 4,000 before): at 4,000 the opening cutscene's 4 frames a second looked at its ~20,000 slots waiting for their memory every 16 frames, thousands of queries a second and most of th... |
LEONIDA_REMAP_BOOST |
on, 0 turns it off |
yes |
|
|
leonida-gpu/watch.rs |
Whether the thread that changes a mapping runs at the highest priority while it holds title memory still (LEONIDA_REMAP_BOOST=0: at its own). |
LEONIDA_REMAP_HISTORY |
on, 0 turns it off |
yes |
|
|
leonida-gpu/descriptor/host.rs |
The cursor of the single shared pass with LEONIDA_REMAP_HISTORY=0 (as before: the heap whose pass runs first takes the ranges). |
LEONIDA_REMAP_SPANS |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/texture.rs +1 |
Whether a read in place that names its range ([title_memory_reading_range]) waits only for the changes of mapping that touch that range (LEONIDA_REMAP_SPANS=0: for every change, as before; LEONIDA_AB can name it).... |
LEONIDA_RENDER_SCALE_MIN |
see the code |
|
yes |
|
leonida-gpu/host/menu.rs +2 |
|
LEONIDA_REPLAY_GBV |
see the code |
|
|
|
leonida-gpu/replay/play.rs |
|
LEONIDA_REPLAY_PEEK |
see the code |
|
|
|
leonida-gpu/replay/play/diverge.rs |
|
LEONIDA_RETIRE_QUEUES |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/host.rs |
LEONIDA_RETIRE_QUEUES=0: every thread takes the first, as before. |
LEONIDA_REUPLOAD_WHEN_FULL |
see the code |
|
|
|
leonida-gpu/draw.rs |
Whether a texture that has its host copy is still brought up to date while the card has no room for new ones (LEONIDA_REUPLOAD_WHEN_FULL=0: no). |
LEONIDA_RIPE_BLOCKS |
see the code |
|
|
|
leonida-gpu/pool.rs |
How many blocks of textures are made ahead, so that one has been there for a while when its first piece is taken (LEONIDA_RIPE_BLOCKS, 12; 0: none, and new blocks are used at once, as before). |
LEONIDA_ROOT_DEDUPE |
on, 0 turns it off |
yes |
|
|
leonida-gpu/pipeline/host.rs |
LEONIDA_ROOT_DEDUPE=0: one object per pipeline, as before. |
LEONIDA_ROOT_SRV_DIRECT |
see the code |
|
|
|
leonida-gpu/draw.rs +1 |
LEONIDA_ROOT_SRV_DIRECT=1 goes back to root descriptors. |
LEONIDA_ROOT_UAV_MB |
see the code |
|
|
|
leonida-gpu/draw.rs |
False if the draw must be dropped. shortcut: a root view has no size: the view, the refresh and the copy back cover all that is left of the title's buffer (LEONIDA_ROOT_UAV_MB sets a limit for all three). |
LEONIDA_ROOT_VIEW_MB |
see the code |
|
|
|
leonida-gpu/draw.rs |
...ht up to date - meshes without bodies, exploded triangles. LEONIDA_ROOT_VIEW_MB sets a limit again.)... |
LEONIDA_RT_RESOLVE |
see the code |
|
yes |
|
leonida-gpu/pipeline/make.rs +1 |
Without BVH, ~1,000 CS_RaytracingResolve shaders shade no hits while clogging the cold compiler queue; skip unless LEONIDA_RT_RESOLVE=1. |
LEONIDA_SAFE_COPY |
see the code |
|
|
|
leonida-gpu/host.rs +1 |
LEONIDA_SAFE_COPY=0: through the kernel, as before. |
LEONIDA_SAME_RECORDS |
on, 0 turns it off |
yes |
|
|
leonida-gpu/titlewrite.rs |
...py of its own, but what is there already is never written (LEONIDA_SAME_RECORDS=0: always). # Safety [from, from + n) and [to, to + n) are the title's.... |
LEONIDA_SAMPLERS_AGAIN |
on, 0 turns it off |
yes |
|
|
leonida-gpu/descriptor.rs |
Leonida: a sampler heap is looked through whole every so often, for a record the calls and the written pages both missed (HostHeap::samplers_again; LEONIDA_SAMPLERS_AGAIN=0: not). |
LEONIDA_SAMPLE_MASK |
see the code |
|
|
|
leonida-gpu/list.rs +1 |
LEONIDA_SAMPLE_MASK=0: ignored, as before. |
LEONIDA_SCISSOR_TEST |
see the code |
|
|
|
leonida-gpu/draw.rs |
An experiment on the title's scissor rectangles (LEONIDA_SCISSOR_TEST=full): they are all widened to the whole target. |
LEONIDA_SCRATCH_CARD |
see the code |
yes |
|
yes |
leonida-gpu/host.rs |
... card's memory, at most [spare_card_most] of them idle), LEONIDA_SCRATCH_CARD=1 or 0 either way, LEONIDA_AB by turns ([scratch_card_chosen]).... |
LEONIDA_SCRATCH_POOL |
see the code |
|
|
|
leonida-gpu/host.rs +1 |
LEONIDA_SCRATCH_POOL=0: chunks of 4 MiB kept by their list, as before. |
LEONIDA_SCREEN_WAIT_MS |
see the code |
|
|
|
leonida-gpu/pipeline/make.rs |
As [wait_budget], for passes over the screen (LEONIDA_SCREEN_WAIT_MS, 10 s; 0: like the others). |
LEONIDA_SECTION_MB |
see the code |
|
yes |
yes |
leonida-gpu/inplace.rs +2 |
LEONIDA_SECTION_MB=<MiB> makes an allocation of sections of that many MiB at most (unset, 0 or not a number: all its pages in one section, as before). |
LEONIDA_SEND_BAR |
see the code |
|
|
|
leonida-gpu/host/send.rs |
Whether the memory lies in the card's memory, written by the CPU through the bus (LEONIDA_SEND_BAR=1): the copies on the card's drawing queue, which nothing overlaps, then cross no bus. |
LEONIDA_SEND_CHANGED |
see the code |
yes |
|
yes |
leonida-gpu/host.rs +1 |
Whether a refresh of a copy in the card's memory takes, and sends up, the dwords that title memory changed and no others (LEONIDA_SEND_CHANGED=1; off: the 64 KiB pages written since it last took them, whole). |
LEONIDA_SEND_OWN |
see the code |
|
|
|
leonida-gpu/host/send.rs |
What goes up to copies in the card's memory goes up as it was when its submission was prepared (LEONIDA_SEND_OWN, on by default; 0: as before). |
LEONIDA_SEND_TAKE_BESIDE |
see the code |
yes |
|
yes |
leonida-gpu/host.rs +1 |
...re waited for before that list is closed ([Own::settle]; LEONIDA_SEND_TAKE_BESIDE=0: waited for in take, as before; check: the bytes are compared with where they came from when they are waited for, which reads up... |
LEONIDA_SHADER_SAVE |
see the code |
|
|
|
leonida-gpu/pipeline.rs +1 |
LEONIDA_SHADER_SAVE=<dir>: each shader as the title gave it (.cdxil) and as translated (.dxil), by the hash crash reports name it with |
LEONIDA_SHARPEN |
see the code |
|
|
|
leonida-gpu/compose.rs |
Leonida: the scene sharpened before the interface goes over it (SHARPEN, 0 to 1, set when the pass is made from LEONIDA_SHARPEN). |
LEONIDA_SHOW_AFTER |
see the code |
|
yes |
yes |
leonida-gpu/descriptor/host.rs +4 |
Whether a title slot shows a texture that is new to it only once the submission with its upload has finished (LEONIDA_SHOW_AFTER=1; off). |
LEONIDA_SHOW_NEW_LATER |
see the code |
yes |
|
|
leonida-gpu/descriptor/host.rs |
...e it may still run shows it only once those have finished (LEONIDA_SHOW_NEW_LATER, on; 0: at once, as before; A/B-able). [show_after] left out slots made "at once" from a draw's table, the texture pass's paths that a... |
LEONIDA_SKIP_KEPT |
see the code |
|
|
|
leonida-gpu/pipeline.rs |
LEONIDA_SKIP_KEPT=0: looked up each time, as before. |
LEONIDA_SKIP_PIPELINES |
see the code |
|
yes |
|
leonida-gpu/drops.rs +3 |
Timing experiment: the pipelines with a shader that LEONIDA_SKIP_TRY_A, _B or _C names (hashes, as for LEONIDA_SKIP_PIPELINES) are left out while that switch is on. |
LEONIDA_SKIP_RT_SHADOW |
see the code |
|
|
|
leonida-gpu/pipeline/make.rs |
Whether the traced shadow passes ([RT_SHADOW_NAMES]) are left out (LEONIDA_SKIP_RT_SHADOW=1; off by default: they run, as before). |
LEONIDA_SKIP_TRY_A |
see the code |
yes |
|
yes |
leonida-gpu/pipeline.rs |
Timing experiment: the pipelines with a shader that LEONIDA_SKIP_TRY_A, _B or _C names (hashes, as for LEONIDA_SKIP_PIPELINES) are left out while that switch is on. |
LEONIDA_SKIP_TRY_B |
see the code |
yes |
|
|
leonida-gpu/pipeline.rs |
Each is a switch of LEONIDA_AB (LEONIDA_AB=15,LEONIDA_SKIP_TRY_A,LEONIDA_SKIP_TRY_B) and does nothing when it is not named there: a phase's frame time against the next one's says what those programs cost the card in... |
LEONIDA_SKIP_TRY_C |
see the code |
yes |
|
|
leonida-gpu/pipeline.rs |
|
LEONIDA_SLOT_CHECK |
see the code |
|
|
|
leonida-gpu/book.rs |
...every slot of the view heap whose descriptor reaches it. - LEONIDA_SLOT_CHECK=1: a thread walks the view heap and says which slots name memory that is gone, while nothing is lost yet ([check]).... |
LEONIDA_SLOT_HOLDS |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs |
LEONIDA_SLOT_HOLDS=0: only the list holds it, as before. |
LEONIDA_SLOT_SETTLE |
on, 0 turns it off |
yes |
|
|
leonida-gpu/host.rs |
LEONIDA_SLOT_SETTLE=0: refused without the wait. |
LEONIDA_SMALL_BUFFER_POOL |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/host.rs +1 |
Small upload and shared buffers placed in blocks made once (LEONIDA_SMALL_BUFFER_POOL), after trustno1-coder/VIctory-NVIDIA 95509b9 (GPL-3.0), which cut upload and shared buffers of up to 4 MiB from pooled 64 MiB heaps... |
LEONIDA_SNAPSHOT_POOL |
see the code |
|
|
|
leonida-gpu/shadow.rs |
How many snapshot buffers are kept (LEONIDA_SNAPSHOT_POOL; 8: as before). |
LEONIDA_SPANS_QUICK |
off unless set and not 0 |
yes |
|
yes |
leonida-gpu/descriptor/host.rs |
Off by default (LEONIDA_SPANS_QUICK=1; LEONIDA_AB can name it): here the lock was not waited for, and in four runs by turns the submitting thread worked 0.12 to 0.30 ms a frame more with it (runs d41, d43; `docs/find... |
LEONIDA_SPARE_CARD_GROW |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/host.rs |
...spare_card_most] keeps at least, and all it keeps without LEONIDA_SPARE_CARD_GROW`.... |
LEONIDA_SPARE_CARD_MB |
see the code |
|
|
|
leonida-gpu/host.rs |
... the card's budget, between [SPARE_CARD_MOST] and 1 GiB (LEONIDA_SPARE_CARD_MB=<MB> says it), and those kept longest let go first when it is full ([Spare::give_evicting]).... |
LEONIDA_SPLIT_WAITS |
see the code |
|
|
|
leonida-gpu/queue.rs |
LEONIDA_SPLIT_WAITS=0 holds whole submissions, as before. |
LEONIDA_STALE_TEXTURES |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs |
...s neighbours out of the queue and off the card, for good). LEONIDA_STALE_TEXTURES=overlap.... |
LEONIDA_STATE_CACHE |
on, 0 turns it off |
yes |
|
|
leonida-gpu/copystat.rs +1 |
What a host list was last given for its root parameters and its vertex and index buffers, so that a draw that sets the same value again records nothing (LEONIDA_STATE_CACHE=0: every call is recorded, as before). |
LEONIDA_STATIC_SAMPLERS_LINEAR |
see the code |
|
yes |
yes |
leonida-gpu/pipeline/host.rs +1 |
LEONIDA_STATIC_SAMPLERS_LINEAR: immediate samplers of the title's shaders filter linearly in minification, magnification and mips (anisotropic ones keep their filter; the reduction and comparison bits stay, so a point... |
LEONIDA_STEP_GATHER |
off unless set and not 0 |
yes |
|
|
leonida-gpu/host/card_steps.rs |
Whether a level's reads go into the buffer between by one dispatch for each host copy read, not by a copy command each (LEONIDA_STEP_GATHER=1; off by default; LEONIDA_AB can name it). |
LEONIDA_STORE_BESIDE |
see the code |
yes |
yes |
yes |
leonida-gpu/titlewrite.rs +1 |
...hat faults is done here, and the thread goes on behind it (LEONIDA_STORE_BESIDE=1; off unless asked for).... |
LEONIDA_STREAMLINE_DIR |
see the code |
|
yes |
|
leonida-gpu/dlss.rs +2 |
LEONIDA_FRAME_GEN=2|3|4 (frames shown per rendered one; unset or 1: off) with the SDK's signed DLLs in LEONIDA_STREAMLINE_DIR (sl.interposer, sl.common, sl.dlss_g, sl.reflex, sl.pcl, nvngx_dlssg). |
LEONIDA_STRICT_JOINS |
see the code |
|
|
|
leonida-gpu/shader_cache.rs +1 |
...lue, was zero in every lane that way). shortcut: only with LEONIDA_STRICT_JOINS set (the offline pack listing sets it to count them): 40 programs that translate today stop by name with it (vehicle paint pixel shaders a... |
LEONIDA_STRUCTURED_BYTES |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs |
Off unless LEONIDA_STRUCTURED_BYTES=1: it leaves such a view structured on its buffer's copy, as before. |
LEONIDA_SUBMIT_DEPTH |
see the code |
|
|
|
leonida-gpu/queue/behind.rs |
How many submissions may be in the line when a submit call returns (LEONIDA_SUBMIT_DEPTH; 64: about two frames of the title's). |
LEONIDA_SUBMIT_FRAMES |
see the code |
yes |
|
yes |
leonida-gpu/queue/behind.rs |
How many presents may be in the line when a present call returns (LEONIDA_SUBMIT_FRAMES; 1: the frame before is sent, this one may not be; 0: both are). |
LEONIDA_SUBMIT_SENDER |
off unless set and not 0 |
yes |
|
|
leonida-gpu/host.rs |
Whether anything was ever published ([publish]); until then [wait_sent] has nothing to wait for and does not take [SENDS], so a run without LEONIDA_SUBMIT_SENDER never touches it. |
LEONIDA_SWEEP |
see the code |
|
|
|
leonida-gpu/host.rs |
LEONIDA_SWEEP=0 keeps everything, as before. |
LEONIDA_SWEEP_SPANS |
on, 0 turns it off |
yes |
|
|
leonida-gpu/draw.rs |
...n the part cover, and joins those for the spans of a pass (LEONIDA_SWEEP_SPANS=0: the spans are made from every slot's range at every pass, as before, and a written slot that is also of the pass's part is looked at twi... |
LEONIDA_SWEEP_WRAP |
on, 0 turns it off |
yes |
|
|
leonida-gpu/resource.rs |
...s released) starts again at the first address when wrap (LEONIDA_SWEEP_WRAP=0: it stayed past the end, as before, and the sweep looked at nothing).... |
LEONIDA_TABLED_TEXTURES |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs |
LEONIDA_TABLED_TEXTURES=1 keeps them in it as before. |
LEONIDA_TABLES_EARLY |
on, 0 turns it off |
yes |
|
|
leonida-gpu/host.rs |
LEONIDA_TABLES_EARLY=0: at the end of the landing, as before. |
LEONIDA_TAKE_BLOCKS |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/host.rs +1 |
...ote, and only the 4 KiB that changed go up (on by default; LEONIDA_TAKE_BLOCKS=0: the page goes up whole; LEONIDA_AB can name it).... |
LEONIDA_TAKE_PARTS |
on, 0 turns it off |
yes |
|
|
leonida-gpu/watch.rs |
Of a page taken before, the parts written since, where they are known (LEONIDA_TAKE_PARTS=0: the page). |
LEONIDA_TARGET_VARIANTS |
see the code |
|
|
|
leonida-gpu/pipeline/make.rs |
Whether a draw into views of other formats than its pipeline declares gets a host pipeline for those formats ([for_formats]); on unless LEONIDA_TARGET_VARIANTS=0. |
LEONIDA_TEARING |
off unless set and not 0 |
|
|
|
leonida-gpu/host.rs |
LEONIDA_TEARING=1, where the system has it; off by default (unset or 0: presents wait for the refresh, as before). |
LEONIDA_TELL_EARLY |
see the code |
yes |
|
|
leonida-gpu/host.rs |
...at their shaders wrote is back in title memory, not after (LEONIDA_TELL_EARLY=1, or by turns with LEONIDA_AB=<s>,LEONIDA_TELL_EARLY; off by default).... |
LEONIDA_TEXBACK_ASYNC |
see the code |
|
|
|
leonida-gpu/land.rs +1 |
Writing texture read-backs into title memory (texback::write, on its own thread unless LEONIDA_TEXBACK_ASYNC=0): waiting for the locks against mapping changes, the work after, read-backs written, and those replaced b... |
LEONIDA_TEXBACK_LIGHT |
on, 0 turns it off |
yes |
|
|
leonida-gpu/texback.rs |
Whether read-backs go the light way (LEONIDA_TEXBACK_LIGHT=0: as before): a read-back is tiled outside the tickets' lock, which is taken for the write into title memory alone, into memory its thread keeps; and of a lis... |
LEONIDA_TEXTURE_AWAY_MS |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs |
Only when it is still away AWAY_MS after it was first found away (LEONIDA_TEXTURE_AWAY_MS; 0: at once, as before). |
LEONIDA_TEXTURE_BACK |
see the code |
|
|
|
leonida-gpu/texback.rs |
For textures of the kinds in LEONIDA_TEXTURE_BACK (comma-separated <width>x<height>f<format>; unset or 1: the four water formats found by the upstream trace; 0: none), a list in which shaders write one copies it... |
LEONIDA_TEXTURE_BUDGET_MB |
see the code |
|
|
|
leonida-gpu/resource.rs |
The limit LEONIDA_TEXTURE_BUDGET_MB sets on the bytes of host copies of the title's textures, if it is set. |
LEONIDA_TEXTURE_CATCHUP |
see the code |
|
|
|
leonida-gpu/draw.rs |
LEONIDA_TEXTURE_CATCHUP=0 keeps the plain budget. |
LEONIDA_TEXTURE_COPY |
see the code |
|
|
|
leonida-gpu/texture.rs |
Whether a texture all of whose memory is mapped is read through the kernel's copy instead of in place (LEONIDA_TEXTURE_COPY=1; off by default). |
LEONIDA_TEXTURE_FAVOR_REUSED |
off unless set and not 0 |
yes |
|
|
leonida-gpu/resource.rs |
...idle ([let_go_idle], where the card's room sets a limit; LEONIDA_TEXTURE_FAVOR_REUSED=1; off by default; LEONIDA_AB can name it).... |
LEONIDA_TEXTURE_FILL |
see the code |
|
|
|
leonida-gpu/texture.rs |
Whether a refresh that does not wait ([no_wait]) and finds a page missing fills a staging buffer that was never filled from the pages that are there (LEONIDA_TEXTURE_FILL=0: it was left as it was made). |
LEONIDA_TEXTURE_GUARD |
see the code |
|
|
|
leonida-gpu/texture.rs |
LEONIDA_TEXTURE_GUARD=0 hashes at every check, as before. |
LEONIDA_TEXTURE_HASH_BACKOFF |
off unless set and not 0 |
yes |
yes |
yes |
leonida-gpu/texture.rs +1 |
...s, takes only one of every [backoff_every] of its turns (LEONIDA_TEXTURE_HASH_BACKOFF, off unless asked; LEONIDA_AB can turn it while the title runs).... |
LEONIDA_TEXTURE_HASH_BACKOFF_AFTER |
see the code |
|
|
|
leonida-gpu/texture.rs |
Looks in a row that found a texture as it was before it backs off ([hash_backoff]; LEONIDA_TEXTURE_HASH_BACKOFF_AFTER, 4). |
LEONIDA_TEXTURE_HASH_BACKOFF_N |
see the code |
|
|
|
leonida-gpu/texture.rs |
One turn in this many for a quiet texture ([hash_backoff]; LEONIDA_TEXTURE_HASH_BACKOFF_N, 16). |
LEONIDA_TEXTURE_HOT |
see the code |
|
|
|
leonida-gpu/texture.rs |
LEONIDA_TEXTURE_HOT=0: every eighth frame only, as before. |
LEONIDA_TEXTURE_KEEP |
see the code |
|
|
|
leonida-gpu/host.rs +1 |
LEONIDA_TEXTURE_KEEP=0: [vram_idle_ms]' older rule, all that are idle; =1: that rule with its two longer times. |
LEONIDA_TEXTURE_NO_WAIT |
see the code |
|
yes |
|
leonida-gpu/host/menu.rs +3 |
Whether a texture refresh that finds the runtime remapping title memory goes on without waiting for it (LEONIDA_TEXTURE_NO_WAIT=1; off by default). |
LEONIDA_TEXTURE_ONCE |
see the code |
|
|
|
leonida-gpu/texture.rs |
Whether a staging buffer made for one upload of a texture picked by index is filled without asking the write watch and the guards (LEONIDA_TEXTURE_ONCE=0: with, as before). |
LEONIDA_TEXTURE_POOL |
see the code |
|
|
|
leonida-gpu/pool.rs |
LEONIDA_TEXTURE_POOL=0 makes every one an allocation of its own again. |
LEONIDA_TEXTURE_ROOM_PERCENT |
see the code |
|
yes |
|
leonida-gpu/resource.rs +1 |
The share of the card's budget, in percent, up to which host copies of textures picked by index are made ([room]): 90 unless LEONIDA_TEXTURE_ROOM_PERCENT says another (50 to 97). |
LEONIDA_TEXTURE_SAME |
see the code |
|
|
|
leonida-gpu/texture.rs |
(Of 787 repeated uploads of a frame that streams 398 were equal in every byte, and a texture uploaded again costs a staging buffer, a detiling and a copy more than this look.) LEONIDA_TEXTURE_SAME=0: not asked. |
LEONIDA_TEXTURE_STAGE_MB |
see the code |
|
|
|
leonida-gpu/draw.rs |
LEONIDA_TEXTURE_STAGE_MB sets it: a backlog of tens of thousands of textures (a scene's first minutes) then drains in fewer frames. |
LEONIDA_TEXTURE_STAGE_MS |
see the code |
|
|
|
leonida-gpu/draw.rs |
|
LEONIDA_TEXTURE_SWEEP |
see the code |
|
|
|
leonida-gpu/resource.rs |
LEONIDA_TEXTURE_SWEEP=0 lets nothing go. |
LEONIDA_THIN |
see the code |
|
yes |
yes |
leonida-gpu/draw.rs +8 |
List calls that only write down their arguments (LEONIDA_THIN=1); what they mean is worked out by threads of ours, beside the title's. |
LEONIDA_THIN_PARK |
off unless set and not 0 |
yes |
|
yes |
leonida-gpu/list/thin.rs +1 |
Whether thread i of the threads that translate takes no work now: with LEONIDA_THIN_PARK (off unless asked for; by turns under A/B) the last LEONIDA_THIN_PARK_N (2) of them sleep, so that one run measures fewer t... |
LEONIDA_THIN_PARK_N |
see the code |
|
|
|
leonida-gpu/list/thin.rs |
..._PARK(off unless asked for; by turns under A/B) the lastLEONIDA_THIN_PARK_N` (2) of them sleep, so that one run measures fewer threads against all of them.... |
LEONIDA_THIN_THREADS |
see the code |
|
yes |
yes |
leonida-gpu/list/thin.rs +1 |
|
LEONIDA_THREAD_DIMENSIONS |
see the code |
|
|
|
leonida-gpu/draw.rs |
LEONIDA_THREAD_DIMENSIONS=0: such counts are taken for groups, as before. |
LEONIDA_THREAD_TICKET |
see the code |
|
|
|
leonida-gpu/shader_cache.rs +2 |
LEONIDA_THREAD_TICKET=0: the flat id of the wave's first lane rounded down, as before. |
LEONIDA_TIMELINE |
see the code |
|
|
yes |
leonida-gpu/timeline.rs +2 |
LEONIDA_TIMELINE=<file> writes one timeline from the first present after LEONIDA_TIMELINE_AT seconds (60) on and for LEONIDA_TIMELINE_FRAMES frames (3); LEONIDA_TIMELINE=<from s>[+<from s>..],<frames>,<file> writ... |
LEONIDA_TIMELINE_AT |
see the code |
|
|
|
leonida-gpu/timeline.rs +1 |
Immediate arming with LEONIDA_TIMELINE_AT=0, uppercase .JSON extension, and non-multiple-of-1000 frequency rounding up. |
LEONIDA_TIMELINE_FRAMES |
see the code |
|
|
|
leonida-gpu/timeline.rs +1 |
Valid stall mode: plain path with spaces, commas and Unicode; default 60s warm-up; LEONIDA_TIMELINE_FRAMES ignored in stall mode. |
LEONIDA_TIMELINE_STALL_MS |
see the code |
|
|
|
leonida-gpu/timeline.rs +2 |
Stall mode (LEONIDA_TIMELINE_STALL_MS) feeds the same events into a preallocated rolling VecDeque (ROLLING_CAPACITY entries, ~4 MiB on x64) behind a non-blocking Mutex::try_lock() producer path guarded by a plain... |
LEONIDA_TITLE_PRIORITIES |
see the code |
|
yes |
|
leonida-gpu/host/menu.rs +3 |
LEONIDA_TITLE_PRIORITIES=0: as the title sets them. |
LEONIDA_TRAIL |
see the code |
|
|
|
leonida-gpu/host.rs |
LEONIDA_TRAIL=0: nothing is kept and nothing is said. |
LEONIDA_TRANSLATOR |
see the code |
|
|
|
leonida-gpu/shader_cache.rs |
|
LEONIDA_TWIN_BIAS |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs |
LEONIDA_TWIN_BIAS=0: null, as before (programs then add a bias of 0). |
LEONIDA_UNDER_THREADS |
see the code |
|
|
yes |
leonida-gpu/land.rs |
[Pool::each] on threads kept for the title's bytes under flights' writes (LEONIDA_UNDER_THREADS, 6 with this one). |
LEONIDA_UNDER_WIDE |
on, 0 turns it off |
yes |
|
|
leonida-gpu/shadow.rs +1 |
Whether the pages of [Shadow::merge_under_writes] are compared on several threads (LEONIDA_UNDER_WIDE=0: on the submitting one). |
LEONIDA_UNDER_WORDS |
see the code |
|
|
|
leonida-gpu/host/send.rs |
Whether the title's bytes that go in under flights' writes (Shadow::merge_under_writes) go in by whole words (LEONIDA_UNDER_WORDS=0: by the bytes that changed, as before). |
LEONIDA_UNGUARD_RUNS |
on, 0 turns it off |
yes |
|
|
leonida-gpu/watch.rs |
Whether guarded blocks that follow each other are given write access back by one change of protection (LEONIDA_UNGUARD_RUNS=0: a change a block, as before). |
LEONIDA_UNIFORM_LOADS |
see the code |
|
|
yes |
leonida-gpu/shader_cache.rs +1 |
Whether buffer loads of read-only views at an address the lanes hold alike count as the same in every lane (LEONIDA_UNIFORM_LOADS, on unless 0): a first-lane read of such a value then needs nothing from the other hos... |
LEONIDA_UNWATCHED_FRAMES |
see the code |
|
|
|
leonida-gpu/draw.rs |
|
LEONIDA_UPCOPY_CHECK |
see the code |
|
|
yes |
leonida-gpu/host/upcheck.rs |
Diagnostics (LEONIDA_UPCOPY_CHECK=1; off by default): whether what goes up to a copy in the card's memory is older than what the card holds. |
LEONIDA_UPLOAD_AHEAD |
see the code |
yes |
yes |
|
leonida-gpu/draw.rs +5 |
First uploads of textures picked by index on a copy queue of their own (LEONIDA_UPLOAD_AHEAD): read, detiled and copied by threads of ours as soon as the texture pass has made them, and the slots that wait for them sho... |
LEONIDA_UPLOAD_GUARD |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/texture.rs |
...efore it ([PreludeUpload::claim], [host_write_listed]; LEONIDA_UPLOAD_GUARD=0: made, as before; LEONIDA_AB can turn it while the title runs, the writes are noted either way).... |
LEONIDA_UPLOAD_LOW |
see the code |
|
|
|
leonida-gpu/upload.rs |
LEONIDA_UPLOAD_LOW=0: from the process heap, as before. |
LEONIDA_UPSCALE_PROBE |
see the code |
|
|
yes |
leonida-gpu/list.rs +1 |
LEONIDA_UPSCALE_PROBE=1: logs what the title gives each upscale (the inputs a temporal upscaler such as DLSS or FSR 2 needs), now and then. |
LEONIDA_VIDEO_HOT_FRAMES |
see the code |
|
|
|
leonida-gpu/texture.rs |
LOCAL (wt5 build38, bodnjenie14 12457b43 "Bink video flickering"): after the hash finds a change the guard did not see, the texture stays hot this many frames (LEONIDA_VIDEO_HOT_FRAMES, 1,024 unless said; 64 before). |
LEONIDA_VIDEO_PLANES |
see the code |
|
|
|
leonida-gpu/texture.rs |
Those are hashed at every check. LEONIDA_VIDEO_PLANES=0: as before. |
LEONIDA_VIEW_BYTES |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs |
LEONIDA_VIEW_BYTES=0 leaves them null, as before. |
LEONIDA_VIEW_CACHE |
off unless set and not 0 |
yes |
|
yes |
leonida-gpu/descriptor.rs |
Off unless LEONIDA_VIEW_CACHE=1; by turns under A/B. |
LEONIDA_VIEW_COPY |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs |
LEONIDA_VIEW_COPY=0: made in place, as before. |
LEONIDA_VIEW_EXTENT |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs +1 |
LEONIDA_VIEW_EXTENT=0 looks the copy up by the view's range alone, as before. |
LEONIDA_VIEW_GUARD |
see the code |
|
|
|
leonida-gpu/watch.rs |
LEONIDA_VIEW_GUARD=0: each address for itself, as before. |
LEONIDA_VIEW_INLINE |
see the code |
|
|
|
leonida-gpu/descriptor.rs +1 |
LEONIDA_VIEW_INLINE=0: every view is an entry, as before. |
LEONIDA_VIEW_THREADS |
see the code |
|
|
|
leonida-gpu/land.rs |
Calls f with every number below count, on this thread and on threads kept for making descriptors (LEONIDA_VIEW_THREADS, 4 with this one, 6 for records; 1: on this one alone). |
LEONIDA_VIEW_THREADS_WIDE |
see the code |
yes |
|
yes |
leonida-gpu/land.rs |
Threads of the pool for the views picked by index ([each_view]): as before, and with LEONIDA_VIEW_THREADS_WIDE=1. |
LEONIDA_VIPATCH_NO_VIGNETTE |
see the code |
|
|
|
leonida-gpu/host/menu.rs +1 |
|
LEONIDA_VOLUME_VIEWS |
see the code |
|
|
|
leonida-gpu/descriptor/host.rs |
...ead as a volume, levels that are not there), this says so. LEONIDA_VOLUME_VIEWS=0: not.... |
LEONIDA_WAIT_ASK |
see the code |
|
|
|
leonida-gpu/list.rs |
LEONIDA_WAIT_ASK=1 asks first, as before. |
LEONIDA_WAIT_FORCE |
see the code |
|
|
|
leonida-gpu/queue.rs |
LEONIDA_WAIT_FORCE=0 keeps it held: for finding out whether the title's waits reach across its presents; a wait nothing ever meets then stops the title for good. |
LEONIDA_WAIT_RESIDENT |
see the code |
|
|
|
leonida-gpu/host.rs |
Whether new memory is made resident, and waited for, before anything can name it (on by default; LEONIDA_WAIT_RESIDENT=0: as before). |
LEONIDA_WALLS_TRACE |
see the code |
|
|
|
leonida-gpu/host.rs +1 |
The walls trace (LEONIDA_WALLS_TRACE=1 or 2; off by default): log lines that say what the title's CPU was given while it decided whether the camera is in a room. |
LEONIDA_WAVE_DEEP_SKIPS |
see the code |
|
|
|
leonida-gpu/shader_cache.rs +1 |
(LEONIDA_WAVE_DEEP_SKIPS=0 and LEONIDA_WAVE_WIDE=0 turn the two off.) |
LEONIDA_WAVE_LDS_LOOSE |
see the code |
|
|
yes |
leonida-gpu/shader_cache.rs +1 |
Leonida, last of all, only with LEONIDA_WAVE_LDS_LOOSE=1: LDS read and written inside one lane-branch region, the host waves meeting only around it (lower::with_lds_loose, approximate). |
LEONIDA_WAVE_LOCAL |
see the code |
|
|
|
leonida-gpu/shader_cache.rs +1 |
LEONIDA_WAVE_LOCAL=idiom refuses those instead. |
LEONIDA_WAVE_OWN_BITS |
see the code |
|
|
|
leonida-gpu/shader_cache.rs +2 |
LEONIDA_WAVE_OWN_BITS=0: a wave OR where not every lane runs is refused as before ([super::own_bits]). |
LEONIDA_WAVE_WIDE |
see the code |
|
|
yes |
leonida-gpu/shader_cache.rs +1 |
So are the switches that pick the form of a wave64 program: without them here a run with LEONIDA_WAVE_WIDE=0 was served the translations an earlier run of the same executable had cached with the switch unset. |
LEONIDA_WAVE_WIDE_FOR |
see the code |
|
|
yes |
leonida-gpu/shader_cache.rs +1 |
The programs a LEONIDA_PAIRED_FOR or LEONIDA_WAVE_WIDE_FOR list names: hashes as the log and the frame listings name shaders (the first 16 hex digits of the container's BLAKE3), or their beginnings from 8 digits on,... |
LEONIDA_WC_NO_BACK |
on, 0 turns it off |
yes |
yes |
yes |
leonida-gpu/shadow.rs +3 |
Whether its title memory is write-combined ([Shadow::wc_kind], LEONIDA_WC_NO_BACK / LEONIDA_WC_SUBRANGE_NO_BACK): 0 not known yet, 1 none, 2 whole copy, 3 partial (mixed copy with qualifying sub-ranges). |
LEONIDA_WC_NO_BACK_MIN_KB |
see the code |
|
|
|
leonida-gpu/shadow.rs |
The smallest copy whose shader writes [wc_no_back] leaves on the card, in bytes (LEONIDA_WC_NO_BACK_MIN_KB, 1024 unless set; 0: all). |
LEONIDA_WC_SUBRANGE_NO_BACK |
on, 0 turns it off |
yes |
|
yes |
leonida-gpu/shadow.rs |
Whether its title memory is write-combined ([Shadow::wc_kind], LEONIDA_WC_NO_BACK / LEONIDA_WC_SUBRANGE_NO_BACK): 0 not known yet, 1 none, 2 whole copy, 3 partial (mixed copy with qualifying sub-ranges). |
LEONIDA_WIDE_BACK |
see the code |
|
yes |
|
leonida-gpu/host/menu.rs +3 |
Whether the snapshots of a submission's shader-written ranges, and the compare that finds what the shaders wrote, run on several threads across ranges (LEONIDA_WIDE_BACK=1; off by default). |
LEONIDA_WIDE_FILLS |
see the code |
|
|
|
leonida-gpu/host.rs |
Whether the fills of a submission's upload memory are done together on several threads (LEONIDA_WIDE_FILLS=0: one after the other, where the lists name them). |
LEONIDA_WIDE_HALF |
off unless set and not 0 |
yes |
|
yes |
leonida-gpu/shadow.rs |
Whether half of the logical processors help with work spread over threads, not a quarter of them (LEONIDA_WIDE_HALF=1; off by default; LEONIDA_AB can name it: the threads are all kept then, and half of them are left... |
LEONIDA_WIDE_MERGE |
see the code |
|
|
|
leonida-gpu/host.rs |
Whether what shaders wrote to copies in the card's memory is merged into title memory on several threads (LEONIDA_WIDE_MERGE=1; off by default). |
LEONIDA_WIDE_REFRESH |
see the code |
|
|
|
leonida-gpu/host.rs |
Whether a submission's refreshes of host copies run on several threads, a copy to a thread (LEONIDA_WIDE_REFRESH=0 disables it; =1 forces it). |
LEONIDA_WIDE_SPIN |
see the code |
|
|
|
leonida-gpu/shadow.rs +1 |
Waits awake until there says so, LEONIDA_WIDE_SPIN microseconds at most (0, the default: not at all): asleep, a thread is woken in 50 us and more, 95 times a frame. |
LEONIDA_WIDE_TEXTURES |
see the code |
|
|
|
leonida-gpu/host.rs |
Whether a submission's textures are brought up to date on several threads (LEONIDA_WIDE_TEXTURES=0: one after the other, where the lists name them, as before). |
LEONIDA_WIDE_THREADS |
see the code |
|
|
|
leonida-gpu/shadow.rs |
LEONIDA_WIDE_THREADS=<n>: that many helper threads, whatever the PC has. |
LEONIDA_WINDOWS_BAR_LINE |
see the code |
|
|
|
leonida-gpu/shadow.rs |
LEONIDA_WINDOWS_BAR_LINE, 80 unless set (to 50 to 97). |
LEONIDA_WINDOWS_BAR_MB |
see the code |
|
yes |
yes |
leonida-gpu/shadow.rs +1 |
The most bytes of windows outside buffers that lie in the card's memory and are filled by the CPU through the bus (LEONIDA_WINDOWS_BAR_MB; 0, the default, none): one buffer (D3D12_HEAP_TYPE_GPU_UPLOAD), no CPU's side... |
LEONIDA_WINDOWS_OWN |
see the code |
|
|
|
leonida-gpu/shadow.rs |
Whether windows outside buffers have two sides too, so that submissions in the air read the bytes they were prepared with (LEONIDA_WINDOWS_OWN=1; off by default: it takes the windows' bytes again, 3.3 GB in capture rep... |
LEONIDA_WINDOW_KB |
see the code |
|
|
|
leonida-gpu/shadow.rs |
The grid the windows of asks with a length are cut on, in bytes: 4 MiB unless LEONIDA_WINDOW_KB names a smaller power of two (64 at least). |
LEONIDA_WINDOW_TAILS |
see the code |
|
|
|
leonida-gpu/shadow.rs |
... goes when nothing holds it any more. shortcut: off unless LEONIDA_WINDOW_TAILS=1.... |
LEONIDA_WRITE_SITES |
see the code |
|
|
yes |
leonida-gpu/titlewrite.rs +1 |
With LEONIDA_WRITE_SITES=<file>, a place that can be made to look first (can_look) and mostly left it is written into that file, for the next start (leonida_loader::write_sites). |
LEONIDA_WRITE_SKIP |
see the code |
|
|
|
leonida-gpu/draw.rs |
LEONIDA_WRITE_SKIP=0 declares every such range, as before. |