softpipe: Set samples and layers in set_framebuffer_state() cb
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>
Fri, 12 Feb 2016 10:11:57 +0000 (21:11 +1100)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Apr 2016 02:03:58 +0000 (12:03 +1000)
commit63f2b2f2c02fd4685322bc125a81d6d41f73b7c9
treebfa963eb9d0d8b08d2da4b787623c955a68fca16
parentc6a514d7dfde51711399b1c3ffec7b7c7d1bad3b
softpipe: Set samples and layers in set_framebuffer_state() cb

Carries across the number of samples and layers state in the
'softpipe_set_framebuffer_state()' callback. This state is
part of 'ARB_framebuffer_no_attachments' support.

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/softpipe/sp_state_surface.c