Fix stencil data unpacking in dEQP-VK.fragment_operations test
authorSlawomir Cygan <slawomir.cygan@intel.com>
Tue, 28 Sep 2021 15:37:46 +0000 (17:37 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 1 Oct 2021 23:12:53 +0000 (23:12 +0000)
commit5953e1569ee4ef1ef0c90f8460ad2fa1076d8ac5
tree522779212b79066929abd925b7c53de603121075
parentee6a7b870710fa5ea2e065c29b64cf6adae292d1
Fix stencil data unpacking in dEQP-VK.fragment_operations test

The test copies only one aspect (depth or stencil, not both) of the image
to the buffer, so host unpacking code should not use combinded DS format
 - instead S8_UIN format should be used in stencil tests.

The problem occurs in stencil tests, on implementations not supporing
S8_UINT format, where D+S format is used.

Components: Vulkan

VK-GL-CTS Issue: 3160

Affects: dEQP-VK.fragment_operations.*stencil

Change-Id: I27b69c02ebf08fa19f512cdd786ebe596d91cfeb
external/vulkancts/modules/vulkan/fragment_ops/vktFragmentOperationsEarlyFragmentTests.cpp