summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_fpc.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-22 10:04:45 -0600
committerBrian <[email protected]>2007-08-22 10:04:45 -0600
commit5ac22877c98f4934cced4d42b9ec87245f266967 (patch)
tree27d8196c9458fafcfdb5d8cfec5bce1186be5cd0 /src/mesa/pipe/i915simple/i915_fpc.h
parente7f814e0340454346933f4c8450c07a6c784d87a (diff)
code movement, null ptr checks, etc
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_fpc.h')
-rw-r--r--src/mesa/pipe/i915simple/i915_fpc.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mesa/pipe/i915simple/i915_fpc.h b/src/mesa/pipe/i915simple/i915_fpc.h
index 1acb69e8ed8..30bc290ad8f 100644
--- a/src/mesa/pipe/i915simple/i915_fpc.h
+++ b/src/mesa/pipe/i915simple/i915_fpc.h
@@ -198,17 +198,6 @@ swizzle(int reg, int x, int y, int z, int w)
CHANNEL_SRC(GET_CHANNEL_SRC(reg, w), 3));
}
-/* Another neat thing about the UREG representation:
- */
-static INLINE int
-negate(int reg, int x, int y, int z, int w)
-{
- return reg ^ (((x & 1) << UREG_CHANNEL_X_NEGATE_SHIFT) |
- ((y & 1) << UREG_CHANNEL_Y_NEGATE_SHIFT) |
- ((z & 1) << UREG_CHANNEL_Z_NEGATE_SHIFT) |
- ((w & 1) << UREG_CHANNEL_W_NEGATE_SHIFT));
-}
-
/***********************************************************************