Compute chapter still uses fences
@SaschaWillems 已经在做这个了。
开始于 2025年10月5日。
评估
这个 Issue 还没有评估数据。
描述
Just noticed that while the reworked tutorial made the compute chapter use timeline semaphores it's still using fences to wait on the host side. But timeline semaphores can replace that, and so we should do that in the tutorial.
This is what I do in my code to replace fences with timeline semaphores:
VkSemaphoreWaitInfo semaphoreWaitInfo{ .sType = VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO };
semaphoreWaitInfo.semaphoreCount = 1;
semaphoreWaitInfo.pSemaphores = &timeLineSemaphore.handle;
semaphoreWaitInfo.pValues = &timeLineSemaphore.value;
vkWaitSemaphoresKHR(device, &semaphoreWaitInfo, UINT64_MAX);
- 主要语言
- C++
- 星标
- 424
- 派生
- 127
- 平均合并
- 2 天 22 小时
- 30 天内合并 PR
- 7
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
KhronosGroup/Vulkan-Tutorial 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 88/100
KhronosGroup/Vulkan-Tutorial#519 · 已指派 1 人 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
KhronosGroup/Vulkan-Tutorial#508 · 已指派 1 人 ·
-
难度 1/5 1 小时以内 新手友好度 74/100
KhronosGroup/Vulkan-Tutorial#499 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
KhronosGroup/Vulkan-Tutorial#498 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
KhronosGroup/Vulkan-Tutorial#497 ·
查看 KhronosGroup/Vulkan-Tutorial 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
Component: GLib
难度 2/5 1-3 小时 新手友好度 70/100
-
Mute ydb/tests/functional/dstool/test_canonical_requests.py.Test.test_group_take_snapshot in main 未关闭ai_reviewed
难度 2/5 1-3 小时 新手友好度 70/100
ydb-platform/ydb#53974 · 3 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
google/libultrahdr#485 ·