Module: Mesa
Branch: staging/23.3
Commit: 67ad914b573d4a91ab32295c32e1c93c4b535d64
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=67ad914b573d4a91ab32295c32e1c93c4b535d64

Author: Eric Engestrom <[email protected]>
Date:   Wed Nov 15 17:49:18 2023 +0000

Revert "gallium/auxiliary/vl: Scale dst_rect x0/y0 when rendering chroma plane"

This reverts commit 1be1b36053a3cb8f0fb657ecda49a1f118760faa.

---

 .pick_status.json                        | 2 +-
 src/gallium/auxiliary/vl/vl_compositor.c | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/.pick_status.json b/.pick_status.json
index 44a437c794c..c333480ac01 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -404,7 +404,7 @@
         "description": "gallium/auxiliary/vl: Scale dst_rect x0/y0 when 
rendering chroma plane",
         "nominated": true,
         "nomination_type": 1,
-        "resolution": 1,
+        "resolution": 0,
         "main_sha": null,
         "because_sha": "001358a97cce456d948bb57842ca099a73c10b06",
         "notes": null
diff --git a/src/gallium/auxiliary/vl/vl_compositor.c 
b/src/gallium/auxiliary/vl/vl_compositor.c
index 4d791f1afb6..91a10a678c4 100644
--- a/src/gallium/auxiliary/vl/vl_compositor.c
+++ b/src/gallium/auxiliary/vl/vl_compositor.c
@@ -691,8 +691,6 @@ vl_compositor_yuv_deint_full(struct vl_compositor_state *s,
    vl_compositor_render(s, c, dst_surfaces[0], NULL, false);
 
    if (dst_rect) {
-      dst_rect->x0 /= 2;
-      dst_rect->y0 /= 2;
       dst_rect->x1 /= 2;
       dst_rect->y1 /= 2;
    }
@@ -729,8 +727,6 @@ vl_compositor_convert_rgb_to_yuv(struct vl_compositor_state 
*s,
    vl_compositor_render(s, c, dst_surfaces[0], NULL, false);
 
    if (dst_rect) {
-      dst_rect->x0 /= 2;
-      dst_rect->y0 /= 2;
       dst_rect->x1 /= 2;
       dst_rect->y1 /= 2;
    }

Reply via email to