You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wildcard
4eb6d10d62
[Vk] Improve Stencil Handling and Fix Read-After-Write Hazard ( #235 )
1. Improves stencil handling:
- Adds surface type detection to distinguish between color, depth, stencil, and depth-stencil formats
- Only enables stencil load/store operations for surfaces that actually contain stencil data
- Avoids unnecessary stencil operations for non-stencil formats (DONT_CARE)
2. Fixes read-after-write (RAW) synchronization hazards:
- Adds a subpass self-dependency (subpass 0 → subpass 0)
- Synchronizes color/depth writes with subsequent shader reads
- Uses VK_DEPENDENCY_BY_REGION_BIT for efficient synchronization
- Covers all possible relevant stages,
• src: Color output + Early/Late fragment tests
• dst: Fragment shader
• Access: Write → Read transitions
here is what hazard looks like [1147.550616] Render.Vulkan <Critical> video_core/vulkan_common/vulkan_debug_callback.cpp:DebugUtilCallback:55: Validation Error: [ SYNC-HAZARD-READ-AFTER-WRITE ] Object 0: handle = 0x7409630000000192, type = VK_OBJECT_TYPE_IMAGE_VIEW; | MessageID = 0xe4d96472 | vkCmdDrawIndexed: Hazard READ_AFTER_WRITE for VkImageView 0x7409630000000192[], in VkCommandBuffer 0xb400007cb003ea70[], and VkPipeline 0x44d3470000000213[], VkDescriptorSet 0x0[], type: VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, imageLayout: VK_IMAGE_LAYOUT_GENERAL, binding #2 , index 0. Access info (usage: SYNC_FRAGMENT_SHADER_SHADER_SAMPLED_READ, prior_usage: SYNC_IMAGE_LAYOUT_TRANSITION, write_barriers: SYNC_FRAGMENT_SHADER_COLOR_ATTACHMENT_READ|SYNC_FRAGMENT_SHADER_DEPTH_STENCIL_ATTACHMENT_READ|SYNC_FRAGMENT_SHADER_INPUT_ATTACHMENT_READ|SYNC_EARLY_FRAGMENT_TESTS_DEPTH_STENCIL_ATTACHMENT_READ|SYNC_EARLY_FRAGMENT_TESTS_DEPTH_STENCIL_ATTACHMENT_WRITE|SYNC_LATE_FRAGMENT_TESTS_DEPTH_STENCIL_ATTACHMENT_READ|SYNC_LATE_FRAGMENT_TESTS_DEPTH_STENCIL_ATTACHMENT_WRITE|SYNC_COLOR_ATTACHMENT_OUTPUT_COLOR_ATTACHMENT_READ|SYNC_COLOR_ATTACHMENT_OUTPUT_COLOR_ATTACHMENT_WRITE|SYNC_SUBPASS_SHADER_HUAWEI_INPUT_ATTACHMENT_READ, command: vkCmdPipelineBarrier, seq_no: 45, reset_no: 129).
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/235
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
Co-authored-by: wildcard <nubieluv@gmail.com>
Co-committed-by: wildcard <nubieluv@gmail.com>
9 months ago
..
.tx
.tx/config: Use language mappings for android "tx pull"
2 years ago
.gitignore
yuzu: Port translation support from Citra
6 years ago
README.md
Translations: new transifex client
4 years ago
ar.ts
[qt-ts, ci] Update translations (#213)
11 months ago
ca.ts
[qt-ts, ci] Update translations (#213)
11 months ago
cs.ts
[qt-ts, ci] Update translations (#213)
11 months ago
da.ts
[qt-ts, ci] Update translations (#213)
11 months ago
de.ts
[qt-ts, ci] Update translations (#213)
11 months ago
el.ts
[qt-ts, ci] Update translations (#213)
11 months ago
es.ts
[qt-ts, ci] Update translations (#213)
11 months ago
fi.ts
[qt-ts, ci] Update translations (#213)
11 months ago
fr.ts
[qt-ts, ci] Update translations (#213)
11 months ago
hu.ts
[qt-ts, ci] Update translations (#213)
11 months ago
id.ts
[qt-ts, ci] Update translations (#213)
11 months ago
it.ts
[qt-ts, ci] Update translations (#213)
11 months ago
ja_JP.ts
[qt-ts, ci] Update translations (#213)
11 months ago
ko_KR.ts
[qt-ts, ci] Update translations (#213)
11 months ago
nb.ts
[qt-ts, ci] Update translations (#213)
11 months ago
nl.ts
[qt-ts, ci] Update translations (#213)
11 months ago
pl.ts
[qt-ts, ci] Update translations (#213)
11 months ago
pt_BR.ts
[qt-ts, ci] Update translations (#213)
11 months ago
pt_PT.ts
[qt-ts, ci] Update translations (#213)
11 months ago
ru_RU.ts
[qt-ts, ci] Update translations (#213)
11 months ago
sv.ts
[qt-ts, ci] Update translations (#213)
11 months ago
tr_TR.ts
[qt-ts, ci] Update translations (#213)
11 months ago
uk.ts
[qt-ts, ci] Update translations (#213)
11 months ago
vi.ts
[qt-ts, ci] Update translations (#213)
11 months ago
vi_VN.ts
[qt-ts, ci] Update translations (#213)
11 months ago
zh_CN.ts
[qt-ts, ci] Update translations (#213)
11 months ago
zh_TW.ts
[qt-ts, ci] Update translations (#213)
11 months ago
This directory stores translation patches (TS files) for yuzu Qt frontend. This directory is linked with yuzu project on transifex , so you can update the translation by executing tx pull -t -a. If you want to contribute to the translation, please go the transifex link and submit your translation there. This directory on the main repo will be synchronized with transifex periodically.
Do not directly open PRs on github to modify the translation.