Lines Matching full:pdesc
71 ProgramDesc pdesc;
72 pdesc.fVertexLayout = 0;
73 pdesc.fEmitsPointSize = random.nextF() > .5f;
74 pdesc.fColorInput = random_int(&random, ProgramDesc::kColorInputCnt);
75 pdesc.fCoverageInput = random_int(&random, ProgramDesc::kColorInputCnt);
77 pdesc.fColorFilterXfermode = random_int(&random, SkXfermode::kCoeffModesCnt);
79 pdesc.fFirstCoverageStage = random_int(&random, GrDrawState::kNumStages);
81 pdesc.fVertexLayout |= random_bool(&random) ?
86 pdesc.fExperimentalGS = this->getCaps().geometryShaderSupport() &&
92 pdesc.fVertexLayout |= GrDrawState::kEdge_VertexLayoutBit;
94 pdesc.fVertexEdgeType = (GrDrawState::VertexEdgeType) random_int(&random, GrDrawState::kVertexEdgeTypeCnt);
95 pdesc.fDiscardIfOutsideEdge = random.nextBool();
97 pdesc.fVertexEdgeType = GrDrawState::kHairLine_EdgeType;
98 pdesc.fDiscardIfOutsideEdge = false;
104 pdesc.fDualSrcOutput = random_int(&random, ProgramDesc::kDualSrcOutputCnt);
106 pdesc.fDualSrcOutput = ProgramDesc::kNone_DualSrcOutput;
117 pdesc.fVertexLayout |= GrDrawState::StageTexCoordVertexLayoutBit(s, t);
121 pdesc.fVertexLayout |= GrDrawState::kTextFormat_VertexLayoutBit;
130 pdesc.fEffectKeys[s] =
141 pdesc,