summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe/sp_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-06-20 23:03:26 +0100
committerKeith Whitwell <[email protected]>2007-06-20 23:17:12 +0100
commitb8657e44dc397625f447c83504f545ef13d9851d (patch)
tree8e420e402a3f47dfecbd52d78d64e7e812b7c282 /src/mesa/pipe/softpipe/sp_context.h
parent2fd7b30bfef0ca29a02f22eb98ce3d3b34bedb27 (diff)
Remove dependency on vf.h in public headers
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_context.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.h b/src/mesa/pipe/softpipe/sp_context.h
index 81f6ae3292b..ebe39fa8bf0 100644
--- a/src/mesa/pipe/softpipe/sp_context.h
+++ b/src/mesa/pipe/softpipe/sp_context.h
@@ -64,6 +64,8 @@ enum interp_mode {
#define G_NEW_DEPTH_TEST 0x400
+#define PIPE_ATTRIB_MAX 32
+
struct softpipe_context {
struct pipe_context pipe;
@@ -94,13 +96,13 @@ struct softpipe_context {
* For now we just set colors to CONST on flatshade, textures to
* perspective always and everything else to linear.
*/
- enum interp_mode interp[VF_ATTRIB_MAX];
+ enum interp_mode interp[PIPE_ATTRIB_MAX];
/* FS + setup derived state:
*/
- GLuint fp_attr_to_slot[VF_ATTRIB_MAX];
- GLuint vf_attr_to_slot[VF_ATTRIB_MAX];
+ GLuint fp_attr_to_slot[PIPE_ATTRIB_MAX];
+ GLuint vf_attr_to_slot[PIPE_ATTRIB_MAX];
GLuint nr_attrs;
GLuint nr_frag_attrs;
GLuint attr_mask;