Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
gtest-1.7.0/ | 03-May-2024 | - | 144,816 | 103,438 | ||
layers/ | 03-May-2024 | - | 1,970 | 1,552 | ||
.clang-format | D | 03-May-2024 | 133 | 7 | 6 | |
CMakeLists.txt | D | 03-May-2024 | 3.6 KiB | 105 | 91 | |
README-raster_tests | D | 03-May-2024 | 1.1 KiB | 6 | 3 | |
_run_all_tests.ps1 | D | 03-May-2024 | 831 | 32 | 18 | |
_vkvalidatelayerdoc.ps1 | D | 03-May-2024 | 1,015 | 35 | 20 | |
icd-spv.h | D | 03-May-2024 | 690 | 30 | 11 | |
layer_validation_tests.cpp | D | 03-May-2024 | 813.9 KiB | 19,243 | 14,929 | |
loader_validation_tests.cpp | D | 03-May-2024 | 26.7 KiB | 734 | 521 | |
run_all_tests.sh | D | 03-May-2024 | 423 | 19 | 5 | |
run_extra_loader_tests.sh | D | 03-May-2024 | 3.5 KiB | 107 | 79 | |
run_loader_tests.sh | D | 03-May-2024 | 2.6 KiB | 89 | 71 | |
run_wrap_objects_tests.sh | D | 03-May-2024 | 3.9 KiB | 135 | 102 | |
test_common.h | D | 03-May-2024 | 7 KiB | 172 | 105 | |
test_environment.cpp | D | 03-May-2024 | 5.3 KiB | 162 | 113 | |
test_environment.h | D | 03-May-2024 | 1.6 KiB | 56 | 22 | |
vk_layer_settings.txt | D | 03-May-2024 | 624 | 13 | 12 | |
vkrenderframework.cpp | D | 03-May-2024 | 62.8 KiB | 1,589 | 1,188 | |
vkrenderframework.h | D | 03-May-2024 | 16.8 KiB | 430 | 342 | |
vktestbinding.cpp | D | 03-May-2024 | 26.3 KiB | 758 | 532 | |
vktestbinding.h | D | 03-May-2024 | 31.5 KiB | 856 | 612 | |
vktestframework.cpp | D | 03-May-2024 | 33.7 KiB | 775 | 623 | |
vktestframework.h | D | 03-May-2024 | 2.8 KiB | 103 | 64 | |
vktestframeworkandroid.cpp | D | 03-May-2024 | 3.7 KiB | 96 | 59 | |
vktestframeworkandroid.h | D | 03-May-2024 | 1.6 KiB | 59 | 27 | |
vkvalidatelayerdoc.sh | D | 03-May-2024 | 650 | 35 | 23 |
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