• Home
Name Date Size #Lines LOC

..--

gtest-1.7.0/03-May-2024-144,816103,438

layers/03-May-2024-1,9701,552

.clang-formatD03-May-2024133 76

CMakeLists.txtD03-May-20243.6 KiB10591

README-raster_testsD03-May-20241.1 KiB63

_run_all_tests.ps1D03-May-2024831 3218

_vkvalidatelayerdoc.ps1D03-May-20241,015 3520

icd-spv.hD03-May-2024690 3011

layer_validation_tests.cppD03-May-2024813.9 KiB19,24314,929

loader_validation_tests.cppD03-May-202426.7 KiB734521

run_all_tests.shD03-May-2024423 195

run_extra_loader_tests.shD03-May-20243.5 KiB10779

run_loader_tests.shD03-May-20242.6 KiB8971

run_wrap_objects_tests.shD03-May-20243.9 KiB135102

test_common.hD03-May-20247 KiB172105

test_environment.cppD03-May-20245.3 KiB162113

test_environment.hD03-May-20241.6 KiB5622

vk_layer_settings.txtD03-May-2024624 1312

vkrenderframework.cppD03-May-202462.8 KiB1,5891,188

vkrenderframework.hD03-May-202416.8 KiB430342

vktestbinding.cppD03-May-202426.3 KiB758532

vktestbinding.hD03-May-202431.5 KiB856612

vktestframework.cppD03-May-202433.7 KiB775623

vktestframework.hD03-May-20242.8 KiB10364

vktestframeworkandroid.cppD03-May-20243.7 KiB9659

vktestframeworkandroid.hD03-May-20241.6 KiB5927

vkvalidatelayerdoc.shD03-May-2024650 3523

README-raster_tests

1To 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.
2
3The 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.
4
5Then, 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.
6