Searched refs:bvh_size (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_rt_common.c | 343 const uint64_t bvh_size = 1ull << 42; in build_addr_to_node() local 345 return nir_iand_imm(b, node, (bvh_size - 1) << 3); in build_addr_to_node() 431 const uint64_t bvh_size = 1ull << 42; in create_bvh_descriptor() local 433 b, 0, 1u << 31 /* Enable box sorting */, (bvh_size - 1) & 0xFFFFFFFFu, in create_bvh_descriptor() 434 ((bvh_size - 1) >> 32) | (1u << 24 /* Return IJ for triangles */) | (1u << 31)); in create_bvh_descriptor()
|
D | radv_acceleration_structure.c | 1540 nir_ssa_def *bvh_size = nir_fsub(&b, bvh_max, bvh_min); in build_morton_shader() local 1542 nir_ssa_def *normalized_node_pos = nir_fdiv(&b, nir_fsub(&b, node_pos, bvh_min), bvh_size); in build_morton_shader()
|