diff options
| author | Ribbit <ribbit@eden-emu.dev> | 2025-10-06 17:39:32 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2025-10-06 17:39:32 +0200 |
| commit | 5d4cfe195b9d221a0b7c7195dd0fd0f8d38b1838 (patch) | |
| tree | a58336e3ee9f2b470c880e066eddbdde44b956e4 /docs/scripts/Linux.md | |
| parent | bc1d093fe9e5ee4ddee02e3beb43480f5ee2ead9 (diff) | |
[vk] Fix Vulkan Upload & Present Barriers for Spec Compliance (#2681)
The barrier before the CPU-upload copy was using VK_PIPELINE_STAGE_HOST_BIT. Validation rules only allow HOST as the source stage if you’re also specifying host-side access flags; inside a command buffer the GPU isn’t executing “host work,” so pairing that stage with the usual image layout transition is technically invalid.
Switching the source stage to VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT keeps the ordering guarantee we need and satisfies the spec, while the actual host visibility is still handled correctly by the preceding vmaFlushAllocation.
Co-authored-by: Ribbit <ribbit@placeholder.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2681
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
Co-authored-by: Ribbit <ribbit@eden-emu.dev>
Co-committed-by: Ribbit <ribbit@eden-emu.dev>
Diffstat (limited to 'docs/scripts/Linux.md')
0 files changed, 0 insertions, 0 deletions
