Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/compiler/
DOutputASM.cpp872 bool isCofactor = (col >= 0) && (row >= 0); in emitDeterminant() local
873 int col0 = (isCofactor && (col <= 0)) ? 1 : 0; in emitDeterminant()
874 int col1 = (isCofactor && (col <= 1)) ? 2 : 1; in emitDeterminant()
875 bool negate = isCofactor && ((col & 0x01) ^ (row & 0x01)); in emitDeterminant()
878 det->src[0].swizzle = det->src[1].swizzle = swizzle[isCofactor ? row : 2]; in emitDeterminant()
886 bool isCofactor = (col >= 0) && (row >= 0); in emitDeterminant() local
887 int col0 = (isCofactor && (col <= 0)) ? 1 : 0; in emitDeterminant()
888 int col1 = (isCofactor && (col <= 1)) ? 2 : 1; in emitDeterminant()
889 int col2 = (isCofactor && (col <= 2)) ? 3 : 2; in emitDeterminant()
890 bool negate = isCofactor && ((col & 0x01) ^ (row & 0x01)); in emitDeterminant()
[all …]