From 9fb8476e67a4470bc327303cadcf5320b34c6ebc Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Thu, 3 Aug 2017 15:01:09 +0200 Subject: gallium: get rid of pipe_screen_config::flags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They were set only by the DRI state tracker, which is problematic when radeonsi is used with different state trackers in the same process. Also, we don't need them anymore. Tested-by: Dieter Nützel Reviewed-by: Marek Olšák --- src/gallium/include/pipe/p_defines.h | 6 ------ src/gallium/include/pipe/p_screen.h | 1 - 2 files changed, 7 deletions(-) (limited to 'src/gallium/include') diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 2b315e99c28..321b677ade7 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -390,12 +390,6 @@ enum pipe_flush_flags */ #define PIPE_CONTEXT_PREFER_THREADED (1 << 3) -/** - * Implicit and explicit derivatives after KILL behave as if KILL didn't - * happen. - */ -#define PIPE_SCREEN_ENABLE_CORRECT_TGSI_DERIVATIVES_AFTER_KILL (1 << 0) - /** * Flags for pipe_context::memory_barrier. diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h index bf26a5298fb..b6623d1dd71 100644 --- a/src/gallium/include/pipe/p_screen.h +++ b/src/gallium/include/pipe/p_screen.h @@ -365,7 +365,6 @@ struct pipe_screen { * Global configuration options for screen creation. */ struct pipe_screen_config { - unsigned flags; const struct driOptionCache *options; }; -- cgit v1.2.3