[GPU] Add IsSRGBCapable default case.
This commit is contained in:
parent
c233eabeda
commit
cddfa26bae
|
@ -211,8 +211,9 @@ inline bool IsSRGBCapable(TextureFormat format) {
|
||||||
case TextureFormat::k_10_11_11_AS_16_16_16_16:
|
case TextureFormat::k_10_11_11_AS_16_16_16_16:
|
||||||
case TextureFormat::k_11_11_10_AS_16_16_16_16:
|
case TextureFormat::k_11_11_10_AS_16_16_16_16:
|
||||||
return true;
|
return true;
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inline TextureFormat ColorFormatToTextureFormat(ColorFormat color_format) {
|
inline TextureFormat ColorFormatToTextureFormat(ColorFormat color_format) {
|
||||||
|
|
Loading…
Reference in New Issue