-- v2: vkd3d: Validate that a resource with initial state RENDER_TARGET is a render target. vkd3d: Validate presence of flag ALLOW_RENDER_TARGET or ALLOW_DEPTH_STENCIL for multisampled resources. tests/d3d12: Test resource flags for multisampled resources.