i965: report correct sample positions
authorChris Forbes <chrisf@ijw.co.nz>
Tue, 23 Apr 2013 18:44:02 +0000 (06:44 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Thu, 25 Apr 2013 08:47:54 +0000 (20:47 +1200)
commit447bf1fb524f1f451baa67ea172caa2ed51369c7
tree0c508747848d6bcefe0bd2ce2d9c9084888c097a
parent49a7624973870289a10b17778709c4c2a676fb12
i965: report correct sample positions

From low to high bits, the sample positions are packed y0,x0,y1,x1...

Fixes arb_texture_multisample-sample-position piglit.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/gen6_multisample_state.c