i965: Initialize the SampleMap{2,4,8}x variables
authorAnuj Phogat <anuj.phogat@gmail.com>
Tue, 23 Sep 2014 18:58:02 +0000 (11:58 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Wed, 1 Oct 2014 19:04:15 +0000 (12:04 -0700)
commit7a4790148c524fbdc75fca9aaa4d4439dce911a2
tree20e6abe5a9096144d5a204f38436f215cca34108
parent38cd40faab8686023ac48e323014f951abf47098
i965: Initialize the SampleMap{2,4,8}x variables

with values specific to Intel hardware.

V2: Define and use gen6_get_sample_map() function to initialize
    the variables.

V3: Change the function name to gen6_set_sample_maps() and use
    memcpy() to fill in the data.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@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