Merge pull request #773 from alexandret-unity/fix/srgb-based-on-image-view-format

sRGB enabled based on image view format
This commit is contained in:
Jon Leech 2018-09-03 06:04:25 -07:00 committed by GitHub
commit 2c1fd883e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ elink:VkFormat), using the appropriate equations in
<<textures-sexp-RGB,Shared Exponent to RGB>>. <<textures-sexp-RGB,Shared Exponent to RGB>>.
Signed integer components smaller than 32 bits are sign-extended. Signed integer components smaller than 32 bits are sign-extended.
If the image format is sRGB, the color components are first converted as if If the image view format is sRGB, the color components are first converted as if
they are UNORM, and then sRGB to linear conversion is applied to the R, G, they are UNORM, and then sRGB to linear conversion is applied to the R, G,
and B components as described in the "`sRGB EOTF`" section of the and B components as described in the "`sRGB EOTF`" section of the
<<data-format,Khronos Data Format Specification>>. <<data-format,Khronos Data Format Specification>>.