summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple/i915_state_sampler.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-07 09:54:02 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-11-07 09:54:02 -0700
commit7e884c6f86621ca07ed31fc7ee3f4d891f0873da (patch)
treee158c5c61039fb5b6c8e85191ada98cc4f2e9368 /src/mesa/pipe/i915simple/i915_state_sampler.c
parent182e861eeae479c85191fcd6ccb41bf10f43507b (diff)
disable/remove dead code
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_state_sampler.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_state_sampler.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mesa/pipe/i915simple/i915_state_sampler.c b/src/mesa/pipe/i915simple/i915_state_sampler.c
index 95da30af45..65a4d3e199 100644
--- a/src/mesa/pipe/i915simple/i915_state_sampler.c
+++ b/src/mesa/pipe/i915simple/i915_state_sampler.c
@@ -25,13 +25,6 @@
*
**************************************************************************/
-//#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
/**