Remove dependency on vf.h in public headers
This commit is contained in:
@@ -29,7 +29,6 @@
|
|||||||
#define PIPE_STATE_H
|
#define PIPE_STATE_H
|
||||||
|
|
||||||
#include "mtypes.h"
|
#include "mtypes.h"
|
||||||
#include "vf/vf.h"
|
|
||||||
|
|
||||||
#define WINDING_NONE 0
|
#define WINDING_NONE 0
|
||||||
#define WINDING_CW 1
|
#define WINDING_CW 1
|
||||||
|
@@ -64,6 +64,8 @@ enum interp_mode {
|
|||||||
#define G_NEW_DEPTH_TEST 0x400
|
#define G_NEW_DEPTH_TEST 0x400
|
||||||
|
|
||||||
|
|
||||||
|
#define PIPE_ATTRIB_MAX 32
|
||||||
|
|
||||||
struct softpipe_context {
|
struct softpipe_context {
|
||||||
struct pipe_context pipe;
|
struct pipe_context pipe;
|
||||||
|
|
||||||
@@ -94,13 +96,13 @@ struct softpipe_context {
|
|||||||
* For now we just set colors to CONST on flatshade, textures to
|
* For now we just set colors to CONST on flatshade, textures to
|
||||||
* perspective always and everything else to linear.
|
* 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:
|
/* FS + setup derived state:
|
||||||
*/
|
*/
|
||||||
GLuint fp_attr_to_slot[VF_ATTRIB_MAX];
|
GLuint fp_attr_to_slot[PIPE_ATTRIB_MAX];
|
||||||
GLuint vf_attr_to_slot[VF_ATTRIB_MAX];
|
GLuint vf_attr_to_slot[PIPE_ATTRIB_MAX];
|
||||||
GLuint nr_attrs;
|
GLuint nr_attrs;
|
||||||
GLuint nr_frag_attrs;
|
GLuint nr_frag_attrs;
|
||||||
GLuint attr_mask;
|
GLuint attr_mask;
|
||||||
|
@@ -33,6 +33,7 @@
|
|||||||
#include "imports.h"
|
#include "imports.h"
|
||||||
|
|
||||||
#include "tnl/t_context.h"
|
#include "tnl/t_context.h"
|
||||||
|
#include "vf/vf.h"
|
||||||
|
|
||||||
#include "sp_context.h"
|
#include "sp_context.h"
|
||||||
#include "sp_prim.h"
|
#include "sp_prim.h"
|
||||||
|
@@ -29,6 +29,8 @@
|
|||||||
*/
|
*/
|
||||||
#include "imports.h"
|
#include "imports.h"
|
||||||
|
|
||||||
|
#include "vf/vf.h"
|
||||||
|
|
||||||
#include "sp_context.h"
|
#include "sp_context.h"
|
||||||
#include "sp_prim.h"
|
#include "sp_prim.h"
|
||||||
|
|
||||||
|
@@ -28,6 +28,8 @@
|
|||||||
/* Authors: Keith Whitwell <keith@tungstengraphics.com>
|
/* Authors: Keith Whitwell <keith@tungstengraphics.com>
|
||||||
*/
|
*/
|
||||||
#include "imports.h"
|
#include "imports.h"
|
||||||
|
#include "vf/vf.h"
|
||||||
|
|
||||||
#include "sp_context.h"
|
#include "sp_context.h"
|
||||||
#include "sp_prim.h"
|
#include "sp_prim.h"
|
||||||
|
|
||||||
|
@@ -30,6 +30,8 @@
|
|||||||
#include "enums.h"
|
#include "enums.h"
|
||||||
#include "program.h"
|
#include "program.h"
|
||||||
|
|
||||||
|
#include "vf/vf.h"
|
||||||
|
|
||||||
#include "sp_context.h"
|
#include "sp_context.h"
|
||||||
#include "sp_draw.h"
|
#include "sp_draw.h"
|
||||||
#include "sp_state.h"
|
#include "sp_state.h"
|
||||||
|
Reference in New Issue
Block a user