Bugfix: upload stencil data in pipeline image util
authorMaciej Jesionowski <maciej.jesionowski@mobica.com>
Wed, 30 Nov 2016 11:37:01 +0000 (12:37 +0100)
committerPyry Haulos <phaulos@google.com>
Fri, 2 Dec 2016 18:54:40 +0000 (13:54 -0500)
commit46abca75bab000788fcc6289adfd3e668203d20f
tree53123bba91e7da3dfa0d7962dbaa0be9941924d0
parent7d12cb576c615d5a6fca96c0300d45bf61dbae32
Bugfix: upload stencil data in pipeline image util

Fixes:
- Upload stencil data to the image with mixed DS formats
- Respect 4 byte offset alignment for formats <4 bytes
- Fix some nonCoherentAtomSize validation errors

Affected tests:
- dEQP-VK.texture.shadow.*d16_unorm
- dEQP-VK.texture.shadow.*x8_d24_unorm_pack32
- dEQP-VK.texture.shadow.*d32_sfloat
- dEQP-VK.texture.shadow.*s8_uint
- dEQP-VK.texture.shadow.*d16_unorm_s8_uint
- dEQP-VK.texture.shadow.*d24_unorm_s8_uint
- dEQP-VK.texture.shadow.*d32_sfloat_s8_uint

Issue #556

Change-Id: I56c0e7eef9c1bfc82790eb8ba6e48b95dc65f521
external/vulkancts/modules/vulkan/pipeline/vktPipelineImageUtil.cpp
external/vulkancts/modules/vulkan/texture/vktTextureTestUtil.cpp