summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_screen.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.h9
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.
*/