[vulkan] guard fuchsia-specific code

This change adds missing guards for fuchsia-specific code.

Change-Id: Idc0e0cedf956e9b2079c51dbb42811defaf2399d
2 files changed
tree: efa1f4670fe6c0332cd1ce776bce7365119277d7
  1. .appveyor.yml
  2. .clang-format
  3. .gitattributes
  4. .gitignore
  5. .gitmodules
  6. .travis.yml
  7. BUILD.gn
  8. BUILD.md
  9. CMakeLists.txt
  11. COPYRIGHT.txt
  13. LICENSE.txt
  14. README.fuchsia
  15. README.md
  17. build-android/
  18. build-fuchsia/
  19. build_windows_targets.bat
  20. cmake/
  21. common/
  22. demos/
  23. external_revisions/
  24. icd/
  25. include/
  26. layers/
  27. libs/
  28. loader/
  29. scripts/
  30. submodules/
  31. tests/
  32. update_external_sources.bat
  33. update_external_sources.sh
  34. windowsRuntimeInstaller/

Vulkan-LoaderAndValidationLayers Has Been Deprecated

This repository has been deprecated. It will continue to exist as a read-only repository servicing existing projects. Any projects utilizing this repository should be migrated to use the follow-on repositories listed below. All issues have been migrated to the new repositories.

The four new repositories are:

Repository Maintainers, May 13, 2018

Contact: mark@lunarg.com

Original README.md contents follow.

Vulkan Ecosystem Components

This project provides the Khronos official Vulkan ICD desktop loader and the Vulkan validation layers for Windows, Linux, Android, and MacOS.

CI Build Status

PlatformBuild Status
Linux/AndroidBuild Status
WindowsBuild status


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. This project provides Vulkan validation layers that can be enabled to assist development by enabling developers to verify their applications correct use of the Vulkan API.

Vulkan supports multiple GPUs and multiple global contexts (VkInstance). The ICD loader is necessary to support multiple GPUs and VkInstance-level Vulkan commands. Additionally, the loader manages inserting Vulkan layer libraries such as validation layers between the application and the ICD.

The following components are available in this repository:

Contact Information

Information for Developing or Contributing:

Please see the CONTRIBUTING.md file in this repository for more details. Please see the GOVERNANCE.md file in this repository for repository management details.

How to Build and Run

BUILD.md Includes directions for building all components as well as running validation tests and demo applications.

Information on how to enable the various Validation layers is in layers/README.md.

Architecture and interface information for the loader is in loader/LoaderAndLayerInterface.md.


This work is released as open source under a Apache-style license from Khronos including a Khronos copyright.

See COPYRIGHT.txt for a full list of licenses used in this repository.


While this project has been developed primarily by LunarG, Inc., there are many other companies and individuals making this possible: Valve Corporation, funding project development; Google providing significant contributions to the validation layers; Khronos providing oversight and hosting of the project.