Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h243 reg->Register.SwizzleZ = swizzleZ; in tgsi_transform_src_reg()
369 inst.Src[0].Register.SwizzleZ = src0_swizzle; in tgsi_transform_op1_swz_inst()
420 inst.Src[0].Register.SwizzleZ = src0_swizzle; in tgsi_transform_op2_swz_inst()
421 inst.Src[1].Register.SwizzleZ = src1_swizzle; in tgsi_transform_op2_swz_inst()
480 inst.Src[0].Register.SwizzleZ = src0_swizzle; in tgsi_transform_op3_swz_inst()
481 inst.Src[1].Register.SwizzleZ = src1_swizzle; in tgsi_transform_op3_swz_inst()
482 inst.Src[2].Register.SwizzleZ = src2_swizzle; in tgsi_transform_op3_swz_inst()
514 inst.Src[0].Register.SwizzleZ = in tgsi_transform_kill_inst()
Dtgsi_util.c63 return reg->SwizzleZ; in tgsi_util_get_src_register_swizzle()
97 reg->SwizzleZ = swizzle; in tgsi_util_set_src_register_swizzle()
364 src.SwizzleZ = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_build.c697 instruction_predicate.SwizzleZ = TGSI_SWIZZLE_Z; in tgsi_default_instruction_predicate()
721 instruction_predicate.SwizzleZ = swizzleZ; in tgsi_build_instruction_predicate()
836 texture_offset.SwizzleZ = 0; in tgsi_default_texture_offset()
855 texture_offset.SwizzleZ = swizzle_z; in tgsi_build_texture_offset()
871 src_register.SwizzleZ = TGSI_SWIZZLE_Z; in tgsi_default_src_register()
910 src_register.SwizzleZ = swizzle_z; in tgsi_build_src_register()
1125 full_inst->Predicate.SwizzleZ, in tgsi_build_full_instruction()
1177 full_inst->TexOffsets[i].SwizzleZ, in tgsi_build_full_instruction()
1287 reg->Register.SwizzleZ, in tgsi_build_full_instruction()
Dtgsi_scan.c142 src->Register.SwizzleZ == TGSI_SWIZZLE_Z || in scan_src_operand()
150 (1 << src->Register.SwizzleZ) | in scan_src_operand()
379 src.Register.SwizzleZ = fullinst->TexOffsets[i].SwizzleZ; in scan_instruction()
877 src->Register.SwizzleZ != TGSI_SWIZZLE_Z || in tgsi_is_passthrough_shader()
Dtgsi_dump.c589 inst->Predicate.SwizzleZ != TGSI_SWIZZLE_Z || in iter_instruction()
594 ENM( inst->Predicate.SwizzleZ, tgsi_swizzle_names ); in iter_instruction()
636 src->Register.SwizzleZ != TGSI_SWIZZLE_Z || in iter_instruction()
641 ENM( src->Register.SwizzleZ, tgsi_swizzle_names ); in iter_instruction()
666 ENM( inst->TexOffsets[i].SwizzleZ, tgsi_swizzle_names); in iter_instruction()
Dtgsi_ureg.h51 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_ */ member
1124 (reg.SwizzleZ << 4) | in ureg_swizzle()
1135 reg.SwizzleZ = (swz >> (z*2)) & 0x3; in ureg_swizzle()
1350 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src_array_register()
1385 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src()
1445 src.SwizzleZ = 0; in ureg_src_undef()
Dtgsi_emulate.c97 new_inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; in passthrough_edgeflag()
Dtgsi_lowering.c80 swiz[2] = src->SwizzleZ; in get_swiz()
94 src->Register.SwizzleZ = swiz[sz]; in reg_src()
1381 new_inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; in emit_twoside()
1387 new_inst.Src[1].Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_twoside()
1393 new_inst.Src[2].Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_twoside()
1427 ctx->imm.Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_decls()
1441 ctx->tmp[i].src.Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_decls()
Dtgsi_text.c952 src->Register.SwizzleZ = swizzle[2]; in parse_src_operand()
992 src->SwizzleZ = swizzle[2]; in parse_texoffset_operand()
1063 inst.Predicate.SwizzleZ = swizzle[2]; in parse_instruction()
Dtgsi_ureg.c1098 out[n].src.SwizzleZ = src.SwizzleZ; in ureg_emit_src()
1262 out[1].insn_predicate.SwizzleZ = pred_swizzle_z; in ureg_emit_insn()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c169 if ( write_mask & TGSI_WRITEMASK_Z && r->Register.SwizzleZ != TGSI_SWIZZLE_Z) in is_unswizzled()
210 r->Register.SwizzleZ = neutral; in set_neutral_element_swizzle()
212 r->Register.SwizzleZ = TGSI_SWIZZLE_Z; in set_neutral_element_swizzle()
228 o->SwizzleZ = i->SwizzleZ; in copy_src_reg()
456 swizzle_z = src_reg1->Register.SwizzleZ; in i915_fpc_optimize_mov_after_mov()
465 swizzle_z = src_reg2->Register.SwizzleZ; in i915_fpc_optimize_mov_after_mov()
472 src_reg2->Register.SwizzleZ = swizzle_z; in i915_fpc_optimize_mov_after_mov()
Di915_fpc.h254 unsigned SwizzleZ : 3; /* TGSI_SWIZZLE_ */ member
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap_shader.c116 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; in transform_instr()
120 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_Z; in transform_instr()
Dst_tgsi_lower_yuv.c76 swiz[2] = src->SwizzleZ; in get_swiz()
90 src->Register.SwizzleZ = swiz[sz]; in reg_src()
164 ctx->imm[idx].Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_immed()
235 ctx->tmp[i].src.Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_decls()
Dst_cb_drawpixels_shader.c63 inst->Src[i].Register.SwizzleZ = z; in set_src()
Dst_atifs_to_tgsi.c639 inst->Src[i].Register.SwizzleZ = z; in set_src()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c411 reg->Register.SwizzleZ, in lp_build_emit_fetch()
439 reg.Register.SwizzleZ = off->SwizzleZ; in lp_build_emit_fetch_texoffset()
466 off->SwizzleZ, in lp_build_emit_fetch_texoffset()
Dlp_bld_tgsi_soa.c1762 swizzles[2] = inst->Predicate.SwizzleZ; in emit_fetch_predicate()
2523 inst->Src[1].Register.SwizzleZ != PIPE_SWIZZLE_Z || in emit_sample()
2528 swizzles[2] = inst->Src[1].Register.SwizzleZ; in emit_sample()
2654 inst->Src[1].Register.SwizzleZ != PIPE_SWIZZLE_Z || in emit_fetch_texels()
2659 swizzles[2] = inst->Src[1].Register.SwizzleZ; in emit_fetch_texels()
2920 reg.Register.SwizzleZ = 2; in emit_dump_file()
Dlp_bld_tgsi_aos.c298 inst->Predicate.SwizzleZ, in lp_emit_store_aos()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h707 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_x */ member
720 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_x */ member
750 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_ */ member
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_compiler.c401 swiz[2] = swiz_vals[src->SwizzleZ]; in add_src_reg()
514 src->SwizzleZ = TGSI_SWIZZLE_Z; in src_from_dst()
559 src->SwizzleZ = TGSI_SWIZZLE_W; in get_predicate()
681 reg->SwizzleZ = swiz2tgsi[swiz]; in get_immediate()
941 tmp_src.SwizzleZ = tmp_src.SwizzleW = TGSI_SWIZZLE_X; in translate_trig()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c977 const unsigned swizzleZ = reg->Register.SwizzleZ; in emit_src_register()
1373 reg.Register.SwizzleZ = TGSI_SWIZZLE_Z; in make_src_reg()
1478 return reg->Register.SwizzleZ; in get_swizzle()
1500 swizzled.Register.SwizzleZ = get_swizzle(reg, swizzleZ); in swizzle_src()
1517 swizzled.Register.SwizzleZ = in scalar_src()
1543 reg->Register.SwizzleY == reg->Register.SwizzleZ && in same_swizzle_terms()
1544 reg->Register.SwizzleZ == reg->Register.SwizzleW); in same_swizzle_terms()
1625 reg.Register.SwizzleZ = z; in make_immediate_reg_4()
1660 reg.Register.SwizzleZ = in make_immediate_reg()
3866 inst->Src[0].Register.SwizzleX == inst->Src[0].Register.SwizzleZ && in emit_if()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_fragprog.c409 src.swz[2] = fsrc->Register.SwizzleZ; in tgsi_src()
478 || fsrc->Register.SwizzleZ == PIPE_SWIZZLE_W in nvfx_fragprog_parse_instruction()
485 addend.swz[2] = fsrc->Register.SwizzleZ; in nvfx_fragprog_parse_instruction()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c808 src.swizzle[2] = tgsi_src->SwizzleZ; in ttn_get_src()
1460 src.swizzle[2] = tex_offset->SwizzleZ; in ttn_tex()
/external/mesa3d/src/gallium/drivers/ilo/shader/
Dtoy_tgsi.c1758 s->Register.SwizzleZ, s->Register.SwizzleW, in ra_get_src_for_vrf()
1926 imm[s->Register.SwizzleX] == imm[s->Register.SwizzleZ] && in ra_get_src()

12