diff options
Diffstat (limited to 'recipes-graphics/mesa/mesa/0005-gallium-dri-copy-image-use-in-dup_image.patch')
-rw-r--r-- | recipes-graphics/mesa/mesa/0005-gallium-dri-copy-image-use-in-dup_image.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/recipes-graphics/mesa/mesa/0005-gallium-dri-copy-image-use-in-dup_image.patch b/recipes-graphics/mesa/mesa/0005-gallium-dri-copy-image-use-in-dup_image.patch deleted file mode 100644 index 57251ed7..00000000 --- a/recipes-graphics/mesa/mesa/0005-gallium-dri-copy-image-use-in-dup_image.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 3701cb9439058e71c1981bd80c5a9e1383815b08 Mon Sep 17 00:00:00 2001 | ||
2 | From: Lucas Stach <l.stach@pengutronix.de> | ||
3 | Date: Fri, 13 Nov 2020 14:26:23 +0100 | ||
4 | Subject: [PATCH] gallium/dri: copy image use in dup_image | ||
5 | |||
6 | Don't lose the use flags when dup'ing an image. | ||
7 | |||
8 | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> | ||
9 | Reviewed-by: Daniel Stone <daniels@collabora.com> | ||
10 | Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8106> | ||
11 | Upstream-Status: Applied [https://gitlab.freedesktop.org/mesa/mesa/-/commit/3701cb9439058e71c1981bd80c5a9e1383815b08] | ||
12 | --- | ||
13 | src/gallium/frontends/dri/dri2.c | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/src/gallium/frontends/dri/dri2.c b/src/gallium/frontends/dri/dri2.c | ||
17 | index 9999b31b022..08a9ed9693c 100644 | ||
18 | --- a/src/gallium/frontends/dri/dri2.c | ||
19 | +++ b/src/gallium/frontends/dri/dri2.c | ||
20 | @@ -1326,6 +1326,7 @@ dri2_dup_image(__DRIimage *image, void *loaderPrivate) | ||
21 | img->dri_format = image->dri_format; | ||
22 | /* This should be 0 for sub images, but dup is also used for base images. */ | ||
23 | img->dri_components = image->dri_components; | ||
24 | + img->use = image->use; | ||
25 | img->loader_private = loaderPrivate; | ||
26 | img->sPriv = image->sPriv; | ||
27 | |||
28 | -- | ||
29 | 2.31.1 | ||
30 | |||