Lines Matching refs:viewportSize
141 …cu::IVec2& pixel, const TriangleSceneSpec::SceneTriangle& triangle, const tcu::IVec2& viewportSize) in pixelOnlyOnASharedEdge() argument
153 …ace[0] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in pixelOnlyOnASharedEdge()
154 …ace[1] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in pixelOnlyOnASharedEdge()
155 …ace[2] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in pixelOnlyOnASharedEdge()
184 … getTriangleAABB (const TriangleSceneSpec::SceneTriangle& triangle, const tcu::IVec2& viewportSize) in getTriangleAABB() argument
194 …ace[0] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in getTriangleAABB()
195 …ace[1] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in getTriangleAABB()
196 …ace[2] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in getTriangleAABB()
572 …terpolate (int primitiveNdx, const tcu::IVec2 pixel, const tcu::IVec2 viewportSize, bool multisamp… in interpolate()
580 ….0f) / (float)viewportSize.x() * 2.0f - 1.0f, ((float)pixel.y() + testSquarePos + 0.0f … in interpolate()
581 ….0f) / (float)viewportSize.x() * 2.0f - 1.0f, ((float)pixel.y() + testSquarePos + testSq… in interpolate()
582 …estSquareSize) / (float)viewportSize.x() * 2.0f - 1.0f, ((float)pixel.y() + testSquarePos + testSq… in interpolate()
583 …estSquareSize) / (float)viewportSize.x() * 2.0f - 1.0f, ((float)pixel.y() + testSquarePos + 0.0f … in interpolate()
613 …terpolate (int primitiveNdx, const tcu::IVec2 pixel, const tcu::IVec2 viewportSize, bool multisamp… in interpolate()
632 …a = tcu::Vec2((scene.lines[lineNdx].positions[0].x() / wa + 1.0f) * 0.5f * (float)viewportSize.x(), in interpolate()
633 (scene.lines[lineNdx].positions[0].y() / wa + 1.0f) * 0.5f * (float)viewportSize.y()); in interpolate()
634 …b = tcu::Vec2((scene.lines[lineNdx].positions[1].x() / wb + 1.0f) * 0.5f * (float)viewportSize.x(), in interpolate()
635 (scene.lines[lineNdx].positions[1].y() / wb + 1.0f) * 0.5f * (float)viewportSize.y()); in interpolate()
666 const tcu::IVec2 viewportSize = tcu::IVec2(surface.getWidth(), surface.getHeight()); in verifyTriangleGroupInterpolationWithInterpolator() local
714 viewportSize, in verifyTriangleGroupInterpolationWithInterpolator()
721 …ionRange weights = interpolator.interpolate(triNdx, tcu::IVec2(x, y), viewportSize, multisampled, … in verifyTriangleGroupInterpolationWithInterpolator()
921 const tcu::Vec2 viewportSize = tcu::Vec2((float)surface.getWidth(), (float)surface.getHeight()); in verifyMultisampleLineGroupRasterization() local
953 (lineNormalizedDeviceSpace[0] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * viewportSize, in verifyMultisampleLineGroupRasterization()
954 (lineNormalizedDeviceSpace[1] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * viewportSize, in verifyMultisampleLineGroupRasterization()
1024 lineQuadScreenSpace[0] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupRasterization()
1025 lineQuadScreenSpace[1] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupRasterization()
1026 lineQuadScreenSpace[2] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupRasterization()
1027 lineQuadScreenSpace[3] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupRasterization()
1056 lineQuadScreenSpace[0] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupRasterization()
1057 lineQuadScreenSpace[1] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupRasterization()
1058 lineQuadScreenSpace[2] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupRasterization()
1059 lineQuadScreenSpace[3] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupRasterization()
1089 const tcu::Vec2 viewportSize = tcu::Vec2((float)surface.getWidth(), (float)surface.getHeight()); in verifyMultisampleLineGroupInterpolationInternal() local
1108 (lineNormalizedDeviceSpace[0] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * viewportSize, in verifyMultisampleLineGroupInterpolationInternal()
1109 (lineNormalizedDeviceSpace[1] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * viewportSize, in verifyMultisampleLineGroupInterpolationInternal()
1126 lineQuadScreenSpace[0] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupInterpolationInternal()
1127 lineQuadScreenSpace[1] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupInterpolationInternal()
1128 lineQuadScreenSpace[2] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupInterpolationInternal()
1129 lineQuadScreenSpace[3] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupInterpolationInternal()
1283 const tcu::Vec2 viewportSize = tcu::Vec2((float)surface.getWidth(), (float)surface.getHeight()); in verifyMultisamplePointGroupRasterization() local
1291 … pointScreenSpace = (pointNormalizedDeviceSpace + tcu::Vec2(1.0f, 1.0f)) * 0.5f * viewportSize; in verifyMultisamplePointGroupRasterization()
1295 (pointScreenSpace + tcu::Vec2(-offset, -offset))/ viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisamplePointGroupRasterization()
1296 (pointScreenSpace + tcu::Vec2(-offset, offset))/ viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisamplePointGroupRasterization()
1297 (pointScreenSpace + tcu::Vec2( offset, offset))/ viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisamplePointGroupRasterization()
1298 (pointScreenSpace + tcu::Vec2( offset, -offset))/ viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisamplePointGroupRasterization()
1313 …reenspaceLines, const std::vector<LineSceneSpec::SceneLine>& lines, const tcu::IVec2& viewportSize) in genScreenSpaceLines() argument
1326 …[0].x() + 1.0f) * 0.5f * (float)viewportSize.x(), (lineNormalizedDeviceSpace[0].y() + 1.0f) * 0.5f… in genScreenSpaceLines()
1327 …[1].x() + 1.0f) * 0.5f * (float)viewportSize.x(), (lineNormalizedDeviceSpace[1].y() + 1.0f) * 0.5f… in genScreenSpaceLines()
1792 const tcu::IVec2 viewportSize = tcu::IVec2(surface.getWidth(), surface.getHeight()); in verifyLineGroupPixelIndependentInterpolation() local
1814 genScreenSpaceLines(screenspaceLines, scene.lines, viewportSize); in verifyLineGroupPixelIndependentInterpolation()
2032 const tcu::IVec2 viewportSize = tcu::IVec2(surface.getWidth(), surface.getHeight()); in verifySinglesampleWideLineGroupInterpolation() local
2061 genScreenSpaceLines(screenspaceLines, scene.lines, viewportSize); in verifySinglesampleWideLineGroupInterpolation()
2346 …& p1, const tcu::Vec4& p2, const tcu::IVec2& pixel, const tcu::IVec2& viewportSize, int subpixelBi… in calculateTriangleCoverage() argument
2364 …ace[0] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in calculateTriangleCoverage()
2365 …ace[1] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in calculateTriangleCoverage()
2366 …ace[2] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in calculateTriangleCoverage()
2493 …onst tcu::Vec4& p1, const float lineWidth, const tcu::IVec2& pixel, const tcu::IVec2& viewportSize) in calculateUnderestimateLineCoverage() argument
2495 DE_ASSERT(viewportSize.x() == viewportSize.y() && viewportSize.x() > 0); in calculateUnderestimateLineCoverage()
2504 const Vec2 vp = Vec2(float(viewportSize.x()), float(viewportSize.y())); in calculateUnderestimateLineCoverage()
2538 …p1, const tcu::Vec4& p2, const tcu::IVec2& pixel, int subpixelBits, const tcu::IVec2& viewportSize) in calculateUnderestimateTriangleCoverage() argument
2555 …ace[0] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in calculateUnderestimateTriangleCoverage()
2556 …ace[1] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in calculateUnderestimateTriangleCoverage()
2557 …ace[2] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in calculateUnderestimateTriangleCoverage()
2678 const tcu::IVec2 viewportSize = tcu::IVec2(surface.getWidth(), surface.getHeight()); in verifyTriangleGroupRasterization() local
2706 const tcu::IVec4 aabb = getTriangleAABB(scene.triangles[triNdx], viewportSize); in verifyTriangleGroupRasterization()
2718 viewportSize, in verifyTriangleGroupRasterization()
2734 if (pixelOnlyOnASharedEdge(tcu::IVec2(x, y), scene.triangles[triNdx], viewportSize)) in verifyTriangleGroupRasterization()
2746 viewportSize, in verifyTriangleGroupRasterization()
2750 …RAGE_NONE && pixelOnlyOnASharedEdge(tcu::IVec2(x, y), scene.triangles[friendTriNdx], viewportSize)) in verifyTriangleGroupRasterization()