diff options
author | José Fonseca <[email protected]> | 2009-08-23 06:35:09 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-08-29 09:21:41 +0100 |
commit | c022e15d1e56ba3a9c6b74eef6556d6063e2e322 (patch) | |
tree | 86d4db84ea403791b5eba29ebc2f336bab07e305 /src/gallium/drivers/llvmpipe/lp_screen.h | |
parent | 8c7c108d712f17a5f307b9c8914b4abc4d5f148e (diff) |
llvmpipe: Pass fragment context to generated function in a single structure.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_screen.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.h b/src/gallium/drivers/llvmpipe/lp_screen.h index c3ff1531d2f..98d27891596 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.h +++ b/src/gallium/drivers/llvmpipe/lp_screen.h @@ -1,5 +1,6 @@ /************************************************************************** * + * Copyright 2009 VMware, Inc. * Copyright 2007 Tungsten Graphics, Inc., Cedar Park, Texas. * All Rights Reserved. * @@ -25,7 +26,9 @@ * **************************************************************************/ -/* Authors: Keith Whitwell <[email protected]> +/** + * @author Jose Fonseca <[email protected]> + * @author Keith Whitwell <[email protected]> */ #ifndef LP_SCREEN_H @@ -33,6 +36,7 @@ #include <llvm-c/Core.h> #include <llvm-c/Analysis.h> +#include <llvm-c/Target.h> #include <llvm-c/ExecutionEngine.h> #include "pipe/p_screen.h" @@ -46,8 +50,11 @@ struct llvmpipe_screen LLVMModuleRef module; LLVMExecutionEngineRef engine; LLVMModuleProviderRef provider; + LLVMTargetDataRef target; LLVMPassManagerRef pass; + LLVMTypeRef context_ptr_type; + /* Increments whenever textures are modified. Contexts can track * this. */ |