/
redgpu
/
Vulkan-LoaderAndValidationLayers
ОбзорДокументацияВойти
/
redgpu
/
Vulkan-LoaderAndValidationLayers
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
Vulkan-LoaderAndValidationLayers/
tests/
..
device_profiles

tests: Fix min image transfer granularity test

8 лет назад
layers

header: Update to version 1.1.74 of Vulkan hdr

8 лет назад
CMakeLists.txt

tests: Switch to submodule version of gtest

8 лет назад
README-raster_tests

Stage 1 of rename

11 лет назад
_run_all_tests.ps1

tests: Switch to submodule version of gtest

8 лет назад
_vkvalidatelayerdoc.ps1

scripts: Default doc validator to non-verbose mode

9 лет назад
icd-spv.h

repo: Clang-format LVL source files using Google

10 лет назад
layer_validation_tests.cpp

tests:Compare VkBool32 against VK_FALSE

8 лет назад
loader_validation_tests.cpp

tests: Fix loader test capitalization

8 лет назад
run_all_tests.sh

layers: Update VUIDs for 1.1

8 лет назад
run_extra_loader_tests.sh

tests: add implicit layer tests

10 лет назад
run_loader_tests.sh

tests: Update tests to remove duplicate slashes

8 лет назад
run_wrap_objects_tests.sh

tests: Change wrap objects test filter

9 лет назад
test_common.h

tests: Resolve gtest/xlib conflicts

8 лет назад
test_environment.cpp

tests: clang-format only

8 лет назад
test_environment.h

tests: clang-format only

8 лет назад
vk_layer_settings.txt

docs: Remove swapchain refs from docs/text files

9 лет назад
vk_layer_validation_tests.vcxproj.user

tests: Add user env for vlv test project

9 лет назад
vkrenderframework.cpp

tests: Fix some renderframework bugs

8 лет назад
vkrenderframework.h

tests: Add tests for indexed draw checking

8 лет назад
vktestbinding.cpp

layers: Add support for VK_EXT_descriptor_indexing

8 лет назад
vktestbinding.h

layers: Add support for VK_EXT_descriptor_indexing

8 лет назад
vktestframework.cpp

tests: clang-format only

8 лет назад
vktestframework.h

tests: Switch to submodule version of gtest

8 лет назад
vktestframeworkandroid.cpp

tests:Add "--devsim" option

9 лет назад
vktestframeworkandroid.h

tests: Add a guard around noexcept in vktestbinding.h

9 лет назад
vkvalidatelayerdoc.sh

scripts: Default doc validator to non-verbose mode

9 лет назад
README-raster_tests
To run the raster tests and just look for VK errors simply run them with no arguments or use the --gtest_filter=XglRasterTest.<testname> to run just one test. Running with --gtest_list_tests will name all of the available tests.
 
The raster tests can be run and the pixel results compared to known good (golden) images generated from previous runs. To generate golden images, make sure that the tests are rendering as expected, and then run with --save-images. This will generate .ppm files for all of the tests. Create a directory called "golden" and "mv *.ppm golden". When new tests are added to render_tests additional golden images will need to be generated for the new tests.
 
Then, to run comparing resulting images to the golden images, run with --compare-images. This too will generate .ppm images for all of the tests and if the image differs from the golden image at all, the test will fail and a <testname>-diff.ppm image will be generated in the same directory as the test images. So the result image and the diff image will be in the current directory and the golden image will be in the golden directory.