Files
VulkanWin/SDK/Config/vk_layer_settings.sh
2026-10-15 10:25:16 +07:00

1544 lines
78 KiB
Bash

#! Copyright (c) 2020-2026 Valve Corporation
#! Copyright (c) 2020-2026 LunarG, Inc.
#!
#! Licensed under the Apache License, Version 2.0 (the "License");
#! you may not use this file except in compliance with the License.
#! You may obtain a copy of the License at
#!
#! http://www.apache.org/licenses/LICENSE-2.0
#!
#! Unless required by applicable law or agreed to in writing, software
#! distributed under the License is distributed on an "AS IS" BASIS,
#! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#! See the License for the specific language governing permissions and
#! limitations under the License.
#!
#! This code was generated by Vulkan Configurator 3.5.2
#! Loader Settings:
#! Vulkan Layers enabled and ordered:
export VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_api_dump,VK_LAYER_LUNARG_crash_diagnostic,VK_LAYER_LUNARG_gfxreconstruct,VK_LAYER_LUNARG_monitor,VK_LAYER_LUNARG_screenshot,VK_LAYER_KHRONOS_validation,VK_LAYER_KHRONOS_profiles,VK_LAYER_KHRONOS_shader_object,VK_LAYER_KHRONOS_synchronization2
#! LunarG API dump layer
#! ==========================================
#! VK_LAYER_LUNARG_api_dump - 1.4.363 (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! For more information about the layer: https://vulkan.lunarg.com/doc/sdk/latest/windows/api_dump_layer.html
#! Output Range
#! ------------------------------------------
#! output_range (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Comma separated list of frames to output or a range of frames with a start,
#! count, and optional interval separated by a dash. A count of 0 will output
#! every frame after the start of the range. Example: "5-8-2" will output frame
#! 5, continue until frame 13, dumping every other frame. Example: "3,8-2" will
#! output frames 3, 8, and 9.
export VK_LUNARG_API_DUMP_OUTPUT_RANGE=0-0
#! Output Format
#! ------------------------------------------
#! output_format (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Specifies the format used for output; can be HTML, JSON, or Text (default --
#! outputs plain text)
#! This setting has sub-settings:
#! - export VK_LUNARG_API_DUMP_PRE_DUMP=false
export VK_LUNARG_API_DUMP_OUTPUT_FORMAT=text
#! Pre-dump the parameters.
#! ------------------------------------------
#! pre_dump (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Setting this to true causes parameters to calls be logged before the function
#! as well as after the function.
#! This setting requires ALL of the following values:
#! - export VK_LUNARG_API_DUMP_OUTPUT_FORMAT=text
export VK_LUNARG_API_DUMP_PRE_DUMP=false
#! Output to File
#! ------------------------------------------
#! file (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Setting this to true indicates that output should be written to file instead
#! of stdout
#! This setting has sub-settings:
#! - export VK_LUNARG_API_DUMP_LOG_FILENAME=stdout
export VK_LUNARG_API_DUMP_FILE=false
#! Log Filename
#! ------------------------------------------
#! log_filename (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Specifies the file to dump to when output files are enabled
#! This setting requires ALL of the following values:
#! - export VK_LUNARG_API_DUMP_FILE=true
#! export VK_LUNARG_API_DUMP_LOG_FILENAME=stdout (Commented out as the set of dependences is not satisfied)
#! Log Flush After Write
#! ------------------------------------------
#! flush (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Setting this to true causes IO to be flushed after each API call that is
#! written
export VK_LUNARG_API_DUMP_FLUSH=true
#! Name Size
#! ------------------------------------------
#! name_size (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! The number of characters the name of a variable should consume, assuming more
#! are not required
export VK_LUNARG_API_DUMP_NAME_SIZE=32
#! Show Types
#! ------------------------------------------
#! show_types (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Dump types in addition to values
#! This setting has sub-settings:
#! - export VK_LUNARG_API_DUMP_TYPE_SIZE=0
export VK_LUNARG_API_DUMP_SHOW_TYPES=true
#! Type Size
#! ------------------------------------------
#! type_size (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! The number of characters the name of a type should consume, assuming more are
#! not required
#! This setting requires ALL of the following values:
#! - export VK_LUNARG_API_DUMP_SHOW_TYPES=true
export VK_LUNARG_API_DUMP_TYPE_SIZE=0
#! Show Timestamp
#! ------------------------------------------
#! timestamp (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Show the timestamp of function calls since start in microseconds
export VK_LUNARG_API_DUMP_TIMESTAMP=false
#! Show Shader
#! ------------------------------------------
#! show_shader (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Dump the shader binary code in pCode as an hex array which can be viewed in
#! https://www.khronos.org/spir/visualizer/
export VK_LUNARG_API_DUMP_SHOW_SHADER=false
#! Show Parameter Details
#! ------------------------------------------
#! detailed (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Dump parameter details in addition to API calls
export VK_LUNARG_API_DUMP_DETAILED=true
#! Hide Addresses
#! ------------------------------------------
#! no_addr (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Dump "address" in place of hex addresses
export VK_LUNARG_API_DUMP_NO_ADDR=false
#! Use Spaces
#! ------------------------------------------
#! use_spaces (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Setting this to true causes all tab characters to be replaced with spaces
#! This setting has sub-settings:
#! - export VK_LUNARG_API_DUMP_INDENT_SIZE=4
export VK_LUNARG_API_DUMP_USE_SPACES=true
#! Indent Size
#! ------------------------------------------
#! indent_size (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Specifies the number of spaces that a tab is equal to
#! This setting requires ALL of the following values:
#! - export VK_LUNARG_API_DUMP_USE_SPACES=true
export VK_LUNARG_API_DUMP_INDENT_SIZE=4
#! Show Thread and Frame
#! ------------------------------------------
#! show_thread_and_frame (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Show the thread and frame of each function called
export VK_LUNARG_API_DUMP_SHOW_THREAD_AND_FRAME=true
#! Crash Diagnostic Layer is a crash/hang debugging tool that helps determines GPU progress in a Vulkan application.
#! ==========================================
#! VK_LAYER_LUNARG_crash_diagnostic - 1.4.360 (BETA) (WINDOWS_X86, WINDOWS_ARM, LINUX, ANDROID)
#! For more information about the layer: https://vulkan.lunarg.com/doc/sdk/latest/windows/crash_diagnostic_layer.html
#! Synchronize commands
#! ------------------------------------------
#! sync_after_commands (WINDOWS_X86, WINDOWS_ARM, LINUX, ANDROID)
#! Add pipeline barriers after instrumented commands to help identify whether a
#! Vulkan crash is due to a synchronization issue.
#! VK_KHR_dynamic_rendering usage is required for this feature otherwise Validation layer errors will be generated.
export VK_LUNARG_CRASH_DIAGNOSTIC_SYNC_AFTER_COMMANDS=false
#! Add markers on each Vulkan command
#! ------------------------------------------
#! instrument_all_commands (WINDOWS_X86, WINDOWS_ARM, LINUX, ANDROID)
#! Include completion markers around every vulkan command
#! This may allow more accuratute fault locations at the expense of larger command buffers and reduced performance
export VK_LUNARG_CRASH_DIAGNOSTIC_INSTRUMENT_ALL_COMMANDS=false
#! Output Path
#! ------------------------------------------
#! output_path (WINDOWS_X86, WINDOWS_ARM, LINUX, ANDROID)
#! The directory where dump files and shader binaries are written.
export VK_LUNARG_CRASH_DIAGNOSTIC_OUTPUT_PATH=
#! Watchdog Timer
#! ------------------------------------------
#! trigger_watchdog_timeout (WINDOWS_X86, WINDOWS_ARM, LINUX, ANDROID)
#! If the application fails to submit new commands within a set time, a crash
#! dump will be created as if the a lost device error was encountered.
#! This setting has sub-settings:
#! - export VK_LUNARG_CRASH_DIAGNOSTIC_WATCHDOG_TIMEOUT_MS=30000
export VK_LUNARG_CRASH_DIAGNOSTIC_TRIGGER_WATCHDOG_TIMEOUT=true
#! Watchdog Timeout (ms)
#! ------------------------------------------
#! watchdog_timeout_ms (WINDOWS_X86, WINDOWS_ARM, LINUX, ANDROID)
#! Time in milliseconds the application has to submit a new command before
#! creating a crash dump.
#! This setting requires ALL of the following values:
#! - export VK_LUNARG_CRASH_DIAGNOSTIC_TRIGGER_WATCHDOG_TIMEOUT=true
export VK_LUNARG_CRASH_DIAGNOSTIC_WATCHDOG_TIMEOUT_MS=30000
#! Dump semaphores
#! ------------------------------------------
#! track_semaphores (WINDOWS_X86, WINDOWS_ARM, LINUX, ANDROID)
#! Include semaphore state reporting in runtime logging and crash dump files
export VK_LUNARG_CRASH_DIAGNOSTIC_TRACK_SEMAPHORES=false
#! Dump queue submissions
#! ------------------------------------------
#! dump_queue_submits (WINDOWS_X86, WINDOWS_ARM, LINUX, ANDROID)
#! Control which queue submissions are included in the dump.
export VK_LUNARG_CRASH_DIAGNOSTIC_DUMP_QUEUE_SUBMITS=running
#! Dump command buffers
#! ------------------------------------------
#! dump_command_buffers (WINDOWS_X86, WINDOWS_ARM, LINUX, ANDROID)
#! Control which command buffers are included in the dump.
export VK_LUNARG_CRASH_DIAGNOSTIC_DUMP_COMMAND_BUFFERS=running
#! Dump commands
#! ------------------------------------------
#! dump_commands (WINDOWS_X86, WINDOWS_ARM, LINUX, ANDROID)
#! Control which commands are included in the dump.
export VK_LUNARG_CRASH_DIAGNOSTIC_DUMP_COMMANDS=running
#! Dump shaders
#! ------------------------------------------
#! dump_shaders (WINDOWS_X86, WINDOWS_ARM, LINUX, ANDROID)
#! Control of shader dumping.
export VK_LUNARG_CRASH_DIAGNOSTIC_DUMP_SHADERS=off
#! Log Filename
#! ------------------------------------------
#! log_file (WINDOWS_X86, WINDOWS_ARM, LINUX, ANDROID)
#! none = no logging, stderr or stdout = to the console, otherwise an absolute
#! or relative path.
export VK_LUNARG_CRASH_DIAGNOSTIC_LOG_FILE=stderr
#! Log main submission and synchronization Vulkan commands
#! ------------------------------------------
#! trace_on (WINDOWS_X86, WINDOWS_ARM, LINUX, ANDROID)
#! Add Vulkan API calls intercepted by the layer will be logged to the console.
#! This includes: vkDeviceWaitIdle, vkQueueWaitIdle, vkQueuePresentKHR, vkWaitForFences, vkGetFenceStatus, vkAcquireNextImageKHR, vkCreateCommandPool, vkDestroyCommandPool, vkResetCommandPool, vkAllocateCommandBuffers, vkFreeCommandBuffers, vkQueueSubmit, vkQueueSubmit2, vkQueueSubmit2KHR and vkQueueBindSparse
export VK_LUNARG_CRASH_DIAGNOSTIC_TRACE_ON=false
#! Log Vulkan commands that use semaphores
#! ------------------------------------------
#! trace_all_semaphores (WINDOWS_X86, WINDOWS_ARM, LINUX, ANDROID)
#! Add logging messages about every vulkan command that uses semaphores
#! This setting requires ALL of the following values:
#! - export VK_LUNARG_CRASH_DIAGNOSTIC_TRACK_SEMAPHORES=true
#! export VK_LUNARG_CRASH_DIAGNOSTIC_TRACE_ALL_SEMAPHORES=false (Commented out as the set of dependences is not satisfied)
#! Message Severity
#! ------------------------------------------
#! message_severity (WINDOWS_X86, WINDOWS_ARM, LINUX, ANDROID)
#! Comma-delineated list of options specifying the types of log messages to be
#! reported.
#! This setting can list multiple values using the "," (comma) separator.
export VK_LUNARG_CRASH_DIAGNOSTIC_MESSAGE_SEVERITY=error
#! GFXReconstruct Capture Layer Version 1.0.5
#! ==========================================
#! VK_LAYER_LUNARG_gfxreconstruct - 1.4.363 (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! For more information about the layer: https://vulkan.lunarg.com/doc/sdk/latest/windows/capture_tools.html
#! Hotkey Capture Trigger
#! ------------------------------------------
#! capture_trigger (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Specify a hotkey (any one of F1-F12, TAB, CONTROL) that will be used to
#! start/stop capture. Example: F3 will set the capture trigger to F3 hotkey.
#! One capture file will be generated for each pair of start/stop hotkey
#! presses. Default is: Empty string (hotkey capture trigger is disabled).
export VK_LUNARG_GFXRECONSTRUCT_CAPTURE_TRIGGER=
#! Capture Trigger Boundary
#! ------------------------------------------
#! capture_trigger_boundary (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Select the boundary where GFXReconstruct checks for capture-trigger state
#! changes.
export VK_LUNARG_GFXRECONSTRUCT_CAPTURE_TRIGGER_BOUNDARY=frames
#! Capture Trigger Boundary Limit
#! ------------------------------------------
#! capture_trigger_frames (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Specify a limit on the number of capture boundaries to record after the
#! trigger starts capture. Boundaries are frames by default and queue submits
#! when capture_trigger_boundary is queue_submits. Default is: Empty string (no
#! limit)
export VK_LUNARG_GFXRECONSTRUCT_CAPTURE_TRIGGER_FRAMES=
#! Capture Specific Frames
#! ------------------------------------------
#! capture_frames (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Specify one or more comma-separated frame ranges to capture. Each range will
#! be written to its own file. A frame range can be specified as a single value,
#! to specify a single frame to capture, or as two hyphenated values, to specify
#! the first and last frame to capture. Frame ranges should be specified in
#! ascending order and cannot overlap. Note that frame numbering is 1-based
#! (i.e. the first frame is frame 1). Example: 200,301-305 will create two
#! capture files, one containing a single frame and one containing five frames.
#! Default is: Empty string (all frames are captured).
export VK_LUNARG_GFXRECONSTRUCT_CAPTURE_FRAMES=
#! Capture Specific process
#! ------------------------------------------
#! capture_process_name (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Specify one process name to capture.
export VK_LUNARG_GFXRECONSTRUCT_CAPTURE_PROCESS_NAME=
#! Capture File Name
#! ------------------------------------------
#! capture_file (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Path to use when creating the capture file. Default is: gfxrecon_capture.gfxr
#! This setting has sub-settings:
#! - export VK_LUNARG_GFXRECONSTRUCT_CAPTURE_FILE_TIMESTAMP=true
#! - export VK_LUNARG_GFXRECONSTRUCT_CAPTURE_FILE_FLUSH=false
export VK_LUNARG_GFXRECONSTRUCT_CAPTURE_FILE=gfxrecon_capture.gfxr
#! Capture File Name with Timestamp
#! ------------------------------------------
#! capture_file_timestamp (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Add a timestamp (yyyymmddThhmmss) postfix to the capture file name.
export VK_LUNARG_GFXRECONSTRUCT_CAPTURE_FILE_TIMESTAMP=true
#! Capture File Flush After Write
#! ------------------------------------------
#! capture_file_flush (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Flush output stream after each packet is written to the capture file. Default
#! is: false.
export VK_LUNARG_GFXRECONSTRUCT_CAPTURE_FILE_FLUSH=false
#! Compression Format
#! ------------------------------------------
#! capture_compression_type (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Compression format to use with the capture file. Valid values are: LZ4, ZLIB,
#! ZSTD, and NONE. Default is: LZ4
export VK_LUNARG_GFXRECONSTRUCT_CAPTURE_COMPRESSION_TYPE=LZ4
#! Capture Environment
#! ------------------------------------------
#! capture_environment (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! List of environment variables to capture.
#! This setting can list multiple values using the "," (comma) separator.
export VK_LUNARG_GFXRECONSTRUCT_CAPTURE_ENVIRONMENT=
#! Memory Tracking Mode
#! ------------------------------------------
#! memory_tracking_mode (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Specifies the memory tracking mode to use for detecting modifications to
#! mapped Vulkan memory objects. Available options are: page_guard, assisted,
#! and unassisted.
#! This setting has sub-settings:
#! - export VK_LUNARG_GFXRECONSTRUCT_PAGE_GUARD_COPY_ON_MAP=true
#! - export VK_LUNARG_GFXRECONSTRUCT_PAGE_GUARD_SEPARATE_READ=true
#! - export VK_LUNARG_GFXRECONSTRUCT_PAGE_GUARD_EXTERNAL_MEMORY=false
#! - export VK_LUNARG_GFXRECONSTRUCT_PAGE_GUARD_PERSISTENT_MEMORY=false
#! - export VK_LUNARG_GFXRECONSTRUCT_PAGE_GUARD_ALIGN_BUFFER_SIZES=true
#! - export VK_LUNARG_GFXRECONSTRUCT_PAGE_GUARD_UNBLOCK_SIGSEGV=false
export VK_LUNARG_GFXRECONSTRUCT_MEMORY_TRACKING_MODE=page_guard
#! Page Guard Copy on Map
#! ------------------------------------------
#! page_guard_copy_on_map (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! When the page_guard memory tracking mode is enabled, copies the content of
#! the mapped memory to the shadow memory immediately after the memory is
#! mapped.
#! This setting requires ALL of the following values:
#! - export VK_LUNARG_GFXRECONSTRUCT_MEMORY_TRACKING_MODE=page_guard
export VK_LUNARG_GFXRECONSTRUCT_PAGE_GUARD_COPY_ON_MAP=true
#! Page Guard Separate Read Tracking
#! ------------------------------------------
#! page_guard_separate_read (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! When the page_guard memory tracking mode is enabled, copies the content of
#! pages accessed for read from mapped memory to shadow memory on each read. Can
#! overwrite unprocessed shadow memory content when an application is reading
#! from and writing to the same page.
#! This setting requires ALL of the following values:
#! - export VK_LUNARG_GFXRECONSTRUCT_MEMORY_TRACKING_MODE=page_guard
export VK_LUNARG_GFXRECONSTRUCT_PAGE_GUARD_SEPARATE_READ=true
#! Page Guard External Memory
#! ------------------------------------------
#! page_guard_external_memory (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! When the page_guard memory tracking mode is enabled, use the
#! VK_EXT_external_memory_host extension to eliminate the need for shadow memory
#! allocations. For each memory allocation from a host visible memory type, the
#! capture layer will create an allocation from system memory, which it can
#! monitor for write access, and provide that allocation to vkAllocateMemory as
#! external memory. Only available on Windows.
#! This setting requires ALL of the following values:
#! - export VK_LUNARG_GFXRECONSTRUCT_MEMORY_TRACKING_MODE=page_guard
export VK_LUNARG_GFXRECONSTRUCT_PAGE_GUARD_EXTERNAL_MEMORY=false
#! Page Guard Persistent Memory
#! ------------------------------------------
#! page_guard_persistent_memory (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! When the page_guard memory tracking mode is enabled, this option changes the
#! way that the shadow memory used to detect modifications to mapped memory is
#! allocated. The default behavior is to allocate and copy the mapped memory
#! range on map and free the allocation on unmap. When this option is enabled,
#! an allocation with a size equal to that of the object being mapped is made
#! once on the first map and is not freed until the object is destroyed. This
#! option is intended to be used with applications that frequently map and unmap
#! large memory ranges, to avoid frequent allocation and copy operations that
#! can have a negative impact on performance. This option is ignored when
#! GFXRECON_PAGE_GUARD_EXTERNAL_MEMORY is enabled.
#! This setting requires ALL of the following values:
#! - export VK_LUNARG_GFXRECONSTRUCT_MEMORY_TRACKING_MODE=page_guard
#! - export VK_LUNARG_GFXRECONSTRUCT_PAGE_GUARD_EXTERNAL_MEMORY=false
export VK_LUNARG_GFXRECONSTRUCT_PAGE_GUARD_PERSISTENT_MEMORY=false
#! Page Guard Align Buffer Sizes
#! ------------------------------------------
#! page_guard_align_buffer_sizes (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! When the page_guard memory tracking mode is enabled, this option overrides
#! the Vulkan API calls that report buffer memory properties to report that
#! buffer sizes and alignments must be a multiple of the system page size. This
#! option is intended to be used with applications that perform CPU writes and
#! GPU writes/copies to different buffers that are bound to the same page of
#! mapped memory, which may result in data being lost when copying pages from
#! the page_guard shadow allocation to the real allocation. This data loss can
#! result in visible corruption during capture. Forcing buffer sizes and
#! alignments to a multiple of the system page size prevents multiple buffers
#! from being bound to the same page, avoiding data loss from simultaneous CPU
#! writes to the shadow allocation and GPU writes to the real allocation for
#! different buffers bound to the same page. This option is only available for
#! the Vulkan API.
#! This setting requires ALL of the following values:
#! - export VK_LUNARG_GFXRECONSTRUCT_MEMORY_TRACKING_MODE=page_guard
#! - export VK_LUNARG_GFXRECONSTRUCT_PAGE_GUARD_EXTERNAL_MEMORY=false
export VK_LUNARG_GFXRECONSTRUCT_PAGE_GUARD_ALIGN_BUFFER_SIZES=true
#! Page Guard unblock SIGSEGV from thread's signal mask
#! ------------------------------------------
#! page_guard_unblock_sigsegv (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! When the page_guard memory tracking mode is enabled, this option overrides
#! enables SIGSEGV in thread's signal mask in the case that it has been
#! disabled.
#! This setting requires ALL of the following values:
#! - export VK_LUNARG_GFXRECONSTRUCT_MEMORY_TRACKING_MODE=page_guard
#! - export VK_LUNARG_GFXRECONSTRUCT_PAGE_GUARD_EXTERNAL_MEMORY=false
export VK_LUNARG_GFXRECONSTRUCT_PAGE_GUARD_UNBLOCK_SIGSEGV=false
#! Level
#! ------------------------------------------
#! log_level (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Specify the minimum severity level of messages to log. Options are: debug,
#! info, warning, error, and fatal. The specified level and all higher levels
#! will be enabled for logging. For example, choosing the warning level will
#! also enable the error and fatal levels.
export VK_LUNARG_GFXRECONSTRUCT_LOG_LEVEL=info
#! Log Name and Line Number
#! ------------------------------------------
#! log_detailed (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Include name and line number from the file responsible.
export VK_LUNARG_GFXRECONSTRUCT_LOG_DETAILED=false
#! Apply additional indentation
#! ------------------------------------------
#! log_allow_indents (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Apply additional indentation formatting to log messages.
export VK_LUNARG_GFXRECONSTRUCT_LOG_ALLOW_INDENTS=false
#! Log Output to Console / stdout
#! ------------------------------------------
#! log_output_to_console (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Log messages will be written to stdout.
export VK_LUNARG_GFXRECONSTRUCT_LOG_OUTPUT_TO_CONSOLE=true
#! Trigger Debug Break on Error
#! ------------------------------------------
#! log_break_on_error (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Trigger a debug break when logging an error.
export VK_LUNARG_GFXRECONSTRUCT_LOG_BREAK_ON_ERROR=false
#! Log Output to Debug Console
#! ------------------------------------------
#! log_output_to_os_debug_string (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Windows only option. Log messages will be written to the Debug Console with
#! OutputDebugStringA
export VK_LUNARG_GFXRECONSTRUCT_LOG_OUTPUT_TO_OS_DEBUG_STRING=false
#! Log File
#! ------------------------------------------
#! log_file (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! When set, log messages will be written to a file at the specified path.
#! Default is: Empty string (file logging disabled).
#! This setting has sub-settings:
#! - export VK_LUNARG_GFXRECONSTRUCT_LOG_FILE_FLUSH_AFTER_WRITE=false
#! - export VK_LUNARG_GFXRECONSTRUCT_LOG_FILE_KEEP_OPEN=true
#! - export VK_LUNARG_GFXRECONSTRUCT_LOG_FILE_CREATE_NEW=true
export VK_LUNARG_GFXRECONSTRUCT_LOG_FILE=
#! Log File Flush After Write
#! ------------------------------------------
#! log_file_flush_after_write (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Flush the log file to disk after each write when true.
export VK_LUNARG_GFXRECONSTRUCT_LOG_FILE_FLUSH_AFTER_WRITE=false
#! Log File Keep Open
#! ------------------------------------------
#! log_file_keep_open (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Keep the log file open between log messages when true, or close and reopen
#! the log file for each message when false.
export VK_LUNARG_GFXRECONSTRUCT_LOG_FILE_KEEP_OPEN=true
#! Log File Overwrite
#! ------------------------------------------
#! log_file_create_new (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Specifies that log file initialization should overwrite an existing file when
#! true, or append to an existing file when false.
export VK_LUNARG_GFXRECONSTRUCT_LOG_FILE_CREATE_NEW=true
#! LunarG image capture layer
#! ==========================================
#! VK_LAYER_LUNARG_screenshot - 1.4.363 (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! For more information about the layer: https://vulkan.lunarg.com/doc/sdk/latest/windows/screenshot_layer.html
#! Frames
#! ------------------------------------------
#! frames (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Specifies list of frames to output as screenshots. It is specified as a
#! comma-separated list of frames or a range of frames with a start, count, and
#! optional interval separated by a dash. Setting the variable to "all" will
#! output every frame. Example: "5-8-2" will output frame 5, continue until
#! frame 13, dumping every other frame. Example: "3,8-2" will output frames 3,
#! 8, and 9. If it is not set or it set to an empty string, no screenshots are
#! created.
export VK_LUNARG_SCREENSHOT_FRAMES=
#! Directory
#! ------------------------------------------
#! dir (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Specifies the directory in which to create the screenshot files. If it is not
#! set or is set to an empty string, the files will be created in the current
#! working directory.
export VK_LUNARG_SCREENSHOT_DIR=
#! Format
#! ------------------------------------------
#! format (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Specify a color space for the output. If it is not set, set to null, or set
#! to USE_SWAPCHAIN_COLORSPACE the format will be set to use the same color
#! space as the swapchain object.
export VK_LUNARG_SCREENSHOT_FORMAT=USE_SWAPCHAIN_COLORSPACE
#! Khronos Validation Layer
#! ==========================================
#! VK_LAYER_KHRONOS_validation - 1.4.363 (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! The main, comprehensive Khronos validation layer.
#! Vulkan is an Explicit API, enabling direct control over how GPUs actually
#! work. By design, minimal error checking is done inside a Vulkan driver.
#! Applications have full control and responsibility for correct operation. Any
#! errors in how Vulkan is used can result in a crash.
#! For more information about the layer: https://vulkan.lunarg.com/doc/sdk/latest/windows/khronos_validation_layer.html
#! Core
#! ------------------------------------------
#! validate_core (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! The main, heavy-duty validation checks. This may be valuable early in the
#! development cycle to reduce validation output while correcting
#! parameter/object usage errors.
#! For more information about the feature: https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/main/docs/core_checks.md
#! This setting has sub-settings:
#! - export VK_KHRONOS_VALIDATION_CHECK_SHADERS=true
export VK_KHRONOS_VALIDATION_VALIDATE_CORE=true
#! Shader
#! ------------------------------------------
#! check_shaders (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! This will validate the contents of the SPIR-V which can be CPU intensive
#! during application start up. This does internal checks as well as calling
#! spirv-val. (Same effect using VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT)
#! This setting has sub-settings:
#! - export VK_KHRONOS_VALIDATION_CHECK_SHADERS_CACHING=true
#! - export VK_KHRONOS_VALIDATION_DEBUG_DISABLE_SPIRV_VAL=false
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_VALIDATE_CORE=true
export VK_KHRONOS_VALIDATION_CHECK_SHADERS=true
#! Caching
#! ------------------------------------------
#! check_shaders_caching (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Creates an internal instance of VK_EXT_validation_cache and upon
#! vkDestroyInstance, will cache the shader validation so sequential usage of
#! the validation layers will be skipped.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_VALIDATE_CORE=true
#! - export VK_KHRONOS_VALIDATION_CHECK_SHADERS=true
export VK_KHRONOS_VALIDATION_CHECK_SHADERS_CACHING=true
#! Disable spirv-val
#! ------------------------------------------
#! debug_disable_spirv_val (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Allows normal shader validation to run, but removes just spirv-val for
#! performance reasons
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_VALIDATE_CORE=true
#! - export VK_KHRONOS_VALIDATION_CHECK_SHADERS=true
export VK_KHRONOS_VALIDATION_DEBUG_DISABLE_SPIRV_VAL=false
#! Synchronization
#! ------------------------------------------
#! validate_sync (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Check for resource access conflicts caused by missing or incorrectly used
#! synchronization operations.
#! For more information about the feature: https://vulkan.lunarg.com/doc/sdk/1.4.363.0/windows/synchronization_usage.html
#! This setting has sub-settings:
#! - export VK_KHRONOS_VALIDATION_SYNCVAL_RECORD_TIME_VALIDATION=true
#! - export VK_KHRONOS_VALIDATION_SYNCVAL_SHADER_ACCESSES_HEURISTIC=false
#! - khronos_validation.syncval_reporting (Setting Group)
export VK_KHRONOS_VALIDATION_VALIDATE_SYNC=false
#! Record-time reporting
#! ------------------------------------------
#! syncval_record_time_validation (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Report errors during command buffer recording, at the command that caused
#! them. This runs a subset of full validation and adds CPU overhead. Disabling
#! it does not reduce validation coverage. Full validation reports errors during
#! queue submission.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_VALIDATE_SYNC=true
#! export VK_KHRONOS_VALIDATION_SYNCVAL_RECORD_TIME_VALIDATION=true (Commented out as the set of dependences is not satisfied)
#! Shader accesses heuristic
#! ------------------------------------------
#! syncval_shader_accesses_heuristic (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Take into account memory accesses performed by the shader based on SPIR-V
#! static analysis. Warning: can produce false-positives, can ignore certain
#! types of accesses, does not support VK_EXT_descriptor_buffer.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_VALIDATE_SYNC=true
#! export VK_KHRONOS_VALIDATION_SYNCVAL_SHADER_ACCESSES_HEURISTIC=false (Commented out as the set of dependences is not satisfied)
#! Extra properties
#! ------------------------------------------
#! syncval_message_extra_properties (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Append a section of key-value properties to the error message. Useful for
#! filtering errors.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_VALIDATE_SYNC=true
#! export VK_KHRONOS_VALIDATION_SYNCVAL_MESSAGE_EXTRA_PROPERTIES=false (Commented out as the set of dependences is not satisfied)
#! Stateless Parameter
#! ------------------------------------------
#! stateless_param (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Stateless parameter checks. This may not always be necessary late in a
#! development cycle.
#! For more information about the feature: https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/main/docs/stateless_validation.md
export VK_KHRONOS_VALIDATION_STATELESS_PARAM=true
#! Object Lifetime
#! ------------------------------------------
#! object_lifetime (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Object tracking checks. This may not always be necessary late in a
#! development cycle.
#! For more information about the feature: https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/main/docs/object_lifetimes.md
export VK_KHRONOS_VALIDATION_OBJECT_LIFETIME=true
#! Thread Safety
#! ------------------------------------------
#! thread_safety (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Thread checks. In order to not degrade performance, it might be best to run
#! your program with thread-checking disabled most of the time, enabling it
#! occasionally for a quick sanity check or when debugging difficult application
#! behaviors.
#! For more information about the feature: https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/main/docs/thread_safety.md
export VK_KHRONOS_VALIDATION_THREAD_SAFETY=true
#! Handle Wrapping
#! ------------------------------------------
#! unique_handles (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Handle wrapping checks. Disable this feature if you are experiencing crashes
#! when creating new extensions or developing new Vulkan objects/structures.
#! For more information about the feature: https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/main/docs/handle_wrapping.md
export VK_KHRONOS_VALIDATION_UNIQUE_HANDLES=true
#! Legacy Detection
#! ------------------------------------------
#! legacy_detection (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Give warnings when using legacy parts of the API.
#! This setting has sub-settings:
#! - export VK_KHRONOS_VALIDATION_LEGACY_DETECTION_MODE=ALWAYS
export VK_KHRONOS_VALIDATION_LEGACY_DETECTION=false
#! When to give warning
#! ------------------------------------------
#! legacy_detection_mode (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Control when legacy detection warnings are emitted
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_LEGACY_DETECTION=true
#! export VK_KHRONOS_VALIDATION_LEGACY_DETECTION_MODE=ALWAYS (Commented out as the set of dependences is not satisfied)
#! Best Practices
#! ------------------------------------------
#! validate_best_practices (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Outputs warnings related to common misuse of the API, but which are not
#! explicitly prohibited by the specification.
#! For more information about the feature: https://vulkan.lunarg.com/doc/sdk/1.4.363.0/windows/best_practices.html
#! This setting has sub-settings:
#! - export VK_KHRONOS_VALIDATION_VALIDATE_BEST_PRACTICES_ARM=false
#! - export VK_KHRONOS_VALIDATION_VALIDATE_BEST_PRACTICES_AMD=false
#! - export VK_KHRONOS_VALIDATION_VALIDATE_BEST_PRACTICES_IMG=false
#! - export VK_KHRONOS_VALIDATION_VALIDATE_BEST_PRACTICES_NVIDIA=false
export VK_KHRONOS_VALIDATION_VALIDATE_BEST_PRACTICES=false
#! ARM-specific best practices
#! ------------------------------------------
#! validate_best_practices_arm (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Outputs warnings for spec-conforming but non-ideal code on ARM GPUs.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_VALIDATE_BEST_PRACTICES=true
#! export VK_KHRONOS_VALIDATION_VALIDATE_BEST_PRACTICES_ARM=false (Commented out as the set of dependences is not satisfied)
#! AMD-specific best practices
#! ------------------------------------------
#! validate_best_practices_amd (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Outputs warnings for spec-conforming but non-ideal code on AMD GPUs.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_VALIDATE_BEST_PRACTICES=true
#! export VK_KHRONOS_VALIDATION_VALIDATE_BEST_PRACTICES_AMD=false (Commented out as the set of dependences is not satisfied)
#! IMG-specific best practices
#! ------------------------------------------
#! validate_best_practices_img (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Outputs warnings for spec-conforming but non-ideal code on Imagination GPUs.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_VALIDATE_BEST_PRACTICES=true
#! export VK_KHRONOS_VALIDATION_VALIDATE_BEST_PRACTICES_IMG=false (Commented out as the set of dependences is not satisfied)
#! NVIDIA-specific best practices
#! ------------------------------------------
#! validate_best_practices_nvidia (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Outputs warnings for spec-conforming but non-ideal code on NVIDIA GPUs.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_VALIDATE_BEST_PRACTICES=true
#! export VK_KHRONOS_VALIDATION_VALIDATE_BEST_PRACTICES_NVIDIA=false (Commented out as the set of dependences is not satisfied)
#! GPU Assisted Validation (GPU-AV)
#! ------------------------------------------
#! gpuav_enable (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Enable validation that cannot be done the CPU and needs hooks into the GPU
#! execution
#! For more information about the feature: https://vulkan.lunarg.com/doc/sdk/1.4.363.0/windows/gpu_validation.html
#! This setting has sub-settings:
#! - export VK_KHRONOS_VALIDATION_GPUAV_SAFE_MODE=false
#! - export VK_KHRONOS_VALIDATION_GPUAV_FORCE_ON_ROBUSTNESS=false
#! - export VK_KHRONOS_VALIDATION_GPUAV_SHADER_INSTRUMENTATION=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_BUFFERS_VALIDATION=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_RAY_TRACING_BUFFERS_CONSISTENCY=false
#! - khronos_validation.gpuav_scoped (Setting Group)
#! - khronos_validation.gpuav_debug_settings (Setting Group)
export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=false
#! Safe Mode
#! ------------------------------------------
#! gpuav_safe_mode (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! 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.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! export VK_KHRONOS_VALIDATION_GPUAV_SAFE_MODE=false (Commented out as the set of dependences is not satisfied)
#! Force on robustness features
#! ------------------------------------------
#! gpuav_force_on_robustness (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! This will enable all possible robustness features for the app at device
#! creation time. This can be used to quickly detect if with robustness, your
#! issue disappears. GPU-AV will also skip validating things already covered by
#! robustness, so turning on should reduce GPU-AV performance overhead.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! export VK_KHRONOS_VALIDATION_GPUAV_FORCE_ON_ROBUSTNESS=false (Commented out as the set of dependences is not satisfied)
#! Shader instrumentation
#! ------------------------------------------
#! gpuav_shader_instrumentation (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Instrument shaders to validate descriptors, descriptor indexing, buffer
#! device addresses and ray queries. Warning: will considerably slow down shader
#! executions.
#! For more information about the feature: https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/main/docs/gpu_av_shader_instrumentation.md
#! This setting has sub-settings:
#! - export VK_KHRONOS_VALIDATION_GPUAV_DESCRIPTOR_CHECKS=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_POST_PROCESS_DESCRIPTOR_INDEXING=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_BUFFER_ADDRESS_OOB=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_MESH_SHADING=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_VALIDATE_TRACE_RAY=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_VERTEX_ATTRIBUTE_FETCH_OOB=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_SHADER_SANITIZER=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_SHARED_MEMORY_DATA_RACE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_MAX_INDICES_COUNT=8192
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! export VK_KHRONOS_VALIDATION_GPUAV_SHADER_INSTRUMENTATION=true (Commented out as the set of dependences is not satisfied)
#! Descriptors indexing
#! ------------------------------------------
#! gpuav_descriptor_checks (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Enable descriptors and buffer out of bounds validation when using descriptor
#! indexing
#! For more information about the feature: https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/main/docs/gpu_av_descriptor_indexing.md
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_SHADER_INSTRUMENTATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_DESCRIPTOR_CHECKS=true (Commented out as the set of dependences is not satisfied)
#! Post process descriptor indexing
#! ------------------------------------------
#! gpuav_post_process_descriptor_indexing (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Track which descriptor indexes were used in shader to run normal validation
#! afterwards
#! For more information about the feature: https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/main/docs/gpu_av_post_process.md
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_SHADER_INSTRUMENTATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_POST_PROCESS_DESCRIPTOR_INDEXING=true (Commented out as the set of dependences is not satisfied)
#! Out of bounds buffer device addresses
#! ------------------------------------------
#! gpuav_buffer_address_oob (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Check for invalid access using buffer device address
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_SHADER_INSTRUMENTATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_BUFFER_ADDRESS_OOB=true (Commented out as the set of dependences is not satisfied)
#! Mesh Shading SPIR-V instructions
#! ------------------------------------------
#! gpuav_mesh_shading (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Enable shader instrumentation on VK_EXT_mesh_shader
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_SHADER_INSTRUMENTATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_MESH_SHADING=true (Commented out as the set of dependences is not satisfied)
#! TraceRay SPIR-V instructions
#! ------------------------------------------
#! gpuav_validate_trace_ray (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Enable shader instrumentation on OpTraceRayKHR, OpHitObject*,
#! OpReportIntersectionKHR, OpRayQueryInitializeKHR
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_SHADER_INSTRUMENTATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_VALIDATE_TRACE_RAY=true (Commented out as the set of dependences is not satisfied)
#! Out of bounds vertex attribute fetching
#! ------------------------------------------
#! gpuav_vertex_attribute_fetch_oob (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Validate that no vertex attribute fetching is out of bonds
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_SHADER_INSTRUMENTATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_VERTEX_ATTRIBUTE_FETCH_OOB=true (Commented out as the set of dependences is not satisfied)
#! Shader Sanitizer
#! ------------------------------------------
#! gpuav_shader_sanitizer (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Things invalid to do in SPIR-V but don't have a dedicated check (example:
#! dividing an int by zero, reaching OpUnreachable, invalid casting,
#! overflow/undeflow). When in safe mode, will modify the invalid usage.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_SHADER_INSTRUMENTATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_SHADER_SANITIZER=true (Commented out as the set of dependences is not satisfied)
#! Shared Memory Data Race Detection
#! ------------------------------------------
#! gpuav_shared_memory_data_race (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Detects data races on shared memory (Compute shaders only). Limitations: This
#! does not handle mixing atomics and non-atomics on the same locations without
#! a barrier in between, this could lead to false positives. This assumes
#! barrier() is used for all shared memory synchronization.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_SHADER_INSTRUMENTATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_SHARED_MEMORY_DATA_RACE=true (Commented out as the set of dependences is not satisfied)
#! Maximum Indices
#! ------------------------------------------
#! gpuav_max_indices_count (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Number of indices held in the buffer used to index commands and validation
#! resources (Max number of draws/dispatches in a command buffer that can be
#! tracked). Can be lowered to save memory.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! export VK_KHRONOS_VALIDATION_GPUAV_MAX_INDICES_COUNT=8192 (Commented out as the set of dependences is not satisfied)
#! Buffer content validation
#! ------------------------------------------
#! gpuav_buffers_validation (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Validate buffers containing parameters used in indirect Vulkan commands, or
#! used in copy commands
#! This setting has sub-settings:
#! - export VK_KHRONOS_VALIDATION_GPUAV_INDIRECT_DRAWS_BUFFERS=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_INDIRECT_DISPATCHES_BUFFERS=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_INDIRECT_TRACE_RAYS_BUFFERS=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_BUFFER_COPIES=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_COPY_MEMORY_INDIRECT=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_INDEX_BUFFERS=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_ACCELERATION_STRUCTURES_BUILDS=true
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! export VK_KHRONOS_VALIDATION_GPUAV_BUFFERS_VALIDATION=true (Commented out as the set of dependences is not satisfied)
#! Indirect draws parameters
#! ------------------------------------------
#! gpuav_indirect_draws_buffers (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Validate buffers containing draw parameters used in indirect draw commands.
#! Includes vkCmdDrawMeshTasks* calls as well
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_BUFFERS_VALIDATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_INDIRECT_DRAWS_BUFFERS=true (Commented out as the set of dependences is not satisfied)
#! Indirect dispatches parameters
#! ------------------------------------------
#! gpuav_indirect_dispatches_buffers (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Validate buffers containing dispatch parameters used in indirect dispatch
#! commands
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_BUFFERS_VALIDATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_INDIRECT_DISPATCHES_BUFFERS=true (Commented out as the set of dependences is not satisfied)
#! Indirect trace rays parameters
#! ------------------------------------------
#! gpuav_indirect_trace_rays_buffers (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Validate buffers containing ray tracing parameters used in indirect ray
#! tracing commands
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_BUFFERS_VALIDATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_INDIRECT_TRACE_RAYS_BUFFERS=true (Commented out as the set of dependences is not satisfied)
#! Buffer copies
#! ------------------------------------------
#! gpuav_buffer_copies (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Validate copies involving a VkBuffer. Right now only validates copy buffer to
#! image.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_BUFFERS_VALIDATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_BUFFER_COPIES=true (Commented out as the set of dependences is not satisfied)
#! VK_KHR_copy_memory_indirect
#! ------------------------------------------
#! gpuav_copy_memory_indirect (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Validate VK_KHR_copy_memory_indirect.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_BUFFERS_VALIDATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_COPY_MEMORY_INDIRECT=true (Commented out as the set of dependences is not satisfied)
#! Index buffers
#! ------------------------------------------
#! gpuav_index_buffers (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Validate that indexed draws do not fetch indices outside of the bounds of the
#! index buffer.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_BUFFERS_VALIDATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_INDEX_BUFFERS=true (Commented out as the set of dependences is not satisfied)
#! Acceleration structures builds
#! ------------------------------------------
#! gpuav_acceleration_structures_builds (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Validate acceleration structures references in TLAS build commands.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_BUFFERS_VALIDATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_ACCELERATION_STRUCTURES_BUILDS=true (Commented out as the set of dependences is not satisfied)
#! Ray tracing buffers consistency
#! ------------------------------------------
#! gpuav_ray_tracing_buffers_consistency (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Validate that between a BLAS build and its update, triangle geometries using
#! index buffer keep its content identical (VUID 03768), and that
#! active/inactive primitives do not change this status (VUIDs 03663 and 03664).
#! Warning: a record of vertex/index buffers will be maintained in device local
#! memory, so validation can be GPU memory heavy.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_BUFFERS_VALIDATION=true
#! export VK_KHRONOS_VALIDATION_GPUAV_RAY_TRACING_BUFFERS_CONSISTENCY=false (Commented out as the set of dependences is not satisfied)
#! Selective Instrument Shaders
#! ------------------------------------------
#! gpuav_select_instrumented_shaders (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! When turned on, shaders are NOT instrumented unless selected. This can be
#! done by:
- passing a VkValidationFeaturesEXT struct in the pNext of
#! VkShaderModuleCreateInfo/VkPipelineShaderStageCreateInfo/vkCreateShadersEXT
#! pNext
- using a regex matching a shader/pipeline debug name.
- Providing a
#! CDL dump file to parse the debug names from it.
#! For more information about the feature: https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/main/docs/gpu_av_scoped.md
#! This setting has sub-settings:
#! - export VK_KHRONOS_VALIDATION_GPUAV_SHADERS_TO_INSTRUMENT=
#! - export VK_KHRONOS_VALIDATION_GPUAV_CDL_DUMP_PATH=
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! export VK_KHRONOS_VALIDATION_GPUAV_SELECT_INSTRUMENTED_SHADERS=false (Commented out as the set of dependences is not satisfied)
#! Shader/pipeline name regexes
#! ------------------------------------------
#! gpuav_shaders_to_instrument (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Any shader or pipeline library debug name (set with
#! vkSetDebugUtilsObjectNameEXT) fully matching any listed regular expression
#! will be instrumented when creating pipelines with those shaders or libraries.
#! Regex grammar: Modified ECMAScript. No support for shader objects yet.
#! Warning: instrumentation being performed at final pipeline creation time, if
#! shaders modules have already been destroyed at this step (possible when using
#! pipeline libraries), they won't be found by this regex selection system. In
#! this case, consider naming pipeline libraries instead.
#! This setting can list multiple values using the "," (comma) separator.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_SELECT_INSTRUMENTED_SHADERS=true
#! export VK_KHRONOS_VALIDATION_GPUAV_SHADERS_TO_INSTRUMENT= (Commented out as the set of dependences is not satisfied)
#! CDL dump file
#! ------------------------------------------
#! gpuav_cdl_dump_path (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Path to a Crash Diagnostic Layer (CDL) dump file. Pipeline names found in
#! this file will be selected for instrumentation.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! - export VK_KHRONOS_VALIDATION_GPUAV_SELECT_INSTRUMENTED_SHADERS=true
#! export VK_KHRONOS_VALIDATION_GPUAV_CDL_DUMP_PATH= (Commented out as the set of dependences is not satisfied)
#! Disable all of GPU-AV
#! ------------------------------------------
#! gpuav_debug_disable_all (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Acts as a VkValidationFeatureDisableEXT to override the
#! VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT passed by the user
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! export VK_KHRONOS_VALIDATION_GPUAV_DEBUG_DISABLE_ALL=false (Commented out as the set of dependences is not satisfied)
#! Validate instrumented shaders
#! ------------------------------------------
#! gpuav_debug_validate_instrumented_shaders (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Run spirv-val after doing shader instrumentation
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! export VK_KHRONOS_VALIDATION_GPUAV_DEBUG_VALIDATE_INSTRUMENTED_SHADERS=false (Commented out as the set of dependences is not satisfied)
#! Dump instrumented shaders
#! ------------------------------------------
#! gpuav_debug_dump_instrumented_shaders (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Will dump the instrumented shaders (before and after) to working directory
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! export VK_KHRONOS_VALIDATION_GPUAV_DEBUG_DUMP_INSTRUMENTED_SHADERS=false (Commented out as the set of dependences is not satisfied)
#! Limit how many time a pass can instrument the SPIR-V
#! ------------------------------------------
#! gpuav_debug_max_instrumentations_count (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Zero is same as unlimited
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! export VK_KHRONOS_VALIDATION_GPUAV_DEBUG_MAX_INSTRUMENTATIONS_COUNT=0 (Commented out as the set of dependences is not satisfied)
#! Print SPIR-V instrumentation info
#! ------------------------------------------
#! gpuav_debug_print_instrumentation_info (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Prints verbose information about the instrumentation of the SPIR-V
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! export VK_KHRONOS_VALIDATION_GPUAV_DEBUG_PRINT_INSTRUMENTATION_INFO=false (Commented out as the set of dependences is not satisfied)
#! Disable DontInline performance boost
#! ------------------------------------------
#! gpuav_debug_disable_dontinline (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Disable DontInline SPIR-V function hint for instrumentations functions, at
#! the cost of a performance boost if the driver supports it. This flag can
#! provoke instabilities on some drivers. Currently a debug option until we
#! learn more about these instabilities.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_GPUAV_ENABLE=true
#! export VK_KHRONOS_VALIDATION_GPUAV_DEBUG_DISABLE_DONTINLINE=false (Commented out as the set of dependences is not satisfied)
#! Dump Descriptor Heap/Buffer
#! ------------------------------------------
#! gpu_dump_descriptors (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Dump all the information at every draw/dispatch when recording
#! VK_EXT_descriptor_heap or VK_EXT_descriptor_buffer
export VK_KHRONOS_VALIDATION_GPU_DUMP_DESCRIPTORS=false
#! Dump VK_KHR_copy_memory_indirect
#! ------------------------------------------
#! gpu_dump_copy_memory_indirect (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Dump information at each copy command when recording
export VK_KHRONOS_VALIDATION_GPU_DUMP_COPY_MEMORY_INDIRECT=false
#! Dump VK_EXT_device_generated_commands
#! ------------------------------------------
#! gpu_dump_device_generated_commands (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Dump information at each vkCmdExecuteGeneratedCommands when recording
export VK_KHRONOS_VALIDATION_GPU_DUMP_DEVICE_GENERATED_COMMANDS=false
#! Redirect all GPU Dump to stdout
#! ------------------------------------------
#! gpu_dump_to_stdout (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Instead of using the debug callback with information severity, redirect to
#! stdout instead.
export VK_KHRONOS_VALIDATION_GPU_DUMP_TO_STDOUT=false
#! Descriptor Hashing
#! ------------------------------------------
#! descriptor_hashing (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! When enabled and using VK_EXT_descriptor_heap/VK_EXT_descriptor_buffer, this
#! will attempt to track all descriptors seen such that GPU-AV and GPU Dump can
#! detect more errors. This will increase the memory footprint.
#! This setting has sub-settings:
#! - export VK_KHRONOS_VALIDATION_DESCRIPTOR_HASHING_TOTAL_DESCRIPTORS=65536
export VK_KHRONOS_VALIDATION_DESCRIPTOR_HASHING=false
#! Total expected descriptors used
#! ------------------------------------------
#! descriptor_hashing_total_descriptors (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! We create a static allocation to hold all potential descriptor hashes we see.
#! The larger it is the more memory and time it may take. The true capacity is
#! always this value rounded up to the next power of two.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_DESCRIPTOR_HASHING=true
#! export VK_KHRONOS_VALIDATION_DESCRIPTOR_HASHING_TOTAL_DESCRIPTORS=65536 (Commented out as the set of dependences is not satisfied)
#! Debug Printf only preset
#! ------------------------------------------
#! printf_only_preset (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! A single, quick setting to turn on only DebugPrintf and turn off everything
#! else. Main usage is for people not able to use VkConfig and still want a fast
#! preset to use.
export VK_KHRONOS_VALIDATION_PRINTF_ONLY_PRESET=false
#! Debug Printf
#! ------------------------------------------
#! printf_enable (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Enable DebugPrintf and will print anything use NonSemantic.DebugPrintf in
#! their SPIR-V
#! For more information about the feature: https://vulkan.lunarg.com/doc/sdk/1.4.363.0/windows/debug_printf.html
#! This setting has sub-settings:
#! - export VK_KHRONOS_VALIDATION_PRINTF_TO_STDOUT=true
#! - export VK_KHRONOS_VALIDATION_PRINTF_VERBOSE=false
#! - export VK_KHRONOS_VALIDATION_PRINTF_BUFFER_SIZE=1024
export VK_KHRONOS_VALIDATION_PRINTF_ENABLE=false
#! Redirect Printf messages to stdout
#! ------------------------------------------
#! printf_to_stdout (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Enable redirection of Debug Printf messages from the debug callback to stdout
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_PRINTF_ENABLE=true
#! export VK_KHRONOS_VALIDATION_PRINTF_TO_STDOUT=true (Commented out as the set of dependences is not satisfied)
#! Printf verbose
#! ------------------------------------------
#! printf_verbose (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Will print out handles, instruction location, position in command buffer, and
#! more
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_PRINTF_ENABLE=true
#! export VK_KHRONOS_VALIDATION_PRINTF_VERBOSE=false (Commented out as the set of dependences is not satisfied)
#! Printf buffer size
#! ------------------------------------------
#! printf_buffer_size (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Set the size in bytes of the buffer per VkCommandBuffer to hold the messages
#! (Each message is about 50 bytes)
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_PRINTF_ENABLE=true
#! export VK_KHRONOS_VALIDATION_PRINTF_BUFFER_SIZE=1024 (Commented out as the set of dependences is not satisfied)
#! Debug Action
#! ------------------------------------------
#! debug_action (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Specifies what action is to be taken when a layer reports information
#! This setting can list multiple values using the "," (comma) separator.
export VK_KHRONOS_VALIDATION_DEBUG_ACTION=VK_DBG_LAYER_ACTION_LOG_MSG,VK_DBG_LAYER_ACTION_DEBUG_OUTPUT
#! Log Filename
#! ------------------------------------------
#! log_filename (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Specifies the output filename
export VK_KHRONOS_VALIDATION_LOG_FILENAME=stdout
#! Message Severity
#! ------------------------------------------
#! report_flags (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Comma-delineated list of options specifying the types of messages to be
#! reported
#! This setting can list multiple values using the "," (comma) separator.
export VK_KHRONOS_VALIDATION_REPORT_FLAGS=error,warn
#! Limit Duplicated Messages
#! ------------------------------------------
#! enable_message_limit (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Enable limiting of duplicate messages.
#! This setting has sub-settings:
#! - export VK_KHRONOS_VALIDATION_DUPLICATE_MESSAGE_LIMIT=10
export VK_KHRONOS_VALIDATION_ENABLE_MESSAGE_LIMIT=true
#! Max Duplicated Messages
#! ------------------------------------------
#! duplicate_message_limit (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Maximum number of times any single validation message should be reported.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_VALIDATION_ENABLE_MESSAGE_LIMIT=true
export VK_KHRONOS_VALIDATION_DUPLICATE_MESSAGE_LIMIT=10
#! Mute Message VUIDs
#! ------------------------------------------
#! message_id_filter (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! List of VUIDs which are to be IGNORED by the validation layer. The list is
#! comma separated and can be either the entire VUID string, the hashed value,
#! or the last 5 digit number of a VUID
#! This setting can list multiple values using the "," (comma) separator.
export VK_KHRONOS_VALIDATION_MESSAGE_ID_FILTER=
#! JSON
#! ------------------------------------------
#! message_format_json (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Display Validation as JSON (VkDebugUtilsMessengerCallbackDataEXT::pMessage
#! will contain JSON)
export VK_KHRONOS_VALIDATION_MESSAGE_FORMAT_JSON=false
#! Display Application Name
#! ------------------------------------------
#! message_format_display_application_name (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Useful when running multiple instances to know which instance the message is
#! from.
export VK_KHRONOS_VALIDATION_MESSAGE_FORMAT_DISPLAY_APPLICATION_NAME=false
#! Khronos Profiles layer
#! ==========================================
#! VK_LAYER_KHRONOS_profiles - 1.4.363 (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! For more information about the layer: https://vulkan.lunarg.com/doc/sdk/latest/windows/profiles_layer.html
#! Emulate a Vulkan Profile
#! ------------------------------------------
#! profile_emulation (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Emulate a Vulkan Profile on the Developer System
#! This setting has sub-settings:
#! - export VK_KHRONOS_PROFILES_PROFILE_DIRS=
#! - export VK_KHRONOS_PROFILES_PROFILE_NAME=${VP_DEFAULT}
#! - export VK_KHRONOS_PROFILES_PROFILE_VALIDATION=false
export VK_KHRONOS_PROFILES_PROFILE_EMULATION=true
#! Loading Directory
#! ------------------------------------------
#! profile_dirs (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Select the location all the profiles.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_PROFILE_EMULATION=true
export VK_KHRONOS_PROFILES_PROFILE_DIRS=
#! Name
#! ------------------------------------------
#! profile_name (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Name of the profile specified by the profile file to use.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_PROFILE_EMULATION=true
export VK_KHRONOS_PROFILES_PROFILE_NAME=${VP_DEFAULT}
#! Schema Validation
#! ------------------------------------------
#! profile_validation (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Validate the profile files against the Vulkan SDK profile schema if the file
#! is found.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_PROFILE_EMULATION=true
export VK_KHRONOS_PROFILES_PROFILE_VALIDATION=false
#! Simulate Profile Capabilities
#! ------------------------------------------
#! simulate_capabilities (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Control of the simulated capabilities of the Vulkan physical device from the
#! selected Vulkan Profile.
#! This setting can list multiple values using the "," (comma) separator.
export VK_KHRONOS_PROFILES_SIMULATE_CAPABILITIES=SIMULATE_API_VERSION_BIT,SIMULATE_FEATURES_BIT,SIMULATE_PROPERTIES_BIT
#! Unspecified Features
#! ------------------------------------------
#! default_feature_values (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Feature values when not specified in the select Vulkan profiles.
export VK_KHRONOS_PROFILES_DEFAULT_FEATURE_VALUES=DEFAULT_FEATURE_VALUES_DEVICE
#! Unknown Features
#! ------------------------------------------
#! unknown_feature_values (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Feature values when unrecongnized by Vulkan profiles.
export VK_KHRONOS_PROFILES_UNKNOWN_FEATURE_VALUES=UNKNOWN_FEATURE_VALUES_UNCHANGED
#! Emulate VK_KHR_portability_subset
#! ------------------------------------------
#! emulate_portability (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Emulate the VK_KHR_portability_subset extension on the device.
#! This setting has sub-settings:
#! - export VK_KHRONOS_PROFILES_CONSTANTALPHACOLORBLENDFACTORS=false
#! - export VK_KHRONOS_PROFILES_EVENTS=false
#! - export VK_KHRONOS_PROFILES_IMAGEVIEWFORMATREINTERPRETATION=false
#! - export VK_KHRONOS_PROFILES_IMAGEVIEWFORMATSWIZZLE=false
#! - export VK_KHRONOS_PROFILES_IMAGEVIEW2DON3DIMAGE=false
#! - export VK_KHRONOS_PROFILES_MULTISAMPLEARRAYIMAGE=false
#! - export VK_KHRONOS_PROFILES_MUTABLECOMPARISONSAMPLERS=false
#! - export VK_KHRONOS_PROFILES_POINTPOLYGONS=false
#! - export VK_KHRONOS_PROFILES_SAMPLERMIPLODBIAS=false
#! - export VK_KHRONOS_PROFILES_SEPARATESTENCILMASKREF=false
#! - export VK_KHRONOS_PROFILES_SHADERSAMPLERATEINTERPOLATIONFUNCTIONS=false
#! - export VK_KHRONOS_PROFILES_TESSELLATIONISOLINES=false
#! - export VK_KHRONOS_PROFILES_TRIANGLEFANS=false
#! - export VK_KHRONOS_PROFILES_VERTEXATTRIBUTEACCESSBEYONDSTRIDE=false
export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=true
#! constantAlphaColorBlendFactors
#! ------------------------------------------
#! constantAlphaColorBlendFactors (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Indicates whether this implementation supports constant alpha Blend Factors
#! used as source or destination color Blending.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=true
export VK_KHRONOS_PROFILES_CONSTANTALPHACOLORBLENDFACTORS=false
#! events
#! ------------------------------------------
#! events (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Indicates whether this implementation supports synchronization using Events
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=true
export VK_KHRONOS_PROFILES_EVENTS=false
#! imageViewFormatReinterpretation
#! ------------------------------------------
#! imageViewFormatReinterpretation (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Indicates whether this implementation supports a VkImageView being created
#! with a texel format containing a different number of components, or a
#! different number of bits in each component, than the texel format of the
#! underlying VkImage.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=true
export VK_KHRONOS_PROFILES_IMAGEVIEWFORMATREINTERPRETATION=false
#! imageViewFormatSwizzle
#! ------------------------------------------
#! imageViewFormatSwizzle (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Indicates whether this implementation supports remapping format components
#! using VkImageViewCreateInfo::components.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=true
export VK_KHRONOS_PROFILES_IMAGEVIEWFORMATSWIZZLE=false
#! imageView2DOn3DImage
#! ------------------------------------------
#! imageView2DOn3DImage (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Indicates whether this implementation supports a VkImage being created with
#! the VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT flag set, permitting a 2D or 2D
#! array image view to be created on a 3D VkImage.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=true
export VK_KHRONOS_PROFILES_IMAGEVIEW2DON3DIMAGE=false
#! multisampleArrayImage
#! ------------------------------------------
#! multisampleArrayImage (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Indicates whether this implementation supports a VkImage being created as a
#! 2D array with multiple samples per texel.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=true
export VK_KHRONOS_PROFILES_MULTISAMPLEARRAYIMAGE=false
#! mutableComparisonSamplers
#! ------------------------------------------
#! mutableComparisonSamplers (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Indicates whether this implementation allows descriptors with comparison
#! samplers to be updated.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=true
export VK_KHRONOS_PROFILES_MUTABLECOMPARISONSAMPLERS=false
#! pointPolygons
#! ------------------------------------------
#! pointPolygons (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Indicates whether this implementation supports Rasterization using a point
#! Polygon Mode.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=true
export VK_KHRONOS_PROFILES_POINTPOLYGONS=false
#! samplerMipLodBias
#! ------------------------------------------
#! samplerMipLodBias (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Indicates whether this implementation supports setting a mipmap LOD bias
#! value when creating a sampler.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=true
export VK_KHRONOS_PROFILES_SAMPLERMIPLODBIAS=false
#! separateStencilMaskRef
#! ------------------------------------------
#! separateStencilMaskRef (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Indicates whether this implementation supports separate front and back
#! Stencil Test reference values.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=true
export VK_KHRONOS_PROFILES_SEPARATESTENCILMASKREF=false
#! shaderSampleRateInterpolationFunctions
#! ------------------------------------------
#! shaderSampleRateInterpolationFunctions (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Indicates whether this implementation supports fragment shaders which use the
#! InterpolationFunction capability.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=true
export VK_KHRONOS_PROFILES_SHADERSAMPLERATEINTERPOLATIONFUNCTIONS=false
#! tessellationIsolines
#! ------------------------------------------
#! tessellationIsolines (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Indicates whether this implementation supports isoline output from the
#! Tessellation stage of a graphics pipeline. This member is only meaningful if
#! tessellationShader are supported.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=true
export VK_KHRONOS_PROFILES_TESSELLATIONISOLINES=false
#! triangleFans
#! ------------------------------------------
#! triangleFans (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Indicates whether this implementation supports Triangle Fans primitive
#! topology.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=true
export VK_KHRONOS_PROFILES_TRIANGLEFANS=false
#! vertexAttributeAccessBeyondStride
#! ------------------------------------------
#! vertexAttributeAccessBeyondStride (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Indicates whether this implementation supports accessing a vertex input
#! attribute beyond the stride of the corresponding vertex input binding.
#! This setting has sub-settings:
#! - export VK_KHRONOS_PROFILES_MINVERTEXINPUTBINDINGSTRIDEALIGNMENT=4
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_EMULATE_PORTABILITY=true
export VK_KHRONOS_PROFILES_VERTEXATTRIBUTEACCESSBEYONDSTRIDE=false
#! minVertexInputBindingStrideAlignment
#! ------------------------------------------
#! minVertexInputBindingStrideAlignment (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Indicates whether this implementation supports accessing a vertex input
#! attribute beyond the stride of the corresponding vertex input binding.
#! This setting requires ALL of the following values:
#! - export VK_KHRONOS_PROFILES_VERTEXATTRIBUTEACCESSBEYONDSTRIDE=false
export VK_KHRONOS_PROFILES_MINVERTEXINPUTBINDINGSTRIDEALIGNMENT=4
#! Exclude Device Extensions
#! ------------------------------------------
#! exclude_device_extensions (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Removes the listed device extensions from being reported by the Vulkan
#! physical device.
#! This setting can list multiple values using the "," (comma) separator.
export VK_KHRONOS_PROFILES_EXCLUDE_DEVICE_EXTENSIONS=
#! Exclude Formats
#! ------------------------------------------
#! exclude_formats (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Removes the format feature flags from being reported by the Vulkan physical
#! device.
#! This setting can list multiple values using the "," (comma) separator.
export VK_KHRONOS_PROFILES_EXCLUDE_FORMATS=
#! Debug Actions
#! ------------------------------------------
#! debug_actions (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! This indicates what action is to be taken when a layer wants to report
#! information
#! This setting can list multiple values using the "," (comma) separator.
export VK_KHRONOS_PROFILES_DEBUG_ACTIONS=DEBUG_ACTION_STDOUT_BIT
#! Log Filename
#! ------------------------------------------
#! debug_filename (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Specifies the output filename
export VK_KHRONOS_PROFILES_DEBUG_FILENAME=profiles_layer_log.txt
#! Clear Log at Launch
#! ------------------------------------------
#! debug_file_clear (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Discard the content of the log file between each layer run
export VK_KHRONOS_PROFILES_DEBUG_FILE_CLEAR=true
#! Fail on Error
#! ------------------------------------------
#! debug_fail_on_error (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! If the device doesn't support the capabilities of the selected Profile, the
#! layer fail to load. When enabled, vkEnumeratePhysicalDevices will fail when
#! the selected Profile is not supported.
export VK_KHRONOS_PROFILES_DEBUG_FAIL_ON_ERROR=false
#! Message Types
#! ------------------------------------------
#! debug_reports (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! This is a comma-delineated list of options telling the layer what types of
#! messages it should report back
#! This setting can list multiple values using the "," (comma) separator.
export VK_KHRONOS_PROFILES_DEBUG_REPORTS=DEBUG_REPORT_NOTIFICATION_BIT,DEBUG_REPORT_WARNING_BIT,DEBUG_REPORT_ERROR_BIT
#! Khronos Shader object layer
#! ==========================================
#! VK_LAYER_KHRONOS_shader_object - 1.4.363 (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Force Enable
#! ------------------------------------------
#! force_enable (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Force the layer to be active even if the underlying driver also implements
#! the shader object extension.
export VK_KHRONOS_SHADER_OBJECT_FORCE_ENABLE=false
#! Disable Pipeline Pre-Caching
#! ------------------------------------------
#! disable_pipeline_pre_caching (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS)
#! Disable the layer from pre-caching pipelines, reducing the memory overhead.
export VK_KHRONOS_SHADER_OBJECT_DISABLE_PIPELINE_PRE_CACHING=false
#! Khronos Synchronization2 layer
#! ==========================================
#! VK_LAYER_KHRONOS_synchronization2 - 1.4.363 (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! For more information about the layer: https://vulkan.lunarg.com/doc/sdk/latest/windows/synchronization2_layer.html
#! Force Enable
#! ------------------------------------------
#! force_enable (WINDOWS_X86, WINDOWS_ARM, LINUX, MACOS, ANDROID)
#! Force the layer to be active even if the underlying driver also implements
#! the synchonization2 extension.
export VK_KHRONOS_SYNCHRONIZATION2_FORCE_ENABLE=false