makeFramebufferWithoutAttachments creates invalid framebuffer
authorAlex Walters <alex.walters@imgtec.com>
Thu, 27 Apr 2017 09:24:08 +0000 (10:24 +0100)
committerAlex Walters <alex.walters@imgtec.com>
Thu, 27 Apr 2017 09:24:08 +0000 (10:24 +0100)
commit8c6859a60e7648a2dbfa192908e41f464e11ccd7
treef1e20ab61ea4b968d651cb581c443cf51df86c9a
parent50405c2b626c597cd17ac5990c69b37d0f326de4
makeFramebufferWithoutAttachments creates invalid framebuffer

Current behaviour of setting width, height, and layers to zero is
invalid. The validity language specifies that width, height, and
layers must be > 0.

The same function exists in the utils files for sparse_resources
and synchronization tests, I've removed the unused copies.

Affects:

dEQP-VK.tessellation*

Components: Vulkan

VK-GL-CTS issue: 265

(cherry picked from commit bce45b549d21f068a75d005fe55bd87460b5df29)

Change-Id: I7e6196944b1197ca3ce2d16ff17623e6e9bcfae7
external/vulkancts/modules/vulkan/synchronization/vktSynchronizationUtil.cpp
external/vulkancts/modules/vulkan/synchronization/vktSynchronizationUtil.hpp
external/vulkancts/modules/vulkan/tessellation/vktTessellationUtil.cpp