- Update get-mesa.sh to query dpkg --print-architecture to install the correct packages dynamically, enabling aarch64 support. - Update get-vulkan-sdk.sh to install via apt-get on Linux (libvulkan-dev, vulkan-validationlayers, glslang-tools, spirv-tools) instead of downloading LunarG's x86_64 tarball. - Add runner architecture to Mesa and Vulkan SDK GitHub Action cache keys to prevent collision. - Update test.sh and preamble.sh to detect aarch64 and point to the appropriate aarch64-linux-gnu libraries. - Fix typos and some renaming
Backend Tests
This directory (/test/backend) contains scripts to run Filament's backend tests using a software
rasterizer (Mesa). This is useful for running tests in a continuous integration environment where a
GPU might not be available.
The test.sh script will:
- Build Mesa if needed.
- Build the backend tests.
- Run the tests using the OpenGL and Vulkan backends with Mesa.
Flags
The test.sh script accepts the following flags:
--gtest_filter: Filters the tests that are run. This is passed directly to the underlying gtest executable.--backend: Specifies which backend to test. Can beopengl,vulkan, or a comma-separated list (e.g.,opengl,vulkan). Defaults to both.