This accomplishes two things: 1) cleans up some handling of deferred clearing 2) propagates multisampling state to compatible devices (layers)
lgtm
Closed with r3565