Skip to content

Commit 697cf18

Browse files
committed
Updated kernel cache
1 parent 5c7b7c0 commit 697cf18

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

RadeonRays/src/kernelcache/kernels_cl.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,7 +2185,7 @@ static const char g_intersect_bvh2_bittrail_opencl[]= \
21852185
" float3 const v3 = vertices[node.i2]; \n"\
21862186
" // Calculate hit position \n"\
21872187
" float3 const p = r.o.xyz + r.d.xyz * t_max; \n"\
2188-
" // Calculte barycentric coordinates \n"\
2188+
" // Calculate barycentric coordinates \n"\
21892189
" float2 const uv = triangle_calculate_barycentrics(p, v1, v2, v3); \n"\
21902190
" // Update hit information \n"\
21912191
" hits[global_id].shape_id = node.shape_id; \n"\
@@ -2649,7 +2649,7 @@ static const char g_intersect_bvh2_lds_opencl[]= \
26492649
" const bvh_node node = nodes[closest_addr]; \n"\
26502650
" const float3 p = myRay.o.xyz + closest_t * myRay.d.xyz; \n"\
26512651
" \n"\
2652-
" // Calculte barycentric coordinates \n"\
2652+
" // Calculate barycentric coordinates \n"\
26532653
" const float2 uv = triangle_calculate_barycentrics( \n"\
26542654
" p, \n"\
26552655
" node.aabb_left_min_or_v0_and_addr_left.xyz, \n"\
@@ -3339,7 +3339,7 @@ static const char g_intersect_bvh2_lds_fp16_opencl[]= \
33393339
" const bvh_node node = nodes[closest_addr]; \n"\
33403340
" const float3 p = myRay.o.xyz + closest_t * myRay.d.xyz; \n"\
33413341
" \n"\
3342-
" // Calculte barycentric coordinates \n"\
3342+
" // Calculate barycentric coordinates \n"\
33433343
" const float2 uv = triangle_calculate_barycentrics( \n"\
33443344
" p, \n"\
33453345
" as_float3(node.aabb01_min_or_v0_and_addr0.xyz), \n"\
@@ -4201,7 +4201,7 @@ static const char g_intersect_bvh2_short_stack_opencl[]= \
42014201
" float3 const v3 = vertices[node.i2]; \n"\
42024202
" // Calculate hit position \n"\
42034203
" float3 const p = r.o.xyz + r.d.xyz * t_max; \n"\
4204-
" // Calculte barycentric coordinates \n"\
4204+
" // Calculate barycentric coordinates \n"\
42054205
" float2 const uv = triangle_calculate_barycentrics(p, v1, v2, v3); \n"\
42064206
" // Update hit information \n"\
42074207
" hits[global_id].shape_id = node.shape_id; \n"\

0 commit comments

Comments
 (0)