Synodic-Software / Soul-Engine

Physically based renderer and simulation engine for real-time applications.
GNU General Public License v3.0
42 stars 24 forks source link

Job Result Memory to Surface #99

Closed Behemyth closed 7 years ago

Behemyth commented 7 years ago

Modify the RayJob results to reside in texture memory instead of global memory. Should get a performance increase and allow better filtering.

Behemyth commented 7 years ago

Surface memory exists as cudaArrays. This memory is not atomically modifiable. They do not have coherent access if it has been written to in the same kernel. This means that we will have to use global memory with custom locality indexing.