Skip to content

R-1: SLOT_VIEW_ADDRS — heap-picked descriptor address dwords (4 of 5 shadow-mask trace programs now emit) - #22

Open
yadashtpc-boop wants to merge 6 commits into
ProjectLeonidaL:mainfrom
yadashtpc-boop:feat/shadow-view-addresses
Open

yadashtpc-boop wants to merge 6 commits into
ProjectLeonidaL:mainfrom
yadashtpc-boop:feat/shadow-view-addresses

Conversation

@yadashtpc-boop

Copy link
Copy Markdown

The fifth, FullAdaptive, still refuses , a different, deeper gap: a lane
mask holding lanes elsewhere read as data in a wave32 compute program
(failing at 0xae80; the wave64 retry forms do not apply). Evidence dump
available; happy to take it in a follow-up.

@ShinniUwU ShinniUwU left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this. Tested locally on bdeb90f: cargo test --workspace gives 591 passed, 0 failed.

A few things before it can go in:

  1. Rebase after #20. Part of this change duplicates what #20 does, so please rebase once #20 is merged and keep only what is new here.
  2. Put the new behaviour behind a switch. It is on by default with no way to turn it off. Per the project rules, new risky behaviour goes behind a LEONIDA_* switch that is off by default. Something like LEONIDA_VIEW_ADDRS=1, with a short entry in docs/fork-notes.md.
  3. One in-game run. Please post figures from one run: GPU, driver version, usual frame time before and after, and whether shadows look right. Figures only, no log files.
  4. Small fixes:
    • There is a stray space in the .is_multiple_of call.
    • Please mention in the code or the PR that this adds a 16 MB upload buffer per heap, so the memory cost is visible.

Happy to look again once these are in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants