diff options
| author | kykifox1337-source <kykifox1337@gmail.com> | 2026-11-23 13:10:57 -0500 |
|---|---|---|
| committer | d7ommy <abnalstlll@gmail.com> | 2026-11-24 16:28:34 +0300 |
| commit | a744fa8ab150c120babdbade56da470291d070cd (patch) | |
| tree | 4fff387185a82194549d22d1f5b6f903d4e6e657 /scripts/export_github_metadata.py | |
| parent | 2d73c242fddfe26d57b52ee150704e6c3b23cff4 (diff) | |
d3d12: SYNC_COPY waits for the CLEAR stage too (D3D-838)
An enhanced barrier's D3D12_BARRIER_SYNC_COPY mapped to VK_PIPELINE_STAGE_2_COPY_BIT only. Two D3D12
copy-scope commands are not Vulkan copies: WriteBufferImmediate is recorded as vkCmdUpdateBuffer and
ResolveQueryData's never-written queries as vkCmdFillBuffer, and synchronization2 runs both in the CLEAR
stage. A SYNC_COPY barrier after either therefore did not order it, and a copy after the barrier could read
the word before the write landed.
vulkan_sync now maps SYNC_COPY to COPY | CLEAR. vk_command_replay_test part K records WriteBufferImmediate,
a SYNC_COPY -> SYNC_COPY buffer barrier and a CopyBufferRegion of the written word; under
LEONIDA_VK_VALIDATION=1 it is a read-after-write hazard without this change. d3d12_state_map_test and
docs/d3d12_vulkan.md follow the new mapping.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/export_github_metadata.py')
0 files changed, 0 insertions, 0 deletions