Blender Git Commit Log

Git Commits -> Revision 9b29f00

August 11, 2016, 10:54 (GMT)
Half Floats: Fix CUDA rendering

The issue was not in the kernel, but in the bindless mapping instead:
it was allocating space for 4096 slots only, causing writes past the
array boundaries to begin with and making kernel unable to fetch proper
bindless texture object to end with.

Using allocations based on the slot index plus some padding to avoid
too much re-allocations now. A bit weak and maybe allocating all slots
at once is the better alternative, but should let us to work fine for
the time being.

Commit Details:

Full Hash: 9b29f0095c030414029aa8872769ab2a59374279
Parent Commit: ef7d3af
Lines Changed: +6, -2

1 Modified Path:

/intern/cycles/device/device_cuda.cpp (+6, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021