summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_context.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-05-22 16:53:04 -0600
committerBrian Paul <brianp@vmware.com>2012-05-25 10:02:22 -0600
commit93ea5cd80b98219100782feb3fee9d7283059036 (patch)
treef8360883a7f031fbecc10abc36aa596563d1cae7 /src/gallium/drivers/svga/svga_context.h
parentdcb4ec5ae1874d57cc668baac483654e0dfeb4aa (diff)
downloadexternal_mesa3d-93ea5cd80b98219100782feb3fee9d7283059036.zip
external_mesa3d-93ea5cd80b98219100782feb3fee9d7283059036.tar.gz
external_mesa3d-93ea5cd80b98219100782feb3fee9d7283059036.tar.bz2
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.h6
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 067c791..7567431 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