[Mesa-dev] [PATCH 1/6] i965: Remove unused ATTRIB_BIT_DWORDS define.

Kenneth Graunke kenneth at whitecape.org
Wed Aug 28 16:49:09 PDT 2013


---
 src/mesa/drivers/dri/i965/brw_context.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index c456e61..3cb6dc6 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -780,13 +780,6 @@ struct brw_cached_batch_item {
    struct brw_cached_batch_item *next;
 };
    
-
-
-/* Protect against a future where VERT_ATTRIB_MAX > 32.  Wouldn't life
- * be easier if C allowed arrays of packed elements?
- */
-#define ATTRIB_BIT_DWORDS  ((VERT_ATTRIB_MAX+31)/32)
-
 struct brw_vertex_buffer {
    /** Buffer object containing the uploaded vertex data */
    drm_intel_bo *bo;
-- 
1.8.3.4



More information about the mesa-dev mailing list