Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/vulkan/
H A Dradv_acceleration_structure.c1542 nir_ssa_def *normalized_node_pos = nir_fdiv(&b, nir_fsub(&b, node_pos, bvh_min), bvh_size); in build_morton_shader() local
1545 nir_f2u32(&b, nir_fmul_imm(&b, nir_channel(&b, normalized_node_pos, 0), 255.0)); in build_morton_shader()
1549 nir_f2u32(&b, nir_fmul_imm(&b, nir_channel(&b, normalized_node_pos, 1), 255.0)); in build_morton_shader()
1553 nir_f2u32(&b, nir_fmul_imm(&b, nir_channel(&b, normalized_node_pos, 2), 255.0)); in build_morton_shader()

Completed in 5 milliseconds