diff options
author | Thomas Hellstrom <[email protected]> | 2014-09-28 17:17:22 +0200 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2014-09-30 08:31:33 +0200 |
commit | 46537f1d03ba6de83be70ac574f633bb4342a327 (patch) | |
tree | 9d92d8f6a9df88dff3b26d09285c4f6f1918c7ad /src/gallium/state_trackers/xa/xa_yuv.c | |
parent | 68627235f2a0589a1fd0dddad78f705387cea8d3 (diff) |
st/xa: Fix regression in xa_yuv_planar_blit()
Commit "st/xa: scissor to help tilers" broke xa_yuv_planar_blit() and vmwgfx
textured video. Fix this by implementing scissors also in the yuv draw path.
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Sinclair Yeh <[email protected]>
Cc: Rob Clark <[email protected]>
Cc: "10.2 10.3" <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/xa/xa_yuv.c')
-rw-r--r-- | src/gallium/state_trackers/xa/xa_yuv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xa/xa_yuv.c b/src/gallium/state_trackers/xa/xa_yuv.c index 43f56ff0515..15196392ac7 100644 --- a/src/gallium/state_trackers/xa/xa_yuv.c +++ b/src/gallium/state_trackers/xa/xa_yuv.c @@ -146,6 +146,7 @@ xa_yuv_planar_blit(struct xa_context *r, int w = box->x2 - box->x1; int h = box->y2 - box->y1; + xa_scissor_update(r, x, y, box->x2, box->y2); renderer_draw_yuv(r, (float)src_x + scale_x * (x - dst_x), (float)src_y + scale_y * (y - dst_y), |