summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-09-07 17:27:18 -0700
committerPokechu22 <Pokechu022@gmail.com>2021-09-07 19:04:40 -0700
commit52c82733f6ba606de5d877c25b95828b73e668bd (patch)
tree8745fba2ca0705b0abb12750e0b8e29c5e9de2dd /Source/Core/Common/FileUtil.cpp
parent282fda1530545ad49c11a6093476be44785b4d14 (diff)
Use custom isnan implementation to avoid HLSL optimizer issues
This adjusts the NaN replacement logic introduced in #9928 to work around the HLSL compiler optimizing away calls to isnan, which caused that functionality to not work with ubershaders on D3D11 and D3D12 (it did work with specialized shaders, despite a warning being logged for both; that warning is also now gone). Note that the `D3DCOMPILE_IEEE_STRICTNESS` flag did not solve this issue, despite the warning suggesting that it might. Suggested by @kayru and @jamiehayes.
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
0 files changed, 0 insertions, 0 deletions