dEQP-VK.geometry: use proper layout for sampling the image
authorSlawomir Cygan <slawomir.cygan@intel.com>
Wed, 30 Aug 2017 13:36:27 +0000 (15:36 +0200)
committerSlawomir Cygan <slawomir.cygan@intel.com>
Wed, 30 Aug 2017 13:40:54 +0000 (15:40 +0200)
commite03c6fcbed3e523c2792c0862679fda87a8dda6a
treee62adb5ebe37a86a6179f3a984defe94b67e77fb
parent0369fce9a84f1000e37ab9fa01f24aea38865973
dEQP-VK.geometry: use proper layout for sampling the image

While 'GENERAL' layout is acceptable layout for sampling image, the barrier in
geometry\vktGeometryBasicGeometryShaderTests.cpp:235
transitions the image to `SHADER_READ_ONLY_OPTIMAL` layout.

Both layout must much, otherwise the behavior is undefined.

Affects:
dEQP-VK.geometry.basic.output_vary_by_texture_instancing
dEQP-VK.geometry.basic.output_vary_by_texture

Components: Vulkan

VK-GL-CTS issue: 648

Change-Id: I2b947a150173f0a060cfbf851d117ef91097c1d8
external/vulkancts/modules/vulkan/geometry/vktGeometryBasicGeometryShaderTests.cpp