diff options
author | Corbin Simpson <[email protected]> | 2009-01-20 00:31:43 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-02-01 23:30:24 -0800 |
commit | 538a8149af3fc773a3d1e15d113cb4e3fadc57cd (patch) | |
tree | 89e4d3ccb3a97b69dcb2d47968f31d2dcadd6bcf /src/gallium/drivers/r300/r300_screen.h | |
parent | 2e09845277ce75fa7d29020c5b119ad749522592 (diff) |
r300: Add chipset sorting and capabilities.
Part one: Capabilities from classic Mesa.
Damn, if only we didn't have so many fucking Radeons!
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.h b/src/gallium/drivers/r300/r300_screen.h index a1b97f218e9..b6c3d1f462f 100644 --- a/src/gallium/drivers/r300/r300_screen.h +++ b/src/gallium/drivers/r300/r300_screen.h @@ -27,13 +27,14 @@ #include "pipe/p_screen.h" #include "util/u_memory.h" +#include "r300_chipset.h" + struct r300_screen { /* Parent class */ struct pipe_screen screen; - boolean is_r400; - boolean is_r500; - int pci_id; + /* Chipset capabilities */ + struct r300_capabilities* caps; }; /* Convenience cast wrapper. */ |