Reduce memory usage in point size clamping tests
authorToni Merilehti <toni.merilehti@siru.fi>
Tue, 19 Mar 2019 14:38:16 +0000 (16:38 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 28 Mar 2019 11:15:16 +0000 (07:15 -0400)
commitfff1669b6f2f1bea51d47614fbd41571b4cb68a0
tree801f28cc326fb66036d63a31b7a9d26d255d4d60
parent3ce629841becb3498deb196975f0599deeb5186b
Reduce memory usage in point size clamping tests

Win32 builds running dEQP-VK.rasterization.primitive_size.points.*
caused resource errors when using 16384 x 16384 render targes due to
large memory allocations.

This optimization changes the rendering format from R8G8B8A8 to
a single-channel format R8_UNORM, reduces the sizes of the render
targets on the last two test cases to 10240 x 10240 and 9216 x 9216,
and removes one unnecessary result buffer copy to reduce memory
allocation.

Affects:

dEQP-VK.rasterization.primitive_size.points.*

Components: Vulkan

VK-GL-CTS issue: 1649

Change-Id: I5d9f435961f0cd56f8b520ac7e98cece1d4f73d7
external/vulkancts/modules/vulkan/rasterization/vktRasterizationTests.cpp