/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_glsl450.c | 43 nir_ssa_def *p = nir_fmul(b, col[0], nir_swizzle(b, col[1], swiz, 2)); in build_mat2_det() 55 nir_fmul(b, nir_swizzle(b, col[1], yzx, 3), in build_mat3_det() 56 nir_swizzle(b, col[2], zxy, 3))); in build_mat3_det() 59 nir_fmul(b, nir_swizzle(b, col[1], zxy, 3), in build_mat3_det() 60 nir_swizzle(b, col[2], yzx, 3))); in build_mat3_det() 79 subcol[0] = nir_swizzle(b, col[1], swiz, 3); in build_mat4_det() 80 subcol[1] = nir_swizzle(b, col[2], swiz, 3); in build_mat4_det() 81 subcol[2] = nir_swizzle(b, col[3], swiz, 3); in build_mat4_det() 132 subcol[j - (j > col)] = nir_swizzle(b, src->elems[j]->def, in build_mat_subdet()
|
/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 | 644 nir_swizzle(b, p, xzy, 3), in lower_gradient_cube_map() 645 nir_swizzle(b, p, yzx, 3))); in lower_gradient_cube_map() 650 nir_swizzle(b, dPdx, xzy, 3), in lower_gradient_cube_map() 651 nir_swizzle(b, dPdx, yzx, 3))); in lower_gradient_cube_map() 656 nir_swizzle(b, dPdy, xzy, 3), in lower_gradient_cube_map() 657 nir_swizzle(b, dPdy, yzx, 3))); in lower_gradient_cube_map() 912 nir_ssa_def *swizzled = nir_swizzle(b, &tex->dest.ssa, swiz, 4); in swizzle_tg4_broadcom() 940 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 | 264 nir_ssa_def *new_alu1 = nir_swizzle(&b, &new_alu->dest.dest.ssa, swiz, in instr_try_combine() 269 nir_ssa_def *new_alu2 = nir_swizzle(&b, &new_alu->dest.dest.ssa, swiz, in instr_try_combine()
|
D | nir_builder.h | 593 nir_swizzle(nir_builder *build, nir_ssa_def *src, const unsigned *swiz, in nir_swizzle() function 680 return nir_swizzle(b, def, &c, 1); in nir_channel() 694 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 | 1224 return nir_swizzle(b, data, swiz, num_components); in resize_vector()
|
D | nir_split_vars.c | 1609 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 | 409 nir_swizzle(b, src[0], SWIZ(Y, Z, X, W), 3), in ptn_xpd() 410 nir_swizzle(b, src[1], SWIZ(Z, X, Y, W), 3)), in ptn_xpd() 412 nir_swizzle(b, src[1], SWIZ(Y, Z, X, W), 3), in ptn_xpd() 413 nir_swizzle(b, src[0], SWIZ(Z, X, Y, W), 3))), in ptn_xpd() 583 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 | 227 def = nir_swizzle(b, def, swiz, intrin->num_components); in lower_builtin_block()
|
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 | 328 nir_swizzle(&b, nir_i2f32(&b, nir_load_var(&b, instance_id)), swiz_x, 4), in st_pbo_create_vs() 489 texcoord = nir_swizzle(&b, texcoord, &sw, 1); in create_fs()
|
D | st_cb_drawpixels.c | 248 nir_ssa_def *swizzled_ds= nir_swizzle(&b, unpacked_ds, zyxw, 4); in make_drawpix_zs_to_color_program_nir()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 99 nir_swizzle(b, src, SWIZ(x, y, z, w), 4) 648 load = nir_swizzle(b, load, SWIZ(X, Y, Y, Y), 4); in ttn_src_for_file_and_index() 650 load = nir_swizzle(b, load, SWIZ(X, Y, Z, Z), 4); in ttn_src_for_file_and_index() 1451 nir_src_for_ssa(nir_swizzle(b, src[0], SWIZ(X, Y, Z, W), in ttn_tex() 1508 nir_src_for_ssa(nir_swizzle(b, src[1], SWIZ(X, Y, Z, W), in ttn_tex() 1513 nir_src_for_ssa(nir_swizzle(b, src[2], SWIZ(X, Y, Z, W), in ttn_tex() 1707 instr->src[i++] = nir_src_for_ssa(nir_swizzle(b, src[1], SWIZ(X, Y, Z, W), in ttn_mem() 1765 instr->src[3] = nir_src_for_ssa(nir_swizzle(b, src[1], SWIZ(X, Y, Z, W), in ttn_mem()
|
/third_party/mesa3d/src/panfrost/util/ |
D | pan_lower_framebuffer.c | 211 return nir_swizzle(b, v, swizzle, v->num_components); in pan_pack_reorder() 226 return nir_swizzle(b, v, swizzle, v->num_components); in pan_unpack_reorder()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_blit.c | 96 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() 144 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() 192 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 | 23 nir_ssa_def *swizzled_load = nir_swizzle(&b, load, (unsigned[]){0, 0, 0, 0}, 4); in build_buffer_fill_shader()
|
D | radv_acceleration_structure.c | 966 &b, nir_u2u64(&b, nir_imul(&b, indices, nir_swizzle(&b, vertex_stride, repl_swizzle, 3))), in build_leaf_shader() 967 nir_swizzle(&b, vertex_addr, repl_swizzle, 3)); in build_leaf_shader()
|
D | radv_pipeline_rt.c | 1688 nir_swizzle(b, k, swap_xy_swizzle, 3), in intersect_ray_amd_software_tri()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
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()
|
D | sfn_instruction_tex.cpp | 283 scale = nir_swizzle(b, scale, swizzle, 3); in lower_txl_txf_array_or_cube()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | glsl_to_nir.cpp | 1696 src = nir_swizzle(&b, src, swiz, num_components); in visit() 1859 result = nir_swizzle(&b, result, swiz, in visit() 2327 result = nir_swizzle(&b, evaluate_rvalue(ir->val), swizzle, in visit()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_compiler.c | 483 nir_ssa_def *swizzle = nir_swizzle(b, load, swiz, 4); in lower_fbfetch_instr()
|