summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-02-11 14:24:33 -0800
committerEric Anholt <[email protected]>2015-02-20 11:36:34 -0800
commit41b1882ed45f0fcb827a178cb3f7143fcaa8c4d9 (patch)
treeb9a2f335d36f6bc2adbf4963a4ab82cdefb6cfd9 /src/mesa/drivers/dri/i915
parent5ca019358f7a598174bd4adb6746fedc0ca78943 (diff)
mesa: Use u_math.h from macros.h
This avoids duplication of some macros and other definitions across the tree. Note that COPY_4FV switches from a memcpy-based implementation to an assignment of 4 floats. Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/intel_tris.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_tris.c b/src/mesa/drivers/dri/i915/intel_tris.c
index 94d85ce68c1..2c0a78562a0 100644
--- a/src/mesa/drivers/dri/i915/intel_tris.c
+++ b/src/mesa/drivers/dri/i915/intel_tris.c
@@ -1268,12 +1268,6 @@ intelFallback(struct intel_context *intel, GLbitfield bit, bool mode)
}
}
-union fi
-{
- GLfloat f;
- GLint i;
-};
-
/**********************************************************************/
/* Initialization. */
/**********************************************************************/