Open Robadob opened 2 years ago
https://developer.nvidia.com/blog/cuda-pro-tip-kepler-texture-objects-improve-performance-and-flexibility/
GL interop implementation can be found here: https://github.com/FLAMEGPU/FLAMEGPU2-visualiser/blob/master/src/flamegpu/visualiser/util/cuda.cu (iirc one of the final labs covers GL interop)
9 and #10 suppress the compiler warnings, however the content surrounding texture memory should be updated to the modern bindless texture API. This would need updating in lectures notes too, so can't be resolved mid-semester.