tests: Re-enable changes to InitState()

The initial series was causing InitState() to be called
twice in tests using VKTriangleTest.

This is a combination of 4 commits:

  tests: Remove InitState from VKTriangleTest

  Revert "Revert "tests: Move device creation from Setup to InitState""
  This reverts commit 5690813b28260c0acbe54ed5f63a66b57d4f3eef.

  Revert "Revert "tests: Enable passing PhysicalDeviceFeatures to InitState""
  This reverts commit 5c61db858c9e83f6a25993ee6262bd5f1a817551.

  Revert "Revert "tests: Change IndependentBlend test to use new InitState parm""
  This reverts commit 24eca2239aab4a76fa2926e5e1fa48d2171c3e6a.
3 files changed
tree: c2c51b38bae577e7c2706021746343f4bea8736f
  1. build-android/
  2. cmake/
  3. common/
  4. include/
  5. layers/
  6. loader/
  7. tests/
  8. windowsRuntimeInstaller/
  9. .clang-format
  10. .gitignore
  11. BUILD.md
  12. build_windows_targets.bat
  13. CMakeLists.txt
  14. CONTRIBUTING.md
  15. COPYRIGHT.txt
  16. determine_vs_version.py
  17. generator.py
  18. genvk.py
  19. glslang_revert_a5c33d.patch.txt
  20. glslang_revision
  21. LICENSE.txt
  22. README.md
  23. reg.py
  24. source_line_info.py
  25. spirv-headers_revision
  26. spirv-tools_revision
  27. update_external_sources.bat
  28. update_external_sources.sh
  29. vk-generate.py
  30. vk-layer-generate.py
  31. vk-layer-introspect
  32. vk.xml
  33. vk_helper.py
  34. vk_layer_documentation_generate.py
  35. vulkan.py
README.md

Vulkan Ecosystem Components

This project provides Khronos official ICD loader and validation layers for Vulkan developers on Windows and Linux.

Introduction

Vulkan is an Explicit API, enabling direct control over how GPUs actually work. No (or very little) validation or error checking is done inside a Vulkan driver. Applications have full control and responsibility. Any errors in how Vulkan is used often result in a crash. This project provides standard validation layers that can be enabled to ease development by helping developers verify their applications correctly use the Vulkan API.

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

The following components are available in this repository:

Contributing

If you intend to contribute, the preferred work flow is for you to develop your contribution in a fork of this repo in your GitHub account and then submit a pull request. Please see the CONTRIBUTING file in this respository for more details

How to Build and Run

BUILD.md includes directions for building all the components, running the validation tests and running the 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.

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.