Searched refs:scissorInFixedPoint (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | rasterizer.cpp | 69 … const SWR_RECT &scissorInFixedPoint = state.scissorsInFixedPoint[workDesc.triFlags.viewportIndex]; in RasterizeLine() local 165 bboxA.xmin > scissorInFixedPoint.xmax || in RasterizeLine() 167 bboxA.xmax - 1 < scissorInFixedPoint.xmin || in RasterizeLine() 169 bboxA.ymin > scissorInFixedPoint.ymax || in RasterizeLine() 171 bboxA.ymax - 1 < scissorInFixedPoint.ymin)) { in RasterizeLine() 238 bboxA.xmin > scissorInFixedPoint.xmax || in RasterizeLine() 240 bboxA.xmax - 1 < scissorInFixedPoint.xmin || in RasterizeLine() 242 bboxA.ymin > scissorInFixedPoint.ymax || in RasterizeLine() 244 bboxA.ymax - 1 < scissorInFixedPoint.ymin)) { in RasterizeLine()
|
D | api.cpp | 790 SWR_RECT &scissorInFixedPoint = pState->scissorsInFixedPoint[index]; in SetupMacroTileScissors() local 795 scissorInFixedPoint = pState->scissorRects[index]; in SetupMacroTileScissors() 801 scissorInFixedPoint.xmin = (int32_t)pState->vp[index].x; in SetupMacroTileScissors() 802 scissorInFixedPoint.xmax = (int32_t)(pState->vp[index].x + pState->vp[index].width); in SetupMacroTileScissors() 803 scissorInFixedPoint.ymin = (int32_t)pState->vp[index].y; in SetupMacroTileScissors() 804 scissorInFixedPoint.ymax = (int32_t)(pState->vp[index].y + pState->vp[index].height); in SetupMacroTileScissors() 808 scissorInFixedPoint &= g_MaxScissorRect; in SetupMacroTileScissors() 812 tileAligned = (scissorInFixedPoint.xmin % KNOB_TILE_X_DIM) == 0; in SetupMacroTileScissors() 813 tileAligned &= (scissorInFixedPoint.ymin % KNOB_TILE_Y_DIM) == 0; in SetupMacroTileScissors() 814 tileAligned &= (scissorInFixedPoint.xmax % KNOB_TILE_X_DIM) == 0; in SetupMacroTileScissors() [all …]
|
D | rasterizer_impl.h | 983 … const SWR_RECT &scissorInFixedPoint = state.scissorsInFixedPoint[workDesc.triFlags.viewportIndex]; 989 SWR_ASSERT(scissorInFixedPoint.xmin >= 0 && scissorInFixedPoint.ymin >= 0, 995 intersect.xmin = std::max(bbox.xmin, scissorInFixedPoint.xmin); 996 intersect.xmax = std::min(bbox.xmax - 1, scissorInFixedPoint.xmax); 997 intersect.ymin = std::max(bbox.ymin, scissorInFixedPoint.ymin); 998 intersect.ymax = std::min(bbox.ymax - 1, scissorInFixedPoint.ymax); 1105 (bbox, scissorInFixedPoint, x, y, rastEdges, vEdgeFix16);
|