/third_party/mesa3d/src/amd/vulkan/ |
D | radv_rt_common.h | 41 nir_ssa_def *inv_dir); 46 nir_ssa_def *inv_dir);
|
D | radv_nir_lower_ray_queries.c | 130 rq_variable *inv_dir; member 183 result.inv_dir = rq_variable_create(shader, impl, array_length, vec3_type, VAR_NAME("_inv_dir")); in init_ray_query_traversal_vars() 357 rq_store_var(b, index, vars->trav.inv_dir, nir_fdiv(b, vec3ones, instr->src[6].ssa), 0x7); in lower_rq_initialize() 617 nir_fmin(b, nir_fmul(b, bvh_lo, rq_load_var(b, index, vars->trav.inv_dir)), in insert_traversal_aabb_case() 618 nir_fmul(b, bvh_hi, rq_load_var(b, index, vars->trav.inv_dir))); in insert_traversal_aabb_case() 620 nir_fmax(b, nir_fmul(b, bvh_lo, rq_load_var(b, index, vars->trav.inv_dir)), in insert_traversal_aabb_case() 621 nir_fmul(b, bvh_hi, rq_load_var(b, index, vars->trav.inv_dir))); in insert_traversal_aabb_case() 682 rq_store_var(b, index, vars->trav.inv_dir, in lower_rq_proceed() 702 rq_load_var(b, index, vars->trav.inv_dir)); in lower_rq_proceed() 764 rq_store_var(b, index, vars->trav.inv_dir, in lower_rq_proceed() [all …]
|
D | radv_rt_common.c | 76 nir_ssa_def *inv_dir) in intersect_ray_amd_software_box() argument 97 inv_dir = nir_fclamp(b, inv_dir, nir_imm_float(b, -FLT_MAX), nir_imm_float(b, FLT_MAX)); in intersect_ray_amd_software_box() 127 nir_ssa_def *bound0 = nir_fmul(b, nir_fsub(b, node_coords[0], origin), inv_dir); in intersect_ray_amd_software_box() 129 nir_ssa_def *bound1 = nir_fmul(b, nir_fsub(b, node_coords[1], origin), inv_dir); in intersect_ray_amd_software_box() 178 nir_ssa_def *inv_dir) in intersect_ray_amd_software_tri() argument
|
D | radv_pipeline_rt.c | 1046 nir_variable *inv_dir; member 1065 ret.inv_dir = in init_traversal_vars() 1333 nir_ssa_def *t_vec = nir_fmin(b, nir_fmul(b, bvh_lo, nir_load_var(b, trav_vars->inv_dir)), in insert_traversal_aabb_case() 1334 nir_fmul(b, bvh_hi, nir_load_var(b, trav_vars->inv_dir))); in insert_traversal_aabb_case() 1335 nir_ssa_def *t2_vec = nir_fmax(b, nir_fmul(b, bvh_lo, nir_load_var(b, trav_vars->inv_dir)), in insert_traversal_aabb_case() 1336 nir_fmul(b, bvh_hi, nir_load_var(b, trav_vars->inv_dir))); in insert_traversal_aabb_case() 1425 … nir_store_var(&b, trav_vars.inv_dir, nir_fdiv(&b, vec3ones, nir_load_var(&b, trav_vars.dir)), 7); in build_traversal_shader() 1448 … nir_store_var(&b, trav_vars.inv_dir, nir_fdiv(&b, vec3ones, nir_load_var(&b, trav_vars.dir)), 7); in build_traversal_shader() 1466 nir_load_var(&b, trav_vars.inv_dir)); in build_traversal_shader() 1520 nir_store_var(&b, trav_vars.inv_dir, in build_traversal_shader() [all …]
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 6090 Temp inv_dir = get_ssa_temp(ctx, instr->src[5].ssa); in visit_bvh64_intersect_ray_amd() local 6102 args.push_back(emit_extract_vector(ctx, inv_dir, 0, v1)); in visit_bvh64_intersect_ray_amd() 6103 args.push_back(emit_extract_vector(ctx, inv_dir, 1, v1)); in visit_bvh64_intersect_ray_amd() 6104 args.push_back(emit_extract_vector(ctx, inv_dir, 2, v1)); in visit_bvh64_intersect_ray_amd()
|