/third_party/mesa3d/src/amd/vulkan/ |
D | radv_acceleration_structure.c | 804 b, 1, comp_bits, nir_iadd(b, addr, nir_imm_int64(b, j * comp_bytes)), in get_vertices() 983 nir_push_if(&b, nir_ine(&b, transform_addr, nir_imm_int64(&b, 0))); in build_leaf_shader() 986 nir_build_load_global(&b, 4, 32, nir_iadd(&b, transform_addr, nir_imm_int64(&b, 0)), in build_leaf_shader() 991 nir_build_load_global(&b, 4, 32, nir_iadd(&b, transform_addr, nir_imm_int64(&b, 16)), in build_leaf_shader() 996 nir_build_load_global(&b, 4, 32, nir_iadd(&b, transform_addr, nir_imm_int64(&b, 32)), in build_leaf_shader() 1014 nir_iadd(&b, triangle_node_dst_addr, nir_imm_int64(&b, i * 16)), in build_leaf_shader() 1039 nir_build_load_global(&b, 3, 32, nir_iadd(&b, aabb_addr, nir_imm_int64(&b, 0)), in build_leaf_shader() 1042 nir_build_load_global(&b, 3, 32, nir_iadd(&b, aabb_addr, nir_imm_int64(&b, 12)), in build_leaf_shader() 1055 nir_iadd(&b, aabb_node_dst_addr, nir_imm_int64(&b, 0)), in build_leaf_shader() 1058 nir_iadd(&b, aabb_node_dst_addr, nir_imm_int64(&b, 16)), in build_leaf_shader() [all …]
|
D | radv_pipeline_rt.c | 350 load_addr = nir_iadd(b, load_addr, nir_imm_int64(b, offset)); in load_sbt_entry() 356 nir_ssa_def *record_addr = nir_iadd(b, addr, nir_imm_int64(b, RADV_RT_HANDLE_SIZE)); in load_sbt_entry() 396 nir_iadd(b, instance_addr, nir_imm_int64(b, offset + i * 16)), in nir_build_wto_matrix_load() 637 nir_iadd(&b_shader, instance_node_addr, nir_imm_int64(&b_shader, 92 + c * 12)), in lower_rt_instructions() 649 nir_iadd(&b_shader, instance_node_addr, nir_imm_int64(&b_shader, 16)), in lower_rt_instructions() 653 nir_iadd(&b_shader, instance_node_addr, nir_imm_int64(&b_shader, 32)), in lower_rt_instructions() 657 nir_iadd(&b_shader, instance_node_addr, nir_imm_int64(&b_shader, 48)), in lower_rt_instructions() 1135 return nir_iand(b, node, nir_imm_int64(b, (bvh_size - 1) << 3)); in build_addr_to_node() 1141 nir_ssa_def *addr = nir_iand(b, node, nir_imm_int64(b, ~7ull)); in build_node_to_addr() 1146 ? nir_ior(b, addr, nir_imm_int64(b, 0xffffull << 48)) in build_node_to_addr() [all …]
|
D | radv_query.c | 159 nir_store_var(&b, result, nir_imm_int64(&b, 0), 0x1); in build_occlusion_query_shader() 181 nir_ssa_def *start_done = nir_ilt(&b, nir_load_var(&b, start), nir_imm_int64(&b, 0)); in build_occlusion_query_shader() 182 nir_ssa_def *end_done = nir_ilt(&b, nir_load_var(&b, end), nir_imm_int64(&b, 0)); in build_occlusion_query_shader() 359 nir_store_ssbo(&b, nir_imm_int64(&b, 0), dst_buf, output_elem, .write_mask = 0x1, in build_pipeline_statistics_query_shader() 422 nir_store_var(&b, result, nir_vec2(&b, nir_imm_int64(&b, 0), nir_imm_int64(&b, 0)), 0x3); in build_tfb_query_shader() 546 nir_store_var(&b, result, nir_imm_int64(&b, 0), 0x1); in build_timestamp_query_shader() 574 nir_i2b(&b, nir_ine(&b, timestamp, nir_imm_int64(&b, TIMESTAMP_NOT_READY))); in build_timestamp_query_shader()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_indirect_dispatch.c | 178 nir_ssa_def *type_ptr = nir_iadd(&b, job_hdr_ptr, nir_imm_int64(&b, 4 * 4)); in GENX() 185 nir_imm_int64(&b, pan_section_offset(COMPUTE_JOB, INVOCATION))); in GENX() 210 nir_push_if(&b, nir_ine(&b, num_wg_x_ptr, nir_imm_int64(&b, 0))); in GENX()
|
D | pan_indirect_draw.c | 463 nir_ishl(b, nir_imm_int64(b, 1), in split_div() 857 base = nir_iand(b, base, nir_imm_int64(b, ~3ULL)); in get_instance_size() 966 IF (nir_ine(b, builder->jobs.first_vertex_sysval, nir_imm_int64(b, 0))) { in patch() 971 IF (nir_ine(b, builder->jobs.base_vertex_sysval, nir_imm_int64(b, 0))) { in patch() 979 IF (nir_ine(b, builder->jobs.base_instance_sysval, nir_imm_int64(b, 0))) { in patch() 1017 base = nir_iand(b, base, nir_imm_int64(b, ~3ULL)); in get_index_min_max()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_int64.c | 332 return lower_isub64(b, nir_imm_int64(b, 0), x); in lower_ineg64() 630 return nir_bcsel(b, nir_ieq_imm(b, r, 0), nir_imm_int64(b, 0), in lower_imod64() 694 x_sign = nir_bcsel(b, COND_LOWER_CMP(b, ilt, x, nir_imm_int64(b, 0)), in lower_2f() 728 nir_ssa_def *lsb_mask = COND_LOWER_OP(b, ishl, nir_imm_int64(b, 1), discard); in lower_2f() 729 nir_ssa_def *rem_mask = COND_LOWER_OP(b, isub, lsb_mask, nir_imm_int64(b, 1)); in lower_2f()
|
D | nir_builder.h | 400 nir_imm_int64(nir_builder *build, int64_t x) in nir_imm_int64() function
|
D | nir_lower_io.c | 908 return nir_imm_int64(b, var->data.driver_location); in build_addr_for_var()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir_rt_builder.h | 391 inst_leaf_ptr = nir_imm_int64(b, 0); in brw_nir_rt_store_mem_ray()
|
/third_party/mesa3d/src/compiler/nir/tests/ |
D | load_store_vectorizer_tests.cpp | 1822 create_indirect_load(nir_var_mem_ssbo, 0, nir_imm_int64(b, 0x100000000), 0x1); in TEST_F() 1823 create_indirect_load(nir_var_mem_ssbo, 0, nir_imm_int64(b, 0x200000004), 0x2); in TEST_F()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir.c | 848 nir_ssa_def *ptr = nir_imm_int64(b, (uint64_t)var->data.binding << 32); in lower_deref_ssbo()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_ngg.c | 181 …nir_ssa_def *dot_op = !use_dot ? NULL : nir_ushr(b, nir_ushr(b, nir_imm_int64(b, 0x010101010101010… in summarize_repack()
|