i965: add intel_renderbuffer_att_set_needs_depth_resolve
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 29 Jul 2013 20:51:31 +0000 (13:51 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Sun, 4 Aug 2013 18:52:38 +0000 (11:52 -0700)
commitd44be9ed2fc72a0c0047286762a9740c41e02ef3
tree107f4e176ab8dbd996f3d99f460cfd983374dc71
parent814a0405048f96f0427f29316a86bfdfb6c8f1ce
i965: add intel_renderbuffer_att_set_needs_depth_resolve

This function is needed to support layered rendering. With
layered rendering, the attachment stores the state of whether
layered rendering is being used.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/intel_fbo.c
src/mesa/drivers/dri/i965/intel_fbo.h