Allow coarse derivatives to be calced by fine func
authorBoris Zanin <boris.zanin@mobica.com>
Tue, 27 Nov 2018 11:54:43 +0000 (12:54 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 14 Jan 2019 11:57:03 +0000 (06:57 -0500)
commit8e5bce47661cbe1540077c6507c6e21910dbe383
treed9c15b506fb1d569b6796a8fd12b784711aa2a62
parentb653a402ad91edb9980675c0287406e70c5b496b
Allow coarse derivatives to be calced by fine func

OpDPdxCoarse (OpDPdyCoarse) are allowed to be calculated by same
formulas as OpDPdxFine (OpDPdyFine).  Also due to OpFwidthCoarse
is described as sum of OpDPdxCoarse, OpDPdyCoarse allow it to be
calculated by OpFwidthFine.

Components: vulkan

VK-GL-CTS issue: 1452

Affects: dEQP-VK.spirv_assembly.instruction.graphics.float16.derivative_*.opdpdxcoarse

Change-Id: Ib91d813626e579309d3d9176d52b0954efa920d4
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp