/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_lower_ray_queries.c | 140 rq_variable *instance_addr; member 208 result.instance_addr = rq_variable_create(shader, impl, array_length, glsl_uint64_t_type(), in init_ray_query_intersection_vars() 286 rq_copy_var(b, index, vars->closest.instance_addr, vars->candidate.instance_addr, 0x1); in copy_candidate_to_closest() 427 nir_bcsel(b, committed, rq_load_var(b, index, vars->closest.instance_addr), in lower_rq_load() 428 rq_load_var(b, index, vars->candidate.instance_addr)); in lower_rq_load() 435 nir_bcsel(b, committed, rq_load_var(b, index, vars->closest.instance_addr), in lower_rq_load() 436 rq_load_var(b, index, vars->candidate.instance_addr)); in lower_rq_load() 448 nir_bcsel(b, committed, rq_load_var(b, index, vars->closest.instance_addr), in lower_rq_load() 449 rq_load_var(b, index, vars->candidate.instance_addr)); in lower_rq_load() 476 nir_bcsel(b, committed, rq_load_var(b, index, vars->closest.instance_addr), in lower_rq_load() [all …]
|
D | radv_pipeline_rt.c | 223 nir_variable *instance_addr; member 293 vars.instance_addr = in create_rt_variables() 338 _mesa_hash_table_insert(var_remap, src->instance_addr, dst->instance_addr); in map_rt_variables() 370 inner_vars.instance_addr = nir_variable_create(b->shader, nir_var_shader_temp, in create_inner_vars() 605 nir_ssa_def *instance_node_addr = nir_load_var(&b_shader, vars->instance_addr); in lower_rt_instructions() 621 nir_ssa_def *instance_node_addr = nir_load_var(&b_shader, vars->instance_addr); in lower_rt_instructions() 638 nir_ssa_def *instance_node_addr = nir_load_var(&b_shader, vars->instance_addr); in lower_rt_instructions() 654 nir_ssa_def *instance_node_addr = nir_load_var(&b_shader, vars->instance_addr); in lower_rt_instructions() 1050 nir_variable *instance_addr; member 1073 ret.instance_addr = in init_traversal_vars() [all …]
|
D | radv_acceleration_structure.c | 1322 nir_ssa_def *instance_addr = nir_load_var(&b, instance_addr_var); in build_leaf_shader() local 1325 nir_build_load_global(&b, 4, 32, nir_iadd_imm(&b, instance_addr, 0)), in build_leaf_shader() 1326 nir_build_load_global(&b, 4, 32, nir_iadd_imm(&b, instance_addr, 16)), in build_leaf_shader() 1327 nir_build_load_global(&b, 4, 32, nir_iadd_imm(&b, instance_addr, 32))}; in build_leaf_shader() 1328 nir_ssa_def *inst3 = nir_build_load_global(&b, 4, 32, nir_iadd_imm(&b, instance_addr, 48)); in build_leaf_shader() 1841 nir_ssa_def *instance_addr = nir_imul_imm(&b, instance_id, sizeof(uint64_t)); in build_copy_shader() local 1842 instance_addr = nir_iadd_imm(&b, instance_addr, in build_copy_shader() 1844 instance_addr = nir_iadd(&b, dst_base_addr, nir_u2u64(&b, instance_addr)); in build_copy_shader() 1846 nir_build_store_global(&b, nir_channels(&b, value, 3), instance_addr, in build_copy_shader() 1851 nir_ssa_def *instance_addr = nir_imul_imm(&b, instance_id, sizeof(uint64_t)); in build_copy_shader() local [all …]
|
D | radv_rt_common.h | 57 void nir_build_wto_matrix_load(nir_builder *b, nir_ssa_def *instance_addr, nir_ssa_def **out);
|
D | radv_rt_common.c | 391 nir_build_wto_matrix_load(nir_builder *b, nir_ssa_def *instance_addr, nir_ssa_def **out) in nir_build_wto_matrix_load() argument 395 out[i] = nir_build_load_global(b, 4, 32, nir_iadd_imm(b, instance_addr, offset + i * 16), in nir_build_wto_matrix_load()
|