diff options
author | Brian Paul <[email protected]> | 2012-05-22 16:53:04 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-05-25 10:02:22 -0600 |
commit | 93ea5cd80b98219100782feb3fee9d7283059036 (patch) | |
tree | f8360883a7f031fbecc10abc36aa596563d1cae7 /src/gallium/drivers/svga/svga_context.h | |
parent | dcb4ec5ae1874d57cc668baac483654e0dfeb4aa (diff) |
svga: remove the special zero-stride vertex array code
This code actually hasn't been needed for some time now. We can just
treat a zero-stride vertex array like any other non-zero-stride array.
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_context.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h index 067c791ec68..7567431ad49 100644 --- a/src/gallium/drivers/svga/svga_context.h +++ b/src/gallium/drivers/svga/svga_context.h @@ -237,11 +237,6 @@ struct svga_state } tex_flags; boolean any_user_vertex_buffers; - - unsigned zero_stride_vertex_elements; - unsigned num_zero_stride_vertex_elements; - /* ### maybe dynamically allocate this */ - float zero_stride_constants[PIPE_MAX_ATTRIBS*4]; }; struct svga_prescale { @@ -406,7 +401,6 @@ struct svga_context #define SVGA_NEW_NEED_SWTNL 0x400000 #define SVGA_NEW_FS_RESULT 0x800000 #define SVGA_NEW_VS_RESULT 0x1000000 -#define SVGA_NEW_ZERO_STRIDE 0x2000000 #define SVGA_NEW_TEXTURE_FLAGS 0x4000000 #define SVGA_NEW_STENCIL_REF 0x8000000 |