Mesa (master): i965: Remove unused ATTRIB_BIT_DWORDS define.

Kenneth Graunke kwg at kemper.freedesktop.org
Mon Sep 2 02:07:37 UTC 2013


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

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Aug 28 14:23:39 2013 -0700

i965: Remove unused ATTRIB_BIT_DWORDS define.

Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Paul Berry <stereotype441 at gmail.com>

---

 src/mesa/drivers/dri/i965/brw_context.h |    7 -------
 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 939083b..64371cf 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;




More information about the mesa-commit mailing list