Home
last modified time | relevance | path

Searched refs:TGSI_SWIZZLE_X (Results 1 – 25 of 45) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_point_sprite.c48 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 …]
Dtgsi_emulate.c95 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()
Dtgsi_aa_point.c172 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()
Dtgsi_lowering.c98 #define TGSI_SWIZZLE__ TGSI_SWIZZLE_X /* don't-care value! */
1228 new_inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside()
1229 new_inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; in emit_twoside()
1230 new_inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; in emit_twoside()
1231 new_inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_X; in emit_twoside()
1234 new_inst.Src[1].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside()
1240 new_inst.Src[2].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside()
1274 ctx->imm.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls()
1288 ctx->tmp[i].src.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls()
Dtgsi_text.c579 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()
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_tgsi.c122 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/
Dst_pbo.c319 ureg_scalar(in_instanceid, TGSI_SWIZZLE_X)); in st_pbo_create_vs()
323 ureg_scalar(in_instanceid, TGSI_SWIZZLE_X)); in st_pbo_create_vs()
368 ureg_EMIT(ureg, ureg_scalar(imm, TGSI_SWIZZLE_X)); in st_pbo_create_gs()
452 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, in create_fs()
458 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, in create_fs()
461 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, in create_fs()
468 ureg_scalar(ureg_src(temp0), TGSI_SWIZZLE_X)); in create_fs()
474 ureg_scalar(layer, TGSI_SWIZZLE_X), in create_fs()
475 ureg_scalar(ureg_src(temp0), TGSI_SWIZZLE_X)); in create_fs()
499 ureg_MOV(ureg, temp1_layer, ureg_scalar(layer, TGSI_SWIZZLE_X)); in create_fs()
[all …]
Dst_cb_bitmap_shader.c113 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()
Dst_mesa_to_tgsi.c552 ureg_scalar(src[0], TGSI_SWIZZLE_X)); in compile_instruction()
554 ureg_scalar(src[0], TGSI_SWIZZLE_X)); in compile_instruction()
562 TGSI_SWIZZLE_X, 0), in compile_instruction()
563 ureg_swizzle(src[1], TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in compile_instruction()
566 ureg_swizzle(src[0], TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in compile_instruction()
569 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, 0)), in compile_instruction()
Dst_tgsi_lower_yuv.c94 #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/
Dsvga_tgsi_emit.h170 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)
Dsvga_tgsi_decl_sm30.c189 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()
Dsvga_tgsi_vgpu10.c1376 reg.Register.SwizzleX = TGSI_SWIZZLE_X; in make_src_reg()
1478 case TGSI_SWIZZLE_X: in get_swizzle()
1488 return TGSI_SWIZZLE_X; in get_swizzle()
3380 swizzle_src(src, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_X, TGSI_SWIZZLE_W); in emit_swap_r_b()
3455 struct tgsi_full_src_register src_xxxx = scalar_src(src, TGSI_SWIZZLE_X); in emit_puint_to_sscaled()
3698 swizzle_src(&inst->Src[0], TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in emit_ex2()
3699 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X); in emit_ex2()
3724 scalar_src(&inst->Src[0], TGSI_SWIZZLE_X); in emit_exp()
3739 tmp_src = scalar_src(&tmp_src, TGSI_SWIZZLE_X); in emit_exp()
3840 scalar_src(&tmp_src, TGSI_SWIZZLE_X); in emit_kill_if()
[all …]
Dsvga_tgsi_insn.c808 emit->arl_consts[i + 0].swizzle = TGSI_SWIZZLE_X; in create_arl_consts()
889 return TGSI_SWIZZLE_X; in common_immediate_swizzle()
898 return TGSI_SWIZZLE_X; in common_immediate_swizzle()
1073 src0 = scalar(src( tmp ), TGSI_SWIZZLE_X); in emit_if()
1227 temp_src0 = scalar(src( temp ), TGSI_SWIZZLE_X); in emit_dp2()
1247 src0 = scalar(src0, TGSI_SWIZZLE_X); in do_emit_sincos()
1298 src0 = scalar(src( temp ), TGSI_SWIZZLE_X); in emit_cos()
1749 srcSwizzle[i] = TGSI_SWIZZLE_X + i; in emit_tex_swizzle()
1753 srcSwizzle[i] = TGSI_SWIZZLE_X + i; in emit_tex_swizzle()
1878 scalar(src(src0_zdivw), TGSI_SWIZZLE_X) )) in emit_tex()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_aos.c575 … tmp0 = lp_build_swizzle_scalar_aos(&bld->bld_base.base, src0, TGSI_SWIZZLE_X, TGSI_NUM_CHANNELS); in lp_emit_instruction_aos()
581 tmp0 = swizzle_scalar_aos(bld, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos()
587 src0 = swizzle_scalar_aos(bld, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos()
589 src1 = swizzle_scalar_aos(bld, src1, TGSI_SWIZZLE_X); in lp_emit_instruction_aos()
595 tmp0 = swizzle_scalar_aos(bld, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos()
642 tmp0 = swizzle_scalar_aos(bld, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c221 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/state_trackers/nine/
Dnine_shader.c1087 ureg_UCMP(ureg, tmp, ureg_scalar(tx->regs.vFace, TGSI_SWIZZLE_X), in tx_src_param()
1095 tx->regs.vFace = ureg_scalar(tx->regs.vFace, TGSI_SWIZZLE_X); in tx_src_param()
1598 TGSI_SWIZZLE_X, 0), in DECL_SPECIAL()
1599 ureg_swizzle(src1, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in DECL_SPECIAL()
1602 ureg_swizzle(src0, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in DECL_SPECIAL()
1605 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, 0)), in DECL_SPECIAL()
1711 ctrx = ureg_scalar(ureg_src(ctr), TGSI_SWIZZLE_X); in DECL_SPECIAL()
1793 ureg_scalar(src, TGSI_SWIZZLE_X)); in DECL_SPECIAL()
1795 ureg_scalar(src, TGSI_SWIZZLE_X)); in DECL_SPECIAL()
1818 ctrx = ureg_scalar(ureg_src(ctr), TGSI_SWIZZLE_X); in DECL_SPECIAL()
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_idct.c77 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()
Dvl_zscan.c167 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XW), ureg_scalar(block_num, TGSI_SWIZZLE_X), in create_vert_shader()
170 …reg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in create_vert_shader()
523 sv_tmpl.swizzle_r = sv_tmpl.swizzle_g = sv_tmpl.swizzle_b = sv_tmpl.swizzle_a = TGSI_SWIZZLE_X; in vl_zscan_init_buffer()
Dvl_compositor.c110 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, 0.25f)); in create_vert_shader()
114 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in create_vert_shader()
118 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, -0.25f)); in create_vert_shader()
182 TGSI_SWIZZLE_X, j ? TGSI_SWIZZLE_Z : TGSI_SWIZZLE_Y, TGSI_SWIZZLE_W, TGSI_SWIZZLE_W); in create_frag_shader_weave()
233 ureg_src(temp[0]), ureg_scalar(lumakey, TGSI_SWIZZLE_X)); in create_frag_shader_csc()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_compiler.c512 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/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_text.c566 brackets->ind_comp = TGSI_SWIZZLE_X; in parse_register_bracket()
659 brackets->ind_comp = TGSI_SWIZZLE_X; in parse_register_src()
784 brackets->ind_comp = TGSI_SWIZZLE_X; in parse_register_dst()
862 swizzle[i] = TGSI_SWIZZLE_X; in parse_optional_swizzle()
/external/virglrenderer/src/gallium/include/pipe/
Dp_shader_tokens.h621 #define TGSI_SWIZZLE_X 0 macro
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c162 if ( write_mask & TGSI_WRITEMASK_X && r->Register.SwizzleX != TGSI_SWIZZLE_X) in is_unswizzled()
199 r->Register.SwizzleX = TGSI_SWIZZLE_X; in set_neutral_element_swizzle()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h658 TGSI_SWIZZLE_X, enumerator

12