Initialize output buffer in fragment_shader_interlock tests
authorJeff Bolz <jbolz@nvidia.com>
Fri, 13 Sep 2019 19:57:48 +0000 (14:57 -0500)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 19 Sep 2019 15:43:58 +0000 (11:43 -0400)
commit53f98d042edeeb75b7a55f21a6203ce1b5bc0136
tree5d608fe02cb41e59c9a3728c2113dec0a8881a3b
parent6500c70cbbbf32709a80417f1a54b35e568fd9d7
Initialize output buffer in fragment_shader_interlock tests

In discard tests, not all output elements are written by the shader.
Clear the output buffer to zero to match what the test expects. The
output image was already being cleared.

Components: Vulkan
VK-GL-CTS issue: 2004
Affects: dEQP-VK.fragment_shader_interlock.*

Change-Id: Ie1049765ec4b7187b39e3d46261e9abef9f5104d
(cherry picked from commit 7b1cb5b16f44bd9598a2bc4726e78f7c13c84ea7)
external/vulkancts/modules/vulkan/fragment_shader_interlock/vktFragmentShaderInterlockBasic.cpp