Searched refs:tcIdx (Results 1 – 3 of 3) sorted by relevance
63 static int TexCoordAttributeIdx(int tcIdx) { return 1 + tcIdx; } in TexCoordAttributeIdx() argument
776 int tcIdx = GrDrawTarget::VertexTexCoordsForStage(s, layout); in genProgram() local778 GrAssert(tcIdx >= 0); in genProgram()779 GrAssert(texCoordAttrs[tcIdx].size()); in genProgram()780 inCoords = texCoordAttrs[tcIdx].c_str(); in genProgram()893 int tcIdx = in genProgram() local897 GrAssert(tcIdx >= 0); in genProgram()898 GrAssert(texCoordAttrs[tcIdx].size()); in genProgram()899 inCoords = texCoordAttrs[tcIdx].c_str(); in genProgram()
163 int tcIdx = VertexTexCoordsForStage(stage, vertexLayout); in VertexStageCoordOffset() local164 if (tcIdx >= 0) { in VertexStageCoordOffset()171 for (int t = 0; t < tcIdx; ++t) { in VertexStageCoordOffset()307 int tcIdx; in VertexSizeAndOffsetsByStage() local310 } else if ((tcIdx = VertexTexCoordsForStage(s, vertexLayout)) >= 0) { in VertexSizeAndOffsetsByStage()311 texCoordOffsetsByStage[s] = texCoordOffsetsByIdx[tcIdx]; in VertexSizeAndOffsetsByStage()