diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-01-20 13:18:40 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-01-22 16:31:06 +0300 |
commit | 226eb5e3668699e7b1d9c985a2b79ac49020befc (patch) | |
tree | 3edbaf9cd95e0bcf0e48cf9de9e79b85da47bca2 /source/blender/blenkernel/intern/armature.c | |
parent | 644976548d59fd77593dc2ab91700a52ff17cc0b (diff) |
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
Diffstat (limited to 'source/blender/blenkernel/intern/armature.c')
0 files changed, 0 insertions, 0 deletions