Skip to content

gfxstream: Build Vulkan Validation Layers from source - #179

Open
GOOG-sergiu wants to merge 1 commit into
google:mainfrom
GOOG-sergiu:vvl_build
Open

gfxstream: Build Vulkan Validation Layers from source#179
GOOG-sergiu wants to merge 1 commit into
google:mainfrom
GOOG-sergiu:vvl_build

Conversation

@GOOG-sergiu

Copy link
Copy Markdown
Collaborator
  • Add BUILD rules for Vulkan-ValidationLayers, Vulkan-Utility-Libraries, and Vulkan-Headers to build libVkLayer_khronos_validation from third-party source.
  • Export SPIRV-Tools and SPIRV-Headers module dependencies for VVL, generating tables on demand without checking in pre-generated files.
  • Add vulkan_headers alias in third_party/vulkan pointing to external vulkan-headers SDK 1.4.335.0.
  • Add update_prebuilts.sh script and update_prebuilts bazel target to automate building and copying validation layer binaries to prebuilts.
  • Include built validation layer targets in end2end test data.

Test: bazel build //third_party/vvl:VkLayer_khronos_validation //third_party/vvl:VkLayer_khronos_validation_json
Test: bazel test host:gfxstream_framebuffer_tests host/vulkan:gfxstream_compositorvk_tests
Bug: 534743356

@GOOG-sergiu
GOOG-sergiu force-pushed the vvl_build branch 2 times, most recently from 9d4fcd3 to 62a4552 Compare September 2, 2026 14:42
- Add BUILD rules for Vulkan-ValidationLayers, Vulkan-Utility-Libraries,
  and Vulkan-Headers pinned to vulkan-sdk-1.4.357.0.
- Interoperate with existing SPIRV-Tools and SPIRV-Headers dependencies
  without modifying their configurations or checking in generated files.
- Add vulkan_headers alias in third_party/vulkan pointing to external
  vulkan-headers SDK 1.4.357.0.
- Include built validation layer targets in end2end test data.

Test: bazel build //third_party/vvl:VkLayer_khronos_validation //third_party/vvl:VkLayer_khronos_validation_json
Test: bazel test host:gfxstream_framebuffer_tests host/vulkan:gfxstream_compositorvk_tests
Bug: 534743356
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant