Fix for rendering being too dark
Fix for rendering being too dark

Using a non SRGB format with VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
yields a resulting image in the wrong color space. Making sure
a surface format where format and color space are both SRGB
fixes the issue.

Bug b/137088174

Change-Id: I934e6b60afe5f65d22832162e48aecef773627e8
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/34048
Tested-by: Alexis Hétu <1c7141772178a7e80858c3db5052b328076f08f4@google.com>
Presubmit-Ready: Alexis Hétu <1c7141772178a7e80858c3db5052b328076f08f4@google.com>
Reviewed-by: Chris Forbes <c3279c50043e18e9442c1ae071cafa0e7a4ca967@google.com>

bkaradzic/SwiftShader,bkaradzic/SwiftShader,bkaradzic/SwiftShader,google/swiftshader,google/swiftshader,google/swiftshader,bkaradzic/SwiftShader,bkaradzic/SwiftShader