Add ModfStruct and FrexpStruct to GLSL precision tests
authorRicardo Garcia <rgarcia@igalia.com>
Thu, 19 Mar 2020 08:01:13 +0000 (09:01 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 25 Jun 2020 12:42:11 +0000 (08:42 -0400)
commit84a406a003a155c04a18c29a80c1216e68c919c3
treeb02ce98417850fef9e55643f0c007ffd10855dfb
parent52b52b8130e55ea0687a0346189891c352411456
Add ModfStruct and FrexpStruct to GLSL precision tests

This commit adds scalar and vectorized versions of precision tests to
check the ModfStruct and FrexpStruct extended instructions from
GLSL.std.450.

In addition, Modf tests also gain vectorized versions, compared to
scalar-only versions available previously.

New tests:
dEQP-VK.glsl.builtin.precision*.modfstruct.*
dEQP-VK.glsl.builtin.precision*.modf.*
dEQP-VK.glsl.builtin.precision*.frexpstruct.*

Affected tests:
dEQP-VK.glsl.builtin.precision*.frem.*
dEQP-VK.glsl.builtin.precision*.comparison.*
dEQP-VK.glsl.builtin.precision*.modfstruct.*

Components: Vulkan
VK-GL-CTS issue: 2296

Change-Id: I29b902ffec0a93a8cb13c30a440da008cce850f2
android/cts/master/src/vk-master-2019-03-01.txt
android/cts/master/vk-master-2019-03-01.txt
android/cts/master/vk-master-2020-03-01.txt
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/shaderexecutor/vktShaderBuiltinPrecisionTests.cpp
external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.hpp
external/vulkancts/mustpass/master/vk-default.txt