summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-08-28 14:23:39 -0700
committerKenneth Graunke <[email protected]>2013-09-01 18:53:55 -0700
commita3335417e3c1f8ef6947f7ae57e75e3df501cef5 (patch)
tree324178861e00a918cd82e6d750296b74bfc2b6a4
parent7fe159ba7442b4558d4d06ad8c236ae565f5e5d8 (diff)
i965: Remove unused ATTRIB_BIT_DWORDS define.
Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Paul Berry <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index 939083ba7cc..64371cf39c2 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -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;