• Home
  • Raw
  • Download

Lines Matching refs:viewportSize

137 …cu::IVec2& pixel, const TriangleSceneSpec::SceneTriangle& triangle, const tcu::IVec2& viewportSize)  in pixelOnlyOnASharedEdge()  argument
149 …ace[0] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in pixelOnlyOnASharedEdge()
150 …ace[1] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in pixelOnlyOnASharedEdge()
151 …ace[2] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in pixelOnlyOnASharedEdge()
180 … getTriangleAABB (const TriangleSceneSpec::SceneTriangle& triangle, const tcu::IVec2& viewportSize) in getTriangleAABB() argument
190 …ace[0] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in getTriangleAABB()
191 …ace[1] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in getTriangleAABB()
192 …ace[2] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in getTriangleAABB()
568 …terpolate (int primitiveNdx, const tcu::IVec2 pixel, const tcu::IVec2 viewportSize, bool multisamp… in interpolate()
576 ….0f) / (float)viewportSize.x() * 2.0f - 1.0f, ((float)pixel.y() + testSquarePos + 0.0f … in interpolate()
577 ….0f) / (float)viewportSize.x() * 2.0f - 1.0f, ((float)pixel.y() + testSquarePos + testSq… in interpolate()
578 …estSquareSize) / (float)viewportSize.x() * 2.0f - 1.0f, ((float)pixel.y() + testSquarePos + testSq… in interpolate()
579 …estSquareSize) / (float)viewportSize.x() * 2.0f - 1.0f, ((float)pixel.y() + testSquarePos + 0.0f … in interpolate()
609 …terpolate (int primitiveNdx, const tcu::IVec2 pixel, const tcu::IVec2 viewportSize, bool multisamp… in interpolate()
628 …a = tcu::Vec2((scene.lines[lineNdx].positions[0].x() / wa + 1.0f) * 0.5f * (float)viewportSize.x(), in interpolate()
629 (scene.lines[lineNdx].positions[0].y() / wa + 1.0f) * 0.5f * (float)viewportSize.y()); in interpolate()
630 …b = tcu::Vec2((scene.lines[lineNdx].positions[1].x() / wb + 1.0f) * 0.5f * (float)viewportSize.x(), in interpolate()
631 (scene.lines[lineNdx].positions[1].y() / wb + 1.0f) * 0.5f * (float)viewportSize.y()); in interpolate()
658 const tcu::IVec2 viewportSize = tcu::IVec2(surface.getWidth(), surface.getHeight()); in verifyTriangleGroupInterpolationWithInterpolator() local
705 viewportSize, in verifyTriangleGroupInterpolationWithInterpolator()
712 …ionRange weights = interpolator.interpolate(triNdx, tcu::IVec2(x, y), viewportSize, multisampled, … in verifyTriangleGroupInterpolationWithInterpolator()
914 const tcu::Vec2 viewportSize = tcu::Vec2((float)surface.getWidth(), (float)surface.getHeight()); in verifyMultisampleLineGroupRasterization() local
935 (lineNormalizedDeviceSpace[0] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * viewportSize, in verifyMultisampleLineGroupRasterization()
936 (lineNormalizedDeviceSpace[1] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * viewportSize, in verifyMultisampleLineGroupRasterization()
951 lineQuadScreenSpace[0] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupRasterization()
952 lineQuadScreenSpace[1] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupRasterization()
953 lineQuadScreenSpace[2] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupRasterization()
954 lineQuadScreenSpace[3] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupRasterization()
973 const tcu::Vec2 viewportSize = tcu::Vec2((float)surface.getWidth(), (float)surface.getHeight()); in verifyMultisampleLineGroupInterpolation() local
988 (lineNormalizedDeviceSpace[0] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * viewportSize, in verifyMultisampleLineGroupInterpolation()
989 (lineNormalizedDeviceSpace[1] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * viewportSize, in verifyMultisampleLineGroupInterpolation()
1004 lineQuadScreenSpace[0] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupInterpolation()
1005 lineQuadScreenSpace[1] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupInterpolation()
1006 lineQuadScreenSpace[2] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupInterpolation()
1007 lineQuadScreenSpace[3] / viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisampleLineGroupInterpolation()
1042 const tcu::Vec2 viewportSize = tcu::Vec2((float)surface.getWidth(), (float)surface.getHeight()); in verifyMultisamplePointGroupRasterization() local
1050 … pointScreenSpace = (pointNormalizedDeviceSpace + tcu::Vec2(1.0f, 1.0f)) * 0.5f * viewportSize; in verifyMultisamplePointGroupRasterization()
1054 (pointScreenSpace + tcu::Vec2(-offset, -offset))/ viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisamplePointGroupRasterization()
1055 (pointScreenSpace + tcu::Vec2(-offset, offset))/ viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisamplePointGroupRasterization()
1056 (pointScreenSpace + tcu::Vec2( offset, offset))/ viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisamplePointGroupRasterization()
1057 (pointScreenSpace + tcu::Vec2( offset, -offset))/ viewportSize * 2.0f - tcu::Vec2(1.0f, 1.0f), in verifyMultisamplePointGroupRasterization()
1072 …reenspaceLines, const std::vector<LineSceneSpec::SceneLine>& lines, const tcu::IVec2& viewportSize) in genScreenSpaceLines() argument
1085 …[0].x() + 1.0f) * 0.5f * (float)viewportSize.x(), (lineNormalizedDeviceSpace[0].y() + 1.0f) * 0.5f… in genScreenSpaceLines()
1086 …[1].x() + 1.0f) * 0.5f * (float)viewportSize.x(), (lineNormalizedDeviceSpace[1].y() + 1.0f) * 0.5f… in genScreenSpaceLines()
1547 const tcu::IVec2 viewportSize = tcu::IVec2(surface.getWidth(), surface.getHeight()); in verifyLineGroupPixelIndependentInterpolation() local
1569 genScreenSpaceLines(screenspaceLines, scene.lines, viewportSize); in verifyLineGroupPixelIndependentInterpolation()
1787 const tcu::IVec2 viewportSize = tcu::IVec2(surface.getWidth(), surface.getHeight()); in verifySinglesampleWideLineGroupInterpolation() local
1816 genScreenSpaceLines(screenspaceLines, scene.lines, viewportSize); in verifySinglesampleWideLineGroupInterpolation()
2101 …& p1, const tcu::Vec4& p2, const tcu::IVec2& pixel, const tcu::IVec2& viewportSize, int subpixelBi… in calculateTriangleCoverage() argument
2119 …ace[0] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in calculateTriangleCoverage()
2120 …ace[1] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in calculateTriangleCoverage()
2121 …ace[2] + tcu::Vec2(1.0f, 1.0f)) * 0.5f * tcu::Vec2((float)viewportSize.x(), (float)viewportSize.y(… in calculateTriangleCoverage()
2283 const tcu::IVec2 viewportSize = tcu::IVec2(surface.getWidth(), surface.getHeight()); in verifyTriangleGroupRasterization() local
2311 const tcu::IVec4 aabb = getTriangleAABB(scene.triangles[triNdx], viewportSize); in verifyTriangleGroupRasterization()
2323 viewportSize, in verifyTriangleGroupRasterization()
2339 if (pixelOnlyOnASharedEdge(tcu::IVec2(x, y), scene.triangles[triNdx], viewportSize)) in verifyTriangleGroupRasterization()
2344 …!= triNdx && pixelOnlyOnASharedEdge(tcu::IVec2(x, y), scene.triangles[friendTriNdx], viewportSize)) in verifyTriangleGroupRasterization()