-
Notifications
You must be signed in to change notification settings - Fork 2
/
notes.txt
30 lines (16 loc) · 1.15 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# debug layer loading
export VK_LOADER_DEBUG=all
# enable validation (requires vk_layer_settings.txt)
export VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_standard_validation
https://github.com/KhronosGroup/GLSL/blob/master/extensions/khr/GL_KHR_vulkan_glsl.txt
https://developer.nvidia.com/vulkan-shader-resource-binding
https://renderdoc.org/vulkan-in-30-minutes.html
https://i.redd.it/4bigribcd1o21.png
https://devblogs.nvidia.com/vulkan-dos-donts/
SWIFTSHADER_DISABLE_DEBUGGER_WAIT_DIALOG=1 VK_ICD_FILENAMES=.\\vk_swiftshader_icd.json
SWIFTSHADER_DISABLE_DEBUGGER_WAIT_DIALOG=1 VK_ICD_FILENAMES=".\\VkLayer_khronos_validation.json;.\\vk_swiftshader_icd.json"
SWIFTSHADER_DISABLE_DEBUGGER_WAIT_DIALOG=1 VK_ICD_FILENAMES='.\\VkLayer_khronos_validation.json;.\\vk_swiftshader_icd.json' ./adapters.exe
# windows cmd
set VK_ICD_FILENAMES=.\vk_swiftshader_icd.json;.\VkLayer_khronos_validation.json
VK_LOADER_DEBUG=all SWIFTSHADER_DISABLE_DEBUGGER_WAIT_DIALOG=1 VK_ICD_FILENAMES='.\\vk_swiftshader_icd.json' VK_LAYER_PATH=. cargo run --example triangle
https://github.com/KhronosGroup/Vulkan-Loader/blob/master/loader/LoaderAndLayerInterface.md#table-of-debug-environment-variables