mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-23 21:10:11 +00:00
Update DirectXTexConvert.cpp
Conversion logic for WIC vs. non-WIC update for new flags.
This commit is contained in:
parent
e61095099e
commit
691e4e5b04
@ -4458,6 +4458,12 @@ namespace
|
||||
return false;
|
||||
}
|
||||
|
||||
if (filter & (TEX_FILTER_FLOAT16_SATURATE_TO_INF | TEX_FILTER_FLOAT16_KEEP_NANS))
|
||||
{
|
||||
// Float16 specials preservation not supported by WIC code paths
|
||||
return false;
|
||||
}
|
||||
|
||||
// Check for special cases
|
||||
#if (defined(_XBOX_ONE) && defined(_TITLE)) || defined(_GAMING_XBOX)
|
||||
if (sformat == DXGI_FORMAT_R16G16B16A16_FLOAT
|
||||
|
Loading…
Reference in New Issue
Block a user