i965: Initialize the SampleMap{2,4,8}x variables

Graphics / Mesa 3D Graphics Library / Mesa - Anuj Phogat [gmail.com] - 1 October 2014 14:04 UTC

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.

7a47901 i965: Initialize the SampleMap{2,4,8}x variables
src/mesa/drivers/dri/i965/brw_context.c | 8 ++++
src/mesa/drivers/dri/i965/brw_context.h | 2 +
src/mesa/drivers/dri/i965/gen6_multisample_state.c | 45 ++++++++++++++++++++
3 files changed, 55 insertions(+)

Upstream: cgit.freedesktop.org


  • Share