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