/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_point_sprite.c | 48 static const unsigned map[3] = {TGSI_SWIZZLE_W, TGSI_SWIZZLE_X, in set_swizzle() 297 TGSI_FILE_TEMPORARY, ts->point_size_tmp, TGSI_SWIZZLE_X, in psprite_emit_vertex_inst() 308 ts->point_scale_tmp, TGSI_SWIZZLE_X, in psprite_emit_vertex_inst() 309 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, TGSI_SWIZZLE_X); in psprite_emit_vertex_inst() 311 ts->point_ivp, TGSI_SWIZZLE_X, in psprite_emit_vertex_inst() 326 TGSI_SWIZZLE_X, false); in psprite_emit_vertex_inst() 334 TGSI_SWIZZLE_X, true); in psprite_emit_vertex_inst() 360 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_X, in psprite_emit_vertex_inst() 361 TGSI_SWIZZLE_X); in psprite_emit_vertex_inst() 368 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, in psprite_emit_vertex_inst() [all …]
|
D | tgsi_emulate.c | 95 new_inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in passthrough_edgeflag() 96 new_inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; in passthrough_edgeflag() 97 new_inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; in passthrough_edgeflag() 98 new_inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_X; in passthrough_edgeflag()
|
D | tgsi_aa_point.c | 172 TGSI_FILE_IMMEDIATE, imm, TGSI_SWIZZLE_X, in aa_prolog() 178 TGSI_FILE_IMMEDIATE, imm, TGSI_SWIZZLE_X, in aa_prolog() 179 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, true); in aa_prolog()
|
D | tgsi_ureg.h | 657 TGSI_SWIZZLE_X, \ 677 TGSI_SWIZZLE_X, \ 698 TGSI_SWIZZLE_X, \ 720 TGSI_SWIZZLE_X, \ 1283 dst.PredSwizzleX = TGSI_SWIZZLE_X; in ureg_dst_array_register() 1324 dst.PredSwizzleX = TGSI_SWIZZLE_X; in ureg_dst() 1348 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src_array_register() 1383 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src() 1421 dst.PredSwizzleX = TGSI_SWIZZLE_X; in ureg_dst_undef()
|
D | tgsi_lowering.c | 98 #define TGSI_SWIZZLE__ TGSI_SWIZZLE_X /* don't-care value! */ 1379 new_inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside() 1380 new_inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; in emit_twoside() 1381 new_inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; in emit_twoside() 1382 new_inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_X; in emit_twoside() 1385 new_inst.Src[1].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside() 1391 new_inst.Src[2].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside() 1425 ctx->imm.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls() 1439 ctx->tmp[i].src.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls()
|
D | tgsi_text.c | 579 brackets->ind_comp = TGSI_SWIZZLE_X; in parse_register_bracket() 672 brackets->ind_comp = TGSI_SWIZZLE_X; in parse_register_src() 797 brackets->ind_comp = TGSI_SWIZZLE_X; in parse_register_dst() 875 swizzle[i] = TGSI_SWIZZLE_X; in parse_optional_swizzle()
|
D | tgsi_build.c | 695 instruction_predicate.SwizzleX = TGSI_SWIZZLE_X; in tgsi_default_instruction_predicate() 869 src_register.SwizzleX = TGSI_SWIZZLE_X; in tgsi_default_src_register() 930 ind_register.Swizzle = TGSI_SWIZZLE_X; in tgsi_default_ind_register()
|
D | tgsi_dump.c | 587 if (inst->Predicate.SwizzleX != TGSI_SWIZZLE_X || in iter_instruction() 634 if (src->Register.SwizzleX != TGSI_SWIZZLE_X || in iter_instruction()
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_tgsi.c | 122 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_X)); in src_in_mask() 178 ureg_scalar(coords, TGSI_SWIZZLE_X), in linear_gradient() 179 ureg_scalar(ureg_src(temp4), TGSI_SWIZZLE_X), ureg_src(temp0)); in linear_gradient() 228 ureg_scalar(coords, TGSI_SWIZZLE_X), in radial_gradient() 229 ureg_scalar(ureg_src(temp5), TGSI_SWIZZLE_X), ureg_src(temp0)); in radial_gradient() 235 ureg_scalar(ureg_src(temp5), TGSI_SWIZZLE_X), in radial_gradient() 236 ureg_scalar(ureg_src(temp5), TGSI_SWIZZLE_X), ureg_src(temp3)); in radial_gradient() 363 ureg_scalar(ureg_src(y), TGSI_SWIZZLE_X), matrow0, ureg_src(rgb)); in create_yuv_shader() 365 ureg_scalar(ureg_src(u), TGSI_SWIZZLE_X), matrow1, ureg_src(rgb)); in create_yuv_shader() 367 ureg_scalar(ureg_src(v), TGSI_SWIZZLE_X), matrow2, ureg_src(rgb)); in create_yuv_shader() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_bitmap_shader.c | 113 inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in transform_instr() 115 inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; in transform_instr() 116 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; in transform_instr() 117 inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_X; in transform_instr()
|
D | st_pbo.c | 333 ureg_scalar(in_instanceid, TGSI_SWIZZLE_X)); in st_pbo_create_vs() 381 ureg_EMIT(ureg, ureg_scalar(imm, TGSI_SWIZZLE_X)); in st_pbo_create_gs() 465 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, in create_fs() 471 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, in create_fs() 474 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, in create_fs() 481 ureg_scalar(ureg_src(temp0), TGSI_SWIZZLE_X)); in create_fs() 487 ureg_scalar(layer, TGSI_SWIZZLE_X), in create_fs() 488 ureg_scalar(ureg_src(temp0), TGSI_SWIZZLE_X)); in create_fs() 512 ureg_MOV(ureg, temp1_layer, ureg_scalar(layer, TGSI_SWIZZLE_X)); in create_fs() 518 ureg_scalar(const1, TGSI_SWIZZLE_X)); in create_fs()
|
D | st_tgsi_lower_yuv.c | 94 #define TGSI_SWIZZLE__ TGSI_SWIZZLE_X /* don't-care value! */ 162 ctx->imm[idx].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_immed() 233 ctx->tmp[i].src.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi_emit.h | 170 TRANSLATE_SWIZZLE(TGSI_SWIZZLE_X,TGSI_SWIZZLE_Y,TGSI_SWIZZLE_Z,TGSI_SWIZZLE_W) 172 TRANSLATE_SWIZZLE(TGSI_SWIZZLE_X,TGSI_SWIZZLE_X,TGSI_SWIZZLE_X,TGSI_SWIZZLE_X)
|
D | svga_tgsi_vgpu10.c | 1371 reg.Register.SwizzleX = TGSI_SWIZZLE_X; in make_src_reg() 1473 case TGSI_SWIZZLE_X: in get_swizzle() 1483 return TGSI_SWIZZLE_X; in get_swizzle() 3360 swizzle_src(src, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_X, TGSI_SWIZZLE_W); in emit_swap_r_b() 3435 struct tgsi_full_src_register src_xxxx = scalar_src(src, TGSI_SWIZZLE_X); in emit_puint_to_sscaled() 3589 scalar_src(&tmp_src, TGSI_SWIZZLE_X); in emit_dp2a() 3594 scalar_src(&inst->Src[0], TGSI_SWIZZLE_X); in emit_dp2a() 3598 scalar_src(&inst->Src[1], TGSI_SWIZZLE_X); in emit_dp2a() 3602 scalar_src(&inst->Src[2], TGSI_SWIZZLE_X); in emit_dp2a() 3761 swizzle_src(&inst->Src[0], TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in emit_ex2() [all …]
|
D | svga_tgsi_decl_sm30.c | 189 emit->ps_true_pos.base.swizzle = TRANSLATE_SWIZZLE( TGSI_SWIZZLE_X, in ps30_input() 266 emit->input_map[idx].base.swizzle = TRANSLATE_SWIZZLE( TGSI_SWIZZLE_X, in ps30_input() 267 TGSI_SWIZZLE_X, in ps30_input() 268 TGSI_SWIZZLE_X, in ps30_input() 269 TGSI_SWIZZLE_X ); in ps30_input()
|
D | svga_tgsi_insn.c | 809 emit->arl_consts[i + 0].swizzle = TGSI_SWIZZLE_X; in create_arl_consts() 890 return TGSI_SWIZZLE_X; in common_immediate_swizzle() 899 return TGSI_SWIZZLE_X; in common_immediate_swizzle() 1074 src0 = scalar(src( tmp ), TGSI_SWIZZLE_X); in emit_if() 1228 temp_src0 = scalar(src( temp ), TGSI_SWIZZLE_X); in emit_dp2() 1281 src0 = scalar(src0, TGSI_SWIZZLE_X); in do_emit_sincos() 1355 src0 = scalar(src( temp ), TGSI_SWIZZLE_X); in emit_cos() 1806 srcSwizzle[i] = TGSI_SWIZZLE_X + i; in emit_tex_swizzle() 1810 srcSwizzle[i] = TGSI_SWIZZLE_X + i; in emit_tex_swizzle() 1935 scalar(src(src0_zdivw), TGSI_SWIZZLE_X) )) in emit_tex() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_aapoint.c | 221 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, in aa_transform_prolog() 239 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, in aa_transform_prolog() 271 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, true); in aa_transform_prolog() 282 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, in aa_transform_prolog()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_aos.c | 632 … tmp0 = lp_build_swizzle_scalar_aos(&bld->bld_base.base, src0, TGSI_SWIZZLE_X, TGSI_NUM_CHANNELS); in lp_emit_instruction_aos() 638 tmp0 = swizzle_scalar_aos(bld, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos() 644 src0 = swizzle_scalar_aos(bld, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos() 646 src1 = swizzle_scalar_aos(bld, src1, TGSI_SWIZZLE_X); in lp_emit_instruction_aos() 658 tmp0 = swizzle_scalar_aos(bld, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos() 705 tmp0 = swizzle_scalar_aos(bld, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_idct.c | 77 unsigned sw_start = right_side ? TGSI_SWIZZLE_Y : TGSI_SWIZZLE_X; in calc_addr() 80 unsigned sw_tc = right_side ? TGSI_SWIZZLE_X : TGSI_SWIZZLE_Y; in calc_addr() 136 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), in matrix_mul() 243 ureg_scalar(ureg_src(m[0][0]), TGSI_SWIZZLE_X)); in create_mismatch_frag_shader() 419 ureg_scalar(vrect, TGSI_SWIZZLE_X), in vl_idct_stage2_vert_shader()
|
D | vl_zscan.c | 146 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XW), ureg_scalar(block_num, TGSI_SWIZZLE_X), in create_vert_shader() 149 …reg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in create_vert_shader() 502 sv_tmpl.swizzle_r = sv_tmpl.swizzle_g = sv_tmpl.swizzle_b = sv_tmpl.swizzle_a = TGSI_SWIZZLE_X; in vl_zscan_init_buffer()
|
D | vl_compositor.c | 109 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, 0.25f)); in create_vert_shader() 113 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in create_vert_shader() 117 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, -0.25f)); in create_vert_shader() 175 TGSI_SWIZZLE_X, j ? TGSI_SWIZZLE_Z : TGSI_SWIZZLE_Y, TGSI_SWIZZLE_W, TGSI_SWIZZLE_W); in create_frag_shader_weave() 226 ureg_src(temp[0]), ureg_scalar(lumakey, TGSI_SWIZZLE_X)); in create_frag_shader_csc()
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_compiler.c | 512 src->SwizzleX = TGSI_SWIZZLE_X; in src_from_dst() 645 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_W, in get_immediate() 711 tmp_src.SwizzleW = TGSI_SWIZZLE_X; in translate_pow() 753 [TGSI_SWIZZLE_X] = "xxxx", in translate_tex() 941 tmp_src.SwizzleZ = tmp_src.SwizzleW = TGSI_SWIZZLE_X; in translate_trig()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_shader.c | 1100 ureg_UCMP(ureg, tmp, ureg_scalar(tx->regs.vFace, TGSI_SWIZZLE_X), in tx_src_param() 1108 tx->regs.vFace = ureg_scalar(tx->regs.vFace, TGSI_SWIZZLE_X); in tx_src_param() 1703 ctrx = ureg_scalar(ureg_src(ctr), TGSI_SWIZZLE_X); in DECL_SPECIAL() 1806 ctrx = ureg_scalar(ureg_src(ctr), TGSI_SWIZZLE_X); in DECL_SPECIAL() 1896 ureg_IF(tx->ureg, ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), tx_cond(tx)); in DECL_SPECIAL() 1914 ureg_IF(tx->ureg, ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), tx_cond(tx)); in DECL_SPECIAL() 2546 … ureg_RCP(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in DECL_SPECIAL() 2550 …ureg_MUL(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), … in DECL_SPECIAL() 2552 …ureg_MUL(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), … in DECL_SPECIAL() 2553 ureg_MUL(ureg, tmp, ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_src(dst)); in DECL_SPECIAL() [all …]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_optimize.c | 165 if ( write_mask & TGSI_WRITEMASK_X && r->Register.SwizzleX != TGSI_SWIZZLE_X) in is_unswizzled() 202 r->Register.SwizzleX = TGSI_SWIZZLE_X; in set_neutral_element_swizzle()
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_shader_tokens.h | 654 TGSI_SWIZZLE_X, enumerator
|