[gn] Use un-rebased paths as "inputs" of executable targets

gn actions "glslang_frag" and "glslang_vert" use un-rebased paths
as |outputs| arguments for generated shader include files. Thus the
"cube-*" executables need to use these un-rebased paths as |inputs|
so that gn could parse the dependency correctly. Only the locations
in #define needs to be rebased to path relative to the build root dir.

TEST=fx build third_party/Vulkan-Tools/cube:vkcube-on-scenic

Change-Id: Id6c81ad51763ece2ad97cff3a778eea2a0c2b8d8
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/Vulkan-Tools/+/522340
Reviewed-by: John Rosasco <rosasco@google.com>
Reviewed-by: John Bauman <jbauman@google.com>
1 file changed
tree: 3e1da4548734807e5c486f1473ba3ecea7da787a
  1. .github/
  2. build-android/
  3. build-gn/
  4. cmake/
  5. common/
  6. cube/
  7. external/
  8. icd/
  9. scripts/
  10. vulkaninfo/
  11. windows-runtime-installer/
  12. .clang-format
  13. .cmake-format.py
  14. .gitattributes
  15. .gitignore
  16. .gn
  17. BUILD.gn
  18. BUILD.md
  19. CMakeLists.txt
  20. CODE_OF_CONDUCT.md
  21. CONTRIBUTING.md
  22. GOVERNANCE.md
  23. LICENSE.txt
  24. mac_common.cmake
  25. README.fuchsia
  26. README.md
README.md

Vulkan Ecosystem Components

This project provides Khronos official Vulkan Tools and Utilities for Windows, Linux, Android, and MacOS.

CI Build Status

Build Status

Introduction

This project provides Vulkan tools and utilities that can assist development by enabling developers to verify their applications correct use of the Vulkan API.

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 the vkcube demo applications.

Version Tagging Scheme

Updates to the Vulkan-Tools repository which correspond to a new Vulkan specification release are tagged using the following format: v<version> (e.g., v1.1.96).

Note: Marked version releases have undergone thorough testing but do not imply the same quality level as SDK tags. SDK tags follow the sdk-<version>.<patch> format (e.g., sdk-1.1.92.0).

This scheme was adopted following the 1.1.96 Vulkan specification release.

License

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.

Acknowledgements

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.