/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_lower_packed_varyings.c | 431 nir_ssa_def *swizzle = nir_swizzle(&state->b, value, &swiz_x, 1); in bitwise_assign_pack() 443 swizzle = nir_swizzle(&state->b, value, &swiz_y, 1); in bitwise_assign_pack() 518 nir_ssa_def *xy_value = nir_swizzle(&state->b, value, swiz_xy, 2); in bitwise_assign_unpack() 530 nir_ssa_def *zw_value = nir_swizzle(&state->b, value, swiz_zw, 2); in bitwise_assign_unpack() 583 srcs[i] = nir_swizzle(&state->b, value, &comp, 1); in create_store_deref() 790 nir_swizzle(&state->b, ssa_def, in lower_varying() 816 nir_swizzle(&state->b, ssa_def, in lower_varying() 868 nir_swizzle(&state->b, ssa_def, swizzle_values, components); in lower_varying()
|
D | glsl_to_nir.cpp | 1772 src = nir_swizzle(&b, src, swiz, num_components); in visit() 1932 result = nir_swizzle(&b, result, swiz, in visit() 2394 result = nir_swizzle(&b, evaluate_rvalue(ir->val), swizzle, in visit()
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/ |
D | lima_nir_lower_txp.c | 124 combined = nir_swizzle(b, load_input, xyzw, 4); in lima_nir_lower_txp_instr() 128 combined = nir_swizzle(b, load_input, xyz, 3); in lima_nir_lower_txp_instr()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_builtin_builder.c | 36 return nir_ffma(b, nir_swizzle(b, x, yzx, 3), in nir_cross3() 37 nir_swizzle(b, y, zxy, 3), in nir_cross3() 38 nir_fneg(b, nir_fmul(b, nir_swizzle(b, x, zxy, 3), in nir_cross3() 39 nir_swizzle(b, y, yzx, 3)))); in nir_cross3()
|
D | nir_lower_tex.c | 683 nir_swizzle(b, p, xzy, 3), in lower_gradient_cube_map() 684 nir_swizzle(b, p, yzx, 3))); in lower_gradient_cube_map() 689 nir_swizzle(b, dPdx, xzy, 3), in lower_gradient_cube_map() 690 nir_swizzle(b, dPdx, yzx, 3))); in lower_gradient_cube_map() 695 nir_swizzle(b, dPdy, xzy, 3), in lower_gradient_cube_map() 696 nir_swizzle(b, dPdy, yzx, 3))); in lower_gradient_cube_map() 957 nir_ssa_def *swizzled = nir_swizzle(b, &tex->dest.ssa, swiz, 4); in swizzle_tg4_broadcom() 985 swizzled = nir_swizzle(b, &tex->dest.ssa, swiz, 4); in swizzle_result()
|
D | nir_lower_vec3_to_vec4.c | 99 data = nir_swizzle(&b, data, swiz, 4); in lower_vec3_to_vec4_impl()
|
D | nir_opt_vectorize.c | 303 nir_ssa_def *new_alu1 = nir_swizzle(&b, &new_alu->dest.dest.ssa, swiz, in instr_try_combine() 311 nir_ssa_def *new_alu2 = nir_swizzle(&b, &new_alu->dest.dest.ssa, swiz, in instr_try_combine()
|
D | nir_builder.h | 406 nir_swizzle(nir_builder *build, nir_ssa_def *src, const unsigned *swiz, in nir_swizzle() function 493 return nir_swizzle(b, def, &c, 1); in nir_channel() 507 return nir_swizzle(b, def, swizzle, num_channels); in nir_channels()
|
D | nir_lower_vars_to_ssa.c | 647 new_def = nir_swizzle(&b, value, swiz, in rename_variables()
|
D | nir_deref.c | 1301 return nir_swizzle(b, data, swiz, num_components); in resize_vector()
|
D | nir_split_vars.c | 1598 nir_swizzle(&b, intrin->src[1].ssa, swizzle, c); in shrink_vec_var_access_impl()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir_attribute_workarounds.c | 76 val = nir_swizzle(b, val, (unsigned[4]){2,1,0,3}, 4); in apply_attr_wa_instr()
|
/third_party/mesa3d/src/mesa/program/ |
D | prog_to_nir.c | 411 nir_swizzle(b, src[0], SWIZ(Y, Z, X, W), 3), in ptn_xpd() 412 nir_swizzle(b, src[1], SWIZ(Z, X, Y, W), 3)), in ptn_xpd() 414 nir_swizzle(b, src[1], SWIZ(Y, Z, X, W), 3), in ptn_xpd() 415 nir_swizzle(b, src[0], SWIZ(Z, X, Y, W), 3))), in ptn_xpd() 585 nir_src_for_ssa(nir_swizzle(b, src[0], SWIZ(X, Y, Z, W), in ptn_tex()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_nir_lower_builtin.c | 216 def = nir_swizzle(b, def, swiz, intrin->num_components); in lower_builtin_instr()
|
D | st_atifs_to_nir.c | 65 return nir_swizzle(b, src, swizzle, 4); in nir_channel_vec4() 102 return nir_swizzle(t->b, src, xywz, 4); in apply_swizzle()
|
D | st_pbo.c | 317 nir_swizzle(&b, nir_i2f32(&b, nir_load_var(&b, instance_id)), swiz_x, 4), in st_pbo_create_vs() 485 texcoord = nir_swizzle(&b, texcoord, &sw, 1); in create_fs()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shaderlib_nir.c | 111 coord_src = nir_swizzle(&b, coord_src, swizzle_xz, 4); in si_create_copy_image_cs() 113 coord_dst = nir_swizzle(&b, coord_dst, swizzle_xz, 4); in si_create_copy_image_cs()
|
/third_party/mesa3d/src/panfrost/util/ |
D | pan_lower_framebuffer.c | 171 return nir_swizzle(b, v, swizzle, v->num_components); in pan_pack_reorder() 186 return nir_swizzle(b, v, swizzle, v->num_components); in pan_unpack_reorder()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 100 nir_swizzle(b, src, SWIZ(x, y, z, w), 4) 649 load = nir_swizzle(b, load, SWIZ(X, Y, Y, Y), 4); in ttn_src_for_file_and_index() 651 load = nir_swizzle(b, load, SWIZ(X, Y, Z, Z), 4); in ttn_src_for_file_and_index() 1453 nir_src_for_ssa(nir_swizzle(b, src[0], SWIZ(X, Y, Z, W), in ttn_tex() 1510 nir_src_for_ssa(nir_swizzle(b, src[1], SWIZ(X, Y, Z, W), in ttn_tex() 1515 nir_src_for_ssa(nir_swizzle(b, src[2], SWIZ(X, Y, Z, W), in ttn_tex() 1711 instr->src[i++] = nir_src_for_ssa(nir_swizzle(b, src[1], SWIZ(X, Y, Z, W), in ttn_mem() 1769 instr->src[3] = nir_src_for_ssa(nir_swizzle(b, src[1], SWIZ(X, Y, Z, W), in ttn_mem()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_blit.c | 95 nir_swizzle(&b, nir_load_var(&b, tex_pos_in), swz, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 3)); in build_nir_copy_fragment_shader() 143 nir_swizzle(&b, nir_load_var(&b, tex_pos_in), swz, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 3)); in build_nir_copy_fragment_shader_depth() 191 nir_swizzle(&b, nir_load_var(&b, tex_pos_in), swz, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 3)); in build_nir_copy_fragment_shader_stencil()
|
D | radv_meta_buffer.c | 16 nir_ssa_def *data = nir_swizzle(&b, nir_channel(&b, pconst, 3), (unsigned[]){0, 0, 0, 0}, 4); in build_buffer_fill_shader()
|
D | radv_rt_common.c | 227 nir_swizzle(b, k, swap_xy_swizzle, 3), k); in intersect_ray_amd_software_tri()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_lower_tex.cpp | 172 scale = nir_swizzle(b, scale, swizzle, 3); in lower_txl_txf_array_or_cube()
|
D | sfn_nir_vectorize_vs_inputs.c | 168 nir_ssa_def *load = nir_swizzle(b, &new_intr->dest.ssa, channels, old_num_comps); in r600_create_new_load()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_glsl450.c | 67 subcol[j - (j > col)] = nir_swizzle(b, src[j], swiz, size - 1); in build_mat_subdet()
|