• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

gtest-1.7.0/22-Nov-2023-144,807103,431

CMakeLists.txtD22-Nov-20232.5 KiB8370

README-raster_testsD22-Nov-20231.1 KiB63

_run_all_tests.ps1D22-Nov-2023429 1711

_vkvalidatelayerdoc.ps1D22-Nov-2023993 3420

icd-spv.hD22-Nov-20231.5 KiB4311

layer_validation_tests.cppD22-Nov-2023271.2 KiB7,1365,442

run_all_tests.shD22-Nov-2023366 174

test_common.hD22-Nov-20237.3 KiB229155

test_environment.cppD22-Nov-20235.8 KiB170114

test_environment.hD22-Nov-20232.2 KiB6322

vk_layer_settings.txtD22-Nov-2023730 1514

vkrenderframework.cppD22-Nov-202363.6 KiB1,6851,310

vkrenderframework.hD22-Nov-202316.8 KiB456363

vktestbinding.cppD22-Nov-202327.6 KiB843613

vktestbinding.hD22-Nov-202333.9 KiB1,011756

vktestframework.cppD22-Nov-202331 KiB810651

vktestframework.hD22-Nov-20233.4 KiB11165

vktestframeworkandroid.cppD22-Nov-20232.8 KiB7036

vktestframeworkandroid.hD22-Nov-20232.2 KiB7031

vkvalidatelayerdoc.shD22-Nov-2023650 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