diff options
author | José Fonseca <[email protected]> | 2009-07-27 11:36:24 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-08-29 09:21:16 +0100 |
commit | c9a5930fe45a0a0299769bd2b672ca516d1bf39e (patch) | |
tree | fc6ef11953101215179be32296dac374f43a7e4d /src/gallium/drivers/llvmpipe/lp_context.h | |
parent | 8783732c4d2b9162d996f678eb41e3eae3ac86c7 (diff) |
llvmpipe: Rename preprocessor symbols too.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_context.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_context.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_context.h b/src/gallium/drivers/llvmpipe/lp_context.h index 32b1925b77a..9bfae0aa7f8 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.h +++ b/src/gallium/drivers/llvmpipe/lp_context.h @@ -28,8 +28,8 @@ /* Authors: Keith Whitwell <[email protected]> */ -#ifndef SP_CONTEXT_H -#define SP_CONTEXT_H +#ifndef LP_CONTEXT_H +#define LP_CONTEXT_H #include "pipe/p_context.h" @@ -48,7 +48,7 @@ /* Number of threads working on individual quads. * Setting to 1 disables this feature. */ -#define SP_NUM_QUAD_THREADS 1 +#define LP_NUM_QUAD_THREADS 1 struct llvmpipe_vbuf_render; struct draw_context; @@ -86,7 +86,7 @@ struct llvmpipe_context { unsigned num_vertex_elements; unsigned num_vertex_buffers; - unsigned dirty; /**< Mask of SP_NEW_x flags */ + unsigned dirty; /**< Mask of LP_NEW_x flags */ /* Counter for occlusion queries. Note this supports overlapping * queries. @@ -129,7 +129,7 @@ struct llvmpipe_context { struct quad_stage *output; struct quad_stage *first; /**< points to one of the above stages */ - } quad[SP_NUM_QUAD_THREADS]; + } quad[LP_NUM_QUAD_THREADS]; /** TGSI exec things */ struct { @@ -164,5 +164,5 @@ llvmpipe_context( struct pipe_context *pipe ) return (struct llvmpipe_context *)pipe; } -#endif /* SP_CONTEXT_H */ +#endif /* LP_CONTEXT_H */ |