i965: Remove unused ATTRIB_BIT_DWORDS define.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 28 Aug 2013 21:23:39 +0000 (14:23 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 2 Sep 2013 01:53:55 +0000 (18:53 -0700)
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_context.h

index 939083ba7cc33539720457072921dd1dec02c1c7..64371cf39c292f27f6e9ab8ab7926b57579eef23 100644 (file)
@@ -786,13 +786,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;