/third_party/mesa3d/src/amd/vulkan/ |
D | radv_rt_common.c | 81 nir_ssa_def *node_addr = build_node_to_addr(device, b, bvh_node); in intersect_ray_amd_software_box() local 108 nir_build_load_global(b, 1, 32, nir_iadd_imm(b, node_addr, child_offset), .align_mul = 64, in intersect_ray_amd_software_box() 112 nir_build_load_global(b, 3, 32, nir_iadd_imm(b, node_addr, coord_offsets[0]), in intersect_ray_amd_software_box() 114 nir_build_load_global(b, 3, 32, nir_iadd_imm(b, node_addr, coord_offsets[1]), in intersect_ray_amd_software_box() 182 nir_ssa_def *node_addr = build_node_to_addr(device, b, bvh_node); in intersect_ray_amd_software_tri() local 192 nir_build_load_global(b, 3, 32, nir_iadd_imm(b, node_addr, coord_offsets[0]), .align_mul = 64, in intersect_ray_amd_software_tri() 194 nir_build_load_global(b, 3, 32, nir_iadd_imm(b, node_addr, coord_offsets[1]), .align_mul = 64, in intersect_ray_amd_software_tri() 196 nir_build_load_global(b, 3, 32, nir_iadd_imm(b, node_addr, coord_offsets[2]), .align_mul = 64, in intersect_ray_amd_software_tri()
|
D | radv_acceleration_structure.c | 1029 uint64_t node_addr; member 1034 uint64_t node_addr; member 1427 determine_bounds(nir_builder *b, nir_ssa_def *node_addr, nir_ssa_def *node_id, in determine_bounds() argument 1431 node_addr = in determine_bounds() 1432 nir_iadd(b, node_addr, nir_u2u64(b, nir_ishl_imm(b, nir_iand_imm(b, node_id, ~7u), 3))); in determine_bounds() 1438 positions[i] = nir_build_load_global(b, 3, 32, nir_iadd_imm(b, node_addr, i * 12)); in determine_bounds() 1454 nir_build_load_global(b, 3, 32, nir_iadd_imm(b, node_addr, 16 + i * 24 + j * 12)); in determine_bounds() 1469 bounds[i] = nir_build_load_global(b, 3, 32, nir_iadd_imm(b, node_addr, 64 + i * 12)); in determine_bounds() 1477 bounds[i] = nir_build_load_global(b, 3, 32, nir_iadd_imm(b, node_addr, i * 12)); in determine_bounds() 1511 nir_ssa_def *node_addr = nir_pack_64_2x32(&b, nir_channels(&b, pconst0, 0b0011)); in build_morton_shader() local [all …]
|
D | radv_nir_lower_ray_queries.c | 588 nir_ssa_def *node_addr = build_node_to_addr(device, b, bvh_node); in insert_traversal_aabb_case() local 589 nir_ssa_def *triangle_info = nir_build_load_global(b, 2, 32, nir_iadd_imm(b, node_addr, 24)); in insert_traversal_aabb_case() 611 nir_ssa_def *bvh_lo = nir_build_load_global(b, 3, 32, nir_iadd_imm(b, node_addr, 0)); in insert_traversal_aabb_case() 612 nir_ssa_def *bvh_hi = nir_build_load_global(b, 3, 32, nir_iadd_imm(b, node_addr, 12)); in insert_traversal_aabb_case()
|
D | radv_pipeline_rt.c | 1245 nir_ssa_def *node_addr = build_node_to_addr(device, b, bvh_node); in insert_traversal_aabb_case() local 1246 nir_ssa_def *triangle_info = nir_build_load_global(b, 2, 32, nir_iadd_imm(b, node_addr, 24)); in insert_traversal_aabb_case() 1328 nir_ssa_def *bvh_lo = nir_build_load_global(b, 3, 32, nir_iadd_imm(b, node_addr, 0)); in insert_traversal_aabb_case() 1329 nir_ssa_def *bvh_hi = nir_build_load_global(b, 3, 32, nir_iadd_imm(b, node_addr, 12)); in insert_traversal_aabb_case()
|