diff options
author | David McFarland <corngood@gmail.com> | 2016-10-11 13:50:52 -0300 |
---|---|---|
committer | David McFarland <corngood@gmail.com> | 2016-11-13 12:44:27 -0400 |
commit | 6bf27c2caeb621472151c63fc33c4951ce0188d1 (patch) | |
tree | 21931c608dcbef57d1e34c17983c1e11e071139b /nixos | |
parent | e783cc90a092768d631559c9ee389269c1daad5e (diff) | |
download | nixlib-6bf27c2caeb621472151c63fc33c4951ce0188d1.tar nixlib-6bf27c2caeb621472151c63fc33c4951ce0188d1.tar.gz nixlib-6bf27c2caeb621472151c63fc33c4951ce0188d1.tar.bz2 nixlib-6bf27c2caeb621472151c63fc33c4951ce0188d1.tar.lz nixlib-6bf27c2caeb621472151c63fc33c4951ce0188d1.tar.xz nixlib-6bf27c2caeb621472151c63fc33c4951ce0188d1.tar.zst nixlib-6bf27c2caeb621472151c63fc33c4951ce0188d1.zip |
vulkan-loader: allow validation layers to be enabled
The loader now uses XDK_DATA_DIRS to find drivers and layers.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/config/system-path.nix | 1 | ||||
-rw-r--r-- | nixos/modules/hardware/video/amdgpu-pro.nix | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/config/system-path.nix b/nixos/modules/config/system-path.nix index 775d0c39c4fa..3ac5f634c7a6 100644 --- a/nixos/modules/config/system-path.nix +++ b/nixos/modules/config/system-path.nix @@ -118,6 +118,7 @@ in "/share/terminfo" "/share/themes" "/share/vim-plugins" + "/share/vulkan" ]; system.path = pkgs.buildEnv { diff --git a/nixos/modules/hardware/video/amdgpu-pro.nix b/nixos/modules/hardware/video/amdgpu-pro.nix index 3723d7690dc6..979810abf90a 100644 --- a/nixos/modules/hardware/video/amdgpu-pro.nix +++ b/nixos/modules/hardware/video/amdgpu-pro.nix @@ -45,10 +45,8 @@ in "amd/amdapfxx.blb".source = package + "/etc/amd/amdapfxx.blb"; "gbm/gbm.conf".source = package + "/etc/gbm/gbm.conf"; "OpenCL/vendors/amdocl64.icd".source = package + "/etc/OpenCL/vendors/amdocl64.icd"; - "vulkan/icd.d/amd_icd64.json".source = package + "/etc/vulkan/icd.d/amd_icd64.json"; } // optionalAttrs opengl.driSupport32Bit { "OpenCL/vendors/amdocl32.icd".source = package32 + "/etc/OpenCL/vendors/amdocl32.icd"; - "vulkan/icd.d/amd_icd32.json".source = package32 + "/etc/vulkan/icd.d/amd_icd32.json"; }; }; |