SHA256
1
0
forked from pool/Mesa

- 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
This commit is contained in:
Stefan Dirsch 2020-09-30 09:46:59 +00:00 committed by Git OBS Bridge
parent d1cae58e79
commit f3345a268e
5 changed files with 33 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 30 09:17:14 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- 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 <sndirsch@suse.com>

View File

@ -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 ...

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 30 09:17:14 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- 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 <sndirsch@suse.com>

View File

@ -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 ...

View File

@ -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) {
--