summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_chipset.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-04-08 20:05:33 +0200
committerMarek Olšák <[email protected]>2011-04-08 20:07:01 +0200
commitff3d7ce201e6b415eb1254d784f0f425592d556b (patch)
tree2c2a575ce85b16937788a585ac121a9ae4dafd73 /src/gallium/drivers/r300/r300_chipset.c
parent963431829055f63ec94d88c97a5d07d30e49833a (diff)
r300g: emit US_FORMAT on R520 only
Diffstat (limited to 'src/gallium/drivers/r300/r300_chipset.c')
-rw-r--r--src/gallium/drivers/r300/r300_chipset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_chipset.c b/src/gallium/drivers/r300/r300_chipset.c
index 1068d357c94..4949703120d 100644
--- a/src/gallium/drivers/r300/r300_chipset.c
+++ b/src/gallium/drivers/r300/r300_chipset.c
@@ -419,5 +419,5 @@ void r300_parse_chipset(struct r300_capabilities* caps)
caps->is_rv350 = caps->family >= CHIP_FAMILY_RV350;
caps->z_compress = caps->is_rv350 ? R300_ZCOMP_8X8 : R300_ZCOMP_4X4;
caps->dxtc_swizzle = caps->is_r400 || caps->is_r500;
- caps->has_us_format = caps->is_r500;
+ caps->has_us_format = caps->family == CHIP_FAMILY_R520;
}