Stefan Dirsch
f3345a268e
* additional patch currently needed for Mesa 20.2 (boo1173185) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1000
18 lines
685 B
Diff
18 lines
685 B
Diff
@@ -, +, @@
|
|
---
|
|
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) {
|
|
--
|