/external/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()
|
D | spirv_to_nir.c | 3006 return nir_swizzle(&b->nb, coord, swizzle, 4); in get_image_coord() 3018 return nir_swizzle(b, value, swiz, 4); in expand_to_vec4()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_builtin_builder.c | 36 return nir_fsub(b, nir_fmul(b, nir_swizzle(b, x, yzx, 3), in nir_cross3() 37 nir_swizzle(b, y, zxy, 3)), in nir_cross3() 38 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 | 562 nir_swizzle(b, p, xzy, 3), in lower_gradient_cube_map() 563 nir_swizzle(b, p, yzx, 3))); in lower_gradient_cube_map() 568 nir_swizzle(b, dPdx, xzy, 3), in lower_gradient_cube_map() 569 nir_swizzle(b, dPdx, yzx, 3))); in lower_gradient_cube_map() 574 nir_swizzle(b, dPdy, xzy, 3), in lower_gradient_cube_map() 575 nir_swizzle(b, dPdy, yzx, 3))); in lower_gradient_cube_map() 754 nir_ssa_def *swizzled = nir_swizzle(b, &tex->dest.ssa, swiz, 4); in swizzle_tg4_broadcom() 782 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 | 246 nir_ssa_def *new_alu1 = nir_swizzle(&b, &new_alu->dest.dest.ssa, swiz, in instr_try_combine() 251 nir_ssa_def *new_alu2 = nir_swizzle(&b, &new_alu->dest.dest.ssa, swiz, in instr_try_combine()
|
D | nir_builder.h | 545 nir_swizzle(nir_builder *build, nir_ssa_def *src, const unsigned *swiz, in nir_swizzle() function 629 return nir_swizzle(b, def, &c, 1); in nir_channel() 643 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 | 1185 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()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_nir_attribute_workarounds.c | 83 val = nir_swizzle(b, val, (unsigned[4]){2,1,0,3}, 4); in apply_attr_wa_block()
|
/external/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() 564 nir_src_for_ssa(nir_swizzle(b, src[0], SWIZ(X, Y, Z, W), in ptn_tex()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_nir_lower_builtin.c | 212 def = nir_swizzle(b, def, swiz, intrin->num_components); in lower_builtin_block()
|
D | st_pbo.c | 323 nir_swizzle(&b, nir_i2f32(&b, nir_load_var(&b, instance_id)), swiz_x, 4), in st_pbo_create_vs()
|
D | st_cb_drawpixels.c | 250 nir_ssa_def *swizzled_ds= nir_swizzle(&b, unpacked_ds, zyxw, 4); in make_drawpix_zs_to_color_program_nir()
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 98 nir_swizzle(b, src, SWIZ(x, y, z, w), 4) 651 load = nir_swizzle(b, load, SWIZ(X, Y, Y, Y), 4); in ttn_src_for_file_and_index() 653 load = nir_swizzle(b, load, SWIZ(X, Y, Z, Z), 4); in ttn_src_for_file_and_index() 1459 nir_src_for_ssa(nir_swizzle(b, src[0], SWIZ(X, Y, Z, W), in ttn_tex() 1516 nir_src_for_ssa(nir_swizzle(b, src[1], SWIZ(X, Y, Z, W), in ttn_tex() 1521 nir_src_for_ssa(nir_swizzle(b, src[2], SWIZ(X, Y, Z, W), in ttn_tex() 1713 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()
|
/external/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instruction_tex.cpp | 265 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()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_blit.c | 130 nir_swizzle(&b, nir_load_var(&b, tex_pos_in), swz, in build_nir_copy_fragment_shader() 188 nir_swizzle(&b, nir_load_var(&b, tex_pos_in), swz, in build_nir_copy_fragment_shader_depth() 246 nir_swizzle(&b, nir_load_var(&b, tex_pos_in), swz, in build_nir_copy_fragment_shader_stencil()
|
D | radv_meta_buffer.c | 40 nir_ssa_def *swizzled_load = nir_swizzle(&b, &load->dest.ssa, (unsigned[]) { 0, 0, 0, 0}, 4); in build_buffer_fill_shader()
|
/external/mesa3d/src/compiler/glsl/ |
D | glsl_to_nir.cpp | 1711 src = nir_swizzle(&b, src, swiz, num_components); in visit() 1874 result = nir_swizzle(&b, result, swiz, in visit() 2348 result = nir_swizzle(&b, evaluate_rvalue(ir->val), swizzle, in visit()
|