-
Notifications
You must be signed in to change notification settings - Fork 1
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
Simplified Chinese translation for 03 Physical devices and queue families #4
Conversation
void pickPhysicalDevice() { | ||
... | ||
|
||
// Use an ordered map to automatically sort candidates by increasing score |
There was a problem hiding this comment.
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)与它交互。 |
There was a problem hiding this comment.
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`查询到。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vkGetPhysicalDeviceProperties
后缺少一个空格
LGTM,@chuigda 帮忙 review 下? |
@@ -0,0 +1,309 @@ | |||
## 选择一个物理设备 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
在开头增加标题翻译,如
---
title: 物理设备与队列家族
---
好的我尝试改进一下 |
每行长度应小于 120 字符,参见 中文翻译说明 |
新的更改已提交 |
物理设备和队列族的简体中文翻译。