Skip to content

Commit c2c499e

Browse files
committed
add vulkan notes
1 parent 87e92c0 commit c2c499e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

_posts/Graphics/Vulkan Notes.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
### Chapter 1
2+
创建 vkInstance -> 枚举 Physical Device
3+
4+
每个 Physical Device 有自己支持的 feature,例如 geometry shader,multidraw indirect 等
5+
每个 Physical Device 有自己的 memory,每个 memory 有自己的 flag,例如 coherent,local 等,memory 由 heaps 组成,heaps 是什么?
6+
每个 Physical Device 有自己的 queue family,每个 queue family 有自己能执行的 command 类型,queue family 里可能有多个 queue,这些 queue 里的 cmd 可以并发执行,为什么是 queue family 内部的可以并发执行,而不是 queue family 之间可以并发?
7+
8+
然后从 Physical Device 中 Logic Device,创建时需要指明需要哪些 queue family,每个 family 中的 queue number,需要用到的 feature,那不同的 instance(甚至在不同的线程,进程中)用到同一个 queue 会如何?
9+
### Chapter 2
10+
在创建 buffer 时,storage buffer 和 uniform buffer 有什么区别:感觉就是前者是可读写的,后者是只读的
11+
12+
TODO:解释 vulkan 里的各种 memory type
13+
14+

0 commit comments

Comments
 (0)