Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_exa_tgsi.c100 ureg_scalar(mask, TGSI_SWIZZLE_X)); in src_in_mask()
159 ureg_scalar(coords, TGSI_SWIZZLE_X), in linear_gradient()
160 ureg_scalar(ureg_src(temp4), TGSI_SWIZZLE_X), in linear_gradient()
219 ureg_scalar(coords, TGSI_SWIZZLE_X), in radial_gradient()
220 ureg_scalar(ureg_src(temp5), TGSI_SWIZZLE_X), in radial_gradient()
228 ureg_scalar(ureg_src(temp5), TGSI_SWIZZLE_X), in radial_gradient()
229 ureg_scalar(ureg_src(temp5), TGSI_SWIZZLE_X), in radial_gradient()
364 ureg_scalar(ureg_src(y), TGSI_SWIZZLE_X), in create_yuv_shader()
367 ureg_scalar(ureg_src(u), TGSI_SWIZZLE_X), in create_yuv_shader()
371 ureg_scalar(ureg_src(v), TGSI_SWIZZLE_X), in create_yuv_shader()
[all …]
/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()
353 ureg_scalar(ureg_src(y), TGSI_SWIZZLE_X), matrow0, ureg_src(rgb)); in create_yuv_shader()
355 ureg_scalar(ureg_src(u), TGSI_SWIZZLE_X), matrow1, ureg_src(rgb)); in create_yuv_shader()
357 ureg_scalar(ureg_src(v), TGSI_SWIZZLE_X), matrow2, ureg_src(rgb)); in create_yuv_shader()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_emit.h236 TRANSLATE_SWIZZLE(TGSI_SWIZZLE_X,TGSI_SWIZZLE_Y,TGSI_SWIZZLE_Z,TGSI_SWIZZLE_W)
238 TRANSLATE_SWIZZLE(TGSI_SWIZZLE_X,TGSI_SWIZZLE_X,TGSI_SWIZZLE_X,TGSI_SWIZZLE_X)
Dsvga_tgsi_insn.c673 emit->arl_consts[i + 0].swizzle = TGSI_SWIZZLE_X; in create_arl_consts()
811 zero = scalar(zero, TGSI_SWIZZLE_X); in emit_if()
822 src0 = scalar(src( tmp ), TGSI_SWIZZLE_X); in emit_if()
961 temp_src0 = scalar(src( temp ), TGSI_SWIZZLE_X); in emit_dp2()
1039 src0 = scalar(src0, TGSI_SWIZZLE_X); in do_emit_sincos()
1103 src0 = scalar(src( temp ), TGSI_SWIZZLE_X); in emit_cos()
1130 zero = scalar( zero, TGSI_SWIZZLE_X ); in emit_ssg()
1381 zero = scalar( zero, TGSI_SWIZZLE_X ); in emit_select()
1425 scalar(get_zero_immediate(emit), TGSI_SWIZZLE_X); in emit_cmp()
1503 scalar( zero, TGSI_SWIZZLE_X ))) in emit_tex2()
[all …]
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()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.h555 TGSI_SWIZZLE_X, \
574 TGSI_SWIZZLE_X, \
595 TGSI_SWIZZLE_X, \
617 TGSI_SWIZZLE_X, \
992 dst.PredSwizzleX = TGSI_SWIZZLE_X; in ureg_dst()
1008 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src_register()
1035 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src()
1071 dst.PredSwizzleX = TGSI_SWIZZLE_X; in ureg_dst_undef()
Dtgsi_text.c471 brackets->ind_comp = TGSI_SWIZZLE_X; in parse_register_bracket()
550 brackets->ind_comp = TGSI_SWIZZLE_X; in parse_register_src()
668 brackets->ind_comp = TGSI_SWIZZLE_X; in parse_register_dst()
739 swizzle[i] = TGSI_SWIZZLE_X; in parse_optional_swizzle()
Dtgsi_dump.c509 if (inst->Predicate.SwizzleX != TGSI_SWIZZLE_X || in iter_instruction()
565 if (src->Register.SwizzleX != TGSI_SWIZZLE_X || in iter_instruction()
Dtgsi_scan.c316 src->Register.SwizzleX != TGSI_SWIZZLE_X || in tgsi_is_passthrough_shader()
Dtgsi_ppc.c271 case TGSI_SWIZZLE_X: in emit_fetch()
1180 emit_tempf( func, 0, 0, TGSI_SWIZZLE_X ); in emit_declaration()
1193 emit_tempf( func, 0, 0, TGSI_SWIZZLE_X ); in emit_declaration()
Dtgsi_build.c644 instruction_predicate.SwizzleX = TGSI_SWIZZLE_X; in tgsi_default_instruction_predicate()
784 src_register.SwizzleX = TGSI_SWIZZLE_X; in tgsi_default_src_register()
Dtgsi_ureg.c259 dst.PredSwizzleX = TGSI_SWIZZLE_X; in ureg_dst_register()
1186 TGSI_SWIZZLE_X, in ureg_label_insn()
/external/mesa3d/src/gallium/state_trackers/vega/
Dasm_fill.h87 ureg_scalar(constant[2], TGSI_SWIZZLE_X), in linear_grad()
88 ureg_scalar(ureg_src(temp[4]), TGSI_SWIZZLE_X), in linear_grad()
231 ureg_scalar(constant[3], TGSI_SWIZZLE_X), in color_transform()
588 ureg_scalar(ureg_src(temp[0]), TGSI_SWIZZLE_X), in color_bw()
592 ureg_scalar(ureg_src(temp[0]), TGSI_SWIZZLE_X)); in color_bw()
595 ureg_scalar(ureg_src(temp[2]), TGSI_SWIZZLE_X), in color_bw()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_aos.c627 tmp0 = lp_build_swizzle_scalar_aos(&bld->bld_base.base, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos()
633 tmp0 = swizzle_scalar_aos(bld, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos()
639 src0 = swizzle_scalar_aos(bld, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos()
641 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()
714 tmp0 = swizzle_scalar_aos(bld, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos()
/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()
421 ureg_scalar(vrect, TGSI_SWIZZLE_X), in vl_idct_stage2_vert_shader()
Dvl_zscan.c142 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XW), ureg_scalar(block_num, TGSI_SWIZZLE_X), in create_vert_shader()
145 …reg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in create_vert_shader()
510 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.c108 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, 0.25f)); in create_vert_shader()
112 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in create_vert_shader()
116 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, -0.25f)); in create_vert_shader()
225 TGSI_SWIZZLE_X, j ? TGSI_SWIZZLE_Z : TGSI_SWIZZLE_Y, TGSI_SWIZZLE_W, TGSI_SWIZZLE_W); in create_frag_shader_weave()
Dvl_mc.c288 ureg_scalar(ureg_src(t_vtex), TGSI_SWIZZLE_X), in create_ycbcr_vert_shader()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c263 newInst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in aa_transform_inst()
305 newInst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; in aa_transform_inst()
370 newInst.Src[1].Register.SwizzleY = TGSI_SWIZZLE_X; in aa_transform_inst()
399 newInst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; in aa_transform_inst()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c77 if ( write_mask & TGSI_WRITEMASK_X && r->Register.SwizzleX != TGSI_SWIZZLE_X) in is_unswizzled()
130 r->Register.SwizzleX = TGSI_SWIZZLE_X; in set_neutral_element_swizzle()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h483 #define TGSI_SWIZZLE_X 0 macro
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_from_tgsi.cpp994 if (info->in[i].sn != TGSI_SEMANTIC_FOG || k == TGSI_SWIZZLE_X) in scanInstruction()