We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a310ef4 commit 8fa430bCopy full SHA for 8fa430b
cuda_rasterizer/backward.cu
@@ -453,10 +453,11 @@ renderCUDA(
453
float dL_dpixel[C];
454
float dL_depth;
455
float accum_depth_rec = 0;
456
- if (inside)
+ if (inside){
457
for (int i = 0; i < C; i++)
458
dL_dpixel[i] = dL_dpixels[i * H * W + pix_id];
459
dL_depth = dL_depths[pix_id];
460
+ }
461
462
float last_alpha = 0;
463
float last_color[C] = { 0 };
0 commit comments