summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_defines.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-10-24 13:18:34 +0100
committerKeith Whitwell <[email protected]>2009-10-24 13:19:26 +0100
commit074606a806df755ecbb84e0a1182c66fd0b2a8dd (patch)
tree7a1bbe361281dbd7000cceaa813cab03585a8a8c /src/gallium/drivers/i965/brw_defines.h
parent7ee60648a3696d8166d76b20156c4b43fddf9e71 (diff)
i965g: more files compiling
Diffstat (limited to 'src/gallium/drivers/i965/brw_defines.h')
-rw-r--r--src/gallium/drivers/i965/brw_defines.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/i965/brw_defines.h b/src/gallium/drivers/i965/brw_defines.h
index 282c5b18f4e..1dc64ddc8fa 100644
--- a/src/gallium/drivers/i965/brw_defines.h
+++ b/src/gallium/drivers/i965/brw_defines.h
@@ -840,8 +840,8 @@
#include "intel_chipset.h"
-#define BRW_IS_G4X(brw) (IS_G4X((brw)->brw_screen->deviceID))
-#define BRW_IS_IGDNG(brw) (IS_IGDNG((brw)->brw_screen->deviceID))
+#define BRW_IS_G4X(brw) (IS_G4X((brw)->brw_screen->pci_id))
+#define BRW_IS_IGDNG(brw) (IS_IGDNG((brw)->brw_screen->pci_id))
#define BRW_IS_965(brw) (!(BRW_IS_G4X(brw) || BRW_IS_IGDNG(brw)))
#define CMD_PIPELINE_SELECT(brw) ((BRW_IS_G4X(brw) || BRW_IS_IGDNG(brw)) ? CMD_PIPELINE_SELECT_GM45 : CMD_PIPELINE_SELECT_965)
#define CMD_VF_STATISTICS(brw) ((BRW_IS_G4X(brw) || BRW_IS_IGDNG(brw)) ? CMD_VF_STATISTICS_GM45 : CMD_VF_STATISTICS_965)