@@ -2185,7 +2185,7 @@ static const char g_intersect_bvh2_bittrail_opencl[]= \
2185
2185
" float3 const v3 = vertices[node.i2]; \n" \
2186
2186
" // Calculate hit position \n" \
2187
2187
" float3 const p = r.o.xyz + r.d.xyz * t_max; \n" \
2188
- " // Calculte barycentric coordinates \n" \
2188
+ " // Calculate barycentric coordinates \n" \
2189
2189
" float2 const uv = triangle_calculate_barycentrics(p, v1, v2, v3); \n" \
2190
2190
" // Update hit information \n" \
2191
2191
" hits[global_id].shape_id = node.shape_id; \n" \
@@ -2649,7 +2649,7 @@ static const char g_intersect_bvh2_lds_opencl[]= \
2649
2649
" const bvh_node node = nodes[closest_addr]; \n" \
2650
2650
" const float3 p = myRay.o.xyz + closest_t * myRay.d.xyz; \n" \
2651
2651
" \n" \
2652
- " // Calculte barycentric coordinates \n" \
2652
+ " // Calculate barycentric coordinates \n" \
2653
2653
" const float2 uv = triangle_calculate_barycentrics( \n" \
2654
2654
" p, \n" \
2655
2655
" node.aabb_left_min_or_v0_and_addr_left.xyz, \n" \
@@ -3339,7 +3339,7 @@ static const char g_intersect_bvh2_lds_fp16_opencl[]= \
3339
3339
" const bvh_node node = nodes[closest_addr]; \n" \
3340
3340
" const float3 p = myRay.o.xyz + closest_t * myRay.d.xyz; \n" \
3341
3341
" \n" \
3342
- " // Calculte barycentric coordinates \n" \
3342
+ " // Calculate barycentric coordinates \n" \
3343
3343
" const float2 uv = triangle_calculate_barycentrics( \n" \
3344
3344
" p, \n" \
3345
3345
" as_float3(node.aabb01_min_or_v0_and_addr0.xyz), \n" \
@@ -4201,7 +4201,7 @@ static const char g_intersect_bvh2_short_stack_opencl[]= \
4201
4201
" float3 const v3 = vertices[node.i2]; \n" \
4202
4202
" // Calculate hit position \n" \
4203
4203
" float3 const p = r.o.xyz + r.d.xyz * t_max; \n" \
4204
- " // Calculte barycentric coordinates \n" \
4204
+ " // Calculate barycentric coordinates \n" \
4205
4205
" float2 const uv = triangle_calculate_barycentrics(p, v1, v2, v3); \n" \
4206
4206
" // Update hit information \n" \
4207
4207
" hits[global_id].shape_id = node.shape_id; \n" \
0 commit comments