projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965: Reduce repeated calculation of the attribute-offset-in-VUE.
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
intel
/
intel_chipset.h
diff --git
a/src/mesa/drivers/dri/intel/intel_chipset.h
b/src/mesa/drivers/dri/intel/intel_chipset.h
index cd614c59e557fcaabee0194083837dd43ca08afb..72a74322ee553b03ae92dcf320cfcefc2489f476 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_chipset.h
+++ b/
src/mesa/drivers/dri/intel/intel_chipset.h
@@
-115,6
+115,9
@@
devid == PCI_CHIP_I946_GZ || \
IS_G4X(devid))
+/* Compat macro for intel_decode.c */
+#define IS_IRONLAKE(devid) IS_GEN5(devid)
+
#define IS_GEN6(devid) (devid == PCI_CHIP_SANDYBRIDGE || \
devid == PCI_CHIP_SANDYBRIDGE_M)