8000 Simplified Chinese translation for 03 Physical devices and queue families by OppositeNor · Pull Request #4 · chirsz-ever/VulkanTutorial · GitHub
[go: up one dir, main page]

Skip to content

Simplified Chinese translation for 03 Physical devices and queue families #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

OppositeNor
Copy link

物理设备和队列族的简体中文翻译。

void pickPhysicalDevice() {
...

// Use an ordered map to automatically sort candidates by increasing score
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

代码中的注释希望也翻译一下

}
```

很好!这些就是我们目前需要的所有的查找合适物理设备的东西了!下一步就是[创建一个逻辑设备](!en/Drawing_a_triangle/Setup/Logical_device_and_queues)与它交互。
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里需要改成中文链接,也就是 zh/Drawing_a_triangle/Setup/Logical_device_and_queue,虽然目前还不存在。


## 检查设备的基础兼容性

为了评估一个设备的兼容性,我们可以从查询设备的一些细节开始。设备的基础信息比如说设备的名称,类型和支持的 Vulkan 版本可以通过 `vkGetPhysicalDeviceProperties`查询到。
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vkGetPhysicalDeviceProperties 后缺少一个空格

@chirsz-ever
Copy link
Owner

LGTM,@chuigda 帮忙 review 下?

@@ -0,0 +1,309 @@
## 选择一个物理设备
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在开头增加标题翻译,如

---
title: 物理设备与队列家族
---

@OppositeNor
Copy link
Author

好的我尝试改进一下

@chirsz-ever
Copy link
Owner

每行长度应小于 120 字符,参见 中文翻译说明

@OppositeNor
Copy link
Author

新的更改已提交

@chirsz-ever chirsz-ever merged commit 2dcbff0 into chirsz-ever:chirsz/chinese-translation Dec 6, 2023
@OppositeNor OppositeNor deleted the chinese_translation_03 branch December 30, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0