Skip to content

Commit

Permalink
Updated kernel cache
Browse files Browse the repository at this point in the history
  • Loading branch information
gboisse committed Jan 23, 2018
1 parent 5c7b7c0 commit 697cf18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions RadeonRays/src/kernelcache/kernels_cl.h
Original file line number Diff line number Diff line change
Expand Up @@ -2185,7 +2185,7 @@ static const char g_intersect_bvh2_bittrail_opencl[]= \
" float3 const v3 = vertices[node.i2]; \n"\
" // Calculate hit position \n"\
" float3 const p = r.o.xyz + r.d.xyz * t_max; \n"\
" // Calculte barycentric coordinates \n"\
" // Calculate barycentric coordinates \n"\
" float2 const uv = triangle_calculate_barycentrics(p, v1, v2, v3); \n"\
" // Update hit information \n"\
" hits[global_id].shape_id = node.shape_id; \n"\
Expand Down Expand Up @@ -2649,7 +2649,7 @@ static const char g_intersect_bvh2_lds_opencl[]= \
" const bvh_node node = nodes[closest_addr]; \n"\
" const float3 p = myRay.o.xyz + closest_t * myRay.d.xyz; \n"\
" \n"\
" // Calculte barycentric coordinates \n"\
" // Calculate barycentric coordinates \n"\
" const float2 uv = triangle_calculate_barycentrics( \n"\
" p, \n"\
" node.aabb_left_min_or_v0_and_addr_left.xyz, \n"\
Expand Down Expand Up @@ -3339,7 +3339,7 @@ static const char g_intersect_bvh2_lds_fp16_opencl[]= \
" const bvh_node node = nodes[closest_addr]; \n"\
" const float3 p = myRay.o.xyz + closest_t * myRay.d.xyz; \n"\
" \n"\
" // Calculte barycentric coordinates \n"\
" // Calculate barycentric coordinates \n"\
" const float2 uv = triangle_calculate_barycentrics( \n"\
" p, \n"\
" as_float3(node.aabb01_min_or_v0_and_addr0.xyz), \n"\
Expand Down Expand Up @@ -4201,7 +4201,7 @@ static const char g_intersect_bvh2_short_stack_opencl[]= \
" float3 const v3 = vertices[node.i2]; \n"\
" // Calculate hit position \n"\
" float3 const p = r.o.xyz + r.d.xyz * t_max; \n"\
" // Calculte barycentric coordinates \n"\
" // Calculate barycentric coordinates \n"\
" float2 const uv = triangle_calculate_barycentrics(p, v1, v2, v3); \n"\
" // Update hit information \n"\
" hits[global_id].shape_id = node.shape_id; \n"\
Expand Down

0 comments on commit 697cf18

Please sign in to comment.