mirror of
https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
synced 2025-05-29 16:09:29 +00:00

The library originates from Vulkan-ValidationLayers, but is being moved into this repo to make it easier for others to use it. The library has also been modified to be header only and C compatible, which allows more developers to be able to use it. This does require some changes, but only affects the vkuFormatElementSize and vkuFormatTexelSize functions which used default parameters. Two new functions, vkuFormatElementSizeWithAspect and vkuFormatTexelSizeWithAspect have been added to handle the non-default image aspect case (the default was COLOR_BIT). Renaming was done using the following convention: * public header files begin with `vk_` * enums begin with VKU_FORMAT_ * functions begin with vku
28 lines
938 B
Text
28 lines
938 B
Text
# Copyright 2023-2023 LunarG, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
import("//build_overrides/vulkan_utility_libraries.gni")
|
|
|
|
config("vulkan_utility_libraries_config") {
|
|
include_dirs = [ "include" ]
|
|
}
|
|
|
|
static_library("vulkan_layer_settings") {
|
|
public_deps = [ "$vulkan_headers_dir:vulkan_headers" ]
|
|
public_configs = [ ":vulkan_utility_libraries_config" ]
|
|
sources = [
|
|
"include/vulkan/layer/vk_layer_settings.h",
|
|
"include/vulkan/layer/vk_layer_settings.hpp",
|
|
"include/vulkan/layer/vk_layer_settings_ext.h",
|
|
"include/vulkan/utility/vk_dispatch_table.h",
|
|
"include/vulkan/utility/vk_format_utils.h",
|
|
"include/vulkan/vk_enum_string_helper.h",
|
|
"src/layer/layer_settings_manager.cpp",
|
|
"src/layer/layer_settings_manager.hpp",
|
|
"src/layer/layer_settings_util.cpp",
|
|
"src/layer/layer_settings_util.hpp",
|
|
"src/layer/vk_layer_settings.cpp",
|
|
"src/layer/vk_layer_settings_helper.cpp",
|
|
]
|
|
}
|