mondus / com4521

Lab source and solutions for COM4521 and COM6521
4 stars 7 forks source link

Lab 5 Ex 3 uses deprecated Texture API #11

Open Robadob opened 2 years ago

Robadob commented 2 years ago

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.

Robadob commented 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)