kharon4/surrealRT

GPU pointer type change

Closed this issue · 0 comments

Change the pointers used for referencing mesh and meshC , for each mesh if there is one meshC , total size of each structure is 64 bytes, even if 2*10^9 triangles were on the GPU , that would require 128 GB. Hence use int (4 bytes) for addressing mesh and meshC instead of the standard 8 byte pointer.