diff --git a/src/gallium/frontends/dri/dri_screen.c b/src/gallium/frontends/dri/dri_screen.c index 972d210db5d..feeeb508e7c 100644 --- a/src/gallium/frontends/dri/dri_screen.c +++ b/src/gallium/frontends/dri/dri_screen.c @@ -42,6 +42,7 @@ #include "util/u_debug.h" #include "util/u_driconf.h" #include "util/format/u_format_s3tc.h" +#include "util/log.h" #include "state_tracker/st_context.h" #include "driver_trace/tr_screen.h" @@ -614,6 +615,11 @@ dri_postprocessing_init(struct dri_screen *screen) for (i = 0; i < PP_FILTERS; i++) { screen->pp_enabled[i] = driQueryOptioni(&screen->dev->option_cache, pp_filters[i].name); + static bool warned = false; + if (screen->pp_enabled[i] && !warned) { + mesa_logw("The postprocessing infrastructure is deprecated"); + warned = true; + } } }