• Home
Name Date Size #Lines LOC

..--

gtest-1.7.0/07-May-2024-144,807103,431

CMakeLists.txtD07-May-20242.5 KiB8370

README-raster_testsD07-May-20241.1 KiB63

_run_all_tests.ps1D07-May-2024429 1711

_vkvalidatelayerdoc.ps1D07-May-2024993 3420

icd-spv.hD07-May-20241.5 KiB4311

layer_validation_tests.cppD07-May-2024271.2 KiB7,1365,442

run_all_tests.shD07-May-2024366 174

test_common.hD07-May-20247.3 KiB229155

test_environment.cppD07-May-20245.8 KiB170114

test_environment.hD07-May-20242.2 KiB6322

vk_layer_settings.txtD07-May-2024730 1514

vkrenderframework.cppD07-May-202463.6 KiB1,6851,310

vkrenderframework.hD07-May-202416.8 KiB456363

vktestbinding.cppD07-May-202427.6 KiB843613

vktestbinding.hD07-May-202433.9 KiB1,011756

vktestframework.cppD07-May-202431 KiB810651

vktestframework.hD07-May-20243.4 KiB11165

vktestframeworkandroid.cppD07-May-20242.8 KiB7036

vktestframeworkandroid.hD07-May-20242.2 KiB7031

vkvalidatelayerdoc.shD07-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