v2 (Jason, Curro): Add stencil also even though it is not
enabled yet.
Cc: 17.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
(cherry picked from commit
ba6399df9462d78eda2a5de7c2940d8cf9d27f95)
if (params->dst.enabled)
brw_render_cache_set_add_bo(brw, params->dst.addr.buffer);
+ if (params->depth.enabled)
+ brw_render_cache_set_add_bo(brw, params->depth.addr.buffer);
+ if (params->stencil.enabled)
+ brw_render_cache_set_add_bo(brw, params->stencil.addr.buffer);
}