Home
last modified time | relevance | path

Searched refs:SwizzleY (Results 1 – 25 of 36) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h242 reg->Register.SwizzleY = swizzleY; in tgsi_transform_src_reg()
366 inst.Src[0].Register.SwizzleY = src0_swizzle; in tgsi_transform_op1_swz_inst()
416 inst.Src[0].Register.SwizzleY = src0_swizzle; in tgsi_transform_op2_swz_inst()
417 inst.Src[1].Register.SwizzleY = src1_swizzle; in tgsi_transform_op2_swz_inst()
475 inst.Src[0].Register.SwizzleY = src0_swizzle; in tgsi_transform_op3_swz_inst()
476 inst.Src[1].Register.SwizzleY = src1_swizzle; in tgsi_transform_op3_swz_inst()
477 inst.Src[2].Register.SwizzleY = src2_swizzle; in tgsi_transform_op3_swz_inst()
513 inst.Src[0].Register.SwizzleY = in tgsi_transform_kill_inst()
Dtgsi_util.c61 return reg->SwizzleY; in tgsi_util_get_src_register_swizzle()
94 reg->SwizzleY = swizzle; in tgsi_util_set_src_register_swizzle()
363 src.SwizzleY = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_build.c696 instruction_predicate.SwizzleY = TGSI_SWIZZLE_Y; in tgsi_default_instruction_predicate()
720 instruction_predicate.SwizzleY = swizzleY; in tgsi_build_instruction_predicate()
835 texture_offset.SwizzleY = 0; in tgsi_default_texture_offset()
854 texture_offset.SwizzleY = swizzle_y; in tgsi_build_texture_offset()
870 src_register.SwizzleY = TGSI_SWIZZLE_Y; in tgsi_default_src_register()
909 src_register.SwizzleY = swizzle_y; in tgsi_build_src_register()
1124 full_inst->Predicate.SwizzleY, in tgsi_build_full_instruction()
1176 full_inst->TexOffsets[i].SwizzleY, in tgsi_build_full_instruction()
1286 reg->Register.SwizzleY, in tgsi_build_full_instruction()
Dtgsi_scan.c141 src->Register.SwizzleY == TGSI_SWIZZLE_Z || in scan_src_operand()
149 (1 << src->Register.SwizzleY) | in scan_src_operand()
378 src.Register.SwizzleY = fullinst->TexOffsets[i].SwizzleY; in scan_instruction()
876 src->Register.SwizzleY != TGSI_SWIZZLE_Y || in tgsi_is_passthrough_shader()
Dtgsi_dump.c588 inst->Predicate.SwizzleY != TGSI_SWIZZLE_Y || in iter_instruction()
593 ENM( inst->Predicate.SwizzleY, tgsi_swizzle_names ); in iter_instruction()
635 src->Register.SwizzleY != TGSI_SWIZZLE_Y || in iter_instruction()
640 ENM( src->Register.SwizzleY, tgsi_swizzle_names ); in iter_instruction()
665 ENM( inst->TexOffsets[i].SwizzleY, tgsi_swizzle_names); in iter_instruction()
Dtgsi_ureg.h50 unsigned SwizzleY : 2; /* TGSI_SWIZZLE_ */ member
1123 (reg.SwizzleY << 2) | in ureg_swizzle()
1134 reg.SwizzleY = (swz >> (y*2)) & 0x3; in ureg_swizzle()
1349 src.SwizzleY = TGSI_SWIZZLE_Y; in ureg_src_array_register()
1384 src.SwizzleY = TGSI_SWIZZLE_Y; in ureg_src()
1444 src.SwizzleY = 0; in ureg_src_undef()
Dtgsi_emulate.c96 new_inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; in passthrough_edgeflag()
Dtgsi_lowering.c79 swiz[1] = src->SwizzleY; in get_swiz()
93 src->Register.SwizzleY = swiz[sy]; in reg_src()
1380 new_inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; in emit_twoside()
1386 new_inst.Src[1].Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_twoside()
1392 new_inst.Src[2].Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_twoside()
1426 ctx->imm.Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_decls()
1440 ctx->tmp[i].src.Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_decls()
Dtgsi_text.c951 src->Register.SwizzleY = swizzle[1]; in parse_src_operand()
991 src->SwizzleY = swizzle[1]; in parse_texoffset_operand()
1062 inst.Predicate.SwizzleY = swizzle[1]; in parse_instruction()
Dtgsi_ureg.c1097 out[n].src.SwizzleY = src.SwizzleY; in ureg_emit_src()
1261 out[1].insn_predicate.SwizzleY = pred_swizzle_y; in ureg_emit_insn()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c167 if ( write_mask & TGSI_WRITEMASK_Y && r->Register.SwizzleY != TGSI_SWIZZLE_Y) in is_unswizzled()
205 r->Register.SwizzleY = neutral; in set_neutral_element_swizzle()
207 r->Register.SwizzleY = TGSI_SWIZZLE_Y; in set_neutral_element_swizzle()
227 o->SwizzleY = i->SwizzleY; in copy_src_reg()
455 swizzle_y = src_reg1->Register.SwizzleY; in i915_fpc_optimize_mov_after_mov()
463 swizzle_y = src_reg2->Register.SwizzleY; in i915_fpc_optimize_mov_after_mov()
471 src_reg2->Register.SwizzleY = swizzle_y; in i915_fpc_optimize_mov_after_mov()
Di915_fpc.h253 unsigned SwizzleY : 3; /* TGSI_SWIZZLE_ */ member
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap_shader.c115 inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; in transform_instr()
119 inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_Y; in transform_instr()
Dst_tgsi_lower_yuv.c75 swiz[1] = src->SwizzleY; in get_swiz()
89 src->Register.SwizzleY = swiz[sy]; in reg_src()
163 ctx->imm[idx].Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_immed()
234 ctx->tmp[i].src.Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_decls()
Dst_cb_drawpixels_shader.c62 inst->Src[i].Register.SwizzleY = y; in set_src()
Dst_atifs_to_tgsi.c638 inst->Src[i].Register.SwizzleY = y; in set_src()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c410 reg->Register.SwizzleY, in lp_build_emit_fetch()
438 reg.Register.SwizzleY = off->SwizzleY; in lp_build_emit_fetch_texoffset()
465 off->SwizzleY, in lp_build_emit_fetch_texoffset()
Dlp_bld_tgsi_soa.c1761 swizzles[1] = inst->Predicate.SwizzleY; in emit_fetch_predicate()
2522 inst->Src[1].Register.SwizzleY != PIPE_SWIZZLE_Y || in emit_sample()
2527 swizzles[1] = inst->Src[1].Register.SwizzleY; in emit_sample()
2653 inst->Src[1].Register.SwizzleY != PIPE_SWIZZLE_Y || in emit_fetch_texels()
2658 swizzles[1] = inst->Src[1].Register.SwizzleY; in emit_fetch_texels()
2919 reg.Register.SwizzleY = 1; in emit_dump_file()
Dlp_bld_tgsi_aos.c297 inst->Predicate.SwizzleY, in lp_emit_store_aos()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h706 unsigned SwizzleY : 2; /* TGSI_SWIZZLE_x */ member
719 unsigned SwizzleY : 2; /* TGSI_SWIZZLE_x */ member
749 unsigned SwizzleY : 2; /* TGSI_SWIZZLE_ */ member
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_compiler.c400 swiz[1] = swiz_vals[src->SwizzleY]; in add_src_reg()
513 src->SwizzleY = TGSI_SWIZZLE_Y; in src_from_dst()
558 src->SwizzleY = TGSI_SWIZZLE_W; in get_predicate()
680 reg->SwizzleY = swiz2tgsi[swiz]; in get_immediate()
940 tmp_src.SwizzleX = tmp_src.SwizzleY = in translate_trig()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c976 const unsigned swizzleY = reg->Register.SwizzleY; in emit_src_register()
1372 reg.Register.SwizzleY = TGSI_SWIZZLE_Y; in make_src_reg()
1476 return reg->Register.SwizzleY; in get_swizzle()
1499 swizzled.Register.SwizzleY = get_swizzle(reg, swizzleY); in swizzle_src()
1516 swizzled.Register.SwizzleY = in scalar_src()
1542 return (reg->Register.SwizzleX == reg->Register.SwizzleY && in same_swizzle_terms()
1543 reg->Register.SwizzleY == reg->Register.SwizzleZ && in same_swizzle_terms()
1624 reg.Register.SwizzleY = y; in make_immediate_reg_4()
1659 reg.Register.SwizzleY = in make_immediate_reg()
3865 assert(inst->Src[0].Register.SwizzleX == inst->Src[0].Register.SwizzleY && in emit_if()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_fragprog.c408 src.swz[1] = fsrc->Register.SwizzleY; in tgsi_src()
477 || fsrc->Register.SwizzleY == PIPE_SWIZZLE_W in nvfx_fragprog_parse_instruction()
484 addend.swz[1] = fsrc->Register.SwizzleY; in nvfx_fragprog_parse_instruction()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c807 src.swizzle[1] = tgsi_src->SwizzleY; in ttn_get_src()
1459 src.swizzle[1] = tex_offset->SwizzleY; in ttn_tex()
/external/mesa3d/src/gallium/drivers/ilo/shader/
Dtoy_tgsi.c1757 s->Register.SwizzleX, s->Register.SwizzleY, in ra_get_src_for_vrf()
1925 (imm[s->Register.SwizzleX] == imm[s->Register.SwizzleY] && in ra_get_src()

12