acdream/tests/AcDream.App.Tests/Rendering/Gpu/Vk
Erik b333edb4f2 test(vulkan): publish readback before host mapping
Record the exact sync2 COPY/TRANSFER_WRITE to HOST/HOST_READ buffer dependency over the copied readback range before ending and submitting the existing command buffer. Preserve coherent mapping and queue-idle completion.

Add a portable guard that inspects the descriptor factory used by the live ReadBack path and pins copy, descriptor, barrier, end, and submit order without initializing Vulkan.

Mutations performed and restored:

1. Removed the live post-copy barrier: the guard first failed with Expected copy -> descriptor -> barrier -> end -> submit, got 4260, -1, -1, -1, 4386, 4900.

2. Changed source access to TransferReadBit: the guard first failed Assert.Equal, expected Access2TransferWriteBit, actual Access2TransferReadBit.

3. Moved the correct barrier before the copy: the guard first failed with Expected copy -> descriptor -> barrier -> end -> submit, got 4657, 4260, 4525, 4594, 4783, 5297.
2026-09-05 03:19:55 +02:00
..
BlockCompressionTests.cs feat(render): Campaign V slice V6b - Vulkan textures, mips, samplers and the descriptor table 2026-07-28 07:49:40 +02:00
MeshModernSharedIndexOffscreenTests.cs test(vulkan): publish readback before host mapping 2026-09-05 03:19:55 +02:00
MeshModernSharedIndexSpirvTests.cs fix(rendering): split ordinary transform and sidecar indices 2026-09-05 03:19:55 +02:00
VulkanActiveDeviceProbeTests.cs feat(render): Campaign V slice V5 - Vulkan bring-up, dark 2026-07-28 07:11:50 +02:00
VulkanBindingScopeArenaTests.cs feat(render): Campaign V slice V6i-1 - one descriptor set per renderer scope 2026-07-28 13:17:25 +02:00
VulkanBringUpBudgetTests.cs ci(render): Campaign V slice V9 - the Vulkan gate runs on lavapipe 2026-07-28 20:10:01 +02:00
VulkanCapabilityGateTests.cs feat(render): implement Campaign AR and terrain fidelity 2026-08-22 13:13:29 +02:00
VulkanCapabilityReportContractTests.cs test: remove exact duplicate coverage 2026-08-18 12:36:41 +02:00
VulkanDeviceSelectionTests.cs feat(render): Campaign V slice V5 - Vulkan bring-up, dark 2026-07-28 07:11:50 +02:00
VulkanDirectionalMultiviewContractTests.cs feat(render): implement Campaign AR and terrain fidelity 2026-08-22 13:13:29 +02:00
VulkanDrawBindingStateTests.cs test(ci): harden scheduling and allocation gates 2026-08-27 19:28:10 +02:00
VulkanFrameFlightTests.cs feat(render): Campaign V slice V6a - Vulkan memory, buffers, rings and the frame timeline 2026-07-28 07:36:15 +02:00
VulkanGraphicsContextAcquisitionTests.cs feat(render): implement Campaign AR and terrain fidelity 2026-08-22 13:13:29 +02:00
VulkanHostStorageVisibilityTests.cs feat(render): implement Campaign AR and terrain fidelity 2026-08-22 13:13:29 +02:00
VulkanLaneOwnershipContractTests.cs test(vulkan): isolate the hardware witness lane 2026-09-05 03:19:55 +02:00
VulkanMemoryModelTests.cs feat(render): Campaign V slice V6a - Vulkan memory, buffers, rings and the frame timeline 2026-07-28 07:36:15 +02:00
VulkanRenderFailurePolicyTests.cs feat(render): implement Campaign AR and terrain fidelity 2026-08-22 13:13:29 +02:00
VulkanShaderDescriptorContractTests.cs fix(render): S3 chunk 4 round 2 — draw-gate condition pinned, scissor and terrain-clip stacks deleted, one outside-view slice constructor 2026-09-03 16:18:27 +02:00
VulkanShaderManifestTests.cs fix(rendering): split ordinary transform and sidecar indices 2026-09-05 03:19:55 +02:00
VulkanSwapchainConfigurationTests.cs feat(render): Campaign V slice V5 - Vulkan bring-up, dark 2026-07-28 07:11:50 +02:00
VulkanViewportMappingTests.cs fix(rendering): carry retail SetSurface state to detail draws 2026-09-05 02:03:13 +02:00
VulkanWorldPassScopeTests.cs feat(render): implement Campaign AR and terrain fidelity 2026-08-22 13:13:29 +02:00