Blender Git Loki

Git Commits -> Revision 226eb5e

Revision 226eb5e by Sergey Sharybin (master)
January 22, 2021, 13:31 (GMT)
Cycles: Fix usage of double floating precision in CNanoVDB

Double floating point precision is an extension of OpenCL, which might
not be implemented by certain drivers, such as Intel Xe graphics.

Cycles does not use double floating point precision, and there is no
need on keeping doubles unless there is an explicit decision to use
them.

This is a simple fix from Cycles side to replace double floating point
type with a type of same size and alignment rules. Inspired by Brecht
and Patrick.

Tested on NVidia Titan V, Radeon RX Vega M, and TGL laptop.

Differential Revision: https://developer.blender.org/D10143

Commit Details:

Full Hash: 226eb5e3668699e7b1d9c985a2b79ac49020befc
Parent Commit: 6449765
Lines Changed: +13, -0

1 Modified Path:

/intern/cycles/kernel/kernels/opencl/kernel_opencl_image.h (+13, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021