This repository contains amber scripts to test changes and protect from regressions.
The check-amber
CMake target runs the amber scripts in this directory and
checks the CHECK lines against the dumped pipelines for each script.
The run_amber.py
script runs all amber scripts inside the amber
directory
without checking the FileCheck lines with dumps.
This needs a GPU with a working Vulkan driver and amber inside the PATH
.
The Vulkan driver can be set e.g. via VK_ICD_FILENAMES
.
The amber readme has instructions and examples on how to write amber scripts. It also contains a specification of the script format.
- Amber is distributed under the Apache License v2.0.