fix(shader): keep the per-thread empty image tables in HostThreadLocal #19893
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/19893"
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?
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-11-14T06:35:23Z.
What
Since #18827,
prx_thread_local_destructorsandtest_thread_local_destructorsfail on Windows:ResolveImageTablesSharedkeeps the empty table result in a function-localthread_local, whose destructor runs after emulated TLS freed the object. This keeps the same per-thread value inHostThreadLocal, as the rest of the file already does, so the empty result stays per thread and #18827's reuse is unchanged. Last Windows main without the failure:865f0fe0d4.Tested
The full Windows suite on this PR must show
prx_thread_local_destructorsandtest_thread_local_destructorspassing.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)