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/+/34048Tested-by:
Alexis Hétu <sugoi@google.com>
Presubmit-Ready: Alexis Hétu <sugoi@google.com>
Reviewed-by:
Chris Forbes <chrisforbes@google.com>
Showing
Please
register
or
sign in
to comment