Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_emit.h170 TRANSLATE_SWIZZLE(TGSI_SWIZZLE_X,TGSI_SWIZZLE_Y,TGSI_SWIZZLE_Z,TGSI_SWIZZLE_W)
174 TRANSLATE_SWIZZLE(TGSI_SWIZZLE_Y,TGSI_SWIZZLE_Y,TGSI_SWIZZLE_Y,TGSI_SWIZZLE_Y)
Dsvga_tgsi_decl_sm30.c190 TGSI_SWIZZLE_Y, in ps30_input()
191 TGSI_SWIZZLE_Y, in ps30_input()
192 TGSI_SWIZZLE_Y); in ps30_input()
Dsvga_tgsi_insn.c811 emit->arl_consts[i + 0].swizzle = TGSI_SWIZZLE_Y; in create_arl_consts()
891 return TGSI_SWIZZLE_Y; in common_immediate_swizzle()
1228 temp_src1 = scalar(src( temp ), TGSI_SWIZZLE_Y); in emit_dp2()
1270 src0 = scalar(src( temp ), TGSI_SWIZZLE_Y); in emit_sin()
1865 struct src_register tex_src_x = scalar(src(tex_result), TGSI_SWIZZLE_Y); in emit_tex()
2343 scalar( negate( src( fraction ) ), TGSI_SWIZZLE_Y ) ) ) in emit_exp()
3706 emit->key.tex[unit].swizzle_g = TGSI_SWIZZLE_Y; in svga_shader_emit_instructions()
/external/mesa3d/src/gallium/frontends/xa/
Dxa_tgsi.c270 TGSI_SWIZZLE_Y, in xrender_tex()
272 TGSI_SWIZZLE_Y), ureg_scalar(*imm0, in xrender_tex()
275 ureg_swizzle(coords, TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, in xrender_tex()
276 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y), ureg_scalar(*imm0, in xrender_tex()
280 ureg_scalar(ureg_src(tmp0), TGSI_SWIZZLE_Y)); in xrender_tex()
285 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_X, in xrender_tex()
301 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_X, in xrender_tex()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor_gfx.c106 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader()
108 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Z), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader()
109 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, 0.25f)); in create_vert_shader()
114 ureg_MAD(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader()
116 ureg_MAD(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_Z), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader()
117 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, -0.25f)); in create_vert_shader()
119 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y)); in create_vert_shader()
179 TGSI_SWIZZLE_X, j ? TGSI_SWIZZLE_Z : TGSI_SWIZZLE_Y, TGSI_SWIZZLE_W, TGSI_SWIZZLE_W); in create_frag_shader_weave()
194 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z), in create_frag_shader_weave()
232 ureg_src(temp[0]), ureg_scalar(lumakey, TGSI_SWIZZLE_Y)); in create_frag_shader_csc()
[all …]
Dvl_mc.c199 ureg_negate(ureg_scalar(ureg_src(field), TGSI_SWIZZLE_Y)), in create_ref_frag_shader()
202 ureg_negate(ureg_scalar(ureg_src(field), TGSI_SWIZZLE_Y)), in create_ref_frag_shader()
282 ureg_negate(ureg_scalar(vrect, TGSI_SWIZZLE_Y)), in create_ycbcr_vert_shader()
286 ureg_scalar(vpos, TGSI_SWIZZLE_Y), ureg_imm1f(shader, 0.5f)); in create_ycbcr_vert_shader()
293 ureg_scalar(ureg_src(t_vtex), TGSI_SWIZZLE_Y)); in create_ycbcr_vert_shader()
345 ureg_IF(shader, ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), &label); in create_ycbcr_frag_shader()
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()
137 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y)); in matrix_mul()
/external/mesa3d/src/mesa/state_tracker/
Dst_tgsi_lower_depth_clamp.c137 TGSI_SWIZZLE_Y); in epilog_last_vertex_stage()
198 TGSI_SWIZZLE_Y, false); in epilog_last_vertex_stage()
279 TGSI_SWIZZLE_Y, in epilog_fs()
288 TGSI_SWIZZLE_Y, in epilog_fs()
306 TGSI_SWIZZLE_Y, false); in epilog_fs()
Dst_mesa_to_tgsi.c573 ureg_swizzle(src[0], TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, in compile_instruction()
576 TGSI_SWIZZLE_Y, 0)); in compile_instruction()
579 TGSI_SWIZZLE_Y, 0), in compile_instruction()
580 ureg_negate(ureg_swizzle(src[1], TGSI_SWIZZLE_Y, in compile_instruction()
Dst_cb_bitmap_shader.c118 inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_Y; in transform_instr()
Dst_tgsi_lower_yuv.c162 ctx->imm[idx].Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_immed()
233 ctx->tmp[i].src.Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_decls()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_dynamic_indexing.c266 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Y, in remove_dynamic_indexes()
267 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Y); in remove_dynamic_indexes()
Dtgsi_point_sprite.c49 TGSI_SWIZZLE_Y}; in set_swizzle()
313 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z); in psprite_emit_vertex_inst()
325 TGSI_SWIZZLE_Y, in psprite_emit_vertex_inst()
361 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_X, in psprite_emit_vertex_inst()
369 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, in psprite_emit_vertex_inst()
446 TGSI_FILE_IMMEDIATE, ts->point_imm, TGSI_SWIZZLE_Y, false); in psprite_inst()
Dtgsi_vpos.c75 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_W); in write_vpos_prolog()
Dtgsi_aa_point.c184 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_Y, in aa_prolog()
Dtgsi_ureg.h1097 src.SwizzleY = TGSI_SWIZZLE_Y; in ureg_src_array_register()
1132 src.SwizzleY = TGSI_SWIZZLE_Y; in ureg_src()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c480 (src.SwizzleY == TGSI_SWIZZLE_Y || def->num_components < 2) && in ntt_store_def()
703 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Y), in ntt_emit_alu()
769 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Y), in ntt_emit_alu()
795 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Y), in ntt_emit_alu()
835 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Y)); in ntt_emit_alu()
839 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Y)); in ntt_emit_alu()
850 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_W, in ntt_emit_alu()
851 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_W)); in ntt_emit_alu()
858 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Y), in ntt_emit_alu()
914 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Y)); in ntt_emit_alu()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c224 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_Y, false); in aa_transform_prolog()
246 TGSI_SWIZZLE_Y, TRUE); in aa_transform_prolog()
278 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_Y, in aa_transform_prolog()
295 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_Y, 1, in aa_transform_prolog()
Ddraw_pipe_aaline.c212 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Y, in aa_transform_epilog()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h674 TGSI_SWIZZLE_Y, enumerator
/external/virglrenderer/src/gallium/include/pipe/
Dp_shader_tokens.h656 #define TGSI_SWIZZLE_Y 1 macro
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c164 if ( write_mask & TGSI_WRITEMASK_Y && r->Register.SwizzleY != TGSI_SWIZZLE_Y) in is_unswizzled()
204 r->Register.SwizzleY = TGSI_SWIZZLE_Y; in set_neutral_element_swizzle()
/external/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c935 return ureg_scalar(ureg_src(tx->regs.rL[loop_level]), TGSI_SWIZZLE_Y); in tx_get_loopal()
1663 ureg_swizzle(src0, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, in DECL_SPECIAL()
1666 TGSI_SWIZZLE_Y, 0)); in DECL_SPECIAL()
1669 TGSI_SWIZZLE_Y, 0), in DECL_SPECIAL()
1670 ureg_negate(ureg_swizzle(src1, TGSI_SWIZZLE_Y, in DECL_SPECIAL()
2437 ureg_negate(ureg_scalar(src, TGSI_SWIZZLE_Y)), in DECL_SPECIAL()
2697 …TEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y)); in DECL_SPECIAL()
2767 … ureg_RCP(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Z), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y)); in DECL_SPECIAL()
2771 …ritemask(tmp, TGSI_WRITEMASK_X), ureg_negate(ureg_abs(ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y))), in DECL_SPECIAL()
2841 …TEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y)); in DECL_SPECIAL()
[all …]
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.h1092 src.SwizzleY = TGSI_SWIZZLE_Y; in ureg_src_register()
1120 src.SwizzleY = TGSI_SWIZZLE_Y; in ureg_src()
/external/mesa3d/src/gallium/auxiliary/util/
Du_simple_shaders.c264 ureg_scalar(imm, TGSI_SWIZZLE_Y)); in util_make_fragment_tex_shader_xrbias()
1046 ureg_scalar(ureg_src(color), TGSI_SWIZZLE_Y), in util_make_fs_pack_color_zs()

12