diff options
author | Thomas Dinges <blender@dingto.org> | 2021-11-01 12:18:30 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2021-11-01 12:18:30 +0300 |
commit | 5327413b37760db2fd1b4457c4dd2db7eee50a8b (patch) | |
tree | e0e71f5ac6395a6fa5e48789fa2f90eef452a1e7 /intern/cycles/scene/image_oiio.cpp | |
parent | 289f013e644ad231b32bbc3144d0458b66a96841 (diff) |
Cleanup: Remove Cycles device checks for half float.
All supported devices support half float now, so we can remove the check.
Differential Revision: https://developer.blender.org/D13021
Diffstat (limited to 'intern/cycles/scene/image_oiio.cpp')
-rw-r--r-- | intern/cycles/scene/image_oiio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/scene/image_oiio.cpp b/intern/cycles/scene/image_oiio.cpp index feafae035a1..68ab9b7a997 100644 --- a/intern/cycles/scene/image_oiio.cpp +++ b/intern/cycles/scene/image_oiio.cpp @@ -76,7 +76,7 @@ bool OIIOImageLoader::load_metadata(const ImageDeviceFeatures &features, ImageMe } /* check if it's half float */ - if (spec.format == TypeDesc::HALF && features.has_half_float) { + if (spec.format == TypeDesc::HALF) { is_half = true; } |