diff options
author | Corbin Simpson <[email protected]> | 2009-01-20 01:11:08 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-02-01 23:30:24 -0800 |
commit | 43f20357c8db2c90ae1f8360dbc2c71762a0478e (patch) | |
tree | 40b525d7fba2e93266f371ea362f2f147c190d3b /src/gallium/drivers/r300/r300_chipset.h | |
parent | 538a8149af3fc773a3d1e15d113cb4e3fadc57cd (diff) |
r300: Use chip caps for something.
Step two: Integration. Yay?
Time to stop messing around with this and actually go do things.
Diffstat (limited to 'src/gallium/drivers/r300/r300_chipset.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_chipset.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_chipset.h b/src/gallium/drivers/r300/r300_chipset.h index 98963db17e3..c2d7ad3414c 100644 --- a/src/gallium/drivers/r300/r300_chipset.h +++ b/src/gallium/drivers/r300/r300_chipset.h @@ -36,11 +36,14 @@ struct r300_capabilities { int num_pipes; /* Whether or not TCL is physically present */ boolean has_tcl; - /* Whether or not Universal Shaders (US) are used for fragment shaders */ - boolean has_us; + /* Whether or not this is an RV515 or newer; R500s have many features: + * - Extra bit on texture sizes + * - Blend color is split across two registers + * - Universal Shader (US) block used for fragment shaders */ + boolean is_r500; }; -/* Enumeration for legibility and also telling which card we're running on. */ +/* Enumerations for legibility and telling which card we're running on. */ enum { CHIP_FAMILY_R300 = 0, CHIP_FAMILY_R350, |