File U_fix-mpeg1_2-decode-mesa-20.2.patch of Package Mesa

@@ -, +, @@ 
---
 src/gallium/drivers/r600/evergreen_state.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: mesa-24.1.7/src/gallium/drivers/r600/evergreen_state.c
===================================================================
--- mesa-24.1.7.orig/src/gallium/drivers/r600/evergreen_state.c
+++ mesa-24.1.7/src/gallium/drivers/r600/evergreen_state.c
@@ -584,7 +584,8 @@ static void *evergreen_create_sampler_st
 						       : 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->unnormalized_coords;
 	float max_lod = state->max_lod;
 
 	if (!ss) {
openSUSE Build Service is sponsored by