diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2008-06-10 16:31:36 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2008-06-10 16:31:36 +0800 |
commit | a742bed99ae840d806198172005f6b25399ec573 (patch) | |
tree | d10bb30b10897dedd0fd1dfe2a9b9560cbbda5ec /src | |
parent | 72f87b69471649ff02e80a89f902b69980f3d025 (diff) |
i965: apply commit 6c1a98e97affb2163e776551eb3a9e669ff99bbf to glsl
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_glsl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_glsl.c b/src/mesa/drivers/dri/i965/brw_wm_glsl.c index b2ffc82ed2..faa2837fa0 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_glsl.c +++ b/src/mesa/drivers/dri/i965/brw_wm_glsl.c @@ -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(0 - c->key.origin_x)); } if (mask & WRITEMASK_Y) { |