Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_dynamic_indexing.c138 index, TGSI_SWIZZLE_X, in remove_dynamic_indexes()
139 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, TGSI_SWIZZLE_X); in remove_dynamic_indexes()
156 imm_index, TGSI_SWIZZLE_X, in remove_dynamic_indexes()
157 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in remove_dynamic_indexes()
158 TGSI_SWIZZLE_X); in remove_dynamic_indexes()
209 tmp_arrayIdx, TGSI_SWIZZLE_X, in remove_dynamic_indexes()
210 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in remove_dynamic_indexes()
211 TGSI_SWIZZLE_X); in remove_dynamic_indexes()
213 tmp_loopIdx, TGSI_SWIZZLE_X, in remove_dynamic_indexes()
214 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in remove_dynamic_indexes()
[all …]
Dtgsi_point_sprite.c48 static const unsigned map[3] = {TGSI_SWIZZLE_W, TGSI_SWIZZLE_X, in set_swizzle()
298 TGSI_FILE_TEMPORARY, ts->point_size_tmp, TGSI_SWIZZLE_X, in psprite_emit_vertex_inst()
309 ts->point_scale_tmp, TGSI_SWIZZLE_X, in psprite_emit_vertex_inst()
310 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, TGSI_SWIZZLE_X); in psprite_emit_vertex_inst()
312 ts->point_ivp, TGSI_SWIZZLE_X, in psprite_emit_vertex_inst()
327 TGSI_SWIZZLE_X, false); in psprite_emit_vertex_inst()
335 TGSI_SWIZZLE_X, true); in psprite_emit_vertex_inst()
361 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_X, in psprite_emit_vertex_inst()
362 TGSI_SWIZZLE_X); in psprite_emit_vertex_inst()
369 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_vpos.c74 vc->imm_index, TGSI_SWIZZLE_X, in write_vpos_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()
/external/mesa3d/src/gallium/frontends/xa/
Dxa_tgsi.c117 src, ureg_scalar(mask, TGSI_SWIZZLE_X)); in src_in_mask()
119 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_X)); in src_in_mask()
238 ureg_scalar(ureg_src(y), TGSI_SWIZZLE_X), matrow0, ureg_src(rgb)); in create_yuv_shader()
240 ureg_scalar(ureg_src(u), TGSI_SWIZZLE_X), matrow1, ureg_src(rgb)); in create_yuv_shader()
242 ureg_scalar(ureg_src(v), TGSI_SWIZZLE_X), matrow2, ureg_src(rgb)); in create_yuv_shader()
269 TGSI_SWIZZLE_X, in xrender_tex()
271 TGSI_SWIZZLE_X, in xrender_tex()
273 TGSI_SWIZZLE_X)); 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()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_tgsi_lower_depth_clamp.c178 TGSI_SWIZZLE_X, in epilog_last_vertex_stage()
183 TGSI_SWIZZLE_X); in epilog_last_vertex_stage()
196 TGSI_SWIZZLE_X, in epilog_last_vertex_stage()
204 TGSI_SWIZZLE_X, in epilog_last_vertex_stage()
206 TGSI_SWIZZLE_X, false); in epilog_last_vertex_stage()
252 TGSI_SWIZZLE_X); in prolog_fs()
263 unsigned src0_swizzle = TGSI_SWIZZLE_X; in epilog_fs()
277 TGSI_SWIZZLE_X, in epilog_fs()
286 TGSI_SWIZZLE_X, in epilog_fs()
297 TGSI_SWIZZLE_X, false); in epilog_fs()
[all …]
Dst_cb_bitmap_shader.c112 inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in transform_instr()
114 inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; in transform_instr()
115 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; in transform_instr()
116 inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_X; in transform_instr()
Dst_mesa_to_tgsi.c564 ureg_scalar(src[0], TGSI_SWIZZLE_X)); in compile_instruction()
566 ureg_scalar(src[0], TGSI_SWIZZLE_X)); in compile_instruction()
574 TGSI_SWIZZLE_X, 0), in compile_instruction()
575 ureg_swizzle(src[1], TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in compile_instruction()
578 ureg_swizzle(src[0], TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in compile_instruction()
581 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, 0)), in compile_instruction()
Dst_tgsi_lower_yuv.c93 #define TGSI_SWIZZLE__ TGSI_SWIZZLE_X /* don't-care value! */
161 ctx->imm[idx].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_immed()
232 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()
267 emit->input_map[idx].base.swizzle = TRANSLATE_SWIZZLE(TGSI_SWIZZLE_X, in ps30_input()
268 TGSI_SWIZZLE_X, in ps30_input()
269 TGSI_SWIZZLE_X, in ps30_input()
270 TGSI_SWIZZLE_X); in ps30_input()
Dsvga_tgsi_vgpu10.c1511 swizzleX = swizzleY = swizzleZ = swizzleW = TGSI_SWIZZLE_X; in emit_src_register()
1587 swizzleX = swizzleY = swizzleZ = swizzleW = TGSI_SWIZZLE_X; in emit_src_register()
1607 swizzleX = swizzleY = swizzleZ = swizzleW = TGSI_SWIZZLE_X; in emit_src_register()
2168 reg.Register.SwizzleX = TGSI_SWIZZLE_X; in make_src_reg()
2185 assert(component >= TGSI_SWIZZLE_X); in make_src_scalar_reg()
2293 case TGSI_SWIZZLE_X: in get_swizzle()
2303 return TGSI_SWIZZLE_X; in get_swizzle()
2585 reg.Register.SwizzleX = TGSI_SWIZZLE_X; in make_immediate_reg_double()
5917 scalar_src(&temp_src, TGSI_SWIZZLE_X + i); in store_tesslevels()
5931 scalar_src(&temp_src, TGSI_SWIZZLE_X + i); in store_tesslevels()
[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/util/
Du_simple_shaders.c109 ureg_scalar(instance_id, TGSI_SWIZZLE_X)); in util_make_vertex_passthrough_shader_with_so()
263 ureg_scalar(imm, TGSI_SWIZZLE_X), in util_make_fragment_tex_shader_xrbias()
415 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in util_make_fs_blit_zs()
431 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in util_make_fs_blit_zs()
1000 ureg_scalar(ureg_src(stencil), TGSI_SWIZZLE_X)); in util_make_fs_pack_color_zs()
1036 ureg_scalar(ureg_src(depth), TGSI_SWIZZLE_X)); in util_make_fs_pack_color_zs()
1053 ureg_scalar(ureg_src(stencil), TGSI_SWIZZLE_X)); in util_make_fs_pack_color_zs()
1149 ureg_scalar(invocationID, TGSI_SWIZZLE_X)); in util_make_tess_ctrl_passthrough_shader()
1154 struct ureg_src addr_x = ureg_scalar(ureg_src(addr), TGSI_SWIZZLE_X); in util_make_tess_ctrl_passthrough_shader()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c479 src.SwizzleX == TGSI_SWIZZLE_X && in ntt_store_def()
702 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in ntt_emit_alu()
711 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Z, in ntt_emit_alu()
712 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X)); in ntt_emit_alu()
768 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in ntt_emit_alu()
794 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in ntt_emit_alu()
834 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in ntt_emit_alu()
838 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in ntt_emit_alu()
844 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Z, in ntt_emit_alu()
845 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Z)); in ntt_emit_alu()
[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.c223 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, in aa_transform_prolog()
241 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, in aa_transform_prolog()
273 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, true); in aa_transform_prolog()
284 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, in aa_transform_prolog()
Ddraw_pipe_aaline.c209 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in aa_transform_epilog()
223 TGSI_SWIZZLE_X, in aa_transform_epilog()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor_gfx.c107 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, 0.25f)); in create_vert_shader()
111 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in create_vert_shader()
115 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, -0.25f)); 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()
230 ureg_src(temp[0]), ureg_scalar(lumakey, TGSI_SWIZZLE_X)); in create_frag_shader_csc()
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()
525 sv_tmpl.swizzle_r = sv_tmpl.swizzle_g = sv_tmpl.swizzle_b = sv_tmpl.swizzle_a = TGSI_SWIZZLE_X; in vl_zscan_init_buffer()
/external/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c1145 ureg_UCMP(ureg, tmp, ureg_scalar(tx->regs.vFace, TGSI_SWIZZLE_X), in tx_src_param()
1153 tx->regs.vFace = ureg_scalar(tx->regs.vFace, TGSI_SWIZZLE_X); in tx_src_param()
1664 TGSI_SWIZZLE_X, 0), in DECL_SPECIAL()
1665 ureg_swizzle(src1, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in DECL_SPECIAL()
1668 ureg_swizzle(src0, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in DECL_SPECIAL()
1671 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, 0)), in DECL_SPECIAL()
1777 ctrx = ureg_scalar(ureg_src(ctr), TGSI_SWIZZLE_X); in DECL_SPECIAL()
1895 ctrx = ureg_scalar(ureg_src(ctr), TGSI_SWIZZLE_X); in DECL_SPECIAL()
1985 ureg_IF(tx->ureg, ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), tx_cond(tx)); in DECL_SPECIAL()
2003 ureg_IF(tx->ureg, ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), tx_cond(tx)); in DECL_SPECIAL()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shaderlib_tgsi.c76 ureg_scalar(instance_id, TGSI_SWIZZLE_X)); in si_get_blitter_vs()
260 ureg_scalar(ureg_src(offsets), TGSI_SWIZZLE_X + i * 2)}; in si_create_dcc_retile_cs()

12