i965: expose sample positions
authorChris Forbes <chrisf@ijw.co.nz>
Wed, 5 Dec 2012 03:27:42 +0000 (16:27 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Fri, 1 Mar 2013 22:35:20 +0000 (11:35 +1300)
commit032896cbf9daa6937cf6816e54cf4b1414cae901
treec4d91ecbb4ea681281b743a98610dd62f3ab7bff
parent569c4a9f1ca852639a0334b48303a065c7e2447a
i965: expose sample positions

Moves the definition of the sample positions out of
gen6_emit_3dstate_multisample, and unpacks them in
gen6_get_sample_position.

V2: Be consistent about `sample position` rather than `location`.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Acked-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/gen6_multisample_state.c