Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_clamp_image_1d_2d_array_sizes.c108 nir_ssa_def *vec2_null_or_size = nir_vec(b, null_or_size, 2); in brw_nir_clamp_image_1d_2d_array_sizes_instr()
125 nir_vec(b, components, image_size->num_components); in brw_nir_clamp_image_1d_2d_array_sizes_instr()
Dbrw_nir_attribute_workarounds.c64 val = nir_vec(b, comps, val->num_components); in apply_attr_wa_instr()
/third_party/mesa3d/src/compiler/nir/
Dnir_format_convert.h84 return nir_vec(b, comps, src->num_components); in nir_format_sign_extend_ivec()
122 return nir_vec(b, comps, num_components); in nir_format_unpack_int()
228 return nir_vec(b, dst_chan, dst_components); in nir_format_bitcast_uvec_unmasked()
298 return nir_vec(b, f16comps, f->num_components); in nir_format_float_to_half()
379 return nir_vec(b, chans, 3); in nir_format_unpack_11f11f10f()
Dnir_lower_load_const_to_scalar.c59 nir_ssa_def *vec = nir_vec(&b, loads, lower->def.num_components); in lower_load_const_instr_scalar()
Dnir_lower_image.c58 nir_ssa_def *vec = nir_vec(b, comps, intrin->dest.ssa.num_components); in lower_cube_size()
Dnir_lower_interpolation.c123 nir_ssa_def *vec = nir_vec(b, comps, intr->num_components); in nir_lower_interpolation_block()
Dnir_lower_clip.c279 nir_store_var(b, out[0], nir_vec(b, clipdist, 4), 0xf); in lower_clip_outputs()
281 nir_store_var(b, out[1], nir_vec(b, &clipdist[4], 4), 0xf); in lower_clip_outputs()
Dnir_lower_ubo_vec4.c180 result = nir_vec(b, channels, intr->num_components); in nir_lower_ubo_vec4_lower()
Dnir_lower_clip_disable.c96 nir_store_deref(b, deref, nir_vec(b, components, instr->num_components), wrmask); in lower_clip_plane_store()
Dnir_lower_io_to_scalar.c63 nir_vec(b, loads, intr->num_components)); in lower_load_input_to_scalar()
233 nir_vec(b, loads, intr->num_components)); in lower_load_to_scalar_early()
Dnir_builder.h559 nir_vec(nir_builder *build, nir_ssa_def **comp, unsigned num_components) in nir_vec() function
1074 return nir_vec(b, dest_comps, dest_num_components); in nir_unpack_bits()
1145 nir_ssa_def *unpacked = nir_vec(b, common_comps + i * common_per_dest, in nir_extract_bits()
1149 return nir_vec(b, dest_comps, dest_num_components); in nir_extract_bits()
1152 return nir_vec(b, common_comps, dest_num_components); in nir_extract_bits()
1186 return nir_vec(b, components, num_components); in nir_pad_vector()
1210 return nir_vec(b, components, num_components); in nir_pad_vector_imm_int()
Dnir_lower_array_deref_of_vec.c40 nir_ssa_def *vec = nir_vec(b, comps, num_components); in build_write_masked_store()
Dnir_opt_shrink_vectors.c121 nir_ssa_def *new_vec = nir_vec(b, srcs, num_components); in opt_shrink_vectors_alu()
/third_party/mesa3d/src/panfrost/util/
Dpan_lower_framebuffer.c158 return nir_vec(b, replicated, 4); in pan_replicate()
196 return nir_pad_vec4(b, nir_vec(b, unpacked, num_components)); in pan_unpack_pure_16()
390 return nir_vec(b, components, 4); in pan_unpack_r11g11b10()
411 return nir_vec(b, comp, 4); in pan_linear_to_srgb()
/third_party/mesa3d/src/amd/vulkan/
Dradv_acceleration_structure.c724 nir_store_var(b, result, nir_u2u32(b, nir_vec(b, indices, 3)), 7); in get_indices()
745 nir_store_var(b, result, nir_vec(b, indices, 3), 7); in get_indices()
753 nir_store_var(b, result, nir_u2u32(b, nir_vec(b, indices, 3)), 7); in get_indices()
817 vec = nir_vec(b, values, 3); in get_vertices()
824 vec = nir_vec(b, values, 3); in get_vertices()
826 vec = nir_f2f32(b, nir_vec(b, values, 3)); in get_vertices()
828 vec = nir_vec(b, values, 3); in get_vertices()
1013 nir_build_store_global(&b, nir_vec(&b, node_data + i * 4, 4), in build_leaf_shader()
1054 nir_build_store_global(&b, nir_vec(&b, values + 0, 4), in build_leaf_shader()
1057 nir_build_store_global(&b, nir_vec(&b, values + 4, 4), in build_leaf_shader()
[all …]
Dradv_nir_lower_ycbcr_textures.c113 return nir_vec(b, comp, old_coords->num_components); in implicit_downsampled_coords()
217 return nir_vec(builder, values, 4); in build_swizzled_components()
Dradv_pipeline_rt.c375 return nir_vec(b, result_components, 3); in nir_build_vec3_mat_mult()
386 return nir_build_vec3_mat_mult(b, nir_fsub(b, vec, nir_vec(b, result_components, 3)), matrix, in nir_build_vec3_mat_mult_pre()
613 nir_ssa_def *val = nir_vec(&b_shader, vals, 3); in lower_rt_instructions()
633 val = nir_vec(&b_shader, vals, 3); in lower_rt_instructions()
1287 nir_ssa_def *ij = nir_fdiv(b, nir_channels(b, result, 0xc), nir_vec(b, divs, 2)); in insert_traversal_triangle_case()
1536 … nir_store_var(b, var_distances, nir_vec(b, new_distances, 4), (1u << chan_1) | (1u << chan_2)); in nir_sort_hit_pair()
1537 nir_store_var(b, var_indices, nir_vec(b, new_indices, 4), (1u << chan_1) | (1u << chan_2)); in nir_sort_hit_pair()
1615 nir_store_var(b, child_indices, nir_vec(b, new_child_indices, 4), 1u << i); in intersect_ray_amd_software_box()
1619 nir_store_var(b, distances, nir_vec(b, new_distances, 4), 1u << i); in intersect_ray_amd_software_box()
1682 nir_ssa_def *k = nir_vec(b, k_indices, 3); in intersect_ray_amd_software_tri()
[all …]
/third_party/mesa3d/src/gallium/drivers/lima/ir/
Dlima_nir_lower_uniform_to_scalar.c55 nir_vec(b, loads, intr->num_components)); in lower_load_uniform_to_scalar()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_lower_divergent_indirects.c98 nir_vec(b, zeroes, nir_dest_num_components(intr->dest)) : NULL; in bi_lower_divergent_indirects_impl()
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c109 return nir_vec(b, comp, old_coords->num_components); in implicit_downsampled_coords()
325 nir_ssa_def *result = nir_vec(builder, swizzled_comp, 4); in anv_nir_lower_ycbcr_textures_instr()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tg4_to_tex.c84 return nir_vec(b, results, 4); in ir3_nir_lower_tg4_to_tex_instr()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_scratch.c80 nir_ssa_def *result = nir_vec(b, chans, instr->num_components); in v3d_nir_lower_load_scratch()
Dv3d_nir_lower_image_load_store.c84 return nir_vec(b, results, DIV_ROUND_UP(offset, 32)); in pack_bits()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.c106 return nir_vec(b, vec32comps, num_vec32comps); in load_comps_to_vec32()
169 nir_ssa_def *result = nir_vec(b, comps, num_components); in lower_load_deref()
205 return nir_vec(b, comps, 2); in ubo_load_select_32b_comps()
257 return nir_vec(b, comps, num_components); in build_load_ubo_dxil()
313 nir_ssa_def *result = nir_vec(b, comps, num_components); in lower_load_ssbo()
446 nir_ssa_def *vec32 = nir_vec(b, &comps_32bit[i], num_vec32_comps); in lower_32b_offset_load()
463 nir_ssa_def *result = nir_vec(b, comps, num_components); in lower_32b_offset_load()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_nir_lower_texcmp.c126 result = nir_vec(b, r, num_components); in lower_sample_tex_compare_impl()

123