Home
last modified time | relevance | path

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

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