diff options
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_screen.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.h b/src/gallium/drivers/llvmpipe/lp_screen.h index 7386ebefe64..c3ff1531d2f 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.h +++ b/src/gallium/drivers/llvmpipe/lp_screen.h @@ -31,14 +31,23 @@ #ifndef LP_SCREEN_H #define LP_SCREEN_H +#include <llvm-c/Core.h> +#include <llvm-c/Analysis.h> +#include <llvm-c/ExecutionEngine.h> + #include "pipe/p_screen.h" #include "pipe/p_defines.h" - -struct llvmpipe_screen { +struct llvmpipe_screen +{ struct pipe_screen base; + LLVMModuleRef module; + LLVMExecutionEngineRef engine; + LLVMModuleProviderRef provider; + LLVMPassManagerRef pass; + /* Increments whenever textures are modified. Contexts can track * this. */ |