summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_chipset.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-04-20 00:50:39 +0200
committerMarek Olšák <[email protected]>2010-04-20 00:50:39 +0200
commitf189caeed046e05bfeec8adf2ebeaae01d1bf2f6 (patch)
tree5ba8d2bbb4b8c1f448130c916318d976e07fdff4 /src/gallium/drivers/r300/r300_chipset.c
parent35489ef285f1fde234b2b9bbb91fdc41fddefc02 (diff)
r300g: add is_rv350 flag
Diffstat (limited to 'src/gallium/drivers/r300/r300_chipset.c')
-rw-r--r--src/gallium/drivers/r300/r300_chipset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_chipset.c b/src/gallium/drivers/r300/r300_chipset.c
index c77e944b6d9..928a310bd81 100644
--- a/src/gallium/drivers/r300/r300_chipset.c
+++ b/src/gallium/drivers/r300/r300_chipset.c
@@ -371,4 +371,6 @@ void r300_parse_chipset(struct r300_capabilities* caps)
fprintf(stderr, "r300: Warning: Unknown chipset 0x%x\n",
caps->pci_id);
}
+
+ caps->is_rv350 = caps->family >= CHIP_FAMILY_RV350;
}