• Home
Name
Date
Size
#Lines
LOC

..--

device_profiles/03-May-2024-10,50110,501

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

layers/03-May-2024-2,5571,977

CMakeLists.txtD03-May-20245.3 KiB149130

README-raster_testsD03-May-20241.1 KiB63

_run_all_tests.ps1D03-May-20241.1 KiB4025

_vkvalidatelayerdoc.ps1D03-May-20241.3 KiB4327

icd-spv.hD03-May-2024688 3011

layer_validation_tests.cppD03-May-20241.2 MiB27,30421,437

loader_validation_tests.cppD03-May-202468.1 KiB1,7331,295

run_all_tests.shD03-May-2024423 195

run_extra_loader_tests.shD03-May-20243.5 KiB10779

run_loader_tests.shD03-May-20245.1 KiB146113

run_wrap_objects_tests.shD03-May-20245.1 KiB159120

test_common.hD03-May-20246.8 KiB172105

test_environment.cppD03-May-20245.2 KiB158110

test_environment.hD03-May-20241.7 KiB5622

vk_layer_settings.txtD03-May-2024436 98

vk_layer_validation_tests.vcxproj.userD03-May-20242.2 KiB3535

vkrenderframework.cppD03-May-202467 KiB1,5761,207

vkrenderframework.hD03-May-202418.2 KiB460355

vktestbinding.cppD03-May-202427 KiB769542

vktestbinding.hD03-May-202436.9 KiB986721

vktestframework.cppD03-May-202430.2 KiB776622

vktestframework.hD03-May-20242.8 KiB10263

vktestframeworkandroid.cppD03-May-20243.8 KiB9659

vktestframeworkandroid.hD03-May-20241.6 KiB5726

vkvalidatelayerdoc.shD03-May-2024925 4329

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