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:
commit
2c1fd883e0
|
@ -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>>.
|
||||||
|
|
Loading…
Reference in New Issue