Skip to content

Commit

Permalink
remove debug info in shaders.cu
Browse files Browse the repository at this point in the history
  • Loading branch information
lcp29 committed Feb 15, 2024
1 parent f448905 commit 1d88a83
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion triro/backend/shaders.cu
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ extern "C" __global__ void __raygen__intersectsLocation() {
optixTrace(launchParams.traversable, ray_origin, ray_dir, 0., 1e7, 0,
OptixVisibilityMask(255), OPTIX_RAY_FLAG_NONE, 0, 0, 0, u0, u1);
// fill global buffer
printf("idx: %d, hitcount: %d, globalIdx: %d\n", idx, hitCount, globalIdx);
for (int i = 0; i < hitCount; i++) {
launchParams.results.rayIdx[globalIdx + i] = idx;
launchParams.results.triIdx[globalIdx + i] = payload.terms[i].triIdx;
Expand Down

0 comments on commit 1d88a83

Please sign in to comment.