diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-06-22 13:08:49 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-06-22 13:08:49 -0600 |
commit | 13682d959ddacde1ce65843aa8c5b43dc9017b32 (patch) | |
tree | 10457d8360a96fd87554b68768059d38a8b27b4d /src/mesa/pipe/p_state.h | |
parent | 8754b59667f8196eb884113ef1427b0792de47fd (diff) |
more texture sampler work
Diffstat (limited to 'src/mesa/pipe/p_state.h')
-rw-r--r-- | src/mesa/pipe/p_state.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/mesa/pipe/p_state.h b/src/mesa/pipe/p_state.h index d1e387ce43..f3723eb87e 100644 --- a/src/mesa/pipe/p_state.h +++ b/src/mesa/pipe/p_state.h @@ -41,6 +41,16 @@ #include "mtypes.h" + +/** + * Implementation limits + */ +#define PIPE_MAX_SAMPLERS 8 +#define PIPE_MAX_CLIP_PLANES 6 +#define PIPE_MAX_CONSTANT 32 + + + /** * Primitive (point/line/tri) setup info */ @@ -84,9 +94,6 @@ struct pipe_scissor_rect { GLshort maxy; }; - -#define PIPE_MAX_CLIP_PLANES 6 - struct pipe_clip_state { GLfloat ucp[PIPE_MAX_CLIP_PLANES][4]; GLuint nr; @@ -96,8 +103,6 @@ struct pipe_fs_state { struct gl_fragment_program *fp; }; -#define PIPE_MAX_CONSTANT 32 - struct pipe_constant_buffer { GLfloat constant[PIPE_MAX_CONSTANT][4]; GLuint nr_constants; |