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

..23-Aug-20164 KiB

_run_all_tests.ps123-Aug-2016429

_vkvalidatelayerdoc.ps123-Aug-2016993

CMakeLists.txt23-Aug-20162.5 KiB

gtest-1.7.0/23-Aug-20164 KiB

icd-spv.h23-Aug-20161.5 KiB

layer_validation_tests.cpp23-Aug-2016271.2 KiB

README-raster_tests23-Aug-20161.1 KiB

run_all_tests.sh23-Aug-2016366

test_common.h23-Aug-20167.3 KiB

test_environment.cpp23-Aug-20165.8 KiB

test_environment.h23-Aug-20162.2 KiB

vk_layer_settings.txt23-Aug-2016730

vkrenderframework.cpp23-Aug-201663.6 KiB

vkrenderframework.h23-Aug-201616.8 KiB

vktestbinding.cpp23-Aug-201627.6 KiB

vktestbinding.h23-Aug-201633.9 KiB

vktestframework.cpp23-Aug-201631 KiB

vktestframework.h23-Aug-20163.4 KiB

vktestframeworkandroid.cpp23-Aug-20162.8 KiB

vktestframeworkandroid.h23-Aug-20162.2 KiB

vkvalidatelayerdoc.sh23-Aug-2016650

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