Searched refs:node_coords (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_pipeline_rt.c1577 nir_ssa_def *node_coords[2] = { local in function:intersect_ray_amd_software_box
1585 nir_ssa_def *min_x = nir_channel(b, node_coords[0], 0);
1589 nir_ssa_def *bound0 = nir_fmul(b, nir_fsub(b, node_coords[0], origin), inv_dir);
1591 nir_ssa_def *bound1 = nir_fmul(b, nir_fsub(b, node_coords[1], origin), inv_dir);
1653 nir_ssa_def *node_coords[3] = { local in function:intersect_ray_amd_software_tri
1701 nir_ssa_def *v_a = nir_fsub(b, node_coords[0], origin);
1702 nir_ssa_def *v_b = nir_fsub(b, node_coords[1], origin);
1703 nir_ssa_def *v_c = nir_fsub(b, node_coords[2], origin);
H A Dradv_acceleration_structure.c498 float node_coords[3]; local in function:optimize_bvh
500 node_coords[j] = (node_bounds[j] + node_bounds[3 + j]) * 0.5;
504 MIN2((int32_t)((node_coords[j] - bounds[j]) / (bounds[3 + j] - bounds[j]) * (1 << 21)),

Completed in 9 milliseconds