Stefan Dirsch
756b7868e8
0002-egl-wayland-only-supply-LINEAR-modifier-when-support.patch 0003-egl-wayland-fallback-to-implicit-modifiers-if-advert.patch * fixes mesa 24.3.1 gallium crash/segfault on GPUs without format modifiers (mesa issue#12253, mesa MR#32535, boo#1234302) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1354
20 lines
807 B
Diff
20 lines
807 B
Diff
@@ -, +, @@
|
|
---
|
|
src/gallium/drivers/r600/evergreen_state.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
Index: mesa-24.2.2/src/gallium/drivers/r600/evergreen_state.c
|
|
===================================================================
|
|
--- mesa-24.2.2.orig/src/gallium/drivers/r600/evergreen_state.c
|
|
+++ mesa-24.2.2/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) {
|