-
由 Matt Pharr 提交于
This fixes the debug build on Windows on the GPU. (Release crashes with OptiX complaining about malformed PTX.) The issue is essentially the same as why *this is copied in GPU lambdas rather than being passed as a pointer; we are accessing the GPUPathIntegrator in read-only fashion from the CPU during rendering and with unified memory on Windows, it isn't allowed to concurrently access it on the GPU. This also fits with the data point that 82ace326 is when things first started crashing. Issues #41, #48, #72, #89 , and #96.
fdcaa3a8