Mesa (master): i965: Remove dead vertex buffer structs.

Kenneth Graunke kwg at kemper.freedesktop.org
Wed Apr 20 16:44:19 PDT 2011


Module: Mesa
Branch: master
Commit: dfaaf7c5e8d05ebf544f758be79f12c824c5cdd7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfaaf7c5e8d05ebf544f758be79f12c824c5cdd7

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Apr 19 15:33:15 2011 -0700

i965: Remove dead vertex buffer structs.

We do this OUT_BATCH-style in brw_draw_upload.c.

---

 src/mesa/drivers/dri/i965/brw_structs.h |   25 -------------------------
 1 files changed, 0 insertions(+), 25 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_structs.h b/src/mesa/drivers/dri/i965/brw_structs.h
index 89b1ee4..8d4797f 100644
--- a/src/mesa/drivers/dri/i965/brw_structs.h
+++ b/src/mesa/drivers/dri/i965/brw_structs.h
@@ -1228,31 +1228,6 @@ struct brw_surface_state
 };
 
 
-
-struct brw_vertex_buffer_state
-{
-   struct {
-      GLuint pitch:11; 
-      GLuint pad:15;
-      GLuint access_type:1; 
-      GLuint vb_index:5; 
-   } vb0;
-   
-   GLuint start_addr; 
-   GLuint max_index;   
-#if 1
-   GLuint instance_data_step_rate; /* not included for sequential/random vertices? */
-#endif
-};
-
-#define BRW_VBP_MAX 17
-
-struct brw_vb_array_state {
-   struct header header;
-   struct brw_vertex_buffer_state vb[BRW_VBP_MAX];
-};
-
-
 struct brw_vertex_element_state
 {
    struct



More information about the mesa-commit mailing list