Add --deqp-validation=enable/disable option
authorPyry Haulos <phaulos@google.com>
Tue, 29 Mar 2016 00:35:44 +0000 (17:35 -0700)
committerPyry Haulos <phaulos@google.com>
Mon, 4 Apr 2016 19:47:20 +0000 (12:47 -0700)
commit501ac7ba5259b7e9f6d107fe1bed304886ef7e12
tree5b19955b34fedc754a03e28378384032419b99aa
parent55378cabd32d93151fe0396bb98fe457d70d201f
Add --deqp-validation=enable/disable option

Specifying --deqp-validation=enable when running Vulkan tests will
result in:

1) vkt::TestCaseExecutor will create debug report callback on default
instance. Any debug messages reported during test execution will be
included as a separate log section in the test log.

2) vkt::Context will enable known validation layers on both default
instance as well as default device.

If any errors are reported (for example validation errors) test result
will be set to InternalError.

Change-Id: Icc89a3f57f0c19170988d7b518fe6b24dcf3df6e
external/vulkancts/framework/vulkan/vkDebugReportUtil.cpp
external/vulkancts/framework/vulkan/vkDebugReportUtil.hpp
external/vulkancts/framework/vulkan/vkQueryUtil.cpp
external/vulkancts/framework/vulkan/vkQueryUtil.hpp
external/vulkancts/modules/vulkan/vktTestCase.cpp
external/vulkancts/modules/vulkan/vktTestPackage.cpp
framework/common/tcuCommandLine.cpp
framework/common/tcuCommandLine.hpp