Adjust the result verification in loop_control tests
authorSlawomir Cygan <slawomir.cygan@intel.com>
Tue, 10 Oct 2017 16:13:51 +0000 (18:13 +0200)
committerSlawomir Cygan <slawomir.cygan@intel.com>
Tue, 10 Oct 2017 16:22:23 +0000 (18:22 +0200)
Change epsilon value to 0.001f

Component: Vulkan
VK-GL-CTS issue: 742
Affects: dEQP-VK.spirv_assembly.instruction.compute.loop_control.*

Change-Id: I4601e026e53a2b4256f77b690c6938ac53d5991b

external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmComputeShaderTestUtil.cpp

index cc2f1d349763bc612f21663bb5ca334ed43a75d0..c8ec1572aafe6c1fbe0c74b3e4d0060cb64a514f 100644 (file)
@@ -117,7 +117,7 @@ const char* getComputeAsmInputOutputBufferTraits (void)
 
 bool verifyOutput (const std::vector<BufferSp>&, const std::vector<AllocationSp>& outputAllocs, const std::vector<BufferSp>& expectedOutputs, tcu::TestLog& log)
 {
-       const float     epsilon = 0.00001f;
+       const float     epsilon = 0.001f;
        return verifyOutputWithEpsilon(outputAllocs, expectedOutputs, log, epsilon);
 }