• Home
  • History
  • Annotate
  • only in /external/vulkan-validation-layers/tests/
NameDateSize

..29-Aug-20174 KiB

.clang-format29-Aug-2017133

_run_all_tests.ps129-Aug-2017831

_vkvalidatelayerdoc.ps129-Aug-20171,015

CMakeLists.txt29-Aug-20173.6 KiB

gtest-1.7.0/29-Aug-20174 KiB

icd-spv.h29-Aug-2017690

layer_validation_tests.cpp29-Aug-2017813.9 KiB

layers/29-Aug-20174 KiB

loader_validation_tests.cpp29-Aug-201726.7 KiB

README-raster_tests29-Aug-20171.1 KiB

run_all_tests.sh29-Aug-2017423

run_extra_loader_tests.sh29-Aug-20173.5 KiB

run_loader_tests.sh29-Aug-20172.6 KiB

run_wrap_objects_tests.sh29-Aug-20173.9 KiB

test_common.h29-Aug-20177 KiB

test_environment.cpp29-Aug-20175.3 KiB

test_environment.h29-Aug-20171.6 KiB

vk_layer_settings.txt29-Aug-2017624

vkrenderframework.cpp29-Aug-201762.8 KiB

vkrenderframework.h29-Aug-201716.8 KiB

vktestbinding.cpp29-Aug-201726.3 KiB

vktestbinding.h29-Aug-201731.5 KiB

vktestframework.cpp29-Aug-201733.7 KiB

vktestframework.h29-Aug-20172.8 KiB

vktestframeworkandroid.cpp29-Aug-20173.7 KiB

vktestframeworkandroid.h29-Aug-20171.6 KiB

vkvalidatelayerdoc.sh29-Aug-2017650

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