summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_clip_line.c
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2008-04-17 16:30:17 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2008-04-17 16:50:42 +0800
commit08f9b190a798c9c61ae07208345d0c2b37e54d39 (patch)
tree4471cab0aa89ce673da4bfb5dcf36a1a0ae62c80 /src/mesa/drivers/dri/i965/brw_clip_line.c
parent8642dd30f927a113be0dcd75e4e93e59cf099431 (diff)
downloadexternal_mesa3d-08f9b190a798c9c61ae07208345d0c2b37e54d39.zip
external_mesa3d-08f9b190a798c9c61ae07208345d0c2b37e54d39.tar.gz
external_mesa3d-08f9b190a798c9c61ae07208345d0c2b37e54d39.tar.bz2
Revert "[i965] renable regative rhw test"
This reverts commit 3158e981f5f37768e9b04765704b9eaece8b899b. rhw issue has gone away on IGD.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clip_line.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_clip_line.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clip_line.c b/src/mesa/drivers/dri/i965/brw_clip_line.c
index ab96256..7d51cdd 100644
--- a/src/mesa/drivers/dri/i965/brw_clip_line.c
+++ b/src/mesa/drivers/dri/i965/brw_clip_line.c
@@ -148,10 +148,12 @@ static void clip_and_emit_line( struct brw_clip_compile *c )
brw_clip_init_clipmask(c);
/* -ve rhw workaround */
- 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));
- brw_OR(p, c->reg.planemask, c->reg.planemask, brw_imm_ud(0x3f));
+ if (!BRW_IS_IGD(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));
+ brw_OR(p, c->reg.planemask, c->reg.planemask, brw_imm_ud(0x3f));
+ }
brw_set_predicate_control(p, BRW_PREDICATE_NONE);