Blender Git Loki

Git Commits -> Revision ef7d3af

August 9, 2016, 09:33 (GMT)
Half Floats: Initial support for CUDA.

This is not working yet, due to an error on rendertime, I assume it's an error on reading the texture. If I render a scene, with the half float texture outside of the camera, it works.

* Enable half floats for Kepler cards (1024 for half and 1024 for half4)
* Use proper half data type for CUDA, don't declare our own.
* Change __float2half_rn to __float2half, which should be the same according to http://stackoverflow.com/questions/35198856/half-precision-difference-between-float2half-vs-float2half-rn

Commit Details:

Full Hash: ef7d3af938514d4dfb7d7c2376c8fa6720c45279
Parent Commit: db3e4d2
Lines Changed: +28, -10

6 Modified Paths:

/intern/cycles/device/device_cuda.cpp (+1, -0) (Diff)
/intern/cycles/kernel/kernel_compat_cuda.h (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm_image.h (+16, -3) (Diff)
/intern/cycles/render/image.cpp (+1, -1) (Diff)
/intern/cycles/util/util_half.h (+7, -4) (Diff)
/intern/cycles/util/util_texture.h (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021