vulkan-validation-layers: Add output for generated include files
These are dependencies of other layers such as the layers in LunarG Vulkan Tools
This commit is contained in:
parent
e3cf6e12bc
commit
1594881eb6
@ -51,6 +51,11 @@ stdenv.mkDerivation rec {
|
|||||||
pname = "vulkan-validation-layers";
|
pname = "vulkan-validation-layers";
|
||||||
version = "1.2.141.0";
|
version = "1.2.141.0";
|
||||||
|
|
||||||
|
# If we were to use "dev" here instead of headers, the setupHook would be
|
||||||
|
# placed in that output instead of "out".
|
||||||
|
outputs = ["out" "headers"];
|
||||||
|
outputInclude = "headers";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "KhronosGroup";
|
owner = "KhronosGroup";
|
||||||
repo = "Vulkan-ValidationLayers";
|
repo = "Vulkan-ValidationLayers";
|
||||||
@ -78,6 +83,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DGLSLANG_INSTALL_DIR=${localGlslang}"
|
"-DGLSLANG_INSTALL_DIR=${localGlslang}"
|
||||||
|
"-DBUILD_LAYER_SUPPORT_FILES=ON"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Help vulkan-loader find the validation layers
|
# Help vulkan-loader find the validation layers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user