mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:50:52 +01:00
[PR #1504] [CLOSED] RT-NULL-BARRIER-CLEAR: console null-resource barriers and null-view clears no longer drop the submission #1534
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#1534
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/1504
Author: @ubiquitarianism
Created: 11/25/2026
Status: ❌ Closed
Base:
main← Head:fix/rt-null-barrier-clear📝 Commits (10+)
4b9a891fspx_unpack: code_range takes the 24-byte prologue of some pipeline-library programs1ea2ffbrdna2spirv: s_bitreplicate_b64_b32 into VCC, s_flbit_i32_b64 of a lane maskce98fbefix: rdna2spirv decodes scalar, image and buffer tuples that run into vcc from the blob when llvm-mc rejects themf7a338brdna2spirv: clamp restore_vcc_tuples decode slice to code_endf8d0c75Merge remote-tracking branch 'origin/main' into HEADf605f8ardna2spirv: put back the instructions llvm-mc's junk swallowed after a tuple into vcc6886740test_vcc_tuple_fallback: cover where a resync starts and stopsebcb0actools: decode the pipeline-library compute programs llvm-mc refusesbf0c4d9tests: fspx_unpack takes the decoder listing when llvm-mc reports invalid wordsbec14f2tools: the last pipeline-library compute programs of 1.0.2.1📊 Changes
298 files changed (+38445 additions, -2467 deletions)
View changed files
📝
.gitignore(+4 -0)📝
README.md(+1 -1)📝
docs/README.md(+4 -0)📝
docs/boot.md(+16 -0)📝
docs/buffer_bounds.md(+4 -0)📝
docs/cpu_features.md(+7 -0)📝
docs/d3d12_command_objects.md(+11 -4)📝
docs/d3d12_vulkan.md(+233 -14)➕
docs/d3d12_xs_console_abi.md(+279 -0)📝
docs/design.md(+42 -20)📝
docs/directstorage.md(+75 -30)📝
docs/embedded_shaders.md(+57 -8)📝
docs/fspx.md(+83 -0)➕
docs/linux_proton.md(+120 -0)📝
docs/movies.md(+16 -15)📝
docs/pipeline_check.md(+2 -0)📝
docs/retail_boot_chain.md(+1 -1)📝
docs/runtime_imports.md(+71 -21)📝
docs/shader_library.md(+38 -4)📝
docs/xdxr.md(+34 -0)...and 80 more files
📄 Description
Claimed in the coordination issue as: RT-NULL-BARRIER-CLEAR (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7150446086)
Depends on: #1495
The retail title makes two console command-list calls that each put the PC list into its error state. When that happens,
Closefails andExecuteCommandListsdrops the whole submission. This PR handles both the way the console does.List slot 146:
Barrier, GCL7 slot 80The console treats a texture barrier with no resource as a global barrier.
D3D12_GLOBAL_BARRIERwith the same sync and access words.List slot 52:
ClearRenderTargetView, PC slot 48The title creates some render-target views with no resource and clears them every frame. On the console that clear does nothing.
CreateRenderTargetViewgets a null resource.CopyDescriptorsandCopyDescriptorsSimpleof RTVs move the marks with the descriptors. A view later re-created with a resource clears the mark.The proxy keeps its own marks because the layer's descriptor state can't tell a null-resource view apart from a view it failed to create.
Known gap: RTV records that the title copies with its own
memcpyare not followed.Tests
xs_proxy_mock_testnow models the PC error state in its mock list, so itsClosefails the way the real layer does.check_console_null_barrier_and_clearcases:Windows 11, VS 2026, Windows SDK 10.0.26100: ctest has 310 of 312 passing. The two failures,
d3d12_texture_tilesandd3d12_clear, also fail on plainmain. These cases are confirmed by the mock tests only, not by a retail run.docs/d3d12_vulkan.md§4.9 records both behaviours.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.