Do not use SFR bindings when device group has 1 device
authorVikram Kushwaha <vkushwaha@nvidia.com>
Wed, 18 Oct 2017 19:55:03 +0000 (12:55 -0700)
committerVikram Kushwaha <vkushwaha@nvidia.com>
Wed, 18 Oct 2017 19:55:03 +0000 (12:55 -0700)
commit5b36c7b5b93b470ed4b20199976a58a625471a63
treeb183a6ed549d840d9ae7e9d9b65f8eb58b01ae00
parent15c47384395c0330d13b1dd91ab9f9a5564970fc
Do not use SFR bindings when device group has 1 device

As per the spec, when device group has 1 device:
sfrRects must not be specified
image create flag should not contain the BIND_SFR_BIT

Also use peer memory reads if VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT
is supported. This saves an additionaly copy in the test.

VK-GL-CTS issue: 779

Change-Id: Ic316fc8858886f99156dc1b9c0a0810b3f48e714
Affects: dEQP-VK.device_group.sfr*
Components: Vulkan
external/vulkancts/modules/vulkan/device_group/vktDeviceGroupRendering.cpp