mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:30:52 +01:00
[PR #1394] tests: cover two UHD render target leases in the XMem pool #1424
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1424
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1394
Author: @Okachamie
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:test-xmem-pool-fill📝 Commits (1)
d1a89d2tests: cover two UHD render target leases in the XMem pool📊 Changes
1 file changed (+31 additions, -0 deletions)
View changed files
📝
runtime/test/xs_proxy_mock_test.cpp(+31 -0)📄 Description
Claimed in the coordination issue as: TEST-XMEM-POOL-FILL
What and why
Extend
xs_proxy_mock_testto keep two synthetic 3840×2160 RGBA8 render targets alive at once through device slot 127. Check that each allocation hook sees a 31.875 MiB lease, leaving 256 KiB in a 64 MiB pool. Check that releasing each resource frees its matching lease with the expected attributes.Tested
The saved Windows mock executable passed all six modes under Wine 11.22 on CachyOS Linux: default,
--fail-virtualalloc,--fail-virtualprotect,--fail-veh,--env-slots, and--env-slots-invalid. Both target source files are byte-identical to the previously tested patched worktree. No game files used.GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly.docs/design.md(n/a).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.