Skip to content

Commit e6c50ac

Browse files
author
kevyuu
committed
Fix raytrace hit shader
1 parent 5287dab commit e6c50ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

71_RayTracingPipeline/app_resources/raytrace.rchit.hlsl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ float32_t3 fetchVertexNormal(int instID, int primID, STriangleGeomInfo geom, flo
3737
}
3838
}
3939

40-
const uint64_t normalVertexBufferAddress = geom.normalBufferAddress;
41-
float3 n0, n1, n2;
40+
const uint64_t normalBufferAddress = geom.normalBufferAddress;
4241

4342
float3 n0, n1, n2;
4443
switch (objType)

0 commit comments

Comments
 (0)