From f3345a268e0d21d1f08290e19b220076ea213f098e9a45bb44472f2a69445f1c Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 30 Sep 2020 09:46:59 +0000 Subject: [PATCH] - U_fix-mpeg1_2-decode-mesa-20.2.patch * additional patch currently needed for Mesa 20.2 (boo1173185) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1000 --- Mesa-drivers.changes | 6 ++++++ Mesa-drivers.spec | 2 ++ Mesa.changes | 6 ++++++ Mesa.spec | 2 ++ U_fix-mpeg1_2-decode-mesa-20.2.patch | 17 +++++++++++++++++ 5 files changed, 33 insertions(+) create mode 100644 U_fix-mpeg1_2-decode-mesa-20.2.patch diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index edef43a..e19d418 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Sep 30 09:17:14 UTC 2020 - Stefan Dirsch + +- U_fix-mpeg1_2-decode-mesa-20.2.patch + * additional patch currently needed for Mesa 20.2 (boo1173185) + ------------------------------------------------------------------- Tue Sep 29 09:21:57 UTC 2020 - Stefan Dirsch diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index eb86ee8..1949ef4 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -129,6 +129,7 @@ Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch Patch58: u_dep_xcb.patch Patch60: buildfix-ppc64le.patch Patch99: U_fix-mpeg1_2-decode.patch +Patch100: U_fix-mpeg1_2-decode-mesa-20.2.patch BuildRequires: bison BuildRequires: fdupes BuildRequires: flex @@ -706,6 +707,7 @@ rm -rf docs/README.{VMS,WIN32,OS2} %patch60 -p1 %endif %patch99 -p1 +%patch100 -p1 # Remove requires to vulkan libs from baselibs.conf on platforms # where vulkan build is disabled; ugly ... diff --git a/Mesa.changes b/Mesa.changes index edef43a..e19d418 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Sep 30 09:17:14 UTC 2020 - Stefan Dirsch + +- U_fix-mpeg1_2-decode-mesa-20.2.patch + * additional patch currently needed for Mesa 20.2 (boo1173185) + ------------------------------------------------------------------- Tue Sep 29 09:21:57 UTC 2020 - Stefan Dirsch diff --git a/Mesa.spec b/Mesa.spec index 95aaeb4..97f330b 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -128,6 +128,7 @@ Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch Patch58: u_dep_xcb.patch Patch60: buildfix-ppc64le.patch Patch99: U_fix-mpeg1_2-decode.patch +Patch100: U_fix-mpeg1_2-decode-mesa-20.2.patch BuildRequires: bison BuildRequires: fdupes BuildRequires: flex @@ -705,6 +706,7 @@ rm -rf docs/README.{VMS,WIN32,OS2} %patch60 -p1 %endif %patch99 -p1 +%patch100 -p1 # Remove requires to vulkan libs from baselibs.conf on platforms # where vulkan build is disabled; ugly ... diff --git a/U_fix-mpeg1_2-decode-mesa-20.2.patch b/U_fix-mpeg1_2-decode-mesa-20.2.patch new file mode 100644 index 0000000..eeb2562 --- /dev/null +++ b/U_fix-mpeg1_2-decode-mesa-20.2.patch @@ -0,0 +1,17 @@ +@@ -, +, @@ +--- + src/gallium/drivers/r600/evergreen_state.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) +--- a/src/gallium/drivers/r600/evergreen_state.c ++++ a/src/gallium/drivers/r600/evergreen_state.c +@@ -575,7 +575,8 @@ static void *evergreen_create_sampler_state(struct pipe_context *ctx, + : state->max_anisotropy; + unsigned max_aniso_ratio = r600_tex_aniso_filter(max_aniso); + bool trunc_coord = state->min_img_filter == PIPE_TEX_FILTER_NEAREST && +- state->mag_img_filter == PIPE_TEX_FILTER_NEAREST; ++ state->mag_img_filter == PIPE_TEX_FILTER_NEAREST && ++ !state->normalized_coords; + float max_lod = state->max_lod; + + if (!ss) { +--