Searched refs:isXMajor (Results 1 – 3 of 3) sorted by relevance
/external/deqp/framework/referencerenderer/ |
D | rrRasterizer.cpp | 873 const bool isXMajor = de::abs((v1 - v0).x()) >= de::abs((v1 - v0).y()); in init() local 878 …const tcu::Vector<deInt64,2> widthOffset = (isXMajor ? tcu::Vector<deInt64,2>(0, -1) : tcu::Vecto… in init() 893 if (isXMajor) in init() 938 const bool isXMajor = de::abs((m_v1 - m_v0).x()) >= de::abs((m_v1 - m_v0).y()); in rasterize() local 939 const tcu::IVec2 minorDirection = (isXMajor) ? (tcu::IVec2(0, 1)) : (tcu::IVec2(1, 0)); in rasterize() 940 const int minViewportLimit = (isXMajor) ? (m_viewport.y()) : (m_viewport.x()); in rasterize() 941 …const int maxViewportLimit = (isXMajor) ? (m_viewport.y() + m_viewport.w()) : (m_viewport.… in rasterize() 962 const int fragmentLocation = (isXMajor) ? (m_curPos.y()) : (m_curPos.x()); in rasterize()
|
/external/deqp/framework/common/ |
D | tcuRasterizationVerifier.cpp | 460 const bool isXMajor = isLineXMajor(pa, pb); in calcLineInterpolationWeightsAxisProjected() local 461 const int majorAxisNdx = (isXMajor) ? (0) : (1); in calcLineInterpolationWeightsAxisProjected() 2068 const bool isXMajor = isPackedSSLineXMajor(screenspaceLines[lineNdx]); in verifySinglesampleWideLineGroupInterpolation() local 2070 lineIsXMajor[lineNdx] = isXMajor; in verifySinglesampleWideLineGroupInterpolation() 2075 …const tcu::Vec2 offsetDirection = (isXMajor) ? (tcu::Vec2(0.0f, -1.0f)) : (tcu::Vec2(-1.0f, 0.0f)); in verifySinglesampleWideLineGroupInterpolation() 2100 const bool isXMajor = lineIsXMajor[lineNdx]; in verifySinglesampleWideLineGroupInterpolation() local 2101 const int majorSize = (isXMajor) ? (surface.getWidth()) : (surface.getHeight()); in verifySinglesampleWideLineGroupInterpolation() 2107 …ord(effectiveLines[lineNdx].swizzle(0, 1), effectiveLines[lineNdx].swizzle(2, 3), isXMajor, -1.0f); in verifySinglesampleWideLineGroupInterpolation() 2108 …iveLines[lineNdx].swizzle(0, 1), effectiveLines[lineNdx].swizzle(2, 3), isXMajor, (float)majorSize… in verifySinglesampleWideLineGroupInterpolation() 2122 const int majorPos = (isXMajor) ? (fragPos.x()) : (fragPos.y()); in verifySinglesampleWideLineGroupInterpolation() [all …]
|
/external/angle/src/compiler/translator/tree_ops/ |
D | RewriteCubeMapSamplersAs2DArray.cpp | 552 TIntermTyped *isXMajor = new TIntermBinary(EOpEqual, ma->deepCopy(), absX->deepCopy()); in declareCoordTranslationFunction() local 589 TIntermIfElse *calculateXYZL = new TIntermIfElse(isXMajor, calculateXL, calculateYZLBlock); in declareCoordTranslationFunction() 597 isXMajor = new TIntermBinary(EOpLessThan, l->deepCopy(), CreateFloatNode(1.5f)); in declareCoordTranslationFunction() 655 new TIntermIfElse(isXMajor, calculateXUcVc, calculateYZUcVcBlock); in declareCoordTranslationFunction()
|