diff options
author | Patrick Mours <pmours@nvidia.com> | 2020-01-14 19:47:41 +0300 |
---|---|---|
committer | Patrick Mours <pmours@nvidia.com> | 2020-01-14 19:48:16 +0300 |
commit | ff430dea663521f742ff2f8f79b5d7f4978ecc04 (patch) | |
tree | 254dbe60866d25c495f82ca8f18a0843744df2a1 /source | |
parent | 4c1fb6412384b73c8900ce89462ee33a9609ad88 (diff) |
Fix rendering motion blur scenes with OptiX failing with CUDA_ERROR_INVALID_CONTEXT
Commit baeb11826b9fe5525db6dd05ba5271949079fc1e switched memory
allocation for the motion transform to use CUDA directly, instead of going
through abstractions. But no CUDA context was set active before those
were called, so the calls failed. This fixes that by binding a context beforehand.
Diffstat (limited to 'source')
0 files changed, 0 insertions, 0 deletions