diff options
author | Marek Olšák <[email protected]> | 2011-07-22 18:58:30 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-07-25 23:10:39 +0200 |
commit | 28a336dc38c478b809544e7404c4d1fddd873333 (patch) | |
tree | 5edff2035e26688e6575b1b8efe45f72e6012737 /src/gallium/drivers/r300/r300_chipset.h | |
parent | 818db3848bfaa002d0e7cf6b9b615a31eb82ba25 (diff) |
winsys/radeon: simplify how value queries work
This drops the get_value query and adds a function query_info, which returns
all the values in one nice structure.
Diffstat (limited to 'src/gallium/drivers/r300/r300_chipset.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_chipset.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gallium/drivers/r300/r300_chipset.h b/src/gallium/drivers/r300/r300_chipset.h index 4df6b5b6292..f96cdaf2580 100644 --- a/src/gallium/drivers/r300/r300_chipset.h +++ b/src/gallium/drivers/r300/r300_chipset.h @@ -43,16 +43,10 @@ enum r300_zmask_compression { /* Structure containing all the possible information about a specific Radeon * in the R3xx, R4xx, and R5xx families. */ struct r300_capabilities { - /* PCI ID */ - uint32_t pci_id; /* Chipset family */ int family; /* The number of vertex floating-point units */ unsigned num_vert_fpus; - /* The number of fragment pipes */ - unsigned num_frag_pipes; - /* The number of z pipes */ - unsigned num_z_pipes; /* The number of texture units. */ unsigned num_tex_units; /* Whether or not TCL is physically present */ @@ -121,6 +115,6 @@ enum { CHIP_FAMILY_RV570 }; -void r300_parse_chipset(struct r300_capabilities* caps); +void r300_parse_chipset(uint32_t pci_id, struct r300_capabilities* caps); #endif /* R300_CHIPSET_H */ |