diff options
author | Ilia Mirkin <[email protected]> | 2016-11-25 20:29:30 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-11-28 19:41:13 -0500 |
commit | 8a70a4d9844f7aa50cc6ef16a5f79ba86bc11eaa (patch) | |
tree | 5225ed47ef7a77a5a5edfa7528bc6f0963533685 | |
parent | 15d3fc167a6eebc6df50c603275288cc496d6689 (diff) |
swr: [rasterizer core] fix typo in scissor tile-alignment logic
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Tim Rowley <[email protected]>
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/core/api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/core/api.cpp b/src/gallium/drivers/swr/rasterizer/core/api.cpp index 383a7ad65be..6c0d5dd68e2 100644 --- a/src/gallium/drivers/swr/rasterizer/core/api.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/api.cpp @@ -765,7 +765,7 @@ void SetupMacroTileScissors(DRAW_CONTEXT *pDC) tileAligned = (scissorInFixedPoint.xmin % KNOB_TILE_X_DIM) == 0; tileAligned &= (scissorInFixedPoint.ymin % KNOB_TILE_Y_DIM) == 0; tileAligned &= (scissorInFixedPoint.xmax % KNOB_TILE_X_DIM) == 0; - tileAligned &= (scissorInFixedPoint.xmax % KNOB_TILE_Y_DIM) == 0; + tileAligned &= (scissorInFixedPoint.ymax % KNOB_TILE_Y_DIM) == 0; pState->scissorsTileAligned &= tileAligned; |