disable/remove dead code
authorBrian <brian.paul@tungstengraphics.com>
Wed, 7 Nov 2007 16:54:02 +0000 (09:54 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 7 Nov 2007 16:54:02 +0000 (09:54 -0700)
src/mesa/pipe/i915simple/i915_state_sampler.c

index 95da30af4513d6ba9007c12e8f045f2a4f837ab9..65a4d3e1990032c87470d4c33927730d0f9da961 100644 (file)
  * 
  **************************************************************************/
 
-//#include "mtypes.h"
-//#include "enums.h"
-//#include "texformat.h"
-//#include "macros.h"
-//#include "dri_bufmgr.h"
-
-
 #include "pipe/p_context.h"
 #include "pipe/p_state.h"
 #include "pipe/p_util.h"
@@ -40,7 +33,7 @@
 #include "i915_context.h"
 #include "i915_reg.h"
 #include "i915_state.h"
-//#include "i915_cache.h"
+
 
 static uint
 bitcount(uint k)
@@ -55,6 +48,7 @@ bitcount(uint k)
 }
 
 
+#if 0
 static boolean
 is_power_of_two_texture(const struct pipe_mipmap_tree *mt)
 {
@@ -66,6 +60,7 @@ is_power_of_two_texture(const struct pipe_mipmap_tree *mt)
    else
       return 0;
 }
+#endif
 
 
 /**