Home
last modified time | relevance | path

Searched refs:nir_vec2 (Results 1 – 25 of 25) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_packing.c47 return nir_vec2(b, nir_unpack_64_2x32_split_x(b, src), in lower_unpack_64_to_32()
61 return nir_vec2(b, nir_unpack_32_2x16_split_x(b, src), in lower_unpack_32_to_16()
Dnir_lower_wpos_ytransform.c274 nir_src_for_ssa(nir_vec2(b, nir_channel(b, offset, 0), in lower_interp_deref_at_offset()
292 nir_ssa_def *flipped_pos = nir_vec2(b, nir_channel(b, pos, 0), flipped_y); in lower_load_sample_pos()
Dnir_lower_pntc_ytransform.c78 nir_ssa_def *flipped_pntc = nir_vec2(b, in lower_load_pointcoord()
Dnir_lower_alu_to_scalar.c159 return nir_vec2(b, in lower_alu_instr_scalar()
165 return nir_vec2(b, in lower_alu_instr_scalar()
Dnir_lower_tex.c114 projected = nir_vec2(b, in project_src()
170 offset_coord = nir_vec2(b, nir_channel(b, offset_coord, 0), in lower_offset()
856 color = nir_vec2(b, in lower_tex_packing()
Dnir_builtin_builder.c141 nir_ssa_def *vec = nir_vec2(b, nir_channel(b, lo, i), nir_channel(b, hi, i)); in nir_upsample()
Dnir_lower_io.c806 return nir_vec2(b, nir_channel(b, addr, 0), in build_addr_iadd()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_vulkan_resource.c81 return nir_vec2(b, nir_iadd_imm(b, intrin->src[0].ssa, value), in lower_vri_intrin_vri()
91 return nir_vec2(b, nir_iadd(b, old_index, delta), in lower_vri_intrin_vrri()
100 return nir_vec2(b, index, nir_imm_int(b, 0)); in lower_vri_intrin_lvd()
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_txf_ms.c59 coord = nir_vec2(b, x, y); in v3d_nir_lower_txf_ms_instr()
/external/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_load_barycentric_at_sample.c75 return nir_fadd(b, pos, nir_vec2(b, half, half)); in lower_load_sample_pos()
Dir3_nir_lower_tg4_to_tex.c62 nir_vec2(b, nir_imm_int(b, offsets[i][0]), in ir3_nir_lower_tg4_to_tex_instr()
Dir3_nir_lower_load_barycentric_at_offset.c83 ij = nir_vec2(b, i, j); in ir3_nir_lower_load_barycentric_at_offset_instr()
/external/mesa3d/src/compiler/nir/tests/
Dbuilder_tests.cpp143 nir_vec2(b, nir_imm_intN_t(b, 0x0a09, 16), in TEST_F()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_txf_ms.c120 txf->src[0].src = nir_src_for_ssa(nir_vec2(b, addr, nir_imm_int(b, 0))); in vc4_nir_lower_txf_ms_instr()
/external/mesa3d/src/amd/vulkan/
Dradv_query.c91 store->src[0] = nir_src_for_ssa(nir_vec2(b, value32, nir_imm_int(b, 0))); in radv_store_availability()
535 nir_vec2(&b, nir_imm_int64(&b, 0), in build_tfb_query_shader()
593 packed64[0] = nir_pack_64_2x32(&b, nir_vec2(&b, in build_tfb_query_shader()
596 packed64[1] = nir_pack_64_2x32(&b, nir_vec2(&b, in build_tfb_query_shader()
599 packed64[2] = nir_pack_64_2x32(&b, nir_vec2(&b, in build_tfb_query_shader()
602 packed64[3] = nir_pack_64_2x32(&b, nir_vec2(&b, in build_tfb_query_shader()
613 nir_vec2(&b, num_primitive_written, in build_tfb_query_shader()
747 timestamp = nir_pack_64_2x32(&b, nir_vec2(&b, in build_timestamp_query_shader()
Dradv_shader.c355 nir_ssa_def *def = nir_vec2(&b, in lower_load_vulkan_descriptor()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_tess_io.cpp429 nir_vec2(b, nir_iadd(b, out_addr0, nir_imm_int(b, 8)), in r600_append_tcs_TF_emission()
448 nir_vec2(b, nir_iadd(b, out_addr0, nir_imm_int(b, 12)), in r600_append_tcs_TF_emission()
Dsfn_nir.cpp321 return nir_vec2(b, nir_unpack_half_2x16_split_x(b, packed), in r600_nir_lower_pack_unpack_2x16_impl()
639 addr = nir_vec2(&b, addr, addr2); in r600_lower_shared_io_impl()
/external/mesa3d/src/intel/blorp/
Dblorp_blit.c89 return nir_vec2(b, nir_channel(b, coord, 0), nir_channel(b, coord, 1)); in blorp_blit_get_frag_coords()
103 nir_ssa_def *offset = nir_vec2(b, nir_channel(b, coord_transform, 1), in blorp_blit_apply_transform()
105 nir_ssa_def *mul = nir_vec2(b, nir_channel(b, coord_transform, 0), in blorp_blit_apply_transform()
311 return nir_vec2(b, x_W, y_W); in blorp_nir_retile_y_to_w()
346 return nir_vec2(b, x_Y, y_Y); in blorp_nir_retile_w_to_y()
439 return nir_vec2(b, x_out, y_out); in blorp_nir_encode_msaa()
740 nir_vec2(b, nir_channel(b, rect_grid, 0), in blorp_nir_manual_blend_bilinear()
1248 dst_pos = nir_vec2(&b, nir_idiv(&b, dst_x, nir_imm_int(&b, 3)), in brw_blorp_build_nir_shader()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_lower_buffers.c206 ptr = nir_vec2(&b, index, nir_imm_int(&b, offset)); in lower_buffer_interface_derefs_impl()
/external/mesa3d/src/intel/compiler/
Dbrw_nir_lower_image_load_store.c119 nir_vec2(b, coord, nir_imm_int(b, 0)) : in image_address()
156 xypos = nir_iadd(b, xypos, nir_imul(b, nir_vec2(b, z_x, z_y), in image_address()
/external/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c255 return nir_vec2(b, index, nir_imm_int(b, 0)); in build_index_offset_for_deref()
429 index = nir_vec2(b, nir_iadd_imm(b, array_index, surface_index), in lower_res_index_intrinsic()
482 new_index = nir_vec2(b, nir_iadd(b, nir_channel(b, old_index, 0), offset), in lower_res_reindex_intrinsic()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline.c890 nir_ssa_def *desc = nir_vec2(b, instr->src[0].ssa, nir_imm_int(b, 0)); in lower_intrinsic()
/external/mesa3d/prebuilt-intermediates/nir/
Dnir_builder_opcodes.h1830 nir_vec2(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_vec2() function
/external/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c364 return nir_vec2(&b->nb, &si.image->dest.ssa, &si.sampler->dest.ssa); in vtn_sampled_image_to_nir_ssa()