-
Notifications
You must be signed in to change notification settings - Fork 422
/
Copy pathvk_layer_settings.txt
201 lines (163 loc) · 7.45 KB
/
vk_layer_settings.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
# The settings in this file can be used to configure the behavior of
# layers in this repository.
#
# Note that this file is not regulary updated, so not all possible layer
# settings may be listed, and some layer settings may even be obsolete.
# VK_LAYER_KHRONOS_validation
# Debug Action
# =====================
# Specifies what action is to be taken when a layer reports information
khronos_validation.debug_action = VK_DBG_LAYER_ACTION_LOG_MSG
# Log Filename
# =====================
# Specifies the output filename
khronos_validation.log_filename = stdout
# Message Severity
# =====================
# Comma-delineated list of options specifying the types of messages to be
# reported
khronos_validation.report_flags = error
# Limit Duplicated Messages
# =====================
# Enable limiting of duplicate messages.
khronos_validation.enable_message_limit = true
# Max Duplicated Messages
# =====================
# Maximum number of times any single validation message should be reported.
khronos_validation.duplicate_message_limit = 10
# Mute Message VUIDs
# =====================
# List of VUIDs and VUID identifers which are to be IGNORED by the validation
# layer
khronos_validation.message_id_filter =
# Disables
# =====================
# Specify areas of validation to be disabled
khronos_validation.disables = VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT
# Enables
# =====================
# Setting an option here will enable specialized areas of validation
khronos_validation.enables =
# Redirect Printf messages to stdout
# =====================
# Enable redirection of Debug Printf messages from the debug callback to stdout
#khronos_validation.printf_to_stdout = true
# Printf verbose
# =====================
# Set the verbosity of debug printf messages
#khronos_validation.printf_verbose = false
# Printf buffer size
# =====================
# Set the size in bytes of the buffer used by debug printf
#khronos_validation.printf_buffer_size = 1024
# Shader instrumentation
# =====================
# Will have GPU-AV try and prevent crashes, but will be much slower to validate.
# If using Safe Mode, consider using selective shader instrumentation, to only instrument the shaders/pipelines causing issues.
#khronos_validation.gpuav_safe_mode = true
# Shader instrumentation
# =====================
# Instrument shaders to validate descriptors, descriptor indexing, buffer device addresses and ray queries.
# Warning: will considerably slow down shader executions
#khronos_validation.gpuav_shader_instrumentation = true
# Check descriptor indexing accesses
# =====================
# Enable descriptor indexing and buffer out of bounds checking
#khronos_validation.gpuav_descriptor_checks = true
# Force robustness on behalf of the user
# =====================
# When robustness is enabled, GPU-AV will skip checks already covered by robustness
#khronos_validation.gpuav_force_on_robustness = true
# Out of bounds buffer device addresses
# =====================
# Check for invalid access using buffer device address
#khronos_validation.gpuav_buffer_address_oob = true
# Specify the maximum number of buffer device addresses in simultaneous use
# =====================
# Specify the maximum number of buffer device addresses to allow GPU-AV allocate resources
#khronos_validation.gpuav_max_buffer_device_addresses = 10000
# Validate RayQuery SPIR-V Instructions
# =====================
# Enable shader instrumentation on SPV_KHR_ray_query
#khronos_validation.gpuav_validate_ray_query = true
# Post Process Descriptor Indexing
# =====================
# Track which descriptor indexes were used in shader to run normal validation afterwards
#khronos_validation.gpuav_post_process_descriptor_indexing = true
# Select which shaders to instrument by passing a VkValidationFeaturesEXT struct with GPU-AV enabled in the VkShaderModuleCreateInfo pNext
# =====================
# Enable selection of shaders to instrument
#khronos_validation.gpuav_select_instrumented_shaders = false
# Buffer content validation
# =====================
# Validate buffers containing parameters used in indirect Vulkan commands, or used in copy commands
#khronos_validation.gpuav_buffers_validation = true
# Indirect draws parameters
# =====================
# Validate buffers containing draw parameters used in indirect draw commands
# Includes vkCmdDrawMeshTasks* calls as well
#khronos_validation.gpuav_indirect_draws_buffers = true
# Indirect dispatch parameters
# =====================
# Validate buffers containing dispatch parameters used in indirect dispatch commands
#khronos_validation.gpuav_indirect_dispatches_buffers = true
# Indirect trace rays parameters
# =====================
# Validate buffers containing ray tracing parameters used in indirect ray tracing commands
#khronos_validation.gpuav_indirect_trace_rays_buffers = true
# Buffer copies
# =====================
# Validate copies involving a VkBuffer. Right now only validates copy buffer to image
#khronos_validation.gpuav_buffer_copies = true
# Index copies
# =====================
# Validate that indexed draws do not fetch indices outside of the bounds of the index buffer
# Also validates that those indices are not out of the bounds of the fetched vertex buffers
#khronos_validation.gpuav_index_buffers = true
# Use linear vma allocator for GPU-AV output buffers
# =====================
# Use VMA linear memory allocations for GPU-AV output buffers
#khronos_validation.gpuav_vma_linear_output = true
# Use GPU-AV to do Image Layout checks
# =====================
# (Warning - still known to have false positives)
# Use GPU-AV to detect which descriptors were accessed.
# Then using post processing, check that the layout of each image subresource is correct whenever it is used by a command buffer
#khronos_validation.gpuav_image_layout = true
# Fine Grained Locking
# =====================
# Enable fine grained locking for Core Validation, which should improve
# performance in multithreaded applications.
khronos_validation.fine_grained_locking = true
# Display as JSON
# =====================
# Display Validation as JSON
#khronos_validation.message_format_json = false
# Display Application Name
# =====================
# Useful when running multiple instances to know which instance the message is from
#khronos_validation.message_format_display_application_name = false
# Best Practices
# =====================
# Enable best practices layer
khronos_validation.enables=VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT
# Best Practices with ARM best practices
# =====================
# Enable best practices layer
khronos_validation.enables=VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT,VALIDATION_CHECK_ENABLE_VENDOR_SPECIFIC_ARM
# Best Practices with AMD best practices
# =====================
# Enable best practices layer
khronos_validation.enables=VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT,VALIDATION_CHECK_ENABLE_VENDOR_SPECIFIC_AMD
# Best Practices with Imagination Tech best practices
# =====================
# Enable best practices layer
khronos_validation.enables=VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT,VALIDATION_CHECK_ENABLE_VENDOR_SPECIFIC_IMG
# Best Practices with Nvidia Specific Check
# =====================
# Enable best practices layer
khronos_validation.enables=VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT,VALIDATION_CHECK_ENABLE_VENDOR_SPECIFIC_NVIDIA
# Best Practices with ALL Vendor Specific Checks
# =====================
# Enable best practices layer
khronos_validation.enables=VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT,VALIDATION_CHECK_ENABLE_VENDOR_SPECIFIC_ALL