Home
last modified time | relevance | path

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

1234

/third_party/mesa3d/src/amd/vulkan/
Dradv_rt_common.c65 nir_store_var(b, var_distances, nir_vec(b, new_distances, 4), in nir_sort_hit_pair()
67 nir_store_var(b, var_indices, nir_vec(b, new_indices, 4), (1u << chan_1) | (1u << chan_2)); in nir_sort_hit_pair()
155 nir_store_var(b, child_indices, nir_vec(b, new_child_indices, 4), 1u << i); in intersect_ray_amd_software_box()
159 nir_store_var(b, distances, nir_vec(b, new_distances, 4), 1u << i); in intersect_ray_amd_software_box()
222 nir_ssa_def *k = nir_vec(b, k_indices, 3); in intersect_ray_amd_software_tri()
331 nir_store_var(b, result, nir_vec(b, indices, 4), 0xf); in intersect_ray_amd_software_tri()
375 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()
Dradv_device_generated_commands.c263 dgc_emit(b, cs, nir_vec(b, values, 5)); in dgc_emit_userdata_vertex()
271 dgc_emit(b, cs, nir_vec(b, values, 2)); in dgc_emit_instance_count()
282 dgc_emit(b, cs, nir_vec(b, values, 5)); in dgc_emit_draw_indexed()
291 dgc_emit(b, cs, nir_vec(b, values, 3)); in dgc_emit_draw()
518 nir_store_var(&b, vbo_data, nir_vec(&b, new_vbo_data, 4), 0xf); in build_dgc_prepare_shader()
541 nir_store_var(&b, vbo_data, nir_vec(&b, new_vbo_data, 4), 0xf); in build_dgc_prepare_shader()
547 nir_store_var(&b, vbo_data, nir_vec(&b, new_vbo_data, 4), 0xf); in build_dgc_prepare_shader()
562 dgc_emit(&b, &cmd_buf, nir_vec(&b, packet, 3)); in build_dgc_prepare_shader()
658 dgc_emit(&b, &cmd_buf, nir_vec(&b, pkt, 3)); in build_dgc_prepare_shader()
672 dgc_emit(&b, &cmd_buf, nir_vec(&b, pkt, 2)); in build_dgc_prepare_shader()
[all …]
Dradv_nir_apply_pipeline_layout.c330 return nir_vec(b, comp, 8); in get_sampler_desc()
341 return nir_vec(b, comp, 8); in get_sampler_desc()
352 return nir_vec(b, comp, 4); in get_sampler_desc()
506 sampler = nir_vec(b, comp, 4); in apply_layout_to_tex()
Dradv_acceleration_structure.c854 nir_store_var(b, result, nir_u2u32(b, nir_vec(b, indices, 3)), 7); in get_indices()
875 nir_store_var(b, result, nir_vec(b, indices, 3), 7); in get_indices()
883 nir_store_var(b, result, nir_u2u32(b, nir_vec(b, indices, 3)), 7); in get_indices()
970 vec = nir_vec(b, values, 3); in get_vertices()
977 vec = nir_vec(b, values, 3); in get_vertices()
979 vec = nir_f2f32(b, nir_vec(b, values, 3)); in get_vertices()
981 vec = nir_vec(b, values, 3); in get_vertices()
1235 nir_ssa_def *position = nir_vec(&b, node_data + i * 3, 3); in build_leaf_shader()
1256 nir_build_store_global(&b, nir_vec(&b, node_data + i * 4, 4), in build_leaf_shader()
1297 nir_build_store_global(&b, nir_vec(&b, values + 0, 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_meta_etc_decode.c57 return cnt == 1 ? v[0] : nir_vec(b, v, cnt); in flip_endian()
329 nir_store_var(&b, base_rgb, nir_vec(&b, tmp, 3), 0x7); in build_shader()
451 nir_store_var(&b, base_rgb, etc_extend(&b, nir_vec(&b, tmp, 3), 5), 0x7); in build_shader()
485 nir_store_var(&b, color, nir_vec(&b, col, 4), 0xf); in build_shader()
498 nir_store_var(&b, color, nir_vec(&b, val, 4), 0xf); in build_shader()
/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/gallium/drivers/d3d12/
Dd3d12_lower_image_casts.c78 src_as_vec = nir_vec(b, packed_channels, 2); in convert_value()
87 src_as_vec = nir_vec(b, packed_channels, 2); in convert_value()
114 nir_ssa_def *vec = nir_vec(b, channels, 4); in convert_value()
179 nir_ssa_def *final_vec = nir_vec(b, final_channels, 4); in convert_value()
/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_io_to_scalar.c73 nir_vec(b, loads, intr->num_components)); in lower_load_input_to_scalar()
120 nir_vec(b, loads, intr->num_components)); in lower_load_to_scalar()
373 nir_vec(b, loads, intr->num_components)); in lower_load_to_scalar_early()
Dnir_lower_interpolation.c123 nir_ssa_def *vec = nir_vec(b, comps, intr->num_components); in nir_lower_interpolation_block()
Dnir_lower_clip.c294 nir_store_var(b, out[0], nir_vec(b, clipdist, 4), 0xf); in lower_clip_outputs()
296 nir_store_var(b, out[1], nir_vec(b, &clipdist[4], 4), 0xf); in lower_clip_outputs()
Dnir_lower_ubo_vec4.c179 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_tex_shadow.c127 result = nir_vec(b, r, num_components); in nir_lower_tex_shadow_impl()
/third_party/mesa3d/src/panfrost/util/
Dpan_lower_framebuffer.c118 return nir_vec(b, replicated, 4); in pan_replicate()
156 return nir_pad_vec4(b, nir_vec(b, unpacked, num_components)); in pan_unpack_pure_16()
350 return nir_vec(b, components, 4); in pan_unpack_r11g11b10()
371 return nir_vec(b, comp, 4); in pan_linear_to_srgb()
/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/microsoft/compiler/
Ddxil_nir.c107 return nir_vec(b, vec32comps, num_vec32comps); in load_comps_to_vec32()
170 nir_ssa_def *result = nir_vec(b, comps, num_components); in lower_load_deref()
206 return nir_vec(b, comps, 2); in ubo_load_select_32b_comps()
258 return nir_vec(b, comps, num_components); in build_load_ubo_dxil()
314 nir_ssa_def *result = nir_vec(b, comps, num_components); in lower_load_ssbo()
470 nir_ssa_def *vec32 = nir_vec(b, &comps_32bit[i], num_vec32_comps); in lower_32b_offset_load()
487 nir_ssa_def *result = nir_vec(b, comps, num_components); in lower_32b_offset_load()
1324 nir_instr_rewrite_src_ssa(instr, &alu->src[i].src, nir_vec(b, components, num_components)); in dxil_nir_lower_double_math_instr()
1338 nir_ssa_def *repacked_dvec = nir_vec(b, components, alu->dest.dest.ssa.num_components); in dxil_nir_lower_double_math_instr()
2139 nir_instr_rewrite_src_ssa(instr, &intr->src[0], nir_vec(b, channels, 4)); in update_writes()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_nir.c268 nir_store_ssbo(&b, nir_vec(&b, &triangle_fan_exec_vals[i], comps), in dzn_nir_indirect_draw_shader()
281 nir_store_ssbo(&b, nir_vec(&b, ibview_vals, ARRAY_SIZE(ibview_vals)), in dzn_nir_indirect_draw_shader()
293 nir_store_ssbo(&b, nir_vec(&b, exec_vals, 4), in dzn_nir_indirect_draw_shader()
296 nir_store_ssbo(&b, nir_vec(&b, &exec_vals[4], 4), in dzn_nir_indirect_draw_shader()
/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()
/third_party/mesa3d/src/imagination/rogue/nir/
Drogue_nir_lower_io.c101 nir_vec(b, loads, intr->num_components)); in lower_load_ubo_to_scalar()

1234