Added optimization avoiding shader disassembly
authorJari Komppa <jari.komppa@siru.fi>
Fri, 2 Feb 2018 13:00:22 +0000 (15:00 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 8 Feb 2018 12:44:12 +0000 (07:44 -0500)
commitec2837040a7b3ca5d4ef64ee6b24735a150358f1
treed1757353b8da07a1e45814ce2b6d815a1648733f
parentad1105f05fb79291e84402372a3ca4edb3544714
Added optimization avoiding shader disassembly

This change avoids disassembling shaders if the
--deqp-log-shader-sources=disable option is used.

The default functionality disassembles everything and discards the
result if the shader source logging is disabled. This change skips the
disassembly too.

The performance gain for this is approximately 10% of runtime.

The timings are based on assumption of debug build and having the
shader cache with zero cache misses.

Affects:

none

Components: Framework

Vk-GL-CTS isue: 899

Change-Id: I36eda000a94400d8f50a565c7ef30f4170d51c83
external/vulkancts/modules/vulkan/vktTestPackage.cpp
framework/common/tcuTestLog.cpp
framework/common/tcuTestLog.hpp