Set correct range for OpVectorTimesScalar tests
authorStephen Clarke <stephen.clarke@imgtec.com>
Fri, 21 Dec 2018 12:38:35 +0000 (12:38 +0000)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 10 Jan 2019 09:56:30 +0000 (04:56 -0500)
commit12b26bd9762dd56068522cc0a17b26c9e31df1e2
treefbb96e4206e2e028f9ee1c96e1f3ebba0b289548
parent215b2e3f4424e4568cb19c290d82fe7c48cb1b8b
Set correct range for OpVectorTimesScalar tests

The min[] and max[] values should be based on the result in double precision, not after it has been converted to fp16type.

Affects:

dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic_2.opvectortimesscalar
dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic_3.opvectortimesscalar
dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic_4.opvectortimesscalar
dEQP-VK.spirv_assembly.instruction.graphics.float16.arithmetic_2.opvectortimesscalar*
dEQP-VK.spirv_assembly.instruction.graphics.float16.arithmetic_3.opvectortimesscalar*
dEQP-VK.spirv_assembly.instruction.graphics.float16.arithmetic_4.opvectortimesscalar*

Components: Vulkan

VK-GL-CTS issue: 1532
Change-Id: I30810c8c954ee899bb05602b1f8805f82ac021b3
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp