Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2021-11-01 12:18:30 +0300
committerThomas Dinges <blender@dingto.org>2021-11-01 12:18:30 +0300
commit5327413b37760db2fd1b4457c4dd2db7eee50a8b (patch)
treee0e71f5ac6395a6fa5e48789fa2f90eef452a1e7 /intern/cycles/scene/image_oiio.cpp
parent289f013e644ad231b32bbc3144d0458b66a96841 (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.cpp2
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;
}