All supported devices support half float now, so we can remove the flag to check for it.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Not only all devices does now support half-floats, I don't think we should aim support of possible new devices which don't have half-float support since it will get in a way with some planned memory optimizations.
There seems to be a mistake in the assert statement though.
| intern/cycles/scene/image.cpp | ||
|---|---|---|
| 358–359 | Doesn't seem correct to me: the features.has_half_float is true, so the short-circuited assert before the change would be assert(true). Seems the assert can simply be removed. Otherwise it "forbids" using half-float images. | |