summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_clip_state.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-11-02 12:15:53 -0800
committerEric Anholt <eric@anholt.net>2008-11-02 12:30:00 -0800
commit34b1776e8d965605d12807884c9c447214d57281 (patch)
tree6dbd45ede0b7279c56816a02e243faf700a5b156 /src/mesa/drivers/dri/i965/brw_clip_state.c
parentd758c48761a2be2a6c9b3d80f8fe06d32b5dd0d3 (diff)
downloadexternal_mesa3d-34b1776e8d965605d12807884c9c447214d57281.zip
external_mesa3d-34b1776e8d965605d12807884c9c447214d57281.tar.gz
external_mesa3d-34b1776e8d965605d12807884c9c447214d57281.tar.bz2
i965: Merge GM45 into the G4X chipset define.
The mobile and desktop chipsets are the same, and having them separate is more typing and more chances to screw up.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clip_state.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_clip_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clip_state.c b/src/mesa/drivers/dri/i965/brw_clip_state.c
index 82d1e87..740c7cb 100644
--- a/src/mesa/drivers/dri/i965/brw_clip_state.c
+++ b/src/mesa/drivers/dri/i965/brw_clip_state.c
@@ -102,7 +102,7 @@ clip_unit_create_from_key(struct brw_context *brw,
clip.clip5.api_mode = BRW_CLIP_API_OGL;
clip.clip5.clip_mode = key->clip_mode;
- if (BRW_IS_GM45(brw) || BRW_IS_G4X(brw))
+ if (BRW_IS_G4X(brw))
clip.clip5.negative_w_clip_test = 1;
clip.clip6.clipper_viewport_state_ptr = 0;