Home
last modified time | relevance | path

Searched refs:arg1Type (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.cpp596 const Type& arg1Type = arguments[1]->type(); in writeFunctionCall() local
601 if (arg1Type == *fContext.fTypes.fFloat) { in writeFunctionCall()
604 SkASSERT(arg1Type == *fContext.fTypes.fFloat2); in writeFunctionCall()
613 if (arg1Type == *fContext.fTypes.fFloat2) { in writeFunctionCall()
616 SkASSERT(arg1Type == *fContext.fTypes.fFloat3); in writeFunctionCall()
623 if (arg1Type == *fContext.fTypes.fFloat3) { in writeFunctionCall()
626 SkASSERT(arg1Type == *fContext.fTypes.fFloat4); in writeFunctionCall()
DSkSLMetalCodeGenerator.cpp545 const Type& arg1Type = arguments[1]->type(); in writeIntrinsicCall() local
546 if (arg1Type.columns() == 3) { in writeIntrinsicCall()
548 String tmpVar = this->getTempVariable(arg1Type); in writeIntrinsicCall()
553 SkASSERT(arg1Type.columns() == 2); in writeIntrinsicCall()
DSkSLSPIRVCodeGenerator.cpp1036 const Type& arg1Type = arguments[1]->type(); in writeSpecialIntrinsic() local
1039 if (arg1Type == *fContext.fTypes.fFloat2) { in writeSpecialIntrinsic()
1042 SkASSERT(arg1Type == *fContext.fTypes.fFloat); in writeSpecialIntrinsic()
1046 if (arg1Type == *fContext.fTypes.fFloat3) { in writeSpecialIntrinsic()
1049 SkASSERT(arg1Type == *fContext.fTypes.fFloat2); in writeSpecialIntrinsic()
1053 if (arg1Type == *fContext.fTypes.fFloat4) { in writeSpecialIntrinsic()
1056 SkASSERT(arg1Type == *fContext.fTypes.fFloat3); in writeSpecialIntrinsic()