summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_rast.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-10-08 17:52:35 +0100
committerKeith Whitwell <[email protected]>2009-10-08 17:53:12 +0100
commit1caa26202c3bcc41ea5829b646128088e14d5dfd (patch)
tree04e7b808a06e3033138b59ec33ed03a164442da4 /src/gallium/drivers/llvmpipe/lp_rast.h
parentd0c918b87a9fb0e86d6b3efedf3ef505e04c527f (diff)
llvmpipe: start cleaning up
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h
index 33a6065b89c..f40208bbda9 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast.h
@@ -28,6 +28,8 @@
#ifndef LP_RAST_H
#define LP_RAST_H
+#include "lp_jit.h"
+
/* Initially create and program a single rasterizer directly. Later
* will want multiple of these, one or two per core. At that stage
* will probably pass command buffers into the rasterizers rather than
@@ -35,6 +37,9 @@
*/
struct lp_rasterizer;
+#define TILESIZE 64
+
+
struct lp_rast_state {
/* State for the shader:
*/
@@ -55,10 +60,11 @@ struct lp_rast_shader_inputs {
*/
const struct lp_rast_state *state;
- /* Attribute interpolation:
+ /* Attribute interpolation: FIXME: reduce memory waste!
*/
- struct tgsi_interp_coef position_coef;
- struct tgsi_interp_coef *coef;
+ float a0[PIPE_MAX_ATTRIBS][4];
+ float dadx[PIPE_MAX_ATTRIBS][4];
+ float dady[PIPE_MAX_ATTRIBS][4];
};