i965: apply commit 6c1a98e97affb2163e776551eb3a9e669ff99bbf to glsl
authorXiang, Haihao <haihao.xiang@intel.com>
Tue, 10 Jun 2008 08:31:36 +0000 (16:31 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 10 Jun 2008 08:31:36 +0000 (16:31 +0800)
src/mesa/drivers/dri/i965/brw_wm_glsl.c

index b2ffc82ed2de1d48f377534fcbf0349ed0a820c3..faa2837fa01167f0a84d99c3c04bb1b1e7dec3ca 100644 (file)
@@ -978,7 +978,7 @@ static void emit_wpos_xy(struct brw_wm_compile *c,
        brw_ADD(p,
                dst[0],
                retype(src0[0], BRW_REGISTER_TYPE_W),
-               brw_imm_d(- c->key.origin_x));
+               brw_imm_d(- c->key.origin_x));
     }
 
     if (mask & WRITEMASK_Y) {