Merge branch '51-renderpass_fix_membarrier_layouts' into 'master'
authorPyry Haulos <phaulos@google.com>
Tue, 8 Dec 2015 17:33:32 +0000 (12:33 -0500)
committerPyry Haulos <phaulos@google.com>
Tue, 8 Dec 2015 17:33:32 +0000 (12:33 -0500)
commit59eeab53911544fcc80f4c57a44ca4f628368f80
tree9701582a85f1b573a16c3a170702c483cfca9505
parentcde2ea4b731f1b37d765a5a07cc3e0d84420c142
parent00d994858ab64bb5e1c6cb534bb049dcbb9269de
Merge branch '51-renderpass_fix_membarrier_layouts' into 'master'

dEQP-VK.renderpass: fix barriers -  COLOR layouts were used for DS images and DS ayout were used for COLOR images

This fixes issue #51.

The test randomizes 'initialLayout' and 'finalizeLayout' variables, that are later used as oldLayout and newLayout in image memory barrier.

Given current test design, it is possible to get COLOR-related layout for depth or depth stencil or stencil image, and vice-versa.

The fix changes the contents of the arrays given variables are randomized from.

See merge request !106