Searched refs:isXMajor (Results 1 – 2 of 2) sorted by relevance
/external/deqp/framework/referencerenderer/ |
D | rrRasterizer.cpp | 879 const bool isXMajor = de::abs((v1 - v0).x()) >= de::abs((v1 - v0).y()); in init() local 884 …const tcu::Vector<deInt64,2> widthOffset = (isXMajor ? tcu::Vector<deInt64,2>(0, -1) : tcu::Vecto… in init() 899 if (isXMajor) in init() 935 const bool isXMajor = de::abs((m_v1 - m_v0).x()) >= de::abs((m_v1 - m_v0).y()); in rasterize() local 936 const tcu::IVec2 minorDirection = (isXMajor) ? (tcu::IVec2(0, 1)) : (tcu::IVec2(1, 0)); in rasterize() 937 const int minViewportLimit = (isXMajor) ? (m_viewport.y()) : (m_viewport.x()); in rasterize() 938 …const int maxViewportLimit = (isXMajor) ? (m_viewport.y() + m_viewport.w()) : (m_viewport.… in rasterize() 957 const int fragmentLocation = (isXMajor) ? (m_curPos.y()) : (m_curPos.x()); in rasterize()
|
/external/deqp/framework/common/ |
D | tcuRasterizationVerifier.cpp | 456 const bool isXMajor = isLineXMajor(pa, pb); in calcLineInterpolationWeightsAxisProjected() local 457 const int majorAxisNdx = (isXMajor) ? (0) : (1); in calcLineInterpolationWeightsAxisProjected() 1823 const bool isXMajor = isPackedSSLineXMajor(screenspaceLines[lineNdx]); in verifySinglesampleWideLineGroupInterpolation() local 1825 lineIsXMajor[lineNdx] = isXMajor; in verifySinglesampleWideLineGroupInterpolation() 1830 …const tcu::Vec2 offsetDirection = (isXMajor) ? (tcu::Vec2(0.0f, -1.0f)) : (tcu::Vec2(-1.0f, 0.0f)); in verifySinglesampleWideLineGroupInterpolation() 1855 const bool isXMajor = lineIsXMajor[lineNdx]; in verifySinglesampleWideLineGroupInterpolation() local 1856 const int majorSize = (isXMajor) ? (surface.getWidth()) : (surface.getHeight()); in verifySinglesampleWideLineGroupInterpolation() 1862 …ord(effectiveLines[lineNdx].swizzle(0, 1), effectiveLines[lineNdx].swizzle(2, 3), isXMajor, -1.0f); in verifySinglesampleWideLineGroupInterpolation() 1863 …iveLines[lineNdx].swizzle(0, 1), effectiveLines[lineNdx].swizzle(2, 3), isXMajor, (float)majorSize… in verifySinglesampleWideLineGroupInterpolation() 1877 const int majorPos = (isXMajor) ? (fragPos.x()) : (fragPos.y()); in verifySinglesampleWideLineGroupInterpolation() [all …]
|