Home
last modified time | relevance | path

Searched refs:nir_imm_int64 (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_acceleration_structure.c804 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 …]
Dradv_pipeline_rt.c350 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 …]
Dradv_query.c159 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/
Dpan_indirect_dispatch.c178 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()
Dpan_indirect_draw.c463 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/
Dnir_lower_int64.c332 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()
Dnir_builder.h400 nir_imm_int64(nir_builder *build, int64_t x) in nir_imm_int64() function
Dnir_lower_io.c908 return nir_imm_int64(b, var->data.driver_location); in build_addr_for_var()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_rt_builder.h391 inst_leaf_ptr = nir_imm_int64(b, 0); in brw_nir_rt_store_mem_ray()
/third_party/mesa3d/src/compiler/nir/tests/
Dload_store_vectorizer_tests.cpp1822 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/
Ddxil_nir.c848 nir_ssa_def *ptr = nir_imm_int64(b, (uint64_t)var->data.binding << 32); in lower_deref_ssbo()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c181 …nir_ssa_def *dot_op = !use_dot ? NULL : nir_ushr(b, nir_ushr(b, nir_imm_int64(b, 0x010101010101010… in summarize_repack()