Fix validation layer error for ClearImage benchmarks
Fix validation layer error for ClearImage benchmarks

An image layout transition is necessary before images can be used by
the device.

VUID-VkImageCreateInfo-initialLayout-00993 states that "initialLayout
must be VK_IMAGE_LAYOUT_UNDEFINED or VK_IMAGE_LAYOUT_PREINITIALIZED".

VUID-vkCmdClearColorImage-imageLayout-00005 states that
"imageLayout must be VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL or
.K_IMAGE_LAYOUT_GENERAL"

Bug: b/158231104
Change-Id: I91859af9d6a5c8ed7c0e78eb068bc6d763ccde98
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/62210
Kokoro-Result: kokoro <2ac7b1f3fa578934c95181d4272be0d3bca00121@google.com>
Tested-by: Nicolas Capens <51edc787c30f24c4904e8ffbb5523c3a9f7a451d@google.com>
Reviewed-by: Alexis Hétu <1c7141772178a7e80858c3db5052b328076f08f4@google.com>

google/swiftshader,google/swiftshader,google/swiftshader