2020-09-30 11:46:59 +02:00
|
|
|
@@ -, +, @@
|
|
|
|
---
|
|
|
|
src/gallium/drivers/r600/evergreen_state.c | 3 ++-
|
|
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
2022-12-31 10:55:24 +01:00
|
|
|
|
2020-09-30 11:46:59 +02:00
|
|
|
--- a/src/gallium/drivers/r600/evergreen_state.c
|
2022-12-31 10:55:24 +01:00
|
|
|
+++ b/src/gallium/drivers/r600/evergreen_state.c
|
|
|
|
@@ -580,7 +580,8 @@ static void *evergreen_create_sampler_st
|
2020-09-30 11:46:59 +02:00
|
|
|
: 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 &&
|
2022-12-31 10:55:24 +01:00
|
|
|
+ state->unnormalized_coords;
|
2020-09-30 11:46:59 +02:00
|
|
|
float max_lod = state->max_lod;
|
|
|
|
|
|
|
|
if (!ss) {
|
|
|
|
--
|