summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_clip_line.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-11-02 12:15:53 -0800
committerAlan Hourihane <alanh@tungstengraphics.com>2008-11-03 14:27:08 +0000
commitba644d2711f45c3c2ae47f7aaf3b6b0db3f12147 (patch)
treeb277ef04a7e3d5333adb71944fbc720985128eb0 /src/mesa/drivers/dri/i965/brw_clip_line.c
parent521aa4c107959e3ca63bc7848a873a2116b42819 (diff)
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_line.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_clip_line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clip_line.c b/src/mesa/drivers/dri/i965/brw_clip_line.c
index c87e5b9a12..c45d48dff8 100644
--- a/src/mesa/drivers/dri/i965/brw_clip_line.c
+++ b/src/mesa/drivers/dri/i965/brw_clip_line.c
@@ -148,7 +148,7 @@ static void clip_and_emit_line( struct brw_clip_compile *c )
brw_clip_init_clipmask(c);
/* -ve rhw workaround */
- if (!(BRW_IS_GM45(p->brw) || BRW_IS_G4X(p->brw))) {
+ if (!BRW_IS_G4X(p->brw)) {
brw_set_conditionalmod(p, BRW_CONDITIONAL_NZ);
brw_AND(p, brw_null_reg(), get_element_ud(c->reg.R0, 2),
brw_imm_ud(1<<20));